Presentation is loading. Please wait.

Presentation is loading. Please wait.

UI Installation and Configuration

Similar presentations


Presentation on theme: "UI Installation and Configuration"— Presentation transcript:

1 UI Installation and Configuration
Introductions UI Installation and Configuration Miguel Angel Díaz Corchero CETA-CIEMAT Asia EPIKH School for Grid Site Administrators Amman ,

2 Introductions The access point to the WLCG/EGEE Grid is the User Interface (UI). This can be any machine where users have a personal account and where their user certificate is installed. The gLite user Interface is a suite of clients and APIs that users and applications can use to access the gLite services from both the LCG and gLite software stack. From a UI a user can be authenticated and authorized to use the WLCG/EGEE resources, and can access the functionalities offered by the Information, Workload and Data Management Systems.

3 Check your host Vi /etc/hosts (for example) Start ntpd yum install ntp
# Do not remove the following line, or various programs # that require network functionality will fail. localhost.localdomain localhost gilda01.ihep.ac.cn gilda01 Start ntpd yum install ntp chkconfig --list | grep ntp chkconfig --level 2345 ntpd on ntpdate ntp-1.infn.it service ntpd start

4 Repository settings 1) Disable DAG repositories.
2) Install the EPEL repository rpm -ivh 4.noarch.rpm 3) Install the EMI middleware repository wget sl5.noarch.rpm yum install ./emi-release sl5.noarch.rpm 4) Install the Certification Authority repository wget trustanchors.repo -O /etc/yum.repos.d/EGI-trustanchors.repo

5 See /etc/yum.repos.d/EMI
[EMI-1-base] name=EMI 1 base baseurl= protect=1 enabled=1 # To use priorities you must have yum-priorities installed priority=45 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-emi

6 Install by yum UI specific Installation: install UI:
yum install EMI-ui

7 edit site-info.def Edit site-info.def:
nano /opt/glite/yaim/etc/site-info.def chmod -c 755 /opt/glite/yaim/etc/site-info.def BDII_LIST="xxxxxxx, yyyyyy, zzzzzz" LB_HOST=xxxxxxxxxxx PX_HOST=xxxxxxxxxxx WMS_HOST=xxxxxxxxx SITE_NAME="AMMAN-GRID" VOS="gilda" OUTPUT_STORAGE="/tmp"

8 Configure CA and VO Gilda provides a package with all the necessary
Configure Certification Authority (CA) and Virtual Organization (VO): wget -O /etc/yum.repos.d/gilda.repo Yum install gilda_utils Fixing the VO configuration 1 ) mkdir /etc/grid-security/vomsdir/gilda/ mv /etc/grid-security/vomsdir/voms.ct.infn.it.pem /etc/grid- security/vomsdir/gilda/ 2) mv /opt/glite/yaim/etc/gilda/vo.d /opt/glite/yaim/etc/gilda

9 /opt/glite/yaim/bin/yaim -c -s /opt/glite/yaim/etc/site-info.def -n UI
Running Yaim /opt/glite/yaim/bin/yaim -c -s /opt/glite/yaim/etc/site-info.def -n UI

10 Set environment variable LFC_HOST
nano /opt/glite/etc/profile.d/grid-env.sh gridenv_set “LFC_HOST” “your lfc hostname”

11 Test UI login as a non root users to UI and initialize your voms proxy. $# voms-proxy-init –voms gilda ~]$ voms-proxy-init -voms gilda Enter GRID pass phrase: Your identity: /C=CN/O=HEP/O=IHEP/OU=CC/CN=dong xu Creating temporary proxy Done Contacting voms.ct.infn.it: [/C=IT/O=INFN/OU=Host/L=Catania/CN=voms.ct.infn.it] "gilda" Done Creating proxy Done Your proxy is valid until Wed Sep 1 07:25: ~]$

12 Test UI check LFC: $# echo $LFC_HOST $# lfc-ls /grid/gilda/home
$# lfc-mkdir /grid/gilda/home/xud $# glite-wms-job-delegate-proxy -d xud ~]$ echo $LFC_HOST gilda07.ihep.ac.cn ~]$ lfc-ls /grid/gilda/home xud ~]$ glite-wms-job-delegate-proxy -d xud Connecting to the service ================== glite-wms-job-delegate-proxy Success ================== Your proxy has been successfully delegated to the WMProxy(s): with the delegation identifier: xud ========================================================================== ~]$

13 Submit a job $# vi test.jdl $# vi hello.sh Type="Job";
JobType="Normal"; Executable="/bin/sh"; Arguments="hello.sh"; StdOutput="hello.out"; StdError="hello.err"; InputSandbox="hello.sh"; OutputSandbox={"hello.out","hello.err"}; $# vi hello.sh #!/bin/bash echo "hello!World!!"

14 glite-wms-job-submit -d xud -o jobid test.jdl
Submit a job glite-wms-job-submit -d xud -o jobid test.jdl ~]$ glite-wms-job-submit -d xud -o jobid test.jdl Connecting to the service ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: The job identifier has been saved in the following file: /home/xud/jobid =============================================================== ===========

15 $# glite-wms-job-status -i jobid
Submit a job $# glite-wms-job-status -i jobid ~]$ glite-wms-job-status -i jobid ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : Current Status: Scheduled Status Reason: Job successfully submitted to Globus Destination: gilda-01.pd.infn.it:2119/jobmanager-lcgpbs-gilda Submitted: Tue Aug 31 19:32: CST =============================================================== =========== ~]$ $# glite-wms-job-output -i jobid

16 Thank you very much!


Download ppt "UI Installation and Configuration"

Similar presentations


Ads by Google