YAIMGEN
The Yaimgen project is now hosted here: https://svnweb.cern.ch/trac/yaimgen/
yaimgen is a shell script used to install, configure and tests gLite nodes, such as those used during the
patch certification process.
The script is meant to be used at CERN, it has not been tested outside the CERN CTB.
The latest version of yaimgen is hosted in SVN at
SVN-yaimgen
.
This version has to be used with the DH images.
Certifiers at CERN are encouraged to use it and report any problem (and why not, contribute to the development!).
You can now submit bugs in Savannah using the group 'gLite Integration Team' and the Category 'yaimgen'.
This documentation refers to Yaimgen3. The documentation for Yaimgen2 (not maintained anymore) is present
here.
Checkout
The command:
svn co svn+ssh://<afs login>@svn.cern.ch/reps/yaimgen/yaimgen3/trunk yaimgen
can be used to check out the head version of the source code.
Files and directories
- yaimgen.sh: main script
- funtions.sh: container of functions used by the main script.
- yaimgen.in: example of input file. Here you can define the nodes to be deployed. This file serves to provide the input to the main script.
- yaimgen.conf: example of config file. This file holds configuration information like the location of the repositories that rarely change. The user is not supposed to modify this file.
- in: directory for pre-defined input files.
- config: directory for pre-defined node configuration scripts. These configuration scripts can be used to do some pre-yaim configuration operations, like preparing the site-info.def file used by yaim.
- test: directory for test scripts. The scripts can be used to perform automatic tests after the yaim configuration.
Command syntax
# ./yaimgen.sh
Usage:
yaimgen.sh <input file>
yaimgen.sh <input file> <log file>
yaimgen.sh <input file> <log file> function <function>
Parameters:
<input file> = a file specifying all parameters. E.g.: yaimgen.in
<log file> = a file where to log all actions. E.g.: yaimgen.log
<function> = a yaimgen function to call
Examples:
yaimgen.sh in/glite-BDII_site.in
yaimgen.sh in/glite-BDII_site.in yaimgen.log
yaimgen.sh in/glite-BDII_site.in yaimgen.log function yg_usage
Testing status
The following table reports the current status yaimgen on different gLite nodes where the script have been successfully used.
Node |
OS-Arch |
.in file |
glite-UI |
SL4-32 SL5 |
glite-UI |
glite-WN |
SL4-64 SL4-32 SL5 |
glite-WN |
glite-BDII |
SL5 SL4-32 |
glite-BDII_top glite-BDII_site |
glite-SE_dpm_mysql |
SL5 SL4-64 SL4-32 |
glite-SE_dpm_mysql |
glite-VOBOX |
SL4-32 |
glite-VOBOX |
glite-FTS_oracle |
SL4-32 SL4-64 |
glite-FTS_oracle |
glite-FTA_oracle |
SL4-32 SL4-64 |
glite-FTA_oracle |
TODO list
- Remove pass generation when not needed.
- Cert installation using 'cert' in YG_REPO
- To run a function just use function , revise the argument parsing
Recent SVN History
--
AndrewElwell - 16 Dec 2008