Hi,
I'm 'trying' to configure a CE using yaim. I followed:
https://twiki.cern.ch/twiki/bin/view/LCG/YaimGuide400
https://twiki.cern.ch/twiki/bin/view/LCG/GenericInstallGuide310
After configuring site-info, nodes, vo.d... I run it like:
/opt/glite/yaim/bin/yaim -c -s /opt/glite3.1_localconf/pic/site-info.def -n lcg-CE -n glite-TORQUE_utils
this is my dir structure:
[root@ce-test pic]# pwd
/opt/glite3.1_localconf/pic
[root@ce-test pic]# ls -ls
total 84
4 -rw-r--r-- 1 root root 673 Jul 2 16:02 groups.conf
4 drwxr-xr-x 2 root root 4096 Jul 3 17:22 nodes
20 -rw-r--r-- 1 root root 19627 Jul 3 17:34 site-info.def
48 -rw-r--r-- 1 root root 45400 Jul 1 14:15 users.conf
4 drwxr-xr-x 2 root root 4096 Jul 3 15:42 vo.d
4 -rw-r--r-- 1 root root 1898 Jul 1 14:17 wn-list.conf
But I have some spots in final config:
1.-) If I use vo.d/ops and vo.d/dteam yaim complains about two vars:
[root@ce-test pic]# /opt/glite/yaim/bin/yaim -v -s /opt/glite3.1_localconf/pic/site-info.def -n lcg-CE
INFO: - -- --- ---- o oo ooo OOO #### OOO ooo oo o ---- --- -- -
. __ _____ ______ ___
. \ \/ / _ | / _/ |/ / Current Working directory is: /opt/glite3.1_localconf/pic
. \ / __ |_/ // /|_/ / Site-info file used: Jul 3 17:34 /opt/glite3.1_localconf/pic/site-info.def
. /_/_/ |_/___/_/ /_/ Thu Jul 3 17:34:51 CEST 2008 : /opt/glite/yaim/bin/yaim -v -s /opt/glite3.1_localconf/pic/site-info.def -n lcg-CE
YAIM versions used: glite-yaim-core-4.0.4-2 ; glite-yaim-lcg-ce-4.0.4-2 ; glite-yaim-torque-utils-4.0.2-2 ;
[...]
INFO: Executing function: config_lcgenv_check
INFO: Executing function: config_vomsdir_check
ERROR: VO_DTEAM_VOMSES is not set
ERROR: VO_OPS_VOMSES is not set
ERROR: Error during the execution of function: config_vomsdir_check
INFO: Checking is done.
and vo.d/ops has:
#########
# ops #
#########
SW_DIR=$VO_SW_DIR/ops
DEFAULT_SE=$SE_HOST
QUEUES=$QUEUES
STORAGE_DIR=$SE_STORAGE_DIR/ops
VOMS_SERVERS="vomss://voms.cern.ch:8443/voms/ops?/ops/"
VOMS_EXTRA_MAPS=""
VOMSES="'ops voms.cern.ch 15009 /DC=ch/DC=cern/OU=computers/CN=lcg-voms.cern.ch ops'"
VOMS_CA_DN="'/DC=ch/DC=cern/CN=CERN Trusted Certification Authority' '/DC=ch/DC=cern/CN=CERN Trusted Certification Authority'"
VOMSES without VO_VONAME prefix, as said in yaim doc:
in site-info.def:
VO_BIOMED_SW_DIR=$VO_SW_DIR/biomed
VO_BIOMED_DEFAULT_SE=$CLASSIC_HOST
VO_BIOMED_STORAGE_DIR=$CLASSIC_STORAGE_DIR/biomed
in vo.d/biomed file:
SW_DIR=$VO_SW_DIR/biomed
DEFAULT_SE=$CLASSIC_HOST
STORAGE_DIR=$CLASSIC_STORAGE_DIR/biomed
Same for dteam.
So, I have to set vars in site-info.def.
What am I doing wrong?
2.-) config_apel_pbs does nothing.
seems that some required var is not valid for it:
requires $1 INSTALL_ROOT BATCH_SERVER MON_HOST SITE_NAME CE_HOST \
APEL_DB_PASSWORD GLITE_VERSION
GLITE_VERSION is the one not defined, I have defined it, removed from
function, but nothing...
Any clue on both issues?
TIA,
Arnau
|