Interop Router 3.3.1 Docs - Aangel

System Requirements

To run, aangel need only a connection with Interop Router Database and the follow software:
  • Python 2.5 or 2.6
  • MySQL-python module

Note: MySQL-python web site doesn't provide a x64 installer to Windows systems.
You can learn how to compile this module to win64 in the follow page: http://lmsu.codeplex.com/wikipage?title=MySQLdb-python_x64

Installation

There is a 3 ways to install Anngel.

Using the Source Code in zip file
Extract zip file in a temporary folder and, using a shell access the IR folder, execute the following command:

> python setup_aangel.py install

This command will install Aangel as a package in your Python environment.
In Linux systems, the python-devel package must be installed to perform this action.

Binary Installers
We provide installers for Winfows (msi) and Linux (rpm) to install Aangel without the source code.
To download those files, access the IR 3.3.1 release page.

Using the SVN source code.
You can download the Interop Router source code by two repositories:
By Codeplex repo at the Source Control page.
or by our Subversion repo at LMS: svn://www.lms.ic.unicamp.br/interoprouter

This repos have the lastest version of source code, and may have not totally tested features.

With the source, access the IR folder using a shell and execute

> python setup_aangel.py install

And if all is ok, Aangel will be installed in your python syte-packages folder.
In Linux systems, the python-devel package must be installed to perform this action.

Running Instructions

Firstly, you need to edit the file config.py placed in the folder PYTHON/lib/site-packages/aangel where PYTHON is your Python installation folder. In this file, you must set the parameters Aangel will use to connect to IR database.
Each parameter in config.py is commented in order to describe its function. You may need to be a privileged user to modify this file.

After this, open a shell, access the Aangel's folder at PYTHON/Lib/site-packages/aangel and execute:

> python aangel.py

If all is OK, your prompt show the following message:

> "Waiting for a job."


That's all! Now Aangel will distribute the jobs in Guaardian database among the clusters in IR network.
Have a lot of fun!

Last edited Mar 21, 2010 at 11:01 PM by hnrqbaggio, version 3

Comments

No comments yet.