Difference between revisions of "Exercise 4: Site-info.def customization"

From Gridkaschool
Line 27: Line 27:
   
 
* Check if services/glite-creamce syntax is ok
 
* Check if services/glite-creamce syntax is ok
  +
  +
source services/glite-creamce
   
 
Check and correct errors.
 
Check and correct errors.
Line 34: Line 36:
 
/opt/glite/yaim/bin/yaim -v -s /root/siteinfo_dir/site-info.def -n creamCE
 
/opt/glite/yaim/bin/yaim -v -s /root/siteinfo_dir/site-info.def -n creamCE
   
Try for first with [[Media:site-info.def.bad2 | site-info.def.bad2]] and [[Media:services_glite-creamce.bad | services/glite-creamce.bad]]. Add needed variables.
+
Try for first with [[Media:site-info.def.bad2 | site-info.def.bad2]] and [[Media:services_glite-creamce.bad | services_glite-creamce.bad]]. Add needed variables.
   
 
At the end of process the good files should be: [[Media:site-info.def.good | site-info.def.good]] and [[Media:services_glite-creamce.good : services_glite-creamce.good]]
 
At the end of process the good files should be: [[Media:site-info.def.good | site-info.def.good]] and [[Media:services_glite-creamce.good : services_glite-creamce.good]]
Line 40: Line 42:
   
 
* Example of how to use the vo.d directory to configure a VO (example the EMI vo testers testers.eu-emi.eu)
 
* Example of how to use the vo.d directory to configure a VO (example the EMI vo testers testers.eu-emi.eu)
  +
 
mkdir /root/siteinfo_dir/vo.d
 
mkdir /root/siteinfo_dir/vo.d
 
cd /root/siteinfo_dir/vo.d
 
cd /root/siteinfo_dir/vo.d

Revision as of 14:51, 22 August 2012

IMPORTANT: This page is work in progress. Only when this message disappear it will be final version.


Exercise 4: Site-info.def customization

  • Customize your own site-info.def
 cd /root/siteinfo_dir 
 vi/gedit site-info.def 

Add also DECH VO configuration parameters dech_vo.config

You may use site-info.def.bad1 as customized file

  • Customize your own services/glite-creamce file
 vi/gedit services/glite-creamce

You may use services/glite-creamce.bad as customized file

  • Check if site-info.def file syntax is ok
 source site-info.def

Check and correct errors.

  • Check if services/glite-creamce syntax is ok
 source services/glite-creamce

Check and correct errors.

  • Check if all required yaim variables are defined in site-info.def
 /opt/glite/yaim/bin/yaim -v -s /root/siteinfo_dir/site-info.def -n creamCE

Try for first with site-info.def.bad2 and services_glite-creamce.bad. Add needed variables.

At the end of process the good files should be: site-info.def.good and Media:services_glite-creamce.good : services_glite-creamce.good


  • Example of how to use the vo.d directory to configure a VO (example the EMI vo testers testers.eu-emi.eu)
 mkdir /root/siteinfo_dir/vo.d 
 cd /root/siteinfo_dir/vo.d 
 wget http://www.pd.infn.it/~bertocco/GridKASchool2011/exercise2/vo.d_testers.eu-emi.eu 
 mv vo.d_testers.eu-emi.eu testers.eu-emi.eu 

  • Files:

dech_vo.config site-info.def.bad1 site-info.def.bad2 site-info.def.good services/glite-creamce.bad Media:services_glite-creamce.good : services_glite-creamce.good vo.d_testers.eu-emi.eu