From Gridkaschool
Jump to: navigation, search


YAIM stands for YAIM Ain't an Installation Manager. It is a tool to configure the middleware services of the gLite middleware. In the past it was also used for the installation but since the change from SL3 to SL4 yum is used.

YAIM's official logo - The Yak

YAIM's directory structure

The standard location of the installation is /opt/glite/yaim. Here several ddirectories are located, e.g.:

  • /functions/: Contains the functions the configure each node types.
  • /functions/local/: If you need to change a function you leave the origional file in place and have your copy with changes in the directory functions/local (same file name). This files are then used instead of the origianal functions.
  • /node-info.d/: Every resource installed creates a file with a list of for the configuration required functions.
  • /examples/: Here example files of the users and groups configuration can be found. They contain settings for all LHC VOs, dteam and ops.
  • /examples/siteinfo: In this directory an example for the central site configuration file is stored - the site-info.def.

The bin/yaim executable


/opt/glite/yaim/bin/yaim <action>  <parameters>


-c | --configure   : Configure already installed services.
                     Compulsory parameters: -s, -n

-r | --runfunction : Execute a configuration function.
                     Compulsory parameters: -s, -f
                     Optional parameters  : -n

-h | --help        : Prints out this help.


-s | --siteinfo:   : Location of the site-info.def file
-n | --nodetype    : Name of the node type(s) to configure
-f | --function    : Name of the functions(s) to execute


/opt/glite/yaim/bin/yaim -c -s "site-info.def" -n glite_BDII_top
Running a function:
/opt/glite/yaim/bin/yaim -r -s /root/siteinfo/site-info.def -n glite-creamCE -f config_mkgridmap

A list with glite functions for yaim can be found at https://twiki.cern.ch/twiki/bin/view/EGEE/YAIMfunctions.

Go back to gLite Administration Course

Personal tools