Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Version 4 (modified by monzum, 7 years ago)

--

Beta Clearing House

The Beta Clearing House is the machine that holds the beta version of our public clearing house as well as a small beta network where a handful of Seattle nodes are deployed for beta testing. Everything that is pushed on to the production must first be deployed on the Beta Clearing House and tested for bugs and discrepancies before we can safely push it to the production clearinghouse or the production nodes.

Machine Host Name:
 betaseattleclearinghouse.poly.edu
Operating System: Red Hat 4.4.6-4



Services on Betabox

Clearinghouse


The beta clearinghouse is a collection of nodes that runs on the beta testbed. The beta version may have bugs in them as this is where the developers test out all the latest features of the product. The clearinghouse consists of the main front end webserver which allows users to register or login to their public testbed account in order to donate or acquire nodes in order to run their experiment.
The service is run under the user: geni

Instructions on how to deploy a new clearinghouse can be found at this page: SeattleGeniInstallation. If you are moving the clearinghouse from one machine to another, then you may also need to copy over the two databases keydb and seattlegeni database. Instructions on how to backup and restore mysql databases can be found on this page:  BackupRestoreMySQL. Note that the username and password for each of the databases can be found in the file /home/geni/database_info.txt on the system.

Known Issues

While loading the clearinghouse on to the new machine, there were some issues that we needed to get around due to the operating system/default configurations already on the machine.

Configuring Apache: The version of Apache available on RedHat? is slightly different then the one available on Ubuntu/Mint or other distros. The installation path is in /etc/httpd/. The configuration file is located at /etc/httpd/conf/httpd.conf. Below are some of the issues that I ran into while configuring the Apache conf file.

  • Load ssl module. The ssl module was initially not installed on the machine. In order to install it, run the command:
    # yum install mod_ssl
    
    Once installed, open up the httpd.conf file and add this line after all the LoadModule lines:
    LoadModule ssl_module /modules/mod_ssl.so
    
  • Load python module. The python module was not available from the package manager so I had to manually install this. First retrieve the tarball of the latest version from here:  PythonModule. In order to install mod-python, you must first also install have apxs installed as well as the python-devel library package installed. Run these commands:
    # yum install httpd-devel
    # yum install python-devel
    
    Once these libraries are installed, and you have downloaded the mod_python tarball, run these commands.
    # tar xzvf mod_python-3.3.1.tgz
    # cd mod_python-3.3.1
    # ./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/bin/python2.6
    # make 
    # make install
    
    BUG: The mod_python file that you downloaded may have a bug in it. Please go to this  BugReport to apply the patch if running make throws an error.

Custominstaller Builder

Central Advertise Server V2

Installer Builder/Software Updater Server