Www.eu-eela.org E-science grid facility for Europe and Latin America UI PnP and UI Installation User...
23
www.eu-eela.org 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), 15-18 September 2008
Www.eu-eela.org E-science grid facility for Europe and Latin America UI PnP and UI Installation User and Site Admin Tutorial Riccardo Bruno – INFN Catania
www.eu-eela.org 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), 15-18 September
2008
Slide 2
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 Overview about the User Interface
GILDA User Interface Plug and Play 3.1 Installation of a gLite 3.1
UI on SL4X Outline 2
Slide 3
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 3 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
Slide 4
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 4 Installation and configuration of a
GILDA UIPnP 3.1
Slide 5
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 5..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 !!
Slide 6
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 6 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 1.5.0 before the installation of middleware
metapackages (only ROOT can do that) : # rpm -ihv
http://grid-it.cnaf.infn.it/mrepo/ig_sl4-
i386/RPMS.3_1_0_externals/jdk-1.5.0_14-fcs.i586.rpm # rpm -ihv
http://grid-it.cnaf.infn.it/mrepo/ig_sl4-
i386/RPMS.3_1_0_externals/java-1.5.0-sun-compat-
1.5.0.14-1.sl4.jpp.noarch.rpm
Slide 7
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 7 Installation As normal user,
download the tarball from this location :
https://gilda.ct.infn.it/UIPnP/GILDA-UIPnP-3.1.tar.gz wget
https://gilda.ct.infn.it/UIPnP/GILDA-UIPnP-3.1.tar.gz
--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
Slide 8
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 8 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
Slide 9
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 9 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 : http://
Slide 10
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 10 References Detailed and update
information on GILDA Wiki pages
https://grid.ct.infn.it/twiki/bin/view/GILDA/Gi ldaUIPnP31
https://grid.ct.infn.it/twiki/bin/view/GILDA/Gi ldaUIPnP31
Slide 11
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 11 Installation and configuration of
a GILDA UI 3.1 on SL4x32
Slide 12
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 12 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
Slide 13
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 13 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
Slide 14
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 14 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
http://grid018.ct.infn.it/mrepo/repos/$name.repo - O
/etc/yum.repos.d/$name.repo; done
http://grid018.ct.infn.it/mrepo/repos/$name.repo
Slide 15
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 15 JAVA Install JDK 1.5.0 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-1.5.0-sun-compat
Slide 16
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 16 Metapackage yum install
ig_UI_noafs
Slide 17
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 17 CAs & GILDA utils Install CAs
as follow: yum install lcg-CA Install GILDA utils as follow: yum
install gilda_utils
Slide 18
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 18 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
Slide 19
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 19 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 15001
/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
Slide 20
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 20 Configuration
/opt/glite/yaim/bin/ig_yaim -c -s \ /opt/glite/yaim/etc/gilda/ \
-n
Slide 21
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 21 Testing Add new user (e.g.
cataniaXX) and set the passwd (GridCATXX, where XX=01,..,30) Copy
users certificate under.globus/ folder For this tutorial, user
certificates can be downloaded from here : http://
Slide 22
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 22 References
https://gilda.ct.infn.it/UIPnP.html
https://grid.ct.infn.it/twiki/bin/view/GILDA/GILDASiteInstall
http://igrelease.forge.cnaf.infn.it/doku.php?id=doc:guides:ins
tall-3_1http://igrelease.forge.cnaf.infn.it/doku.php?id=doc:guides:ins
tall-3_1
http://igrelease.forge.cnaf.infn.it/doku.php?id=doc:guides:ins
tall-3_1_64bithttp://igrelease.forge.cnaf.infn.it/doku.php?id=doc:guides:ins
tall-3_1_64bit
Slide 23
www.eu-eela.eu Dublin (Ireland), Tutorial for User and Site
Admin., 15.09.2008 18.09.2008 23 Questions