Tags:
, view all tags

SPRACE CMS Operation

Useful commands for SPRACE site upkeep

Starting and Stopping Services

dCache:
  1. On spdc00:
    • /opt/pnfs/bin/pnfs [start | stop]
    • /opt/d-cache/bin/dcache-core [start | stop]
  2. 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:

  1. Runs on spdc00.
  2. Log in as phedex.
  3. Use grid-proxy-info to make sure the grid-proxy is valid. If not, follow directions to set up valid grid-proxy.
  4. 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:

  1. Runs on spdc00.
  2. Log in as dbfrontier.
  3. Start or stop Frontier:
    • ~dbfrontier/frontier-cache/utils/bin/fn-local-squid.sh [start | stop]

SRM:

  1. Runs on spdc00
  2. To start/stop SRM separetely from Phedex, as root:
    • /opt/d-cache/jobs/srm -logArea=/var/log [start | stop]
  3. 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

Edit | Attach | Print version | History: r9 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2006-09-01 - EduardoGregores
 

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback

antalya escort bursa escort eskisehir escort istanbul escort izmir escort