Wiki do Laboratório MARTIN → FLAME installation on Planetlab
 
 

FLAME installation on Planetlab

Last modified on Wednesday, June 23rd 2010 at 3:44 AM.

Português

The FLAME platform comprises 3 components (more about the platform here):

To use the platform, an XMPP/Jabber server and only one valid user are needed. We made the following account available for tests:

Download a package with all components (under email request to martinlab@lncc.br, indicating the complete name and institution of the requester).

It is recommended to run only agents on Planetlab nodes. For the other components installations and usage follow link.

Below are the specific steps for installation and execution of agents of the FLAME platform on Planetlab nodes.

flame agent installation

To compile the flame agent the following packages need to be installed: g++, lua5.1, lua5.1 development files, make and gloox.

sudo yum install gcc-c++ lua make lua-devel

Compile and install gloox. Download from here.

It may be necessary to link gloox library, do so with:

sudo ln -s /usr/local/lib/libgloox.so.7 /lib/libgloox.so.7

Uncompress the flame tarball and go to the flame directory. Then compile executing:

g++ *.cpp  *.h -llua -lm -ldl -lgloox -lpthread -I/usr/include/lua -LLIBDIR -o flame

After compilation, the executable will be placed at the path flame/. Before running, edit the configuration file flame.conf, placing an XMPP server and a user common to all components. This component must run with administrative privileges.

OBS: one flame-manager must be running on the desired XMPP server, or the agent execution will be terminated and an error informed.