Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
OSG CE Configurator | ||||||||
Changed: | ||||||||
< < | Complete: ![]() | |||||||
> > | Complete: ![]() | |||||||
Goals of this page: | ||||||||
Line: 45 to 45 | ||||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
| ||||||||
Line: 258 to 276 | ||||||||
Added: | ||||||||
> > | ||||||||
| ||||||||
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 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Changed: | ||||||||
< < | CE Configurator | |||||||
> > | OSG CE Configurator | |||||||
Complete: ![]() |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
CE ConfiguratorComplete:![]() | ||||||||
Line: 12 to 12 | ||||||||
Customize this configurator script | ||||||||
Added: | ||||||||
> > |
| |||||||
| ||||||||
Line: 235 to 251 | ||||||||
"}% | ||||||||
Added: | ||||||||
> > |
| |||||||
| ||||||||
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 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
CE ConfiguratorComplete:![]() | ||||||||
Line: 39 to 39 | ||||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
--> | ||||||||
Line: 176 to 190 | ||||||||
Deleted: | ||||||||
< < | ||||||||
| ||||||||
Line: 201 to 214 | ||||||||
Added: | ||||||||
> > |
| |||||||
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@"![]() | |||||||
%ENDSYNTAX% |
Line: 1 to 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CE ConfiguratorComplete:![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Line: 13 to 13 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Customize this configurator scriptRevision 22016-05-18 - eduardo
Revision 12016-05-17 - eduardo
View topic | History: r8 < r7 < r6 < r5 | More topic actions... ![]() ![]() Ideas, requests, problems regarding TWiki? Send feedback |