LT2 Testzone

From GridPP Wiki
Revision as of 15:26, 18 January 2006 by Aggarwa (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RB/BDII update

We are using RHEL.

in /etc/sysconfig/rhn/sources we have added the new repository

yum lcg2 http://grid-deployment.web.cern.ch/grid-deployment/apt-cert/HEAD/sl3/en/i386/RPMS.lcg_sl3/
yum lcg2_udpate http://grid-deployment.web.cern.ch/grid-deployment/apt-cert/HEAD/sl3/en/i386/RPMS.lcg_sl3.updates/

Then we ran

 up2date-nox -u -nosig lcg-RB

to update all the rpm

Changed the site-info.def with the important part shown below

MY_DOMAIN=hep.ph.ic.ac.uk

CE_HOST=gw39.$MY_DOMAIN
# note: SE_HOST removed --> see CLASSIC_HOST, DCACHE_ADMIN, DPM_HOST below
RB_HOST=gm02.$MY_DOMAIN
PX_HOST=my-px.$MY_DOMAIN
BDII_HOST=gm02.$MY_DOMAIN
MON_HOST=gw25.$MY_DOMAIN
LFC_HOST=gm01.$MY_DOMAIN
REG_HOST=lcgic01.gridpp.rl.ac.uk	# there is only 1 central registry for now

# Set this if you are building a VO-BOX 
VOBOX_HOST=my-vobox.$MY_DOMAIN
VOBOX_PORT=1975

#Set this to "yes" your site provides an X509toKERBEROS Authentication Server 
#Only for sites with Experiment Software Area under AFS 
GSSKLOG=no
GSSKLOG_SERVER=my-gssklog.$MY_DOMAIN

## Removed the LFC 
# Change this if your torque server is not on the CE
# it's ingored for other batch systems
TORQUE_SERVER=$CE_HOST

WN_LIST=/opt/lcg/yaim/config/wn-list.conf
USERS_CONF=/opt/lcg/yaim/config/users.conf
GROUPS_CONF=/opt/lcg/yaim/config/groups.conf
FUNCTIONS_DIR=/opt/lcg/yaim/functions

## We do not car about those because we are using up2date where we have given the correct path
# Pick the apt-get sources appropriate to your OS - uncomment one line
LCG_REPOSITORY="'rpm http://linuxsoft.cern.ch LCG/apt/LCG-2_7_0/sl3/en/i386 lcg_sl3 lcg_sl3.updates lcg_sl3.security' 'rpm http://grid-deployment.web.cern.ch/grid-deployment/gis apt/LCG-2_7_0/sl3/en/i386 lcg_sl3 lcg_sl3.updates lcg_sl3.security'"

CA_REPOSITORY="rpm http://grid-deployment.web.cern.ch/grid-deployment/gis apt/LCG_CA/en/i386 lcg"

# For the relocatable (tarball) distribution, ensure
# that INSTALL_ROOT is set correctly
INSTALL_ROOT=/opt

# You will probably want to change these too for the relocatable dist
OUTPUT_STORAGE=/tmp/jobOutput
JAVA_LOCATION="/usr/java/j2sdk1.4.2_08"

# Set this to '/dev/null' or some other dir if you want
# to turn off yaim installation of cron jobs
CRON_DIR=/etc/cron.d

GLOBUS_TCP_PORT_RANGE="20000 25000"

MYSQL_PASSWORD=not shown

APEL_DB_PASSWORD="not shown"

#
# ---> GRID_TRUSTED_BROKERS: put single quotes around each trusted DN !!! <---
#
GRID_TRUSTED_BROKERS="one"
#GRID_TRUSTED_BROKERS="'broker one''broker two'"
# The RB now uses the DLI by default; set VOs here which should use RLS
RB_RLS="atlas cms"

GRIDMAP_AUTH="ldap://lcg-registrar.cern.ch/ou=users,o=registrar,dc=lcg,dc=org"
#GRIDMAP_AUTH="ldap://lcg-registrar.cern.ch/ou=users,o=registrar,dc=lcg,dc=org ldap://xyz"

GRIDICE_SERVER_HOST=$MON_HOST

SITE_EMAIL=lcg-site-admin@imperial.ac.uk
SITE_NAME=UKI-LT2-IC-HEP
SITE_LOC="London, UK"
SITE_LAT=51.49945300341785
SITE_LONG=-0.17897844314575195
SITE_WEB="http://www.my-site.org"
SITE_TIER="TIER 2"
SITE_SUPPORT_SITE="RAL-LCG2"

## Removed the CE part

CLASSIC_HOST=gw38.hep.ph.ic.ac.uk
CLASSIC_STORAGE_DIR="/stage2/lcg2-data"

# dCache-specific settings
# ignore if you are not running d-cache

## Removed the dCache part

## removed the DPM part

FTS_SERVER_URL="https://fts0344.gridpp.rl.ac.uk:8443/sc3ral/glite-data-transfer-fts"
BDII_HTTP_URL="http://www.gridpp.ac.uk/deployment/testzone/uk_testzone_sites.txt"

#BDII_HTTP_URL="http://grid-deployment.web.cern.ch/grid-deployment/gis/lcg2-bdii/dteam/lcg2-all-sites.conf"
# Set this to use FCR
BDII_FCR="https://goc.grid-support.ac.uk/gridsite/bdii/BDII/www/bdii-update.ldif"
BDII_REGIONS="RB"	# list of the services provided by the site
BDII_CE_URL="ldap://$CE_HOST:2135/mds-vo-name=local,o=grid"
BDII_SE_URL="ldap://$CLASSIC_HOST:2135/mds-vo-name=local,o=grid"
BDII_RB_URL="ldap://$RB_HOST:2135/mds-vo-name=local,o=grid"
BDII_PX_URL="ldap://$PX_HOST:2135/mds-vo-name=local,o=grid"
BDII_LFC_URL="ldap://$LFC_HOST:2135/mds-vo-name=local,o=grid"
BDII_VOBOX_URL="ldap://$VOBOX_HOST:2135/mds-vo-name=local,o=grid"

VOS="dteam"	# add the other VOs your site supports
QUEUES=${VOS}

VO_SW_DIR=/opt/exp_soft

# set this if you want a scratch directory for jobs
EDG_WL_SCRATCH=""

VO_DTEAM_SW_DIR=$VO_SW_DIR/dteam
VO_DTEAM_DEFAULT_SE=$CLASSIC_HOST
VO_DTEAM_STORAGE_DIR=$CLASSIC_STORAGE_DIR/dteam
VO_DTEAM_QUEUES="dteam"

VO_DTEAM_SGM=ldap://lcg-vo.cern.ch/ou=lcgadmin,o=dteam,dc=lcg,dc=org
VO_DTEAM_USERS=ldap://lcg-vo.cern.ch/ou=lcg1,o=dteam,dc=lcg,dc=org
VO_DTEAM_VOMS_SERVERS="'vomss://lcg-voms.cern.ch:8443/voms/dteam?/dteam/' 'vomss://voms.cern.ch:8443/voms/dteam?/dteam/'"
VO_DTEAM_VOMSES="'dteam lcg-voms.cern.ch 15004 /C=CH/O=CERN/OU=GRID/CN=host/lcg-voms.cern.ch dteam' 'dteam voms.cern.ch 15004 /C=CH/O=CERN/OU=GRID/CN=host/voms.cern.ch dteam'"

VO_MIS_QUEUES="mis"
VO_MIS_VOMS_SERVERS=""

Then we reran:

/opt/lcg/yaim/scripts/configure_node site-info-rb-2.7.0.def RB
/opt/lcg/yaim/scripts/configure_node site-info-rb-2.7.0.def BDII