Difference: ComputeElementConfigurator (1 vs. 8)

Revision 82016-05-27 - eduardo

Line: 1 to 1
 

OSG CE Configurator

Changed:
<
<
Complete: 1
>
>
Complete: 3
 

Goals of this page:

Line: 45 to 45
 
  • Local SOURCERANGE = 20000,25000
  • Local PORTRANGE = 20000,25000
  • Local SHOWGIP = no
Added:
>
>
  • Local CLUSID1 = my-subcluster-id-1
  • Local CLUSNAME1 = my-unique-subcluster-name-1
  • Local NODES1 = 10
  • Local RAM1 = 48000
  • Local CPU1 = Intel(R) Xeon(R) CPU xxxx @ 3.66GHz
  • Local CPUVENDOR1 = GenuineIntel
  • Local CPUSPEED1 = 3666
  • Local ARCH1 = x86_64
  • Local CPUSPERNODE1 = 2
  • Local CORESPERNODE1 = 24
  • Local INBOUND1 = FALSE
  • Local OUTBOUND1 = TRUE
  • Local VOS1 = cms, osg
  • Local MAXWALL1 = 2880
  • Local SECLUSID1 = my-se-subcluster-id-1
  • Local SEOIMNAME1 = my-se-registered-oim-resource-name
  • Local SEVERSION1 = 2.2.2.3.0-17
  • Local SEPATH1 = /mnt/hadoop/user/VONAME
 
  • Local SHOWSITEINFO = no
  • Local OIMNAME = registered-oim-resource-name
  • Local OIMGROUP = registered-oim-resource-group
Line: 258 to 276
 
Added:
>
>

 
Show Site Info
Line: 375 to 508
  rocks add host attr login-0-0 OSG_CE_Gateway value='htcondor-ce'
Changed:
<
<
rocks add host attr login-0-0 OSG_CE_AppDir value='/cvmfs/oasis.opensciencegrid.org'
>
>
#not yet implemented (next roll release) #rocks add host attr login-0-0 OSG_CE_AppDir value='/cvmfs/oasis.opensciencegrid.org' #instead AppDir is set to /sharesoft/osg/app by setting OSG_CE_Mount_ShareDir rocks add host attr login-0-0 OSG_CE_Mount_ShareDir value='/sharesoft/osg'
 rocks add host attr login-0-0 OSG_CE_DataDir value='/data/se/osg' rocks add host attr login-0-0 OSG_WN_TmpDir value='/tmp'
Changed:
<
<
rocks add host attr login-0-0 OSG_CE_gip_SubCluster1 value="uprm-cms-ce-1" rocks add host attr login-0-0 OSG_CE_gip_ClusterName1 value="UPRM_CMS_T3_CE_1" rocks add host attr login-0-0 OSG_CE_gip_NumberOfNodes1 value="18" rocks add host attr login-0-0 OSG_CE_gip_mb_of_Ram1 value="24576" rocks add host attr login-0-0 OSG_CE_gip_cpu_model1 value="Intel(R) Xeon(R) CPU W3550 @ 3.07GHz" rocks add host attr login-0-0 OSG_CE_gip_cpu_vendor1 value="GenuineIntel" rocks add host attr login-0-0 OSG_CE_gip_cpu_speed1 value="3066" rocks add host attr login-0-0 OSG_CE_gip_arch1 value="x86_64" rocks add host attr login-0-0 OSG_CE_gip_CpusPerNode1 value="1" rocks add host attr login-0-0 OSG_CE_gip_CoresPerNode1 value="8" rocks add host attr login-0-0 OSG_CE_gip_inbound1 value="FALSE" rocks add host attr login-0-0 OSG_CE_gip_outbound1 value="TRUE" rocks add host attr login-0-0 OSG_CE_gip_allowed_vos1 value="osg, cms" rocks add host attr login-0-0 OSG_CE_gip_max_wall_time1 value="7200"
>
>
rocks add host attr login-0-0 OSG_CE_gip_SubCluster1 value='my-subcluster-id-1' rocks add host attr login-0-0 OSG_CE_gip_ClusterName1 value='my-unique-subcluster-name-1' rocks add host attr login-0-0 OSG_CE_gip_NumberOfNodes1 value='10' rocks add host attr login-0-0 OSG_CE_gip_mb_of_Ram1 value='48000' rocks add host attr login-0-0 OSG_CE_gip_cpu_model1 value='Intel(R) Xeon(R) CPU xxxx @ 3.66GHz' rocks add host attr login-0-0 OSG_CE_gip_cpu_vendor1 value='GenuineIntel' rocks add host attr login-0-0 OSG_CE_gip_cpu_speed1 value='3666' rocks add host attr login-0-0 OSG_CE_gip_arch1 value='x86_64' rocks add host attr login-0-0 OSG_CE_gip_CpusPerNode1 value='2' rocks add host attr login-0-0 OSG_CE_gip_CoresPerNode1 value='24' rocks add host attr login-0-0 OSG_CE_gip_inbound1 value='FALSE' rocks add host attr login-0-0 OSG_CE_gip_outbound1 value='TRUE' rocks add host attr login-0-0 OSG_CE_gip_allowed_vos1 value='cms, osg' rocks add host attr login-0-0 OSG_CE_gip_max_wall_time1 value='2880'
 rocks add host attr login-0-0 OSG_CE_siteinfo_OIM_name value='registered-oim-resource-name' rocks add host attr login-0-0 OSG_CE_siteinfo_OIM_group value='registered-oim-resource-group' rocks add host attr login-0-0 OSG_CE_siteinfo_sponsor value='http://institution.site/Policy.html'
