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.


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            
       yaimgen.sh <input file>
       yaimgen.sh <input file> <log file>
       yaimgen.sh <input file> <log file> function <function>

       <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
       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.
NodeSorted ascending OS-Arch .in file
glite-BDII SL5 SL4-32 glite-BDII_top glite-BDII_site
glite-FTA_oracle SL4-32 SL4-64 glite-FTA_oracle
glite-FTS_oracle SL4-32 SL4-64 glite-FTS_oracle
glite-SE_dpm_mysql SL5 SL4-64 SL4-32 glite-SE_dpm_mysql
glite-UI SL4-32 SL5 glite-UI
glite-VOBOX SL4-32 glite-VOBOX
glite-WN SL4-64 SL4-32 SL5 glite-WN

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

Edit | Attach | Watch | Print version | History: r25 < r24 < r23 < r22 < r21 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r25 - 2010-04-27 - GianniPucciani
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EGEE All webs login

This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Ask a support question or Send feedback