Difference: ComputeElementConfigurator (5 vs. 6)

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
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback