Difference: EntryDescriptionNo52 (1 vs. 12)

Revision 122008-07-03 - MarcoAndreFerreiraDias

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Upgrade to OSG 1.0

We started our upgrade to 1.0:
Line: 316 to 316
  Restarting pools and dcache-core :

Changed:
<
<
/opt/init.d/dcache-pool stop /opt/init.d/dcache-core stop chkconfig dcache-core on chkconfig dcache-pool on
>
>
/opt/d-cache/install/install.sh /opt/d-cache/bin/dcache-core start /opt/d-cache/bin/dcache-pool start Restarting like that
[root@spraid02 ~]# /opt/d-cache/bin/dcache-core start
This script is deprecated and will be removed in a future
release. Please use /opt/d-cache/bin/dcache start instead.
Starting dcache services: 
Starting gridftp-spraid02Domain  Done (pid=1147)
[root@spraid02 ~]# /opt/d-cache/bin/dcache-pool start
This script is deprecated and will be removed in a future
release. Please use /opt/d-cache/bin/dcache start pool instead.
WARNING: the variable DCACHE_HOME is not set.
WARNING: Using deprecated value of DCACHE_BASE_DIR as DCACHE_HOME
start dcache pool: Starting spraid02Domain  Done (pid=1271)

 
Added:
>
>
 
  • In our storage elements

Revision 112008-07-02 - MarcoAndreFerreiraDias

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Upgrade to OSG 1.0

We started our upgrade to 1.0:
Line: 172 to 172
  hibernate.connection.password= so we had to inspect the vdt-install.log, looking where did it set the password and insert in that field.
Added:
>
>
An issue with condor: condor_status ok, but condor_q freezes. We suspected a port conflict with condor-cron. We configurated:
COLLECTOR_HOST  = $(CONDOR_HOST):9619 #was 9618
HIGHPORT = 65100 #commentaded 9700
LOWPORT = 65001 #commented 9600
CREDD_PORT                      = 9622 #was 9620
STORK_PORT                      = 9623 #was 9621
and in our condor
HIGHPORT = 65000
LOWPORT = 63001
but the real problem was a bug in 7.0.2 version. We installed again
cd /OSG/
cp -a condor condor.old
cd condor
 rm -rf *
cd ..
wget
http://parrot.cs.wisc.edu//symlink/20080702041503/7/7.0/7.0.3/19811b56762d4e4ed3ea991b9a341232/condor-7.0.3-linux-x86-rhel3.tar.gz
tar -xvzf condor-7.0.3-linux-x86-rhel3.tar.gz
 cd condor-7.0.3
./condor_configure --install --maybe-daemon-owner --make-personal-condor
--install-log ../post-install/README --install-dir /OSG/condor
 cd /OSG/condor/etc/
 mv condor_config condor_config.bck
cp /OSG/condor.old/etc/condor_config .

 
  • Installing RSV
cd /opt/osg-1.0.0/monitoring/

Line: 282 to 314
 wget http://www.dcache.org/downloads/1.8.0/dcache-srmclient-1.8.0-15p7.noarch.rpm rpm -Uvh dcache-server-1.8.0-15p7.noarch.rpm dcache-srmclient-1.8.0-15p7.noarch.rpm
Changed:
<
<
Depois reiniciamos os pools e o dcache-core nas spraids e o dcache-core na osg-ce:
>
>
Restarting pools and dcache-core :
 
/opt/init.d/dcache-pool stop
/opt/init.d/dcache-core stop

Line: 297 to 328
  unlink /opt/osg-0.8.0 ln -s /OSG /opt/osg-1.0.0
Added:
>
>
configuring dcache information provider:
 yum install postgresql.i386
$GIP_LOCATION/conf/configure_gip_dcache
What is the hostname of your dCache admin interface?
 osg-se.sprace.org.br
Configuration saved.  If you would like to alter any choices without 
re-running this configuration script, you may find these answers in:

$VDT_LOCATION/gip/etc/dcache_storage.conf
 chown daemon:root $VDT_LOCATION/gip/etc/dcache_storage.conf
 interesting links

