SPRACE CMS Operation
Useful commands for SPRACE site upkeep
Starting and Stopping Services
dCache:
- On spdc00:
- /opt/pnfs/bin/pnfs [start | stop]
- /opt/d-cache/bin/dcache-core [start | stop]
- On spraid:
- /opt/d-cache/bin/dcache-core [start | stop]
- /opt/d-cache/bin/dcache-pool [start | stop]
To start dCache, follow these commands in order (choosing "start"). To stop, reverse the order of the commands (start on spraid, then spdc00)
Phedex:
- Runs on spdc00.
- Log in as phedex.
- Use grid-proxy-info to make sure the grid-proxy is valid. If not, follow directions to set up valid grid-proxy.
- Start or stop Phedex:
- Master -config ~/SITECONF/local/PhEDEx/Config.SC4 [start | stop]
- Replace "Config.SC4" with "Config.Prod" or "Config.Dev" to start the production and devel database, respectively.
Frontier:
- Runs on spdc00.
- Log in as dbfrontier.
- Start or stop Frontier:
- ~dbfrontier/frontier-cache/utils/bin/fn-local-squid.sh [start | stop]
SRM:
- Runs on spdc00
- To start/stop SRM separetely from Phedex, as root:
- /opt/d-cache/jobs/srm -logArea=/var/log [start | stop]
- To do some file transfer tests, as user:
- grid-proxy-init
- srmcp file:////some/test/file srm://spdc00.if.usp.br:8443/srm/managerv1?SFN=/pnfs/if.usp.br/data/tmp/some_name
Important Log files:
OSG:
- Globus:
- $VDT_LOCATION/globus/var/globus-gatekeeper.log
- $VDT_LOCATION/globus/var/accounting.log
- GUMS:
- $VDT_LOCATION/tomcat/v5/logs/gums-*
- Monalisa:
- $VDT_LOCATION/MonaLisa/Service/VDTFarm/ML0.log
D-Cache:
- Monitoring in http://spdc00.if.usp.br:2288/
- On each dCache machines, check /var/log/*Domain.log.
- The most important ones are
- srm*Domain.log
- gridftp*Domain.log
- `hostname`*Domain.log
Phedex:
- On spdc00, as user phedex, the phedex logs are found in ~/logs. The most useful is:
- /home/phedex/logs/download-master
Renewing Phedex Proxy:
As user gregores, do the following:
- Check to make sure that the environment variable $MYPROXY_SERVER matches with the $MYPROXY_SERVER in /home/phedex/SITECONF/local/PhEDEx/ProxyRenew
- grid-proxy-init
- myproxy-init -R spgrid.if.usp.br -l phedex_sprace -c 720.0
- su -
- . /OSG/setup.sh
- cp /tmp/x509up_u500 /etc/grid-security/proxy.cert
- chown root: /etc/grid-security/proxy.cert
- /home/phedex/SITECONF/local/PhEDEx/ProxyRenew /etc/grid-security
--
EduardoGregores - 01 Sep 2006