Accounting


Currently lcgmon01 runs our APEL publishing.

Sites to watch:
Accounting

Other London sites
QMUL
RHUL
UCL
Brunel (meaningless due to arc only ?)



glite-MON (lcgmon00), now obsolete:

If it doesn't update (usually this error will appear in /var/log/apel.log:
org.glite.apel.core.ApelException: org.glite.rgma.RGMAException: No xml returned):
restart tomcat:
/etc/init.d/tomcat5 restart
Check these variables are set:
[root@lcgmon00 root]# echo $APEL_HOME
/opt/glite
[root@lcgmon00 root]# echo $RGMA_HOME
/opt/glite
then do: /opt/glite/bin/apel-publisher -f /opt/glite/etc/glite-apel-publisher/publisher-config-yaim.xml >> /var/log/apel.log &

The host certificate is in three different paces:
/etc/grid-security/hostcert.pem
/etc/tomcat5/hostcert.pem
/opt/glite/var/rgma/.certs/hostcert.pem


Helpful hints: From this page.
To start and stop all services (rgma-glue-archiver should not be running (I think)):

stop all services:
# service rgma-gin stop
# service rgma-publish-site stop (not on lcgmon00 ?)
# service rgma-servicetool stop
# service tomcat5 stop

if you have problems sopping tomcat, do:
# ps auxwww | grep tomcat
# kill -9 23077
# service tomcat5 stop

restart services:
# service rgma-gin start
# service rgma-servicetool start
# service rgma-publish-site start
# service tomcat5 start

Then run: /opt/glite/bin/rgma-server-check


SAM tests report 'Connection refused'
Check /var/log/tomcat5/catalina.out
If 'Too many open files':
check 'ulimit -a' look for 'open files' and increase this number e.g. 'ulimit -n 2048'
Run /opt/glite/bin/rgma-server-check.
To test another site try 'telnet machine_name 8443', you won't be able to login in, but you should not get 'connection refused' either.

Certificate renewal
There are three copies of the hostcert/hostkey on the machine, all owned by different users:
[root@lcgmon00 ~]# ls -l /etc/grid-security/hostcert.pem
-r--r--r-- 1 root root 1684 Aug 7 11:38 /etc/grid-security/hostcert.pem
[root@lcgmon00 ~]# ls -l /etc/tomcat5/hostcert.pem
-r--r--r-- 1 tomcat tomcat 1684 Aug 7 13:56 /etc/tomcat5/hostcert.pem
[root@lcgmon00 ~]# ls -l /opt/glite/var/rgma/.certs/hostcert.pem
-r--r--r-- 1 rgma rgma 1684 Aug 7 13:58 /opt/glite/var/rgma/.certs/hostcert.pem