Difference: InstallationAndConfigurationOfACREAMCE (9 vs. 10)

Revision 102011-02-24 - GiuseppeLaRocca

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Introduction

Line: 14 to 14
 $ wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/ig.repo $ wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo $ wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/glite-cream_torque.repo
Deleted:
<
<
$ wget http://grid018.ct.infn.it/mrepo/repos/gilda.repo
 

Update host and perform the installation of package(s)

Line: 845 to 844
 Complete!
Changed:
<
<

Install CAs and GILDA utils (if needed)

>
>

Install CAs

 

Changed:
<
<
$ yum install -y lcg-CA (gilda_utils) ntp
>
>
$ yum install -y lcg-CA
 

C E R T I F I C A T E S

Line: 1046 to 1043
 # the following URL: https://twiki.cern.ch/twiki/bin/view/LCG/YaimGuide400#vo_d_directory

# Space separated list of VOs supported by your site

Changed:
<
<
VOS="dteam ops eumed gilda infngrid"
>
>
VOS="dteam ops eumed infngrid"
  # Prefix of the experiment software directory in your CE VO_SW_DIR=exp_soft_dir

# Space separated list of queues configured in your CE

Changed:
<
<
QUEUES="dteam ops eumed gilda infngrid"
>
>
QUEUES="dteam ops eumed infngrid"
  # For each queue defined in QUEUES, define a _GROUP_ENABLE variable # which is a space separated list of VO names and VOMS FQANs:
Line: 1063 to 1060
 DTEAM_GROUP_ENABLE="dteam" OPS_GROUP_ENABLE="ops" EUMED_GROUP_ENABLE="eumed"
Deleted:
<
<
GILDA_GROUP_ENABLE="gilda"
 INFNGRID_GROUP_ENABLE="infngrid" CERT_GROUP_ENABLE="dteam ops"

#########

Deleted:
<
<
# gilda # ######### # GILDA VO: contact Gilda Team for Gilda settings VO_GILDA_SW_DIR=$VO_SW_DIR/gilda VO_GILDA_DEFAULT_SE=$DPM_HOST VO_GILDA_STORAGE_DIR=$CLASSIC_STORAGE_DIR/gilda VO_GILDA_VOMS_SERVERS="vomss://voms.ct.infn.it:8443/voms/gilda?/gilda" VO_GILDA_VOMSES="gilda voms.ct.infn.it 15001 /C=IT/O=INFN/OU=Host/L=Catania/CN=voms.ct.infn.it gilda" VO_GILDA_VOMS_CA_DN="'/C=IT/O=INFN/CN=INFN CA' '/C=IT/O=INFN/CN=INFN CA'"

#########

 # eumed # ######### VO_EUMED_SW_DIR=$VO_SW_DIR/eumed
Line: 1123 to 1108
 
Add the unix users in the /opt/glite/yaim/examples/ig-users.conf file

Deleted:
<
<
4401:gilda001:4400:gilda:gilda:: 4402:gilda002:4400:gilda:gilda:: 4403:gilda003:4400:gilda:gilda:: 4404:gilda004:4400:gilda:gilda:: 4405:gilda005:4400:gilda:gilda:: 4406:gilda006:4400:gilda:gilda:: 4407:gilda007:4400:gilda:gilda:: 4408:gilda008:4400:gilda:gilda:: 4409:gilda009:4400:gilda:gilda:: 4410:gilda010:4400:gilda:gilda:: [..] 4490:gilda090:4400:gilda:gilda:: 4491:gilda091:4400:gilda:gilda:: 4492:gilda092:4400:gilda:gilda:: 4493:gilda093:4400:gilda:gilda:: 4494:gilda094:4400:gilda:gilda:: 4495:gilda095:4400:gilda:gilda:: 4496:gilda096:4400:gilda:gilda:: 4497:gilda097:4400:gilda:gilda:: 4498:gilda098:4400:gilda:gilda:: 4499:gilda099:4400:gilda:gilda:: 4500:gilda100:4400:gilda:gilda:: 7109:sgmgilda001:4500,4400:sgmgilda,gilda:gilda:sgm: 7209:sgmgilda002:4500,4400:sgmgilda,gilda:gilda:sgm: 7309:sgmgilda003:4500,4400:sgmgilda,gilda:gilda:sgm:
 70001:eumed001:48000:eumed:eumed:: 70002:eumed002:48000:eumed:eumed:: 70003:eumed003:48000:eumed:eumed::
Line: 1158 to 1118
 70008:eumed008:48000:eumed:eumed:: 70009:eumed009:48000:eumed:eumed:: 70010:eumed010:48000:eumed:eumed::
Deleted:
<
<
70011:eumed011:48000:eumed:eumed:: [..] 70090:eumed090:48000:eumed:eumed:: 70091:eumed091:48000:eumed:eumed:: 70092:eumed092:48000:eumed:eumed:: 70093:eumed093:48000:eumed:eumed:: 70094:eumed094:48000:eumed:eumed:: 70095:eumed095:48000:eumed:eumed:: 70096:eumed096:48000:eumed:eumed:: 70097:eumed097:48000:eumed:eumed:: 70098:eumed098:48000:eumed:eumed:: 70099:eumed099:48000:eumed:eumed:: 70100:eumed100:48000:eumed:eumed::
 70101:sgmeumed01:47001,48000:eumedsgm,eumed:eumed:sgm 70102:sgmeumed02:47001,48000:eumedsgm,eumed:eumed:sgm 70103:sgmeumed03:47001,48000:eumedsgm,eumed:eumed:sgm