Revision 102008-07-01 - SergioLietti

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Upgrade to OSG 1.0

We started our upgrade to 1.0:
Line: 274 to 274
 glexec-osg/sbin/glexec /usr/bin/id
Changed:
<
<
A srm error can force us to upgrade our dcache to make srm compatible. So in our storage elements:
>
>
A srm error has forced us to upgrade our dcache to make srm compatible. So in our storage element (osg-se):
 
/opt/init.d/dcache-pool stop
/opt/init.d/dcache-core stop
wget http://www.dcache.org/downloads/1.8.0/dcache-server-1.8.0-15p7.noarch.rpm
wget http://www.dcache.org/downloads/1.8.0/dcache-srmclient-1.8.0-15p7.noarch.rpm
rpm -Uvh dcache-server-1.8.0-15p7.noarch.rpm dcache-srmclient-1.8.0-15p7.noarch.rpm

Changed:
<
<
/opt/d-cache/install/install.sh chkconfig --del dcache-core chkconfig --del dcache-pool cp /opt/d-cache/bin/dcache-pool /etc/init.d/. cp /opt/d-cache/bin/dcache-core /etc/init.d/. chkconfig --add dcache-core chkconfig --add dcache-pool
>
>

Depois reiniciamos os pools e o dcache-core nas spraids e o dcache-core na osg-ce:

/opt/init.d/dcache-pool stop
/opt/init.d/dcache-core stop

 chkconfig dcache-core on chkconfig dcache-pool on

Revision 92008-07-01 - MarcoAndreFerreiraDias

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Upgrade to OSG 1.0

We started our upgrade to 1.0:
Line: 65 to 65
 $VDT_LOCATION/vdt/setup/configure_monalisa --prompt vim /opt/osg-1.0.0/MonaLisa/Service/CMD/ml_env JAVA_HOME=/opt/osg-1.0.0/jdk1.5 <-------was jdk1.4
Added:
>
>
FARM_NAME=SPRACE
 
Added:
>
>
(Look this after services are on. It was changed.)
 Gums host cron
vdt-register-service -name gums-host-cron --enable

Line: 127 to 129
 Condor-cron
vim /opt/osg-1.0.0/condor-cron/local.osg-ce/condor_config.local

Deleted:
<
<
 chown condor: /var/lock/subsys/condor-cron/
Added:
>
>
we also add in our
vim $VDT_LOCATION/condor-cron/etc/condor_config file
NETWORK_INTERFACE = 192.168.1.150
 
Changed:
<
<
Turning on services (seems to be not necessary)
>
>
Turning on services
 
vdt-control --on
enabling cron service fetch-crl... ok

Line: 155 to 161
 
Added:
>
>
Configurating CEmon and seeing if GIP is working
$VDT_LOCATION/vdt/setup/configure_cemon --consumer https://osg-ress-1.fnal.gov:8443/ig/services/CEInfoCollector --topic OSG_CE
$VDT_LOCATION/verify-gip-for-cemon/verify-gip-for-cemon-wrapper

Some notes: gums used the old configuration, but gets the old password also, in your gums.config

 hibernate.connection.password=
so we had to inspect the vdt-install.log, looking where did it set the password and insert in that field.
 
  • Installing RSV
cd /opt/osg-1.0.0/monitoring/

Line: 189 to 206
 condor_cron_q tail -f $VDT_LOCATION/osg-rsv/logs/consumers/gratia-script-consumer.out
Added:
>
>
also looking at https://osg-ce.sprace.org.br:8443/rsv
 
  • In our nodes, stop condor
clcmd /etc/init.d/condor stop

Line: 236 to 255
 /root/bin/clcmd /home/mdias/worknodeinstall.sh /root/bin/clcmd rm -rf /opt/OSG-wn-client.old
Changed:
<
<
we have to edit one /etc/glexec/glexec.conf to put "linger =no" line in [glexec] section and copy to the other nodes. Also we have to edit our computer element , before reusing old configuration:
>
>
we have to edit one /etc/glexec/glexec.conf to put "linger =no" line in [glexec] section and copy to the other nodes.
clcmd cp -f /home/mdias/glexec.conf /etc/glexec/.
Also we have to edit our computer element , before reusing old configuration:
 
 vim /opt/osg-1.0.0/monitoring/extracted-config.in
glexec_location = /opt/glexec/glexec-osg

Revision 82008-07-01 - MarcoAndreFerreiraDias

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Upgrade to OSG 1.0

We started our upgrade to 1.0:
Line: 220 to 220
 VDTSETUP_CA_CERT_UPDATER=n export VDTSETUP_CA_CERT_UPDATER pacman -trust-all-caches -get OSG:wn-client
Deleted:
<
<
mkdir /opt/OSG-wn-client/glite/etc cp /OSG/glite/etc/vomses /opt/OSG-wn-client/glite/etc/.
 mv /var/log/glexec /var/log/glexec.old mv /etc/glexec /etc/glexec.old mkdir /opt/glexec
Line: 230 to 228
 sed -i 's/yourmachine.yourdomain/osg-ce.sprace.org.br/g' /etc/glexec/contrib/gums_interface/getmapping.cfg source setup.sh vdt-control --on
Added:
>
>
mkdir /opt/glexec/glite/etc cp /OSG/glite/etc/vomses /opt/glexec/glite/etc/.
  so, We start to run it in our nodes:

Line: 243 to 243
  Testing glexec

Changed:
<
<
cd /opt/OSG-wn-client
>
>
cd /etc/glexec
 source setup.sh voms-proxy-init -voms cms:/cms export GLEXEC_CLIENT_CERT=/tmp/x509up_u537

Revision 72008-06-30 - MarcoAndreFerreiraDias

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Upgrade to OSG 1.0

We started our upgrade to 1.0:
Line: 124 to 124
 /etc/init.d/globus-ws start
Added:
>
>
Condor-cron
vim /opt/osg-1.0.0/condor-cron/local.osg-ce/condor_config.local

chown condor: /var/lock/subsys/condor-cron/
 Turning on services (seems to be not necessary)
vdt-control --on

Revision 62008-06-30 - MarcoAndreFerreiraDias

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Upgrade to OSG 1.0

We started our upgrade to 1.0:
Line: 21 to 21
 mkdir osg-1.0.0 cd /opt/osg-1.0.0 vdt-control --off
Added:
>
>
disabling init service tomcat-55... ok disabling cron service gratia-condor... ok disabling init service condor... ok disabling init service syslog-ng... ok disabling init service tomcat-5... ok disabling init service osg-rsv... ok disabling init service apache... ok disabling init service condor-devel... ok disabling cron service vdt-update-certs... ok disabling init service MLD... ok disabling cron service gums-host-cron... ok disabling cron service edg-mkgridmap... ok disabling init service globus-ws... ok disabling init service mysql... ok disabling inetd service gsiftp... ok disabling inetd service globus-gatekeeper... ok disabling init service gris... ok disabling cron service vdt-rotate-logs... ok disabling cron service fetch-crl... ok
 export OLD_VDT_LOCATION=/opt/osg-0.8.0 pacman -get OSG:ce source setup.sh
Line: 49 to 69
 Gums host cron
vdt-register-service -name gums-host-cron --enable

Added:
>
>
vdt-register-service: updated cron service 'gums-host-cron' vdt-register-service: desired state = enable vdt-register-service: cron time = '9 8,14,20,2 * * *' vdt-register-service: cron command = '/opt/osg-1.0.0/gums/scripts/gums-host-cron'
  vdt-control --enable gums-host-cron $VDT_LOCATION/gums/scripts/gums-host-cron
Line: 56 to 81
 
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/.

Added:
>
>
/opt/osg-1.0.0/tomcat/v55/webapps/gums/WEB-INF/scripts/gums-add-mysql-admin "/DC=org/DC=doegrids/OU=People/CN=Marco Dias 280904"
  We have to inspect these files

Line: 73 to 99
  we can test it and repair

Changed:
<
<
configure-osg.py -v -f ./extracted-config.ini
>
>
./configure-osg.py -v -f ./extracted-config.ini
  cp /opt/osg-0.8.0/monitoring/grid3-user-vo-map.txt /opt/osg-1.0.0/monitoring/. vim /opt/osg-1.0.0/monitoring/extracted-config.ini
Changed:
<
<
installing it
>
>
installing it.
 
  ./configure-osg.py -c -f ./extracted-config.ini 
removing and creating simbolic links

Added:
>
>
clcmd umount /OSG/
 unlink /OSG ln -s /opt/osg-1.0.0 /OSG
Added:
>
>
vim /etc/exports /etc/init.d/nfs restart Set Globus-Base-WSGRAM-Server
visudo
/opt/osg-1.0.0/vdt/setup/configure_prima_gt4 --enable --gums-server osg-ce.sprace.org.br
/etc/init.d/globus-ws stop
/etc/init.d/globus-ws start

 
Added:
>
>
 Turning on services (seems to be not necessary)
vdt-control --on

Added:
>
>
enabling cron service fetch-crl... ok enabling cron service vdt-rotate-logs... ok enabling cron service vdt-update-certs... ok skipping init service 'gris' -- marked as disabled enabling inetd service globus-gatekeeper... ok enabling inetd service gsiftp... ok enabling init service mysql... ok enabling init service globus-ws... ok skipping cron service 'edg-mkgridmap' -- marked as disabled enabling cron service gums-host-cron... ok enabling init service MLD... ok enabling init service condor-cron... ok enabling init service apache... ok skipping init service 'osg-rsv' -- marked as disabled enabling init service tomcat-55... ok enabling init service syslog-ng-sender... ok enabling init service condor... ok enabling cron service gratia-condor... ok
 

  • Installing RSV

Changed:
<
<
vim /opt/osg-1.0.0/monitoring/config.ini
>
>
cd /opt/osg-1.0.0/monitoring/ vim extracted-config.ini
 [RSV]
Deleted:
<
<
. . .
 enabled = True
Changed:
<
<
. . . rsv-user = mdias
>
>
rsv_user = mdias enable_ce_probes = True ce_hosts = osg-ce.sprace.org.br enable_gridftp_probes = True gridftp_dir = /tmp enable_gums_probes = False gums_hosts = osg-ce.sprace.org.br enable_srm_probes = True srm_hosts = osg-se.sprace.org.br srm_dir = /pnfs/sprace.org.br/data/mdias use_service_cert = False proxy_file = /tmp/x509up_u537 enable_gratia = True print_local_time = True setup_rsv_nagios = False setup_for_apache = True
  now start services

Changed:
<
<
vdt-control --on condor-cron osg-rsv apache
>
>
vdt-control --off ./configure-osg.py -c -f ./extracted-config.ini vdt-control --on
  and check it
condor_cron_q
tail -f $VDT_LOCATION/osg-rsv/logs/consumers/gratia-script-consumer.out
Changed:
<
<
  • In our nodes, in a NFS shared directory,
>
>
  • In our nodes, stop condor
clcmd /etc/init.d/condor stop
clcmd mount /OSG
in a NFS shared directory,
 
cd /home/mdias
wget http://physics.bu.edu/pacman/sample_cache/tarballs/pacman-3.26.tar.gz

Line: 153 to 229
 /root/bin/clcmd /home/mdias/worknodeinstall.sh /root/bin/clcmd rm -rf /opt/OSG-wn-client.old
Changed:
<
<
we have to edit one /etc/glexec/glexec.conf to put "linger" =no line in [glexec] section and copy to the other nodes. Also we have to edit our computer element , before reusing old configuration:
>
>
we have to edit one /etc/glexec/glexec.conf to put "linger =no" line in [glexec] section and copy to the other nodes. Also we have to edit our computer element , before reusing old configuration:
 
 vim /opt/osg-1.0.0/monitoring/extracted-config.in
glexec_location = /opt/glexec/glexec-osg

Line: 173 to 249
 /opt/init.d/dcache-pool stop /opt/init.d/dcache-core stop wget http://www.dcache.org/downloads/1.8.0/dcache-server-1.8.0-15p7.noarch.rpm
