CDB & Sindes Modifications

To Modify CDB templates

Requirements : lxadm account, write access to CDB

Note : All things are done from a lxadm node (lxadm[01-03]).

Run cdbop :

  • get <file>
  • vi <file>
  • ...
  • update <files>
  • commit (Warning: can be long, even when there are only few changes)
Once done, you have to reconfigure corresponding node's components (spma, sindes, ...). So the following commands must be executed on the affected nodes :
  • ccm-fetch
  • ncm-ncd --configure <component>
For spma, a simplier way would be to execute ' ' which does all.
You can do it from a lxadm node, and even for several nodes at the same times.

To do it to all gridvoms cluster (voms101, voms102, voms103) :

  • wassh -c gridvoms -l root ''
To do it to several nodes (part of a cluster, or on several clusters) :
  • wassh root@voms10[2-3] ''

To upload a RPM package into Quattor repository

Requirements : lxadm account, Nice account

Note : All things are done from a lxadm node (lxadm[01-03]).

swrep-soap-client put i386_slc3 /cern/cc <rpms>

The login/password couple required in the Nice one.

To use Sindes to store grid certificates

Requirements : lxadm account, Write access to Sindes

Note : All things are done from a lxadm node (lxadm[01-03]).

First of all, you have to make an archive in which the node grid certificates will be in a sub-directory named grid-host-certificates.
On the node :

  • cd /tmp
  • mkdir grid-host-certificates
  • cp /etc/grid-security/host{cert,key}.pem grid-host-certificates/
  • tar zcf grid-host-certificates.tar.gz grid-host-certificates/
Then you can you have to copy this archive on AFS or directly on the lxadm node.

Now, you just have to do :

  • sindes-upload-file -f <archive> -i grid-host-certificates -t <node> -s node -S sindes-server

-- Main.rmollon - 05 Apr 2007

This topic: LCG > WebHome > LCGGridDeployment > LCGSecurity > VomsCdbSindes
Topic revision: r1 - 2007-04-05 - RemiMollon
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback