Difference: EduardoSpraceCmsOperations (1 vs. 9)

Revision 92007-08-13 - EduardoGregores

Line: 1 to 1
 
META TOPICPARENT name="EduardoGregores"

SPRACE CMS Operation

Line: 65 to 65
 

Renewing Phedex Proxy:

For SRM Transfers

Changed:
<
<
As a regular user on spgrid make sure that the environment variable $MYPROXY_SERVER matches with the $MYPROXY_SERVER in /home/phedex/SITECONF/local/PhEDEx/ProxyRenew and then do the following:
>
>
As a regular user on spdc00 make sure that the environment variable $MYPROXY_SERVER matches with the $MYPROXY_SERVER in /home/phedex/SITECONF/local/PhEDEx/ProxyRenew and then do the following:
 
> grid-proxy-init

Changed:
<
<
> myproxy-init -R spgrid.if.usp.br -l phedex_sprace -c 720.0
>
>
> myproxy-init -R spdc00.if.usp.br -l phedex_sprace -c 720.0 -d
 > su -
# . /OSG/setup.sh # cp /tmp/x509up_u500 /etc/grid-security/proxy.cert

Revision 82007-03-22 - EduardoGregores

Line: 1 to 1
 
META TOPICPARENT name="EduardoGregores"

SPRACE CMS Operation

Line: 17 to 17
 To start dCache, follow these commands in order (choosing "start"). To stop, reverse the order of the commands (start on spraid, then spdc00)

Phedex:

Changed:
<
<
  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.
>
>
  1. This service runs on spdc00.
  2. Check proxy validity:
    • Log in as phedex on spgrid.
    • Use grid-proxy-info to make sure the grid-proxy is valid. If not, follow directions to set up valid grid-proxy.
 
  1. Start or stop Phedex:
Added:
>
>
    • Log in as phedex on spdc00.
 
    • Master -config ~/SITECONF/local/PhEDEx/Config.Prod [start | stop]
    • Replace "Config.Prod" with "Config.SC4" or "Config.Dev" to start the Challenge and Development database, respectively.

Frontier:

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

SRM:

  1. Runs on spdc00
Changed:
<
<
  1. To start/stop SRM separetely from Phedex, as root:
>
>
  1. To start/stop SRM separetely from Phedex, as root on spdc00:
 
    • /opt/d-cache/jobs/srm -logArea=/var/log [start | stop]
  1. To do some file transfer tests, as user:
    • grid-proxy-init

Revision 72007-01-16 - EduardoGregores

Line: 1 to 1
 
META TOPICPARENT name="EduardoGregores"

SPRACE CMS Operation

Line: 61 to 61
 
    • /home/phedex/logs/download-master

Renewing Phedex Proxy:

Added:
>
>

For SRM Transfers

 As a regular user on spgrid make sure that the environment variable $MYPROXY_SERVER matches with the $MYPROXY_SERVER in /home/phedex/SITECONF/local/PhEDEx/ProxyRenew and then do the following:
> grid-proxy-init

Line: 75 to 77
 # chmod 600 /home/phedex/gridcert/proxy.cert
Added:
>
>

For FTS Transfers

> grid-proxy-init -valid 240:00
> myproxy-init -d -s myproxy-fts.cern.ch -c 240
Enter here MyProxy pass phrase as in /home/phedex/.ftspass
 

Dealing with CMS CVS Repository for Sites Configuration

To run as user gregores using public key

Revision 62006-11-21 - EduardoGregores

Line: 1 to 1
 
META TOPICPARENT name="EduardoGregores"

SPRACE CMS Operation

Line: 75 to 75
 # chmod 600 /home/phedex/gridcert/proxy.cert
Added:
>
>

Dealing with CMS CVS Repository for Sites Configuration

To run as user gregores using public key

> export CVSROOT=:ext:gregores@cmscvs.cern.ch:/cvs_server/repositories/CMSSW
> export CVS_RSH=/usr/bin/ssh

To run as anonymous

> export CVSROOT=:pserver:anonymous@cmscvs.cern.ch:/cvs_server/repositories/CMSSW
> cvs login
> CVS password: 98passwd

To get the configuration files from CVS:

[gregores@spdc00 gregores]$ su - phedex
[phedex@spgrid phedex]$ cvs -d :ext:gregores@cmscvs.cern.ch:/cvs_server/repositories/CMSSW co SITECONF/SPRACE

[root@spgrid cms]# su - cmssoft
[cmssoft@spgrid cmssoft]$ cd /usr/local/share/OSG/app/cmssoft/cms
[cmssoft@spgrid cms]$ cvs -d :ext:gregores@cmscvs.cern.ch:/cvs_server/repositories/CMSSW co SITECONF/SPRACE

To commit the changes into CVS:

[gregores@spdc00 gregores]$ su - phedex
[phedex@spdc00 phedex]$ cd SITECONF/SPRACE
[phedex@spdc00 SPRACE]$ cvs -d :ext:gregores@cmscvs.cern.ch:/cvs_server/repositories/CMSSW commit

 -- EduardoGregores - 01 Sep 2006 \ No newline at end of file

Revision 52006-10-21 - EduardoGregores

Line: 1 to 1
 
META TOPICPARENT name="EduardoGregores"

SPRACE CMS Operation

Line: 6 to 6
 

Starting and Stopping Services

dCache:
  1. On spdc00:
Added:
>
>
    • Log in as root
 
    • /opt/pnfs/bin/pnfs [start | stop]
    • /opt/d-cache/bin/dcache-core [start | stop]
  1. On spraid:
Added:
>
>
    • Log in as root
 
    • /opt/d-cache/bin/dcache-core [start | stop]
    • /opt/d-cache/bin/dcache-pool [start | stop]
Line: 16 to 18
  Phedex:
  1. Runs on spdc00.
Changed:
<
<
  1. Log in as phedex.
>
>
  1. Log in as phedex.
 
  1. Use grid-proxy-info to make sure the grid-proxy is valid. If not, follow directions to set up valid grid-proxy.
  2. Start or stop Phedex:
    • Master -config ~/SITECONF/local/PhEDEx/Config.Prod [start | stop]
Line: 24 to 26
  Frontier:
  1. Runs on spdc00.
Changed:
<
<
  1. Log in as dbfrontier.
>
>
  1. Log in as dbfrontier.
 
  1. Start or stop Frontier:
    • ~dbfrontier/frontier-cache/utils/bin/fn-local-squid.sh [start | stop]

Revision 42006-10-15 - EduardoGregores

Line: 1 to 1
 
META TOPICPARENT name="EduardoGregores"

SPRACE CMS Operation

Line: 19 to 19
 
  1. Log in as phedex.
  2. Use grid-proxy-info to make sure the grid-proxy is valid. If not, follow directions to set up valid grid-proxy.
  3. Start or stop Phedex:
Changed:
<
<
    • 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.
>
>
    • Master -config ~/SITECONF/local/PhEDEx/Config.Prod [start | stop]
    • Replace "Config.Prod" with "Config.SC4" or "Config.Dev" to start the Challenge and Development database, respectively.
  Frontier:
  1. Runs on spdc00.

Revision 32006-10-14 - EduardoGregores

Line: 1 to 1
 
META TOPICPARENT name="EduardoGregores"

SPRACE CMS Operation

Line: 59 to 59
 
    • /home/phedex/logs/download-master

Renewing Phedex Proxy:

Changed:
<
<
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
>
>
As a regular user on spgrid make sure that the environment variable $MYPROXY_SERVER matches with the $MYPROXY_SERVER in /home/phedex/SITECONF/local/PhEDEx/ProxyRenew and then do the following:
> 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
# cp /etc/grid-security/proxy.cert /home/phedex/gridcert/proxy.cert
# chown phedex:phedex /home/phedex/gridcert/proxy.cert
# chmod 600 /home/phedex/gridcert/proxy.cert
  -- EduardoGregores - 01 Sep 2006

Revision 22006-09-01 - EduardoGregores

Line: 1 to 1
 
META TOPICPARENT name="EduardoGregores"

SPRACE CMS Operation

Line: 60 to 60
 

Renewing Phedex Proxy:

As user gregores, do the following:
Changed:
<
<
  • Check to make sure that the environment variable $MYPROXY_SERVER matches with the $MYPROXY_SERVER in /home/phedex/SITECONF/local/PheEDEx/ProxyRenew
>
>
  • 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 -
Changed:
<
<
  • cp /tmp/x509_u500 /etc/grid-security/proxy.cert
>
>
  • . /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

Revision 12006-09-01 - EduardoGregores

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="EduardoGregores"

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/PheEDEx/ProxyRenew
  • grid-proxy-init
  • myproxy-init -R spgrid.if.usp.br -l phedex_sprace -c 720.0
  • su -
  • cp /tmp/x509_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

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 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