Before Starting

  1. HOSTNAME: emitestbed08.cnaf.infn.it
  2. OS: SL5 X86_64 Installed + Network
  3. Host certificate required: must be copied under /etc/grid-security/ before yaim configuration

Service Installation

  1. Repositories ( see EMI basic configuration):
    1. egi-trustanchors.repo + emi1.repo + epel.repo
  2. $> yum clean all
  3. $> yum makecache
  4. INSTALLING ARGUS SERVER
    1. $> yum install fetch-crl
    2. $> yum install emi-release yum-protectbase yum-priorities
    3. $> yum install emi-argus

Service Configuration

  1. PREPARING FOR YAIM CONFIGURATION:
    1. COPY YAIM FILES UNDER ROOT: $>cp -r /opt/glite/yaim/examples/siteinfo/ /root/siteinfo/
    2. TESTERS VO files: follow description at [[https://twiki.cern.ch/twiki/bin/view/EMI/TestBed] [VO TESTERS HOWTO section 3.5]], download the following files: groups.conf, users.conf + vo.d directory
    3. CONTENT of /root/siteinfo: site-info.def + groups.conf + users.conf + vo.d (DIR)
    4. Find below the settings for Inter-Component testing EMI Testbed. Of course you will need to adapt these values to your own site (hostnames of other servers (SE, BDII, ARGUS..) , passwd, etc. etc. )


[root@emitestbed10 siteinfo]# grep -v "#" site-info.def  |grep  "="
USERS_CONF=/root/siteinfo/users.conf
GROUPS_CONF=/root/siteinfo/groups.conf
SITE_NAME=EMI-INFN-CNAF
SITE_EMAIL="root@localhost"
ARGUS_HOST=emitestbed10.cnaf.infn.it
PAP_ADMIN_DN="/C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Danilo Nicola Dongiovanni"
USE_ARGUS=yes
VOS="testers.eu-emi.eu"

Note :

  1. YAIM variables set into /root/siteinfo/services/XXXfiles will overrid variables in siteinfo.def file with same name
  2. some YAIM variables are set in the yaim defaults files: /opt/glite/yaim//defaults/XXXfiles

  1. After all yaim files are OK run the following commands:
    1. $> /opt/glite/yaim/bin/yaim -c -s site-info.def -n ARGUS_server
  2. If everything's OK yaim will end with (BTW yaim output is in /opt/glite/yaim/log/yaimlog file)

.....
  INFO: Configuration Complete.                                               [  OK  ]
  INFO: YAIM terminated succesfully.

Service Testing

  1. Test some basic commands:
    1. pap-admin lp
    2. pap-admin apf policy_test1.txt
    3. /etc/init.d/argus-pepd clearcache
    4. /etc/init.d/argus-pdp reloadpolicy
where
[root@emitestbed10 siteinfo]# cat policy/policy_test1.txt 
resource "http://cnaf.infn.it/cert-07" {
    obligation "http://glite.org/xacml/obligation/local-environment-map" {
    }
    action ".*" {
        rule permit { vo = "testers.eu-emi.eu" }
    }
}

  1. Other basic test on UI was done testing authorization on CE as reported at this page EMI gLite Job Management Tests Page





-- DaniloDongiovanni - 24-May-2011

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2012-03-14 - DaniloDongiovanniExCern
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EMI All webs login

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.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback