Difference: TutorialCream (1 vs. 10)

Revision 102012-10-02 - SaraBertocco

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

Tutorial Cream

Line: 306 to 306
 
  • Query the site-BDII (publishing all resources of your site)

Changed:
<
<
ldapsearch -x -H ldap://tutor-bdii.cnaf.infn.it:2170 -b mds-vo-name=GridKASchool00,o=grid
>
>
ldapsearch -x -H ldap://tutor-bdii.cnaf.infn.it:2170 -b mds-vo-name=igi-tutor00,o=grid
 
  • Query a top BDII publishing a set of sites

Revision 92012-10-02 - SaraBertocco

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

Tutorial Cream

Line: 276 to 276
  yum install emi-bdii-site
Added:
>
>

EMI2 site_BDII Configuration

  • Customize configuration and site files
  • Configure using yaim
       /opt/glite/yaim/bin/yaim -d 6 -c -s  <path>/siteinfo/site-info.def -n  BDII_site
       
 

Query BDII

  • Test that the BDII is operational

Revision 82012-10-02 - SaraBertocco

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

Tutorial Cream

Line: 38 to 38
  yum install ca-policy-egi-core yum install emi-cream-ce yum install emi-torque-utils
Changed:
<
<
yum install emi-torque-client
>
>
yum install emi-torque-server
 

Enable munge

Line: 75 to 75
 

EMI2 CREAM + Torque Server Configuration

Added:
>
>
 
  • Customize configuration files
    • Configure users, groups and worker node list
    • Create your own
Line: 90 to 93
 
  • Install host certificate and check permissions

Changed:
<
<
cp hostkey.pem hostcert.pem etc/grid-security/
>
>
cp hostkey.pem hostcert.pem /etc/grid-security/
  cp hostkey.pem hostcert.pem /etc/grid-security/
Line: 316 to 319
  -- PaoloVeronesi - 2012-09-20
Added:
>
>
 
META FILEATTACHMENT attachment="siteinfo.cream.tar" attr="" comment="" date="1349128153" name="siteinfo.cream.tar" path="siteinfo.cream.tar" size="30720" user="SaraBertocco" version="1"
META FILEATTACHMENT attachment="siteinfo.site_bdii.tar" attr="" comment="" date="1349128153" name="siteinfo.site_bdii.tar" path="siteinfo.site_bdii.tar" size="30720" user="SaraBertocco" version="1"
META FILEATTACHMENT attachment="Test.jdl" attr="" comment="" date="1349128151" name="Test.jdl" path="Test.jdl" size="201" user="SaraBertocco" version="1"
META FILEATTACHMENT attachment="info_scuola_cnaf.odt" attr="" comment="" date="1349128151" name="info_scuola_cnaf.odt" path="info_scuola_cnaf.odt" size="23086" user="SaraBertocco" version="1"
Added:
>
>
META FILEATTACHMENT attachment="Site-info.def.good" attr="" comment="" date="1349171343" name="Site-info.def.good" path="Site-info.def.good" size="25528" user="SaraBertocco" version="1"
 
META PREFERENCE name="ALLOWTOPICCHANGE" title="ALLOWTOPICCHANGE" type="Set" value="TWikiAdminUser OperationsGroup SaraBertocco"

Revision 72012-10-02 - SaraBertocco

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

Tutorial Cream

Line: 181 to 181
  /opt/glite/yaim/bin/yaim -c -s /root/siteinfo/site-info.def -n WN -n TORQUE_client
Added:
>
>

Check torque cluster

  • From CE:
    • Check status of cluster nodes
            pbsnodes  
            
    • Check if batch system works correctly
            su - <user>   
            vi/gedit test.sh   
            #!/bin/bash   
            sleep 20   
            qsub -q dteam_q test.sh  
            qsub -q dteam_q test.sh
           
  • To check supported queues:
        ldapsearch -x -H ldap://<CE_FQDN>:2170 -b mds-vo-name=resource,o=grid  
       
  • To detect the jobid:
        qstat -Q  
        qstat -a  
       
  • To check the job
        tracejob <jobid>
       

Direct submission to CREAM CE

  • connect to the user interface
  • check user certificate
       ls -al .globus 
       ls -al .glite
       
  • check available queues and batch system
       ldapsearch -x -H ldap://tutor-cream.cnaf.infn.it:2170 -b mds-vo-name=resource,o=grid  
       
  • create a user proxy
       voms-proxy-init -voms dteam  
       
  • get the test jdl file : test.jdl
  • submit the job
       glite-ce-job-submit -d -r <ce_host_FQDN>:8443/cream-pbs-cert -a test.jdl  
       
  • check the job status
       glite-ce-job-status <cream-id>
       
  • get the job output
       glite-ce-job-output <cream-id>
       
 

