UI Installation
From EUAGwiki
Contents |
[edit] Slide
[edit] Pre-Installation
Please refer to Site_Pre-Installation to prepare and set up your machine for gLite middleware installation.
[edit] Install UI RPMs
1. The middleware repositories
$ cd /etc/yum.repos.d/ $ wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.1/glite-UI.repo
2. Install glite-UI RPMs and YAIM configuration tool
$ yum update $ yum install glite-UI
[edit] Modify site-info.def
Media:Example_of_site-info.def.txt
Customized UI configuration variables to fit your site.
# Hostname of the top level BDII BDII_HOST=bdii.grid.sinica.edu.tw # Hostname of the RGMA server MON_HOST=<MON_HOST> # Hostname of the PX PX_HOST=lcg00127.grid.sinica.edu.tw # Hostname of the RB RB_HOST=lcg00124.grid.sinica.edu.tw # Hostname of the WMS WMS_HOST=wms.grid.sinica.edu.tw # Space separated list of VOs supported by your site VOS="euasia ops dteam" ########## # EUASIA# ########## VO_EUASIA_SW_DIR=$VO_SW_DIR/euag VO_EUASIA_DEFAULT_SE=$DPM_HOST VO_EUASIA_STORAGE_DIR=$CLASSIC_STORAGE_DIR/euag VO_EUASIA_VOMS_SERVERS="vomss://voms.grid.sinica.edu.tw:8443/voms/euasia?/euasia" VO_EUASIA_VOMSES="'euasia voms.grid.sinica.edu.tw 15015 /C=TW/O=AS/OU=GRID/CN=voms.grid.sinica.edu.tw euasia'" VO_EUASIA_VOMS_CA_DN="'/C=TW/O=AS/OU=GRID/CN=voms.grid.sinica.edu.tw'" VO_EUASIA_CA_DN="'/C=TW/O=AS/CN=Academia Sinica Grid Computing Certification Authority Mercury'"
You can double check your site-info.def by refering to the following wiki pages
https://twiki.cern.ch/twiki/bin/view/LCG/UI_configuration_variables
[edit] Configure UI by YAIM
1.Check syntax of your site-info.def
$ source site-info.def
2. Verify YAIM parameters
$ /opt/glite/yaim/bin/yaim -v -s site-info.def -n glite-UI
3. Run YAIM command
$ /opt/glite/yaim/bin/yaim -c -s site-info.def -n glite-UI
[edit] Test
To get start
1. Create a .globus folder under /home/<your account>
2. Put your user certificate and private key under the .globus folder
3. Change the premission
$chmod 644 usercert.pem $chmod 400 userkey.pem
4. Create a voms proxy
$voms-proxy-init --voms euasia Cannot find file or dir: /home/shuting/.glite/vomses Your identity: /C=TW/O=AS/OU=GRID/CN=ShuTing Liao 193241 Enter GRID pass phrase: Creating temporary proxy ................................................ Done Contacting voms.grid.sinica.edu.tw:15015 [/C=TW/O=AS/OU=GRID/CN=voms.grid.sinica.edu.tw] "euasia" Done Creating proxy .................................... Done Your proxy is valid until Mon Sep 7 20:52:02 2009
5. Submit a JOB to Grid: http://aproc.twgrid.org/index.php?option=com_content&task=view&id=14&Itemid=33
[edit] Reference
gLite-3-UserGuide https://edms.cern.ch/document/722398/
Generic Installation and Configuration Guide for gLite 3.1: https://twiki.cern.ch/twiki/bin/view/LCG/GenericInstallGuide310
APROC note for ui installation: http://lists.grid.sinica.edu.tw/apwiki/Installation/User_Interface_Installation