Changed:
<
<
wget rpm -Uvh dcache-server-1.8.0-15p7.noarch.rpm
>
>
wget http://www.dcache.org/downloads/1.8.0/dcache-srmclient-1.8.0-15p7.noarch.rpm rpm -Uvh dcache-server-1.8.0-15p7.noarch.rpm dcache-srmclient-1.8.0-15p7.noarch.rpm
 /opt/d-cache/install/install.sh chkconfig --del dcache-core chkconfig --del dcache-pool
Line: 185 to 261
 chkconfig dcache-core on chkconfig dcache-pool on
Changed:
<
<
>
>
  • In our storage elements
 unlink /opt/osg-0.8.0
 ln -s /OSG /opt/osg-1.0.0
 interesting links

Revision 52008-06-27 - MarcoAndreFerreiraDias

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Upgrade to OSG 1.0

We started our upgrade to 1.0:
Line: 43 to 43
 
 vim /opt/osg-1.0.0/MonaLisa/Service/VDTFarm/ml.properties
$VDT_LOCATION/vdt/setup/configure_monalisa --prompt

Added:
>
>
vim /opt/osg-1.0.0/MonaLisa/Service/CMD/ml_env JAVA_HOME=/opt/osg-1.0.0/jdk1.5 <-------was jdk1.4
  Gums host cron

Line: 69 to 71
 ./configure-osg.py -e vim extracted-config.ini
Changed:
<
<
we can test it
>
>
we can test it and repair
 
configure-osg.py -v -f ./extracted-config.ini

Added:
>
>
cp /opt/osg-0.8.0/monitoring/grid3-user-vo-map.txt /opt/osg-1.0.0/monitoring/. vim /opt/osg-1.0.0/monitoring/extracted-config.ini
  installing it

Line: 82 to 87
 unlink /OSG ln -s /opt/osg-1.0.0 /OSG
Changed:
<
<
Turning on services
>
>
Turning on services (seems to be not necessary)
 
vdt-control --on
Line: 161 to 166
 export GLEXEC_CLIENT_CERT=/tmp/x509up_u537 cd /opt/glexec/ glexec-osg/sbin/glexec /usr/bin/id
Added:
>
>
 
Added:
>
>
A srm error can force us to upgrade our dcache to make srm compatible. So in our storage elements:
/opt/init.d/dcache-pool stop
/opt/init.d/dcache-core stop
wget http://www.dcache.org/downloads/1.8.0/dcache-server-1.8.0-15p7.noarch.rpm
wget
rpm -Uvh dcache-server-1.8.0-15p7.noarch.rpm 
/opt/d-cache/install/install.sh
chkconfig --del dcache-core 
chkconfig --del dcache-pool 
cp /opt/d-cache/bin/dcache-pool /etc/init.d/.
cp /opt/d-cache/bin/dcache-core /etc/init.d/.
chkconfig --add dcache-core 
chkconfig --add dcache-pool 
chkconfig dcache-core on
chkconfig dcache-pool on

 

interesting links

Revision 42008-06-24 - MarcoAndreFerreiraDias

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Upgrade to OSG 1.0

We started our upgrade to 1.0:
Line: 26 to 26
 source setup.sh pacman -get OSG:Globus-Condor-Setup
Added:
>
>
the last step install condor batch. We have to inspect
 vim  /opt/osg-1.0.0/condor/etc/condor_config
 Managed fork issues: installing and configuring it
pacman -get  OSG:ManagedFork

Line: 35 to 39
 
pacman -get  OSG:gums
Added:
>
>
Monalisa
 vim /opt/osg-1.0.0/MonaLisa/Service/VDTFarm/ml.properties
$VDT_LOCATION/vdt/setup/configure_monalisa --prompt
 Gums host cron
vdt-register-service -name gums-host-cron --enable

Line: 105 to 114
  and then We've created a script like that:

Added:
>
>
source /opt/OSG-wn-client/setup.sh vdt-control --off
 cd /home/mdias/pacman-3.26 source setup.sh mv /opt/OSG-wn-client /opt/OSG-wn-client.old mkdir /opt/OSG-wn-client
