240 likes | 460 Views
UI PnP and UI Installation. User and Site Admin Tutorial Riccardo Bruno – INFN Catania Dublin (Ireland), 15-18 September 2008. Outline. Overview about the User Interface GILDA User Interface Plug and Play 3.1 Installation of a gLite 3.1 UI on SL4X. 2. What a User Interface is ?.
E N D
UI PnP and UI Installation User and Site Admin Tutorial Riccardo Bruno – INFN Catania Dublin (Ireland), 15-18 September 2008
Outline Overview about the User Interface GILDA User Interface Plug and Play 3.1 Installation of a gLite 3.1 UI on SL4X 2
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: – VOMScommand-line tools – WMSclients and APIs – Logging and Bookkeepingclients and APIs – Data Transfercommand-line clients and APIs – Data Catalogcommand-line clients and APIs – gLite I/Oclient and APIs – R-GMA/BDIIclient and APIs
..before to start • This version of the GILDA UI PnP have been tested for Scientific Linux 4.5/6andFedora 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 !!
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
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-certificate • … put it under your home directory and uncompress the tarball. $ tar xzvf GILDA-UIPnP-3.1.tar.gz …
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
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://…
References • Detailed and update information on GILDA Wiki pages • https://grid.ct.infn.it/twiki/bin/view/GILDA/GildaUIPnP31
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
Pre-requisites /2 • Check that your machine has a fully qualified name with: hostname -f you should get back the name of the machine including the domain
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
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
Metapackage yum install ig_UI_noafs
CAs & GILDA utils Install CAs as follow: yum install lcg-CA Install GILDA utils as follow: yum install gilda_utils
Configure cp /opt/glite/yaim/examples/siteinfo/ig-site-info.def \ /opt/glite/yaim/etc/gilda/<your_site-info.def> • Edit the configuration file and set correctly the following variables: RB_HOST=glite-rb.ct.infn.itWMS_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.itDGAS_HLR_RESOURCE="grid-demo1.ct.infn.it::56568”LFC_HOST=lfc-gilda.ct.infn.itBDII_HOST=glite-rb.ct.infn.it JAVA_LOCATION=<JAVA_location> Customize here
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 fromhere
Configuration /opt/glite/yaim/bin/ig_yaim -c -s \ /opt/glite/yaim/etc/gilda/<your-site-info.def> \ -n <nodetype>
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 : http://…
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:install-3_1 • http://igrelease.forge.cnaf.infn.it/doku.php?id=doc:guides:install-3_1_64bit