|
|
(23 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| * Back to [[APEL/SSM]]. | | * Back to [[APEL/SSM]]. |
|
| |
|
| = Installing SSM =
| | If you are beginning your testing now please use [[APEL/SSM2Installation|SSM2]] |
|
| |
|
| * For details on the testing process, see this page: [[APEL/APELSSMExternalTesting]]
| | SSM1 downloads are available at https://github.com/apel/ssm/downloads. |
| * If you find any bugs please let us know about them: apel-ssm-test@mailtalk.ac.uk.
| |
|
| |
|
| == ssm-1.0 - ssm-1.2 ==
| | '''NOTE:''' Before you can send your messages to the Accounting server you must send your host certificate DN to apel-admins [at] stfc.ac.uk, e.g. output from running |
|
| |
|
| The SSM is now available as an RPM.
| | <code>openssl x509 -subject -noout -in hostcert.pem</code> |
|
| |
|
| 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-1.0: [[APEL/SSM/README10]].
| | = Installing SSM = |
|
| |
|
| '''Please note''': the default configuration sends messages to the test server. See [[APEL/SSMConfiguration]] for how to change the configuration.
| | * For details on the testing process, see this page: [[APEL/APELSSMExternalTesting]] |
| | | * If you find any bugs please let us know about them: apel-admins [at] stfc.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.10: [[APEL/SSM/README010]].
| |
| | |
| Once you have installed the SSM, see these pages:
| |
| * [[APEL/SSMConfiguration]]
| |
| * [[APEL/RunningSSM]]
| |
| | |
| ==== 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]]) | |
| * <code>$SSM_HOME/bin/run-ssm</code> - to run once
| |
| | |
| If you want to run as a daemon process: | |
| * choose a location for the pidfile (see [[APEL/SSMConfiguration]])
| |
| * <code>$SSM_HOME/bin/run-ssm -d</code>
| |
| * <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>
| |
| | |
| | |
| == 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!
| |
|
| |
|
| | == ssm-1.2 == |
|
| |
|
| == Removing stomppy (manual) ==
| | The same package is installed for CPU accounting, StAR and Cloud accounting records. |
|
| |
|
| 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.
| | Version 1.2 is the current version. |
|
| |
|
| * <code>cd /var/lib/python2.4/site-packages</code> | | '''It changes the default messages location from the previous version:''' |
| * <code>rm -rf stomp</code> | | * OLD: <code>/opt/apel/ssm/messages/</code> |
| * <code>rm -rf test</code>
| | * NEW: <code>/var/opt/apel/messages/</code> |
|
| |
|
| Note that the test directory only incuded stomp files:
| | 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-1.2: [[APEL/SSM/README12]]. |
|
| |
|
| <code>
| | '''Please note''': the default configuration sends messages to the CPU Accounting test server. See [[APEL/SSMConfiguration]] for how to change the configuration. |
| [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]# | |
| </code>
| |
|
| |
|
| You may wish to check this before you delete the directory.
| |
|
| |
|
| [[Category:Accounting]] | | [[Category:Accounting]] |
If you are beginning your testing now please use SSM2
SSM1 downloads are available at https://github.com/apel/ssm/downloads.
NOTE: Before you can send your messages to the Accounting server you must send your host certificate DN to apel-admins [at] stfc.ac.uk, e.g. output from running
openssl x509 -subject -noout -in hostcert.pem
Installing SSM
- For details on the testing process, see this page: APEL/APELSSMExternalTesting
- If you find any bugs please let us know about them: apel-admins [at] stfc.ac.uk.
ssm-1.2
The same package is installed for CPU accounting, StAR and Cloud accounting records.
Version 1.2 is the current version.
It changes the default messages location from the previous version:
- OLD:
/opt/apel/ssm/messages/
- NEW:
/var/opt/apel/messages/
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-1.2: APEL/SSM/README12.
Please note: the default configuration sends messages to the CPU Accounting test server. See APEL/SSMConfiguration for how to change the configuration.