6.3. sync

6.3.1. sync host osg CE

rocks sync host osg CE [test=bool]

Reconfigure OSG CE ini files on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg CE ce-0-0

Write and run script /root/CE_ini_filesConfigurator to rewrite inifiles and call osg-configure -c on host ce-0-0

6.3.2. sync host osg CE install

rocks sync host osg CE install [test=bool]

Install OSG CE on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg CE install ce-0-0

add tomcat user, add tomcat group, add gratia group and install osg-ce-certs, osg-ce-"OSG_CE", globus-gram-job-manager-managedfork on host ce-0-0 if attr OSG_CE is set in this host.

# rocks sync host osg CE install ce-0-0 test=yes

Show the bash script that will run to install osg-ce-"OSG_CE" on host ce-0-0

6.3.3. sync host osg bestman

rocks sync host osg bestman [test=bool]

Reconfigure Bestman server on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg bestman se-0-0

Write and run script /root/BestmanConfigurator to rewrite /etc/bestman2/conf/bestman2.rc and /etc/sysconfig/bestman2 on host se-0-0

6.3.4. sync host osg bestman install

rocks sync host osg bestman install [test=bool]

Install Bestman on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg bestman install se-0-0

add bestman user, add bestman group, add gratia group and install osg-ce-certs and bestman-server rpms on host se-0-0 if attr OSG_SE is set on host.

# rocks sync host osg bestman install se-0-0 test=yes

Show the bash script that will run to install bestman-server on host se-0-0

6.3.5. sync host osg condor

rocks sync host osg condor [syncpassword=bool] [test=bool]

Reconfigure OSG Condor daemon on the named hosts.

parameters

[syncpassword=bool]

If set and the attribute OSG_Condor_PasswordAuth is True, this will will copy the condor pool password the the host. Default is no.

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg condor compute-0-0

Rewrite /etc/condor/config.d/01_rocks_condor_config.local and call condor_reconfigure on host compute-0-0

# rocks sync host osg condor compute-0-0 syncpassword=yes

Rewrite /etc/condor/config.d/01_rocks_condor_config.local, copy the OSG Condor pool password file if OSG_Condor_PasswordAuth host atrribute is set, and finally call condor_reconfigure on host compute-0-0

6.3.6. sync host osg condor install

rocks sync host osg condor install [test=bool]

Install condor on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg condor install node-0-0

add condor user, add condor group, and install condor rpms on host node-0-0 if attr OSG_Condor_Client is set on host or OSG_CE is set to 'condor' on host.

# rocks sync host osg condor install node-0-0 test=yes

Show the bash script that will run to install condor on host node-0-0

6.3.7. sync host osg cvmfs

rocks sync host osg cvmfs [test=bool]

Configure/Reconfigure OSG cvmfs on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg cvmfs compute-0-0

Rewrites /etc/cvmfs/default.local, /etc/cvmfs/config.d/cms.cern.ch.local, /etc/cvmfs/domain.d/cern.ch.local, /etc/fuse.conf, on host compute-0-0 if attr OSG_CVMFS is set in this host.

# rocks sync host osg cvmfs compute-0-0 test=yes

Show the bash script that will run to rewrite the four config files on host compute-0-0

6.3.8. sync host osg cvmfs install

rocks sync host osg cvmfs install [test=bool]

Install OSG cvmfs on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg cvmfs install compute-0-0

add cvmfs user, add cvmfs group, add fuse group and install cvmfs on host compute-0-0 if attr OSG_CVMFS is set in this host.

# rocks sync host osg cvmfs install compute-0-0 test=yes

Show the bash script that will run to install cvmfs on host compute-0-0

6.3.9. sync host osg hadoop

rocks sync host osg hadoop [test=bool]

Reconfigure OSG Hadoop on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg hadoop compute-0-0

Rewrite /etc/sysconfig/hadoop and call hadoop firstboot on host compute-0-0

# rocks sync host osg hadoop test=yes compute-0-0

Show the bash script that will run to rewrite /etc/sysconfig/hadoop on host compute-0-0

6.3.10. sync host osg hadoop install

rocks sync host osg hadoop install [test=bool]

Install hadoop on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg hadoop install node-0-0

add hdfs user, add hadoop group, and install hadoop rpms on host node-0-0 if attr OSG_HADOOP is set on host or OSG_CE is set to 'condor' on host.

# rocks sync host osg hadoop install node-0-0 test=yes

Show the bash script that will run to install hadoop on host node-0-0

6.3.11. sync host osg hadoop upgrade

rocks sync host osg hadoop upgrade [test=bool]

Upgrade hadoop to OSG3.2 on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg hadoop upgrade node-0-0

add hdfs user, add hadoop group, and install hadoop rpms on host node-0-0 if attr OSG_HADOOP is set on host or OSG_CE is set to 'condor' on host.

# rocks sync host osg hadoop upgrade node-0-0 test=yes

Show the bash script that will run to install/upgrade hadoop on host node-0-0

6.3.12. sync host osg rsv

rocks sync host osg rsv [test=bool]

Reconfigure OSG RSV ini file on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg rsv rsv-0-0

Write and run script /root/rsv_iniConfigurator to rewrite inifiles and call osg-configure -c on host rsv-0-0

6.3.13. sync host osg rsv install

rocks sync host osg rsv install [test=bool]

Install OSG RSV on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg rsv install rsv-0-0

add tomcat, gratia, cndrcron, rsv users and install rsv on host rsv-0-0 if attr OSG_RSV is set to true in this host.

# rocks sync host osg rsv install rsv-0-0 test=yes

Show the bash script that will run to install rsv on host rsv-0-0

6.3.14. sync host osg squid

rocks sync host osg squid [test=bool]

Reconfigure OSG Frontier Squid on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg squid squid-0-0

Rewrites /etc/squid/customize.sh on host squid-0-0 if attr OSG_SQUID is set in this host.

# rocks sync host osg squid squid-0-0 test=yes

Show the bash script that will run to rewrite /etc/squid/customize.sh on host squid-0-0

6.3.15. sync host osg xrootd

rocks sync host osg xrootd [test=bool]

Reconfigure xrootd server on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg xrootd xrootd-0-0

Write and run script /root/XrootdConfigurator to rewrite /etc/xrootd/xrootd-clustered.cfg on host xrootd-0-0

6.3.16. sync host osg xrootd install

rocks sync host osg xrootd install [test=bool]

Install xrootd on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host osg xrootd install xrootd-0-0

add xrootd user, add xrootd group, add gratia group and install osg-ce-certs and cms-xrootd-hdfs rpms on host xrootd-0-0 if attr OSG_XRD is set on host.

# rocks sync host osg xrootd install xrootd-0-0 test=yes

Show the bash script that will run to install xrootd-server on host xrootd-0-0

6.3.17. sync osg condor

rocks sync osg condor

This command is syntactic sugar for "rocks sync host osg condor localhost"

examples

# rocks rocks sync osg condor

Rebuild the Condor Configuration