Updating the OSG version using VDT installer
Process
- no running jobs
- disable gatekeeper
- install new pacman
- shuffle osg mounts
- install new osg
- check
- enable gatekeeper
References
Disable gatekeeper
Disable gatekeeper in xinetd on msu-osg.aglt2.org:
[root@msu-osg /]# chkconfig globus-gatekeeper --list
globus-gatekeeper on
[root@msu-osg /]# chkconfig globus-gatekeeper off
[root@msu-osg /]# chkconfig globus-gatekeeper --list
globus-gatekeeper off
Update Pacman
Pacman is available at /msu/opt/pacman which is auto mounted in /etc/auto.msu-opt from msu-osg.local:/exports/pacman-3.21.
Download
http://physics.bu.edu/pacman/sample_cache/tarballs/pacman-latest.tar.gz and unpack to create /exports/pacman-3.26.
Redo automount so /msu/opt/pacman points to new version.
[root@msu-osg /]# cd /msu/opt/pacman/
[root@msu-osg pacman]# source ./setup.sh
[root@msu-osg pacman]# ls -l
total 36
drwxr-xr-x 2 root root 4096 Jun 12 2008 bin
drwxr-xr-x 2 root root 4096 Jun 12 2008 democache
drwxr-xr-x 4 root root 4096 Jun 12 2008 htmls
-rw-r--r-- 1 root root 1507 Jan 16 2008 README.html
drwxr-xr-x 2 root root 4096 Jun 12 2008 scripts
lrwxrwxrwx 1 root root 28 Dec 19 10:58 setup.csh -> scripts/initialize_setup.csh
-rw-r--r-- 1 root root 257 Dec 19 11:57 setup.sh
drwxr-xr-x 2 root root 12288 Jun 12 2008 src
[root@msu-osg pacman]# more setup.sh
#
# % pacman -info to start
#
if [ -d "/msu/opt/pacman/python/python/bin" ]; then
PATH="/msu/opt/pacman/python/python/bin:${PATH}"
fi
export PATH
PATH="/msu/opt/pacman/bin:${PATH}"
export PATH
PACMAN_LOCATION="/msu/opt/pacman"
export PACMAN_LOCATION
Shuffle OSG mounts
OSG is available at /msu/opt/osg which is auto mounted in /etc/auto.msu-opt from msu-osg.local:/exports/osg-0.8
Need to shutdown things that are using this directory and redo the automount.
[root@msu-osg /]# /etc/init.d/globus-ws stop
Stopping Globus container. PID: 3771
Container stopped
[root@msu-osg /]# /etc/init.d/mysql stop
Shutting down MySQL.. [ OK ]
[root@msu-osg /]# service tomcat-5 status
Usage: tomcat-5 {start|stop|restart|condrestart}
[root@msu-osg pacman]# service tomcat-5 stop
Stopping tomcat-5: Using CATALINA_BASE: /msu/opt/osg/tomcat/v5
Using CATALINA_HOME: /msu/opt/osg/tomcat/v5
Using CATALINA_TMPDIR: /msu/opt/osg/tomcat/v5/temp
Using JAVA_HOME: /msu/opt/osg/jdk1.4
waiting for processes to exit
waiting for processes to exit
[root@msu-osg /]# umount /msu/opt/osg/
[root@msu-osg /]# pacman -l OSG:ce
Lots of ouput...
Install OSG using VDT
Empty dir...
[root@msu-osg /]# cd /msu/opt/osg
[root@msu-osg osg]# ls
[root@msu-osg osg]# export VDTSETUP_CONDOR_LOCATION=/opt/condor
[root@msu-osg osg]# time pacman -get OSG:ce
Do you want to add [http://software.grid.iu.edu/pacman/] to [trusted.caches]? (y/n/yall): ^[[Cy
Do you want to add [http://software.grid.iu.edu/pacman/] to [trusted.caches]? (y/n/yall): y
Do you want to add [http://vdt.cs.wisc.edu/vdt_1101_cache] to [trusted.caches]? (y/n/yall): y
Beginning VDT prerequisite checking script vdt-common/vdt-prereq-check...
All prerequisite checks are satisfied.
========== IMPORTANT ==========
The VDT no longer installs certificate authority certificates at install time.
Most of the software installed by the VDT *will not work* until you install
certificates. To complete your CA certificate installation, see the notes
in the post-install/README file.
Existing /msu/opt/osg/edg/etc/edg-mkgridmap.conf moved to /msu/opt/osg/edg/etc/edg-mkgridmap.conf.orig
Merge it manually with the new /msu/opt/osg/edg/etc/edg-mkgridmap.conf if you had a special edg-mkgridmap.conf
Pacman Installation of OSG-1.0.0 Complete
real 10m53.576s
user 4m7.023s
sys 5m8.424s
[root@msu-osg osg]# pwd
/msu/opt/osg
[root@msu-osg osg]# source ./setup.sh
[root@msu-osg osg]# echo $VDTSETUP_CONDOR_LOCATION
/opt/condor
[root@msu-osg osg]# pacman -get OSG:Globus-Condor-Setup
Then run the configure script:
[root@msu-osg osg]# sh monitoring/configure-osg.sh
You can rerun that as needed.
Using /etc/grid-security/certificates and gridmap file there...
[root@msu-osg osg]# ln -s /etc/grid-security/certificates globus/TRUSTED_CA
Enable
[root@msu-osg osg]# vdt-control --list
Service | Type | Desired State
-------------------+--------+--------------
fetch-crl | cron | enable
vdt-rotate-logs | cron | enable
vdt-update-certs | cron | do not enable
globus-gatekeeper | inetd | enable
gsiftp | inetd | enable
mysql | init | enable
globus-ws | init | enable
edg-mkgridmap | cron | do not enable
gums-host-cron | cron | do not enable
MLD | init | do not enable
condor-cron | init | enable
apache | init | enable
osg-rsv | init | do not enable
tomcat-55 | init | enable
syslog-ng-sender | init | do not enable
gratia-condor | cron | enable
[root@msu-osg osg]# vdt-control --on
--
TomRockwell - 19 Dec 2008