Changed:
<
<
cd /opt/OSG-wn-client/
>
>
cd /opt/OSG-wn-client
 VDTSETUP_AGREE_TO_LICENSES=y export VDTSETUP_AGREE_TO_LICENSES VDTSETUP_INSTALL_CERTS=l
Line: 123 to 134
 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/.
Changed:
<
<
rm -rf /var/log/glexec rm -rf /etc/glexec
>
>
mv /var/log/glexec /var/log/glexec.old mv /etc/glexec /etc/glexec.old mkdir /opt/glexec cd /opt/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
Line: 135 to 148
 /root/bin/clcmd /home/mdias/worknodeinstall.sh /root/bin/clcmd rm -rf /opt/OSG-wn-client.old
Added:
>
>
we have to edit one /etc/glexec/glexec.conf to put "linger" =no line in [glexec] section and copy to the other nodes. Also we have to edit our computer element , before reusing old configuration:
 vim /opt/osg-1.0.0/monitoring/extracted-config.in
glexec_location = /opt/glexec/glexec-osg
Testing glexec
cd /opt/OSG-wn-client
source setup.sh 
voms-proxy-init -voms cms:/cms
export GLEXEC_CLIENT_CERT=/tmp/x509up_u537  
cd /opt/glexec/
glexec-osg/sbin/glexec /usr/bin/id

  interesting links

Revision 32008-06-24 - MarcoAndreFerreiraDias

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Upgrade to OSG 1.0

We started our upgrade to 1.0:
Line: 105 to 105
  and then We've created a script like that:

Changed:
<
<
cd pacman-3.26
>
>
cd /home/mdias/pacman-3.26
 source setup.sh mv /opt/OSG-wn-client /opt/OSG-wn-client.old mkdir /opt/OSG-wn-client
Line: 118 to 118
 export VDTSETUP_EDG_CRL_UPDATE VDTSETUP_ENABLE_ROTATE=y export VDTSETUP_ENABLE_ROTATE
Added:
>
>
VDTSETUP_CA_CERT_UPDATER=n export VDTSETUP_CA_CERT_UPDATER
 pacman -trust-all-caches -get OSG:wn-client
Changed:
<
<
mv /opt/OSG-wn-client.old/glexec-osg /opt/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
Deleted:
<
<
rm -rf /tmp/pacman*
  so, We start to run it in our nodes:

Revision 22008-06-23 - MarcoAndreFerreiraDias

Line: 1 to 1
 
META TOPICPARENT name="LogBook"

Upgrade to OSG 1.0

We started our upgrade to 1.0:
Line: 43 to 43
  some gums configuration

Changed:
<
<
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/
>
>
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

Line: 97 to 97
 condor_cron_q tail -f $VDT_LOCATION/osg-rsv/logs/consumers/gratia-script-consumer.out
Changed:
<
<
  • In our nodes, in a NFS shared directory, We've created a script like that
>
>
  • In our nodes, in a NFS shared directory,
 

Changed:
<
<
cd /tmp
>
>
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
Added:
>
>
and then We've created a script like that:

 cd pacman-3.26 source setup.sh mv /opt/OSG-wn-client /opt/OSG-wn-client.old
Line: 116 to 119
 VDTSETUP_ENABLE_ROTATE=y export VDTSETUP_ENABLE_ROTATE pacman -trust-all-caches -get OSG:wn-client
Deleted:
<
<
source setup.sh
 mv /opt/OSG-wn-client.old/glexec-osg /opt/OSG-wn-client/ vdt-control --on rm -rf /tmp/pacman*

Revision 12008-06-23 - MarcoAndreFerreiraDias

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="LogBook"

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

  • Installing RSV
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, We've created a script like that
cd /tmp
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
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
pacman -trust-all-caches -get OSG:wn-client
source setup.sh
mv  /opt/OSG-wn-client.old/glexec-osg /opt/OSG-wn-client/
vdt-control --on
rm -rf /tmp/pacman*
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

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback

antalya escort bursa escort eskisehir escort istanbul escort izmir escort