Upgrade to OSG 1.0
We started our upgrade to 1.0:
- stoping our gatekeeper, in our computing element
/etc/init.d/xinetd stop
- In our Computing element, getting pacman
cp -a /opt/osg-0.8.0 /home/mdias/osg_backup0.8
cd /opt
wget http://physics.bu.edu/pacman/sample_cache/tarballs/pacman-3.26.tar.gz
tar --no-same-owner -xzvf pacman-3.26.tar.gz
cd pacman-3.26
source setup.sh
now,
cd /opt
mkdir osg-1.0.0
cd /opt/osg-1.0.0
vdt-control --off
export OLD_VDT_LOCATION=/opt/osg-0.8.0
pacman -get OSG:ce
source setup.sh
pacman -get OSG:Globus-Condor-Setup
Managed fork issues: installing and configuring it
pacman -get OSG:ManagedFork
$VDT_LOCATION/vdt/setup/configure_globus_gatekeeper --managed-fork y --server y
Gums server:
pacman -get OSG:gums
Gums host cron
vdt-register-service -name gums-host-cron --enable
vdt-control --enable gums-host-cron
$VDT_LOCATION/gums/scripts/gums-host-cron
some gums configuration
cp /opt/osg-1.0.0/post-install/prima-authz.conf /etc/grid-security/.
cp /opt/osg-1.0.0/post-install/gsi-authz.conf /etc/grid-security/.
We have to inspect these files
$VDT_LOCATION/vdt-app-data/gums/config/gums.config
$VDT_LOCATION/gums/config/gums-client.properties
Reusing the old configuration
cd /opt/osg-1.0.0/monitoring
source ../setup.sh
export OLD_VDT_LOCATION=/opt/osg-0.8.0/
./configure-osg.py -e
vim extracted-config.ini
we can test it
configure-osg.py -v -f ./extracted-config.ini
installing it
./configure-osg.py -c -f ./extracted-config.ini
removing and creating simbolic links
unlink /OSG
ln -s /opt/osg-1.0.0 /OSG
Turning on services
vdt-control --on
vim /opt/osg-1.0.0/monitoring/config.ini
[RSV]
. . .
enabled = True
. . .
rsv-user = mdias
now start services
vdt-control --on condor-cron osg-rsv apache
and check it
condor_cron_q
tail -f $VDT_LOCATION/osg-rsv/logs/consumers/gratia-script-consumer.out
- In our nodes, in a NFS shared directory,
cd /home/mdias
wget http://physics.bu.edu/pacman/sample_cache/tarballs/pacman-3.26.tar.gz
tar --no-same-owner -xzvf pacman-3.26.tar.gz
and then We've created a script like that:
cd /home/mdias/pacman-3.26
source setup.sh
mv /opt/OSG-wn-client /opt/OSG-wn-client.old
mkdir /opt/OSG-wn-client
cd /opt/OSG-wn-client/
VDTSETUP_AGREE_TO_LICENSES=y
export VDTSETUP_AGREE_TO_LICENSES
VDTSETUP_INSTALL_CERTS=l
export VDTSETUP_INSTALL_CERTS
VDTSETUP_EDG_CRL_UPDATE=n
export VDTSETUP_EDG_CRL_UPDATE
VDTSETUP_ENABLE_ROTATE=y
export VDTSETUP_ENABLE_ROTATE
VDTSETUP_CA_CERT_UPDATER=n
export VDTSETUP_CA_CERT_UPDATER
pacman -trust-all-caches -get OSG:wn-client
mkdir /opt/OSG-wn-client/glite/etc
cp /OSG/glite/etc/vomses /opt/OSG-wn-client/glite/etc/.
rm -rf /var/log/glexec
rm -rf /etc/glexec
pacman -trust-all-caches -get http://vdt.cs.wisc.edu/vdt_181_cache:Glexec
sed -i 's/yourmachine.yourdomain/osg-ce.sprace.org.br/g' /etc/glexec/contrib/gums_interface/getmapping.cfg
source setup.sh
vdt-control --on
so, We start to run it in our nodes:
/root/bin/clcmd /home/mdias/worknodeinstall.sh
/root/bin/clcmd rm -rf /opt/OSG-wn-client.old
interesting links
Updates
Fulano em dd/mm/aaaa
Coloca o que fez.
Ciclano em dd/mm/aaaa
Mais comentarios
--
MarcoAndreFerreiraDias - 23 Jun 2008