Difference: ComputeElementConfigurator (4 vs. 5)

Revision 52016-05-20 - eduardo

Line: 1 to 1
 

CE Configurator

Complete: 1
Line: 39 to 39
 
  • Local APPDIR = /cvmfs/oasis.opensciencegrid.org
  • Local DATADIR = /data/se/osg
  • Local WNTMPDIR = /tmp
Added:
>
>
  • Local SHOWNETWORK = no
  • Local SOURCERANGE = 20000,25000
  • Local PORTRANGE = 20000,25000
  • Local SHOWSITEINFO = no
  • Local OIMNAME = registered-oim-resource-name
  • Local OIMGROUP = registered-oim-resource-group
  • Local SPONSOR = uscms
  • Local SITEPOLICY = http://institution.site/Policy.html
  • Local CONTACT = Site admin Name
  • Local EMAIL = myemail@my.institution
  • Local SITECITY = mycity
  • Local SITECOUNTRY = US
  • Local SITELONG = myemail@-45
  • Local SITELAT = myemail@45
 -->
Line: 176 to 190
 "}%
Deleted:
<
<
 
Show Storage
Line: 201 to 214
  "}%
Added:
>
>

Show Network
Show Site Info
 
Line: 224 to 300
 yum install osg-ca-certs >> /var/log/ce-install.log 2>&1 yum install osg-ca-certs-updater >> /var/log/ce-install.log 2>&1 yum install osg-ce-condor >> /var/log/ce-install.log 2>&1
Changed:
<
<
yum install globus-gram-job-manager-managedfork >> /var/log/ce-install.log 2>&1
>
>
  #Make sure config templates exists [ ! -f /etc/osg/config.d/01-squid.ini.template ]&&cp -p /etc/osg/config.d/01-squid.ini /etc/osg/config.d/01-squid.ini.template [ -f /etc/osg/config.d/10-gateway.ini ]&&[ ! -f /etc/osg/config.d/10-gateway.ini.template ]&&cp -p /etc/osg/config.d/10-gateway.ini /etc/osg/config.d/10-gateway.ini.template [ ! -f /etc/osg/config.d/10-misc.ini.template ]&&cp -p /etc/osg/config.d/10-misc.ini /etc/osg/config.d/10-misc.ini.template [ ! -f /etc/osg/config.d/10-storage.ini.template ]&&cp -p /etc/osg/config.d/10-storage.ini /etc/osg/config.d/10-storage.ini.template
Changed:
<
<
[ ! -f /etc/osg/config.d/15-managedfork.ini.template ]&&cp -p /etc/osg/config.d/15-managedfork.ini /etc/osg/config.d/15-managedfork.ini.template [ -f /etc/osg/config.d/20-condor.ini ]&&[ ! -f /etc/osg/config.d/20-condor.ini.template ]&&cp -p /etc/osg/config.d/20-condor.ini /etc/osg/config.d/20-condor.ini.template
>
>
[ -f /etc/osg/config.d/20-condor.ini ]&&[ ! -f /etc/osg/config.d/20-condor.ini.template ]&&cp -p /etc/osg/config.d/20-condor.ini /etc/osg/config.d/20-condor.ini.template
 [ ! -f /etc/osg/config.d/30-gip.ini.template ]&&cp -p /etc/osg/config.d/30-gip.ini /etc/osg/config.d/30-gip.ini.template [ ! -f /etc/osg/config.d/40-network.ini.template ]&&cp -p /etc/osg/config.d/40-network.ini /etc/osg/config.d/40-network.ini.template [ ! -f /etc/osg/config.d/40-siteinfo.ini.template ]&&cp -p /etc/osg/config.d/40-siteinfo.ini /etc/osg/config.d/40-siteinfo.ini.template
Line: 288 to 366
 sed -i -e \"s@site_read = UNAVAILABLE@site_read = srm://se.server.name:8443/srm/v2/server@\" /etc/osg/config.d/10-storage.ini sed -i -e \"s@site_write = UNAVAILABLE@site_write = srm://se.server.name:8443/srm/v2/server@\" /etc/osg/config.d/10-storage.ini "}%#end config /etc/osg/config.d/10-storage.ini
Changed:
<
<
>
>
%IF{"'htcondor-ce' = 'gram'" then="
 #begin config /etc/osg/config.d/15-managedfork.ini /bin/cp -f /etc/osg/config.d/15-managedfork.ini.template /etc/osg/config.d/15-managedfork.ini
Changed:
<
<
sed -i -e "s@enabled = FALSE@enabled = TRUE@" /etc/osg/config.d/15-managedfork.ini
>
>
sed -i -e \"s@enabled = FALSE@enabled = TRUE@\" /etc/osg/config.d/15-managedfork.ini
 #end config /etc/osg/config.d/15-managedfork.ini
Changed:
<
<
>
>
"}%
 #begin config /etc/osg/config.d/20-condor.ini /bin/cp -f /etc/osg/config.d/20-condor.ini.template /etc/osg/config.d/20-condor.ini sed -i -e "s@enabled = FALSE@enabled = TRUE@" /etc/osg/config.d/20-condor.ini
Line: 328 to 406
  #begin config /etc/osg/config.d/40-network.ini /bin/cp -f /etc/osg/config.d/40-network.ini.template /etc/osg/config.d/40-network.ini
Added:
>
>
sed -i -e "s@source_range = UNAVAILABLE@source_range = 20000,25000@" /etc/osg/config.d/40-network.ini sed -i -e "s@port_range = UNAVAILABLE@port_range = 20000,25000@" /etc/osg/config.d/40-network.ini sed -i -e "s@port_state_file = UNAVAILABLE@port_state_file = /var/tmp/globus-port-state.log@" /etc/osg/config.d/40-network.ini
 #end config /etc/osg/config.d/40-network.ini
Added:
>
>
#begin config /etc/osg/config.d/40-siteinfo.ini /bin/cp -f /etc/osg/config.d/40-siteinfo.ini.template /etc/osg/config.d/40-siteinfo.ini sed -i -e "s@host_name = UNAVAILABLE@host_name = myce.server.name@" /etc/osg/config.d/40-siteinfo.ini sed -i -e "s@resource = UNAVAILABLE@resource = registered-oim-resource-name@" /etc/osg/config.d/40-siteinfo.ini sed -i -e "s@resource_group = UNAVAILABLE@resource_group = registered-oim-resource-group@" /etc/osg/config.d/40-siteinfo.ini sed -i -e "s@sponsor = UNAVAILABLE@sponsor = uscms@" /etc/osg/config.d/40-siteinfo.ini sed -i -e "s@site_policy = UNAVAILABLE@site_policy = http://institution.site/Policy.html@" /etc/osg/config.d/40-siteinfo.ini sed -i -e "s@contact = UNAVAILABLE@contact = Site admin Name@" /etc/osg/config.d/40-siteinfo.ini sed -i -e "s/email = UNAVAILABLE/email = myemail@my.institution/" /etc/osg/config.d/40-siteinfo.ini sed -i -e "s@city = UNAVAILABLE@city = mycity@" /etc/osg/config.d/40-siteinfo.ini sed -i -e "s@country = UNAVAILABLE@country = US@" /etc/osg/config.d/40-siteinfo.ini sed -i -e "s@longitude = UNAVAILABLE@longitude = -45@" /etc/osg/config.d/40-siteinfo.ini sed -i -e "s@latitude = UNAVAILABLE@latitude = 45@" /etc/osg/config.d/40-siteinfo.ini #end config /etc/osg/config.d/40-siteinfo.ini
 %ENDSYNTAX%
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback