Exercise 4: Site-info.def customization: Difference between revisions
From Gridkaschool
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
vi/gedit site-info.def |
vi/gedit site-info.def |
||
Add also DECH VO configuration parameters [[Media:dech_vo.config | dech_vo.config]] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
You may use [[Media:services_glite-creamce.bad | services/glite-creamce.bad]] as customized file |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
* Check if services/glite-creamce |
* Check if services/glite-creamce syntax is ok |
||
source vi/gedit services/glite-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. |
|||
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]] |
|||
# Optional Note to enable DECH VO: |
|||
# information available at: |
|||
# http://glite-sv.scai.fraunhofer.de/wiki/ext/index.php?n=Main.DECHVO |
|||
# VOS="dteam ops dech ..." |
|||
# #VO_DECH_SW_DIR=${VO_SW_DIR}/dech |
|||
#VO_DECH_DEFAULT_SE=$SE_HOST #VO_DECH_QUEUES="dech" |
|||
#VO_DECH_VOMS_SERVERS="vomss://glite-io.scai.fraunhofer.de:8443/voms/dech?/dech/" |
|||
#VO_DECH_VOMSES="'dech glite-io.scai.fraunhofer.de 15000 /C=DE/O=GermanGrid/OU=Fraunhofer SCAI/CN=host/glite-io.scai.fraunhofer.de dech'" |
|||
#VO_DECH_VOMS_CA_DN="'/C=DE/O=GermanGrid/CN=GridKa-CA'" |
|||
# # Remember Enable queue |
|||
# # Voms certificate |
|||
# http://glite-sv.scai.fraunhofer.de/wiki/uploads/Main/glite-io.scai.fraunhofer.de.2011.pem # # GridKa-CA in ca-policy-egi-core |
|||
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 |
||
Line 52: | Line 45: | ||
mv vo.d_testers.eu-emi.eu testers.eu-emi.eu |
mv vo.d_testers.eu-emi.eu testers.eu-emi.eu |
||
---- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
[[Media:dech_vo.config | dech_vo.config]] |
|||
[[Media:site-info.def.bad1 | site-info.def.bad1]] |
|||
[[Media:site-info.def.bad2 | site-info.def.bad2]] |
|||
[[Media:site-info.def.good | site-info.def.good]] |
[[Media:site-info.def.good | site-info.def.good]] |
||
[[Media:services_glite-creamce.bad | |
[[Media:services_glite-creamce.bad | services/glite-creamce.bad]] |
||
[[Media:services_glite-creamce.good : services_glite-creamce.good]] |
[[Media:services_glite-creamce.good : services_glite-creamce.good]] |
||
[[Media:vo.d_testers.eu-emi.eu | vo.d_testers.eu-emi.eu]] |
Revision as of 14:48, 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
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