Personal tools
Testing a GRID Site
Steps for testing and checking that a site in GRID Seed works.
Tests to perform on a GRID Site, after GRID Seed has been launched:
IMPORTANT! Now that a GRID is up and running, treat each VM as a Linux Box proper! So you may use *ssh* to log on to any of them. Or if you prefer, use VMWare to log on to each one.
Testing LRMS
-
Log on as root to the CE to test, and become the gridbox01 user:
# su - gridbox01
-
List the pbsnodes:
$ pbsnodes -a
-
Create a simple test.sh job:
#/bin/bash echo "Ran on $HOSTNAME" ls /tmp/FOO.BAR
-
Run it:
$qsub -q gridbox test.sh
-
You should obtain, in a couple of seconds, two files:
- test.sh.o<N> whose content is similar to:
-
Ran on ce-1wn1.grid.box
- test.sh.e<N> whose content is similar to:
-
ls: /tmp/FOO.BAR: No such file or directory
Testing SE - CE integration
-
Log on to the CE to test.
-
Run ldapsearch and search for the SE data in the Site BDII:
# ldapsearch -x -p 2170 -h hostname -b "o=grid" | grep GlueSEUniqueID
You should obtain an output similar to the following:
- dn: GlueSEUniqueID=se-1.grid.box,mds-vo-name=GIB-1,o=grid
-
GlueSEUniqueID: se-1.grid.box
- dn: GlueSEAccessProtocolLocalID=gsiftp,GlueSEUniqueID=se-1.grid.box,mds-vo-name
-
GlueChunkKey: GlueSEUniqueID=se-1.grid.box dn: GlueSEAccessProtocolLocalID=rfio,GlueSEUniqueID=se-1.grid.box,mds-vo-name= GlueChunkKey: GlueSEUniqueID=se-1.grid.box dn: GlueSEControlProtocolLocalID=classic,GlueSEUniqueID=se-1.grid.box,mds-vo-n GlueChunkKey: GlueSEUniqueID=se-1.grid.box dn: GlueSALocalID=gridbox,GlueSEUniqueID=se-1.grid.box,mds-vo-name=GIB-1,o=gri GlueChunkKey: GlueSEUniqueID=se-1.grid.box
Testing CE - DNS - BDII integration
-
Log on to the UI:
Running the following commands, you should obtain output similar to that reported:
- # lcg-info --list-ce
-
- CE: ce-1.grid.box:2119/jobmanager-lcgpbs-gridbox
- # lcg-info --list-se
-
- SE: se-1.grid.box
-
Log on to the DNS:
You must find the sites LDAP URI in the file /var/www/html/configuration/bdii-sites.conf
- # cat /var/www/html/configuration/bdii-sites.conf
-
Date=10/09/07 12:00
http://dns.grid.box/configuration/bdii-sites.conf # AGGIUNGERE SITI PER TOP BDII GIB ldap://ce-1.grid.box:2170/mds-vo-name=GIB-1,o=grid
-
Log on to the BDII:
The file /opt/bdii/etc/bdii-update.conf must be equal to the file /var/www/html/configuration/bdii-sites.conf located on the DNS box.
- # cat /opt/bdii/etc/bdii-update.conf
-
Date=10/09/07 12:00
http://dns.grid.box/configuration/bdii-sites.conf # AGGIUNGERE SITI PER TOP BDII GIB ldap://ce-1.grid.box:2170/mds-vo-name=GIB-1,o=grid