4.5. Reconfiguring CE/gatekeeper

A primitive configuratation of CE is done during the install, the resulting configuration files are located in /etc/osg/config.d and is based on available information at install. To reconfigure a CE node changes on the ini files located in /etc/osg/config.d is needed followed by running the command osg-configure -c. This part is automatized by running the command

# rocks sync host osg CE <hostname>

This will rewrite 10-misc.ini, 10-gateway.ini, 10-storage.ini, 15-managedfork.ini, 20-condor.ini (or 20-sge.ini), 30-gip.ini, 40-network.ini, 40-siteinfo.ini and run the osg command /usr/sbin/osg-configure -c

Note

To view the script of changes for the inifiles before making changes, use rocks report host osg CE config <hostname>

Note

To generate the script, login on the CE node and run rocks report host osg CE config <hostname> | rocks report script | bash the output script will be writen in /root/CE_ini_filesConfigurator

In case CE was not installed at kickstart, it is possible to install in a node or appliance after kickstart by setting OSG_CE to a given scheduler (in this example "condor") on a host or appliance and then syncing as shown below

# rocks set host attr <hostname> OSG_CE value=condor
# rocks sync host osg CE install <hostname>

To find information about CE configuration please see the OSG documentation at OSG twiki page.