Difference between revisions of "Exercise 4: Site-info.def customization"
From Gridkaschool
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | 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 |
* Customize your own site-info.def |
||
Line 9: | Line 4: | ||
cd /root/siteinfo_dir |
cd /root/siteinfo_dir |
||
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:site-info.def.bad1 | site-info.def.bad1]] as customized file |
||
+ | |||
+ | * Customize your own services/glite-creamce file |
||
+ | |||
+ | vi/gedit services/glite-creamce |
||
+ | |||
+ | You may use [[Media:services_glite-creamce.bad | services/glite-creamce.bad]] as customized file |
||
* Check if site-info.def file syntax is ok |
* Check if site-info.def file syntax is ok |
||
Line 14: | Line 19: | ||
source site-info.def |
source site-info.def |
||
− | and correct |
+ | Check and correct errors. |
+ | * Check if services/glite-creamce syntax is ok |
||
− | * Check if all required yaim variables are defined in site-info.def |
||
+ | source services/glite-creamce |
||
− | /opt/glite/yaim/bin/yaim -v -s /root/siteinfo_dir/site-info.def -n creamCE |
||
− | and correct |
+ | Check and correct errors. |
+ | * Check if all required yaim variables are defined in site-info.def |
||
− | * Customize your own services/glite-creamce file |
||
+ | /opt/glite/yaim/bin/yaim -v -s /root/siteinfo_dir/site-info.def -n creamCE |
||
− | 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. |
||
− | * Check if services/glite-creamce file syntax is ok |
||
− | |||
− | source vi/gedit services/glite-creamce |
||
− | |||
+ | 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]] |
||
+ | * Example of how to use the vo.d directory to configure a VO (example the EMI vo testers testers.eu-emi.eu) |
||
− | # 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) |
||
mkdir /root/siteinfo_dir/vo.d |
mkdir /root/siteinfo_dir/vo.d |
||
cd /root/siteinfo_dir/vo.d |
cd /root/siteinfo_dir/vo.d |
||
− | wget |
+ | wget [[vo.d_testers.eu-emi.eu | https://wiki.scc.kit.edu/gridkaschool/upload/f/f5/Vo.d_testers.eu-emi.eu]] |
mv vo.d_testers.eu-emi.eu testers.eu-emi.eu |
mv vo.d_testers.eu-emi.eu testers.eu-emi.eu |
||
+ | |||
− | Files: |
||
+ | |||
− | [[Media:site-info.def.bad | site-info.def.bad]] |
||
+ | == '''Files:''' == |
||
+ | |||
+ | [[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 | services_glite-creamce.bad]] |
||
− | [[Media:services_glite-creamce. |
+ | [[Media:services_glite-creamce.bad | services/glite-creamce.bad]] |
+ | |||
+ | [[Media:services_glite-creamce.good | services/glite-creamce.good]] |
||
+ | |||
+ | [[Media:vo.d_testers.eu-emi.eu | vo.d/testers.eu-emi.eu]] |
Latest revision as of 15:07, 22 August 2012
- 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 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 https://wiki.scc.kit.edu/gridkaschool/upload/f/f5/Vo.d_testers.eu-emi.eu mv vo.d_testers.eu-emi.eu testers.eu-emi.eu