E-science grid facility for Europe and Latin America UI PnP and UI Installation User and Site Admin Tutorial Riccardo Bruno – INFN Catania Dublin (Ireland), September 2008
Dublin (Ireland), Tutorial for User and Site Admin., – Overview about the User Interface GILDA User Interface Plug and Play 3.1 Installation of a gLite 3.1 UI on SL4X Outline 2
Dublin (Ireland), Tutorial for User and Site Admin., – What a User Interface is ? The UI is a suite of clients and APIs that users and applications can use to access the gLite services The gLite UI includes the following components: – VOMS command-line tools – WMS clients and APIs – Logging and Bookkeeping clients and APIs – Data Transfer command-line clients and APIs – Data Catalog command-line clients and APIs – gLite I/O client and APIs – R-GMA/BDII client and APIs
Dublin (Ireland), Tutorial for User and Site Admin., – Installation and configuration of a GILDA UIPnP 3.1
Dublin (Ireland), Tutorial for User and Site Admin., – before to start This version of the GILDA UI PnP have been tested for Scientific Linux 4.5/6 and Fedora Core 8 – It may need additional effort to make it works on other distributions. It differs from the official release because everything is pre-configured for the GILDA testbed. To install and use it does not need root privileges at all Disclaimer !!
Dublin (Ireland), Tutorial for User and Site Admin., – Preliminary You have to check that – the clock of your machine is properly synchronized with an ntp server – you have Java properly installed on your machine; – Just for this tutorial you can install your personal copy of JDK as follow : Install JDK before the installation of middleware metapackages (only ROOT can do that) : # rpm -ihv i386/RPMS.3_1_0_externals/jdk-1.5.0_14-fcs.i586.rpm # rpm -ihv i386/RPMS.3_1_0_externals/java sun-compat sl4.jpp.noarch.rpm
Dublin (Ireland), Tutorial for User and Site Admin., – Installation As normal user, download the tarball from this location : wget --no-check-certificatehttps://gilda.ct.infn.it/UIPnP/GILDA-UIPnP-3.1.tar.gz … put it under your home directory and uncompress the tarball. $ tar xzvf GILDA-UIPnP-3.1.tar.gz …
Dublin (Ireland), Tutorial for User and Site Admin., – Configuration Enter the UIPnP-3.1 directory and open the file PnP-conf.def Replace the already set value of JAVA_LOCATION with your Java copy JAVA_LOCATION=/usr/java/jdk1.5.0_14/ Replace the already set value of WMS_HOST w WMS_HOST=WMS_HOST=glite-lb.ct.infn.it Soon the glite-rb3 will be available Run the configuration command : $HOME/UIPnP-3.1/glite/yaim/bin/yaim -c \ -s PnP-conf.def -n UI_TAR
Dublin (Ireland), Tutorial for User and Site Admin., – Post-configuration For your convenience, it may be useful to put these inside your ~/.bashrc, instead of running them every time you log in. source $HOME/UIPnP-3.1/external/etc/profile.d/grid-env.sh export LFC_HOST=lfc-gilda.ct.infn.it Run source.bashrc and, after you have copied under.globus/ your personal certificates you can enjoy GILDA UI Plug and play ! For this tutorial, user certificates can be downloaded from here :
Dublin (Ireland), Tutorial for User and Site Admin., – References Detailed and update information on GILDA Wiki pages – ldaUIPnP31 ldaUIPnP31
Dublin (Ireland), Tutorial for User and Site Admin., – Installation and configuration of a GILDA UI 3.1 on SL4x32
Dublin (Ireland), Tutorial for User and Site Admin., – Pre-requisites /1 Start from a base SL4x32 machine with the following rpm groups : – X Window System – Editors X Software Development – Text-based Internet – Server Configuration Tools – Development Tools – Administration Tools – System Tools – Legacy Software Development
Dublin (Ireland), Tutorial for User and Site Admin., – Check that your machine has a fully qualified name with: hostname -f you should get back the name of the machine including the domain Pre-requisites /2
Dublin (Ireland), Tutorial for User and Site Admin., – Repository settings Configure the repositories as follow: REPOS="ca dag ig jpackage gilda glite-ui" and get the repositories' files with the following command: for name in $REPOS; do wget - O /etc/yum.repos.d/$name.repo; done
Dublin (Ireland), Tutorial for User and Site Admin., – JAVA Install JDK before installing the metapackage. – Here below only an example that explain what rpms you need, but you could decide to follow another solution: yum install jdk yum install java sun-compat
Dublin (Ireland), Tutorial for User and Site Admin., – Metapackage yum install ig_UI_noafs
Dublin (Ireland), Tutorial for User and Site Admin., – CAs & GILDA utils Install CAs as follow: yum install lcg-CA Install GILDA utils as follow: yum install gilda_utils
Dublin (Ireland), Tutorial for User and Site Admin., – Configure cp /opt/glite/yaim/examples/siteinfo/ig-site- info.def \ /opt/glite/yaim/etc/gilda/ Edit the configuration file and set correctly the following variables: RB_HOST=glite-rb.ct.infn.it WMS_HOST=glite-lb.ct.infn.it (glite-rb3 coming soon) LB_HOST=LB_HOST="glite-lb.ct.infn.it:9000" PX_HOST=grid001.ct.infn.it DGAS_HLR_RESOURCE="grid-demo1.ct.infn.it::56568” LFC_HOST=lfc-gilda.ct.infn.it BDII_HOST=glite-rb.ct.infn.it JAVA_LOCATION= Customize here
Dublin (Ireland), Tutorial for User and Site Admin., – Add GILDA Settings VOS=“alice atlas cms.. ” Add GILDA here ALL_VOMS_VOS=“alice atlas cms..” Add GILDA here [..] VO_GILDA_SW_DIR=$VO_SW_DIR/gilda VO_GILDA_DEFAULT_SE=$DPM_HOST VO_GILDA_STORAGE_DIR=$CLASSIC_STORAGE_DIR/gilda VO_GILDA_VOMS_SERVERS="vomss://voms.ct.infn.it:8443/ voms/gilda?/gilda" VO_GILDA_VOMSES="gilda voms.ct.infn.it /C=IT/O=INFN/OU=Host/L=Catania/CN=voms.ct.infn.it gilda“ An example of ig-site-info_UI_SL4x32.info can be downloaded from herehere
Dublin (Ireland), Tutorial for User and Site Admin., – Configuration /opt/glite/yaim/bin/ig_yaim -c -s \ /opt/glite/yaim/etc/gilda/ \ -n
Dublin (Ireland), Tutorial for User and Site Admin., – Testing Add new user (e.g. cataniaXX) and set the passwd (GridCATXX, where XX=01,..,30) Copy user’s certificate under.globus/ folder For this tutorial, user certificates can be downloaded from here :
Dublin (Ireland), Tutorial for User and Site Admin., – References tall-3_1http://igrelease.forge.cnaf.infn.it/doku.php?id=doc:guides:ins tall-3_1 tall-3_1_64bithttp://igrelease.forge.cnaf.infn.it/doku.php?id=doc:guides:ins tall-3_1_64bit
Dublin (Ireland), Tutorial for User and Site Admin., – Questions …