Line: 489 to 632
 echo "cpu_model = Intel(R) Xeon(R) CPU xxxx @ 3.66GHz" >> /etc/osg/config.d/30-gip.ini echo "cpu_vendor = GenuineIntel" >> /etc/osg/config.d/30-gip.ini echo "cpu_speed_mhz = 3666" >> /etc/osg/config.d/30-gip.ini
Changed:
<
<
echo "cpu_platform = %ARCH%" >> /etc/osg/config.d/30-gip.ini
>
>
echo "cpu_platform = x86_64" >> /etc/osg/config.d/30-gip.ini
 echo "cpus_per_node = 2" >> /etc/osg/config.d/30-gip.ini echo "cores_per_node = 24" >> /etc/osg/config.d/30-gip.ini echo "inbound_network = FALSE" >> /etc/osg/config.d/30-gip.ini echo "outbound_network = TRUE" >> /etc/osg/config.d/30-gip.ini echo "allowed_vos = cms, osg" >> /etc/osg/config.d/30-gip.ini
Changed:
<
<
echo "max_wall_time = %MAXWALL%" >> /etc/osg/config.d/30-gip.ini
>
>
echo "max_wall_time = 2880" >> /etc/osg/config.d/30-gip.ini
 echo " " >> /etc/osg/config.d/30-gip.ini
Added:
>
>
 #end config /etc/osg/config.d/30

#begin config /etc/osg/config.d/40-network.ini

Revision 72016-05-24 - eduardo

Line: 1 to 1
Changed:
<
<

CE Configurator

>
>

OSG CE Configurator

 Complete: 1

Revision 62016-05-23 - eduardo

Line: 1 to 1
 

CE Configurator

Complete: 1
Line: 12 to 12
 

Customize this configurator script

Added:
>
>
Use Rocks (OSG Roll)
 
CE Server Name
Line: 235 to 251
 "}%
Added:
>
>
Show Gip
 
Show Site Info
Line: 327 to 352
 %ENDSYNTAX% </>
<--/twistyPlugin-->
Changed:
<
<
The CE-configurator script is like this:
>
>
<--/twistyPlugin twikiMakeVisibleInline-->

The CE-configurator script (rocks) is like this:

<-- SyntaxHighlightingPlugin -->
#!/bin/bash

#global attributes
rocks add attr OSG_SquidServer value='squid.server.name:3128'
rocks add attr OSG_GumsServer value='gums.server.name'
rocks add attr OSG_SEServer value='se.server.name'
rocks add attr OSG_GlobusTcpSourceRange value='20000,25000'
rocks add attr OSG_GlobusTcpPortRange value='20000,25000'


#host attributes
rocks add host attr login-0-0 OSG_CVMFS value=true
rocks add host attr login-0-0 OSG_CE value=condor

rocks add host attr login-0-0 OSG_CE_Gateway value='htcondor-ce'

rocks add host attr login-0-0 OSG_CE_AppDir value='/cvmfs/oasis.opensciencegrid.org'
rocks add host attr login-0-0 OSG_CE_DataDir value='/data/se/osg'
rocks add host attr login-0-0 OSG_WN_TmpDir value='/tmp'

