4.3. sync

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

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

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

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