EMI2 site_BDII Installation

Repositories configuraton

  • Check OS (check also NTP and logrotate installation and configuration)
Line: 214 to 273
  yum install emi-bdii-site
Added:
>
>

Query BDII

  • Test that the BDII is operational
       ldapsearch -x -h <hostname> -p 2170 -b o=infosys
       
  • Test that the BDII is updating
       ldapsearch -x -h <hostname> -p 2170 -b o=infosys "*" modifyTimestamp
       
  • Test that the Glue 1.3 root entry is available
       ldapsearch -x -h <hostname> -p 2170 -b mds-vo-name=resource,o=grid
       
  • Test that the Glue 2.0 root entry is available
       ldapsearch -x -h <hostname> -p 2170 -b o=glue
       

  • Query local resource (the cream ce)
       ldapsearch -x -H ldap://tutor-cream.cnaf.infn.it:2170 -b mds-vo-name=resource,o=grid
       
  • Query the site-BDII (publishing all resources of your site)
       ldapsearch -x -H ldap://tutor-bdii.cnaf.infn.it:2170 -b mds-vo-name=GridKASchool00,o=grid
       
  • Query a top BDII publishing a set of sites
       ldapsearch -x -H ldap://gridit-bdii-01.cnaf.infn.it:2170 -b mds-vo-name=local,o=grid
       
 
Changed:
<
<

Useful files

>
>

Useful files

 

Revision 62012-10-01 - SaraBertocco

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

Tutorial Cream

Line: 214 to 214
  yum install emi-bdii-site
Added:
>
>

Useful files

 -- PaoloVeronesi - 2012-09-20
Added:
>
>
META FILEATTACHMENT attachment="siteinfo.cream.tar" attr="" comment="" date="1349128153" name="siteinfo.cream.tar" path="siteinfo.cream.tar" size="30720" user="SaraBertocco" version="1"
META FILEATTACHMENT attachment="siteinfo.site_bdii.tar" attr="" comment="" date="1349128153" name="siteinfo.site_bdii.tar" path="siteinfo.site_bdii.tar" size="30720" user="SaraBertocco" version="1"
META FILEATTACHMENT attachment="Test.jdl" attr="" comment="" date="1349128151" name="Test.jdl" path="Test.jdl" size="201" user="SaraBertocco" version="1"
META FILEATTACHMENT attachment="info_scuola_cnaf.odt" attr="" comment="" date="1349128151" name="info_scuola_cnaf.odt" path="info_scuola_cnaf.odt" size="23086" user="SaraBertocco" version="1"
 
META PREFERENCE name="ALLOWTOPICCHANGE" title="ALLOWTOPICCHANGE" type="Set" value="TWikiAdminUser OperationsGroup SaraBertocco"

Revision 52012-10-01 - SaraBertocco

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

Tutorial Cream

Changed:
<
<

EMI2 CREAM CE Installation

>
>

EMI2 CREAM CE Installation

 

Repositories configuraton

  • Check OS (check also NTP and logrotate installation and configuration)
Line: 37 to 37
 
yum install ca-policy-egi-core
yum install emi-cream-ce
Added:
>
>
yum install emi-torque-utils yum install emi-torque-client
 
Changed:
<
<

Torque batch system installation

>
>

Enable munge

  • Enable munge
    • Check if munge is installed
             rpm -qa |grep munge
            
    • Create a munge key
            /usr/sbin/create-munge-key
            
    • Check ownership and permissions
            ls -l /etc/munge/munge.key
            
    • Change ownership and/or permissions if needed
            -r-------- 1 root root 1024 Oct  1 17:44 /etc/munge/munge.key
            
    • Check if munge started, start munge if needed and configure boot
            chown munge:munge /etc/munge/munge.key
            service munge status
                munged is stopped
            service munge start  
                Starting MUNGE:                                            [  OK  ]
            chkconfig munge on
            
    • Distribute the munge key on the other cluster hosts
            scp  /etc/munge/munge.key tutor-wn:/etc/munge/munge.key 
            

EMI2 CREAM + Torque Server Configuration

  • Customize configuration files
    • Configure users, groups and worker node list
    • Create your own
    • Copy example files from examples to
    • Customize users.conf
    • Customize groups.conf
    • Fill your wn-list.conf

  • Customize your site files
    • Edit and customize your site-info.def
    • Edit and customize your services/glite-creamce
    • Verify the configuration

  • Install host certificate and check permissions
       cp hostkey.pem hostcert.pem etc/grid-security/
       cp hostkey.pem hostcert.pem /etc/grid-security/
       

  • Configure
       /opt/glite/yaim/bin/yaim -c -s /root/siteinfo/site-info.def -n creamCE -n TORQUE_server -n TORQUE_utils
       