rocks add host attr login-0-0 OSG_CE_gip_SubCluster1 value="uprm-cms-ce-1"
rocks add host attr login-0-0 OSG_CE_gip_ClusterName1 value="UPRM_CMS_T3_CE_1"
rocks add host attr login-0-0 OSG_CE_gip_NumberOfNodes1 value="18"
rocks add host attr login-0-0 OSG_CE_gip_mb_of_Ram1 value="24576"
rocks add host attr login-0-0 OSG_CE_gip_cpu_model1 value="Intel(R) Xeon(R) CPU           W3550  @ 3.07GHz"
rocks add host attr login-0-0 OSG_CE_gip_cpu_vendor1 value="GenuineIntel"
rocks add host attr login-0-0 OSG_CE_gip_cpu_speed1 value="3066"
rocks add host attr login-0-0 OSG_CE_gip_arch1 value="x86_64"
rocks add host attr login-0-0 OSG_CE_gip_CpusPerNode1 value="1"
rocks add host attr login-0-0 OSG_CE_gip_CoresPerNode1 value="8"
rocks add host attr login-0-0 OSG_CE_gip_inbound1 value="FALSE"
rocks add host attr login-0-0 OSG_CE_gip_outbound1 value="TRUE"
rocks add host attr login-0-0 OSG_CE_gip_allowed_vos1 value="osg, cms"
rocks add host attr login-0-0 OSG_CE_gip_max_wall_time1 value="7200"

rocks add host attr login-0-0 OSG_CE_siteinfo_OIM_name value='registered-oim-resource-name'
rocks add host attr login-0-0 OSG_CE_siteinfo_OIM_group value='registered-oim-resource-group'
rocks add host attr login-0-0 OSG_CE_siteinfo_sponsor value='http://institution.site/Policy.html'
rocks add host attr login-0-0 OSG_CE_siteinfo_contact value='Site admin Name'
rocks add host attr login-0-0 OSG_CE_siteinfo_email value='myemail@my.institution'
rocks add host attr login-0-0 OSG_CE_siteinfo_policy value='http://institution.site/Policy.html'

#rocks sync host osg CE  login-0-0
<-- end SyntaxHighlightingPlugin -->
<--/twistyPlugin-->

The CE-configurator script (non-rocks) is like this:

  %SYNTAX{ syntax="bash"}% #!/bin/bash
Line: 402 to 482
 #begin config /etc/osg/config.d/30-gip.ini /bin/cp -f /etc/osg/config.d/30-gip.ini.template /etc/osg/config.d/30-gip.ini sed -i -e "s@batch = DEFAULT@batch = condor@" /etc/osg/config.d/30-gip.ini
Changed:
<
<
#end config /etc/osg/config.d/30-gip.ini
>
>
echo "[Subcluster my-subcluster-id-1]" >> /etc/osg/config.d/30-gip.ini echo "name = my-unique-subcluster-name-1" >> /etc/osg/config.d/30-gip.ini echo "node_count = 10" >> /etc/osg/config.d/30-gip.ini echo "ram_mb = 48000" >> /etc/osg/config.d/30-gip.ini echo "cpu_model = Intel(R) Xeon(R) CPU xxxx @ 3.66GHz" >> /etc/osg/config.d/30-gip.ini echo "cpu_vendor = GenuineIntel" >> /etc/osg/config.d/30-gip.ini echo "cpu_speed_mhz = 3666" >> /etc/osg/config.d/30-gip.ini echo "cpu_platform = %ARCH%" >> /etc/osg/config.d/30-gip.ini echo "cpus_per_node = 2" >> /etc/osg/config.d/30-gip.ini echo "cores_per_node = 24" >> /etc/osg/config.d/30-gip.ini echo "inbound_network = FALSE" >> /etc/osg/config.d/30-gip.ini echo "outbound_network = TRUE" >> /etc/osg/config.d/30-gip.ini echo "allowed_vos = cms, osg" >> /etc/osg/config.d/30-gip.ini echo "max_wall_time = %MAXWALL%" >> /etc/osg/config.d/30-gip.ini echo " " >> /etc/osg/config.d/30-gip.ini #end config /etc/osg/config.d/30
  #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

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%

Revision 42016-05-20 - eduardo

Line: 1 to 1
 

CE Configurator

Complete: 1
Line: 33 to 33
 
  • Local USESQUID = no
  • Local SQUIDSERVER = squid.server.name
  • Local USEGLEXEC = no
Added:
>
>
  • Local SHOWSTORAGE = no
 
  • Local USESE = no
  • Local SESERVER = se.server.name
  • Local APPDIR = /cvmfs/oasis.opensciencegrid.org
Line: 175 to 176
 "}%
