YAIMGEN2
Checkout
The command:
svn co svn+ssh://<afs login>@svn.cern.ch/reps/yaimgen/yaimgen2/trunk
can be used to check out the head version of the source code.
Use:
svn co svn+ssh://<afs login>@svn.cern.ch/reps/yaimgen/yaimgen2/tags/rel-0_1
in order to checkout a ~stable version tested on SLC4 and SLC5 (UI, WN,
BDII).
Basic usage
Usage: ./yaimgen.sh <action> {<input file>|<function>}
<action> = {preinstall|installdef|install|preconfigure|configure|prepare|function}:
'preinstall' - create repo files
'installdef' - preinstall + install default packages
'install' - install a service
'preconfigure' - install a service and prepare the configuration
'configure' - install and configure a service
'prepare' - prepare installation and configuration without calling yum nor yaim
'function' - just call the given function
<input file> = a text file specifying repository type and a service and/or patch to install/configure
<function> = a yaimgen function to call
Note: When a patch is installed the repo file has enabled=0 by default.
In order to actually install the patch you have to run:
yum --enablerepo=patchXXXX update
The syntax of the input file and the functions that can be called are explained in the
README
file.
In order to set up a test user to get a working proxy you can use:
./yaimgen.sh function yg_setup_test_user_1
and then you can use voms-proxy-init.
SLC5 Installations
In order to install an SLC5 metapackage you have to modify two variables in yaimgen.conf:
YG_GLITEVERSION="3.2"
YG_SLTAG=sl5
--
GianniPucciani - 12-Oct-2009