5.3. sync

5.3.1. 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

5.3.2. 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

5.3.3. 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 compute-0-0 test=yes

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

5.3.4. 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

5.3.5. 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

5.3.6. 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