Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "APEL/SSMInstallation"

From EGIWiki
Jump to navigation Jump to search
Line 8: Line 8:
* Expect bugs, and if you find any please let us know about them: apel-ssm-test@mailtalk.ac.uk.
* Expect bugs, and if you find any please let us know about them: apel-ssm-test@mailtalk.ac.uk.


== ssm-0.8 ==
== ssm-0.10 ==


The SSM is now available either as a zip file or as a pre-packaged RPM.
The SSM is now available either as a zip file or as a pre-packaged RPM.
Line 32: Line 32:
* <code>$SSM_HOME/bin/run-ssm -d</code>  
* <code>$SSM_HOME/bin/run-ssm -d</code>  
* <code>kill `cat <pidfile-location>`</code> - to kill the daemon
* <code>kill `cat <pidfile-location>`</code> - to kill the daemon
== ssm-0.8 ==
The instructions are the same as version 0.10, except:
'''Please note''': omitted from the released README file is one step:
* <code>yum install python-ldap</code>





Revision as of 17:37, 21 March 2012

PLEASE NOTE THIS IS NOT PRODUCTION-LEVEL SOFTWARE This software is distributed as an example and for testing.

WARNING! The test server is now running version 0.8. This is using a different default broker to the one the older versions of the SSM used, so if you want to keep using it you'll need to change the broker. However, we recommend upgrading to ssm-0.8.

  • For details on the testing process, see this page: APEL/APELSSMExternalTesting
  • Expect bugs, and if you find any please let us know about them: apel-ssm-test@mailtalk.ac.uk.

ssm-0.10

The SSM is now available either as a zip file or as a pre-packaged RPM.

Installation and removal instructions are now packaged with the SSM in the README file. If you would like to read it before you install the SSM, here is the version included with ssm-0.8: APEL/SSM/README08. Please note: omitted from the released README file is one step:

  • yum install python-ldap

Once you have installed the SSM, see these pages:

Installing without the RPM

This shouldn't be too difficult.

  • Extract the zip file to a local directory
  • set SSM_HOME as that directory
  • make sure your user has read access to the specified certificate and key
  • choose a location for the logfile (see APEL/SSMConfiguration)
  • $SSM_HOME/bin/run-ssm - to run once

If you want to run as a daemon process:

  • choose a location for the pidfile (see APEL/SSMConfiguration)
  • $SSM_HOME/bin/run-ssm -d
  • kill `cat <pidfile-location>` - to kill the daemon


ssm-0.8

The instructions are the same as version 0.10, except: Please note: omitted from the released README file is one step:

  • yum install python-ldap


ssm-0.7

See APEL/SSM07Installation - but install a newer version instead!


ssm-0.4 (no longer supported - use version 0.7 or above)

See APEL/OldSSMInstallation - but don't follow those instructions, install the new version!


Removing stomppy (manual)

If you manually installed stomppy to use an older version of the SSM, you should remove it before using yum to install a newer version. This is how you do it on SL5 with python2.4.

  • cd /var/lib/python2.4/site-packages
  • rm -rf stomp
  • rm -rf test

Note that the test directory only incuded stomp files:


[root@apel-test site-packages]# ll test
total 32
-rw-r--r-- 1 root root  979 Aug 24  2009 basic.py
-rw-r--r-- 1 root root 1564 Oct 25 11:34 basic.pyc
-rw-r--r-- 1 root root   33 May 30  2009 __init__.py
-rw-r--r-- 1 root root  181 Oct 25 11:34 __init__.pyc
-rw-r--r-- 1 root root 1001 Aug 24  2009 rabbitmq.py
-rw-r--r-- 1 root root 1582 Oct 25 11:34 rabbitmq.pyc
-rw-r--r-- 1 root root  603 Aug 24  2009 testlistener.py
-rw-r--r-- 1 root root 1131 Oct 25 11:34 testlistener.pyc
[root@apel-test site-packages]#

You may wish to check this before you delete the directory.