Changed:
<
<
App Dir
>
>
%IF{"'no' = 'yes'" then="
Show Storage App Dir
 
Changed:
<
<
>
>
 
Changed:
<
<
>
>
 
Data Dir
Changed:
<
<
>
>
 
Changed:
<
<
>
>
 
WN Temp Dir
Changed:
<
<
>
>
 
Added:
>
>
"}%
 

Revision 32016-05-19 - eduardo

Line: 1 to 1
 

CE Configurator

Complete: 1
Line: 13 to 13
 

Customize this configurator script

Revision 22016-05-18 - eduardo

Line: 1 to 1
 

CE Configurator

Complete: 1
Line: 7 to 7
 Help admins to create Configurator scripts to set their site OSG-CE.

Contents

Changed:
<
<
>
>
 
Changed:
<
<

Customize this document

>
>

Customize this configurator script

 
Line: 28 to 47
 
Changed:
<
<
>
>
Use GUMS
Use SQUID
Use Glexec
Use SE
App Dir
Data Dir
WN Temp Dir
 
Line: 42 to 124
 
Added:
>
>
A fresh install script should look like this:

<--/twistyPlugin twikiMakeVisibleInline-->

<-- SyntaxHighlightingPlugin -->
#!/bin/bash

touch /var/log/ce-install.log
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

#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
[ ! -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/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

#In case OSG repo is disabled make sure we still update osg-ca-certs
[ ! -f /root/osg-ca-certs-updater.template ]&&cp -p /etc/cron.d/osg-ca-certs-updater /root/osg-ca-certs-updater.template
sed -i -e "s#osg-ca-certs-updater -a#osg-ca-certs-updater --enablerepo=osg -a#" /etc/cron.d/osg-ca-certs-updater

<-- end SyntaxHighlightingPlugin -->
<--/twistyPlugin-->

The CE-configurator script is like this:

 %SYNTAX{ syntax="bash"}% #!/bin/bash

#begin config /etc/osg/config.d/01-squid.ini

Added:
>
>
/bin/cp -f /etc/osg/config.d/01-squid.ini.template /etc/osg/config.d/01-squid.ini sed -i -e "s@enabled = True@enabled = False@" /etc/osg/config.d/01-squid.ini sed -i -e "s@location = @location = UNAVAILABLE@" /etc/osg/config.d/01-squid.ini
 #end config /etc/osg/config.d/01-squid.ini

#begin config /etc/osg/config.d/10-misc.ini

Changed:
<
<
#end config /etc/osg/config.d/10-misc.ini
>
>
/bin/cp -f /etc/osg/config.d/10-misc.ini.template /etc/osg/config.d/10-misc.ini #end config /etc/osg/config.d/10-misc.ini

#begin config /etc/osg/config.d/10-storage.ini /bin/cp -f /etc/osg/config.d/10-storage.ini.template /etc/osg/config.d/10-storage.ini #end config /etc/osg/config.d/10-storage.ini

#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 #end config /etc/osg/config.d/15-managedfork.ini

#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 sed -i -e "s@job_contact = host.name/jobmanager-condor@job_contact = myce.server.name/jobmanager-condor@" /etc/osg/config.d/20-condor.ini sed -i -e "s@util_contact = host.name/jobmanager@util_contact = myce.server.name/jobmanager@" /etc/osg/config.d/20-condor.ini #end config /etc/osg/config.d/20-condor.ini

#begin config /etc/osg/config.d/30-gip.ini /bin/cp -f /etc/osg/config.d/30-gip.ini.template /etc/osg/config.d/30-gip.ini sed -i -e "s@batch = DEFAULT@batch = condor@" /etc/osg/config.d/30-gip.ini #end config /etc/osg/config.d/30-gip.ini

#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 #end config /etc/osg/config.d/40-network.ini

 %ENDSYNTAX%
Added:
>
>
 -- Juan Eduardo Ramirez - 2016-05-17

Revision 12016-05-17 - eduardo

Line: 1 to 1
Added:
>
>

CE Configurator

Complete: 1

Goals of this page:

Help admins to create Configurator scripts to set their site OSG-CE.

Contents

Customize this document

<-- conventions used in this document 
  • Local CESERVER = myce.server.name
  • Local BATCH = condor
-->
CE Server Name
Batch

<-- SyntaxHighlightingPlugin -->
#!/bin/bash

#begin config /etc/osg/config.d/01-squid.ini
#end config /etc/osg/config.d/01-squid.ini

#begin config /etc/osg/config.d/10-misc.ini
#end config /etc/osg/config.d/10-misc.ini
<-- end SyntaxHighlightingPlugin -->

-- Juan Eduardo Ramirez - 2016-05-17

META TOPICMOVED by="eduardo" date="1463502327" from="Sandbox.TestTopic001" to="CMSPublic.ComputeElementConfigurator"
 
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