Added:
>
>
[..] 2451:infngrid001:2405:infngrid:infngrid:: 2452:infngrid002:2405:infngrid:infngrid:: 2453:infngrid003:2405:infngrid:infngrid:: 2454:infngrid004:2405:infngrid:infngrid:: 2455:infngrid005:2405:infngrid:infngrid:: 2456:infngrid006:2405:infngrid:infngrid:: 2457:infngrid007:2405:infngrid:infngrid:: 2458:infngrid008:2405:infngrid:infngrid:: 2459:infngrid009:2405:infngrid:infngrid:: 2460:infngrid010:2405:infngrid:infngrid:: 7106:sgminfngrid001:2504,2405:sgminfngrid,infngrid:infngrid:sgm: 7206:sgminfngrid002:2504,2405:sgminfngrid,infngrid:infngrid:sgm: 7306:sgminfngrid003:2504,2405:sgminfngrid,infngrid:infngrid:sgm:
 

Add the unix groups in the /opt/glite/yaim/examples/ig-groups.conf file
"/eumed/ROLE=SoftwareManager":::sgm
"/eumed"::::

Changed:
<
<
"/gilda/ROLE=SoftwareManager":::sgm: "/gilda/grelc/das/*":gilda::: "/gilda"::::
>
>
"/infngrid/ROLE=SoftwareManager":::sgm: "/infngrid/ROLE=pilot":::pilot: "/infngrid"::::
 

Edit the /opt/glite/yaim/examples/siteinfo/services/glite-creamce file
Line: 1205 to 1166
 vm02.ct.infn.it
Added:
>
>

Start the configuration with ig_yaim

 
$ /opt/glite/yaim/bin/ig_yaim -c -s /opt/glite/yaim/examples/siteinfo/ig-site-info.def -n ig_CREAM_torque
   WARNING: 

Line: 1416 to 1378
 
WARNING
Execute the following manually: chmod -R ug+rw,o-w /opt/exp_soft/ops
WARNING
Execute the following manually: chown -R sgmeumed001:sgmeumed /opt/exp_soft/eumed
WARNING
Execute the following manually: chmod -R ug+rw,o-w /opt/exp_soft/eumed
Deleted:
<
<
WARNING
Execute the following manually: chown -R sgmgilda001:sgmgilda /opt/exp_soft/gilda
WARNING
Execute the following manually: chmod -R ug+rw,o-w /opt/exp_soft/gilda
 
WARNING
Execute the following manually: chown -R sgminfigrid001:sgminfigrid /opt/exp_soft/infigrid
WARNING
Execute the following manually: chmod -R ug+rw,o-w /opt/exp_soft/infigrid
Stopping portmap: [ OK ]
Line: 1471 to 1431
 [11996] Parse messages for correctness... [yes] [11996] Send messages also to inter-logger... [yes] [11996] Messages will be stored with the filename prefix "/var/glite/log/dglogd.log".
Changed:
<
<
[11996] Server running with certificate: /C=IT/O=GILDA/OU=Host/L=INFNCT/CN=vm01.ct.infn.it
>
>
[11996] Server running with certificate: /C=IT/O=INFN/OU=Host/L=INFNCT/CN=vm01.ct.infn.it
 [11996] Listening on port 9002 [11996] Running as daemon... [yes]
INFO
Executing function: config_info_service_cream_ce
Line: 1656 to 1616
 
GlueCEUniqueID
vm01.ct.infn.it:8443/cream-pbs-ops
GlueCEUniqueID
vm01.ct.infn.it:8443/cream-pbs-eumed
GlueCEUniqueID
vm01.ct.infn.it:8443/cream-pbs-dteam
Deleted:
<
<
GlueCEUniqueID
vm01.ct.infn.it:8443/cream-pbs-gilda
 
GlueCEUniqueID
vm01.ct.infn.it:8443/cream-pbs-infigrid

Checking CREAM conf file ...

Line: 1684 to 1643
 
        $ uberftp vm01.ct.infn.it
	220 vm01.ct.infn.it GridFTP Server 2.8 (gcc64dbg, 1217607445-63) [VDT patched 4.0.8] ready.

Changed:
<
<
  1. User eumed019 logged in.
>
>
  1. User infngrid010 logged in.
  uberftp> quit
  1. Goodbye. kthxbye
Line: 1713 to 1672
 Queue Memory CPU Time Walltime Node Run Que Lm State
------ -------- -------- ---- --- --- -- ----- eumed -- 48:00:00 72:00:00 -- 0 0 -- E R
Deleted:
<
<
gilda -- 48:00:00 72:00:00 -- 0 0 -- E R
 infngrid -- 48:00:00 72:00:00 -- 0 0 -- E R ops -- 48:00:00 72:00:00 -- 0 0 -- E R dteam -- 48:00:00 72:00:00 -- 0 0 -- E R ----- -----
                                  1. 0
Changed:
<
<
$ su - eumed001
>
>
$ su - infngrid001
 $ cat test.sh #!/bin/sh hostname -f sleep 5
Changed:
<
<
$ qsub test.sh -q eumed
>
>
$ qsub test.sh -q infngrid
 1.vm01.ct.infn.it

$ qstat Job id Name User Time Use S Queue


---------------- --------------- -------- - -----
Changed:
<
<
1.vm01 test.sh eumed001 0 R eumed
>
>
1.vm01 test.sh infngrid001 0 R infigrid
 

Try a submission to that CE using the glite-ce-job-submit command

Changed:
<
<
$ glite-ce-job-submit -r vm01.ct.infn.it:8443/cream-pbs-eumed -a hostname_cream.jdl
>
>
$ glite-ce-job-submit -r vm01.ct.infn.it:8443/cream-pbs-infngrid -a hostname_cream.jdl
 2010-12-28 13:02:12,250 WARN - No configuration file suitable for loading. Using built-in configuration https://vm01.ct.infn.it:8443/CREAM953866855
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback