yaim overview
DESCRIPTION
YAIM Overview. Felix Lee. Agenda. YAIM Introduction How to begin Install a node Configure a node Relocatable distribution Practical. YAIM introduction. What is the YAIM? The full name is Yet Another Installation Manager Developed by EGEE SA3 team. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/1.jpg)
YAIM Overview
Felix Lee
![Page 2: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/2.jpg)
2
Agenda
YAIM Introduction
How to begin
Install a node
Configure a node
Relocatable distribution
Practical
![Page 3: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/3.jpg)
3
YAIM introduction
What is the YAIM?– The full name is Yet Another Installation Manager– Developed by EGEE SA3 team.– A tool to install and configure gLite middleware.
When to use the YAIM?– You want to set up a simple Grid site.– You want to deploy a larger sites.
Why you need the YAIM?
![Page 4: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/4.jpg)
4
Basic grid site
• The components for basic grid site.– UI– CE– SE– MON– WN
![Page 5: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/5.jpg)
5
YAIM work flowPackage repository server
Edit configuration files for your site
Install service package by YAIM(only for glite 3.0)
Install YAIM core package
Request service packages to install by YAIM script
Configure your grid service by YAIM Completed!!
![Page 6: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/6.jpg)
6
How to begin?
![Page 7: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/7.jpg)
7
Prepare system environment
Install the Linux OS, SL(C)3 for glite 3.0 or SL(C)4 for glite 3.1
Set up the ntpd network time adjust service.
Configure localtime to UTC.
Configure the DNS query.
Request CA certificate.
The detail procedure, please refer to following link:– http://lists.grid.sinica.edu.tw/apwiki/Installation
![Page 8: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/8.jpg)
8
For install successfully, you needs a package manager such as apt or yum.
Please make sure your RPM repository can be work correctly.
Should be have following repositories for your package manager.
– The middleware repositories – The CA repository – The jpackage repository– The DAG repository– The SLC OS repository
Prepare system environment
![Page 9: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/9.jpg)
9
Before you use yaim tool, you must install this rpm.– glite-yaim-core
• core package which include common function and definitions.
– To install the glite-yaim-core, please use apt-get or yum• For apt:
#apt-get install glite-yaim-core• For yum:
#yum install glite-yaim-core
Install yaim core package
![Page 10: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/10.jpg)
10
For glite 3.0, the YAIM could support both the installation and configuration
For gLite 3.1, the YAIM doesn't support the packages installation, you should to install each service by the YUM.
For example:
• To install the BDII information system.
• #yum install glite-BDII
All about the services meta-package name, please refer to following link:
https://twiki.cern.ch/twiki/bin/view/LCG/GenericInstallGuide310#The_BDII_service
Install the service pacages
![Page 11: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/11.jpg)
11
YAIM's Configuration files
![Page 12: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/12.jpg)
12
YAIM's configuration files
After installed yaim core package, all the sample files were put into /opt/glite/yaim/example directory.
– site-info.def:• This is the main configuration file of the site.
– users.conf:• Defines local pool accounts to be created• Mainly for CE and WN..etc
– groups.conf:• Defines groups associated with pool accounts.
– wn-list.conf:• The work node lists.
![Page 13: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/13.jpg)
13
site-info.def(1)Be careful the variable format, that is: <variable>=<your parameter>. Please don't give any space at the line.
e.g. CE_HOST=myce.mydomain
that is correct.
e.g. CE_HOST = myce.mydomain
that is wrong format.
Must be careful the JAVA_LOCATION variable, that should be match to your java jdk version.
![Page 14: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/14.jpg)
14
site-info.def(2)
Make sure following variables is match to your own configuration files path:
– WN_LIST– USERS_CONF– GROUPS_CONF
Remember to configure your disk servers in DPMPOOL_NODES, if you already have multiple disk servers in dpm pool please don't forget update it.
![Page 15: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/15.jpg)
15
site-info.def(3)
• More detail about the site-info.def, please refer to following link:– https://twiki.cern.ch/twiki/bin/view/LCG/YaimGuide400
![Page 16: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/16.jpg)
20
Configuring a node
Command:
./yaim -c -s <site-info.def file location> -n <node type name>
For example:– ./yaim -c -s site-info.def -n BDII
![Page 17: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/17.jpg)
21
More about the yaim
Command:
./yaim -h
To get more about the yaim arguments.
![Page 18: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/18.jpg)
22
Relocatable Distribution
What is relocatable distribution? can allow you install UI or WN as non-root user.
Provide a tarball containing gLite dependencies which might be missing on your host machine.
supported on SL(C)3 on x86.
also work on SL(C)4 on x86 and x86_64 in compatability mode.
![Page 19: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/19.jpg)
23
Installation
Download the two tarballs from the repository.
Create an INSTALL_ROOT directory for the distribution.
Then cd into this directory and untar both tarballs. As an example :
mkdir /gLite
cd /gLite
tar zxvf glite-UI-3.1.8-0.tar.gz
tar zxvf glite-UI-3.1.8-0-external.tar.gz
![Page 20: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/20.jpg)
24
ConfigurationWhen you are already untar the tarball, just run the configure command:
<INSTALL_ROOT>/glite/yaim/bin/yaim -c -s <your site-info.def> -n UI_TAR
To use the UI TAR you have to source one file (*.sh for bash, *csh for tcsh):
$GLITE_EXTERNAL_ROOT/etc/profile.d/grid-env.(c)sh
![Page 21: YAIM Overview](https://reader036.vdocuments.site/reader036/viewer/2022081515/56814938550346895db67d5b/html5/thumbnails/21.jpg)
25
PracticalPlease refer to practical page:
http://quattor.grid.sinica.edu.tw/UI_practical.html
Please make sure you have Security Shell client(ssh client).
If you haven't it, please download putty by following link:
For MS windowshttp://www.tartarus.org/~simon/putty-snapshots/x86/putty.exe
Server name:t-yaim.grid.sinica.edu.tw
Login account:taipei01(02,03...~50)
Password:GridTAI01(02,03...~50)
the latter 2 numbers please fits your user account number
X509 User certificate Password: TAIPEI