Tags:
, view all tags

Tutorial Cream

EMI2 CREAM CE 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/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
   yum install emi-torque-utils
   yum install emi-torque-client
   

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

    • 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

  • 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

  • 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
 

Useful files

-- PaoloVeronesi - 2012-09-20

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatjdl Test.jdl manage 0.2 K 2012-10-01 - 21:49 SaraBertocco  
Unknown file formatodt info_scuola_cnaf.odt manage 22.5 K 2012-10-01 - 21:49 SaraBertocco  
Compressed Zip archivetar siteinfo.cream.tar manage 30.0 K 2012-10-01 - 21:49 SaraBertocco  
Compressed Zip archivetar siteinfo.site_bdii.tar manage 30.0 K 2012-10-01 - 21:49 SaraBertocco  
Edit | Attach | PDF | History: r10 | r8 < r7 < r6 < r5 | Backlinks | Raw View | More topic actions...
Topic revision: r6 - 2012-10-01 - SaraBertocco
 
  • Edit
  • Attach
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