EMI2 WN Installation

Repositories configuraton

  • Check OS
cat /etc/redhat-release
  • Check repositories and remove DAG repo if needed
cd /etc/yum.repos.d/
ls -l
  • Install yum-protectbase
yum install yum-protectbase
  • Configure EPEL
wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
yum install epel-release-5-4.noarch.rpm
  • Configure EMI repository
   
wget http://emisoft.web.cern.ch/emisoft/dist/EMI/2/sl5/x86_64/base/emi-release-2.0.0-1.sl5.noarch.rpm
yum install ./emi-release-2.0.0-1.sl5.noarch.rpm
rpm --import http://emisoft.web.cern.ch/emisoft/dist/EMI/2/RPM-GPG-KEY-emi
yum install ./emi-release-2.0.0-1.sl5.noarch.rpm

Metapackages installation

  • Install CA
yum install ca-policy-egi-core
  • Install WN
yum install emi-wn
  • Install batch system
yum install emi-torque-client
 

Enable munge

Added:
>
>
    • Check ownership and permissions
            ls -l /etc/munge/munge.key
            
    • Change ownership and/or permissions if needed
            -r-------- 1 root root 1024 Oct  1 17:44 /etc/munge/munge.key
            
    • Check if munge started, start munge if needed and configure boot
            chown munge:munge /etc/munge/munge.key
            service munge status
                munged is stopped
            service munge start  
                Starting MUNGE:                                            [  OK  ]
            chkconfig munge on
      

EMI2 WN Torque Configuration

 
Changed:
<
<

Configuration

>
>
  • Customize configuration files
    • Configure users, groups and worker node list
    • Create your own
    • Copy example files from examples to
    • Customize users.conf
    • Customize groups.conf
    • Fill your wn-list.conf
 
Added:
>
>
  • Customize your site files
    • Edit and customize your site-info.def
    • Edit and customize your services/glite-creamce
    • Verify the configuration

  • Configure
       /opt/glite/yaim/bin/yaim -c -s /root/siteinfo/site-info.def -n WN -n TORQUE_client
       

EMI2 site_BDII Installation

Repositories configuraton

  • Check OS (check also NTP and logrotate installation and configuration)
       cat /etc/redhat-release 
       
  • Check repositories and remove DAG repo if needed
       cd /etc/yum.repos.d/
       ls -l
       
  • Install yum-protectbase
       yum install yum-protectbase
       
  • Configure EPEL
       wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm
       yum install epel-release-6-7.noarch.rpm
       
  • Configure EMI repository
       
       wget http://emisoft.web.cern.ch/emisoft/dist/EMI/2/sl6/x86_64/base/emi-release-2.0.0-1.sl6.noarch.rpm 
       yum install ./emi-release-2.0.0-1.sl6.noarch.rpm
       rpm --import http://emisoft.web.cern.ch/emisoft/dist/EMI/2/RPM-GPG-KEY-emi
       yum install ./emi-release-2.0.0-1.sl6.noarch.rpm
       

Metapackages installation

   yum install emi-bdii-site
 
  -- PaoloVeronesi - 2012-09-20

Revision 42012-10-01 - SaraBertocco

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

Tutorial Cream

Line: 6 to 6
 

EMI2 CREAM CE Installation

Added:
>
>

Repositories configuraton

  • Check OS (check also NTP and logrotate installation and configuration)
cat /etc/redhat-release 
  • Check repositories and remove DAG repo if needed
cd /etc/yum.repos.d/
ls -l
  • Install yum-protectbase
yum install yum-protectbase
  • Configure EPEL
wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
yum install epel-release-5-4.noarch.rpm
  • Configure EMI repository
   
wget http://emisoft.web.cern.ch/emisoft/dist/EMI/2/sl5/x86_64/base/emi-release-2.0.0-1.sl5.noarch.rpm
yum install ./emi-release-2.0.0-1.sl5.noarch.rpm
rpm --import http://emisoft.web.cern.ch/emisoft/dist/EMI/2/RPM-GPG-KEY-emi
yum install ./emi-release-2.0.0-1.sl5.noarch.rpm

Metapackages installation

yum install ca-policy-egi-core
yum install emi-cream-ce

Torque batch system installation

Enable munge

Configuration

 -- PaoloVeronesi - 2012-09-20

META PREFERENCE name="ALLOWTOPICCHANGE" title="ALLOWTOPICCHANGE" type="Set" value="TWikiAdminUser OperationsGroup SaraBertocco"
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback