On Wed, 18 Oct 2006 12:04:24 +0200 (CEST)
Andreas Nowack <[log in to unmask]> wrote:
> Hello!
>
> On Wed, 18 Oct 2006 [log in to unmask] wrote:
>
> > glite-dcache-upgrade has been added to the stable apt repositories
> > please be careful to read the documentation included with the
> > glite-dcache-upgrade.
>
> What is the procedure for non-yaim installations?
> Is the script in glite-dcache-upgrade also suitable for non-yaim
> installations?
>
> Best regards,
> Andreas
>
Yes this script is designed for non YAIM based installs.
The script only modifies
/opt/d-cache/config/dCacheSetup
it uses
dCacheSetup.template
as a template and transfers your configuration values from your old
dCacheSetup and applies them to the new file.
The additional steps are detailed in the README, which I included below.
Regards
Owen
The procedure for upgrading dCache from 1.6 to 1.7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Background
~~~~~~~~~~
dCache has changed considerably between versions 1.6 and 1.7.
Particularly with
respect to the SRM interface. Please see the change log in the dCache
documentation at dCache.org for details. These changes have inevitably
led to
many additions to the dCache configuration. This RPM contains a simple
script to
enable sites to easily upgrade their version of dCache with the minimum
effort.
Fortunately the databases of dCache have largely remained unchanged,
important
changes include the billing database which now supports better
traceability of
transfers for auditing and the SRM databases which now for the first
time
contain persistent information relating to space reservation.
This dCache upgrade includes a considerable number of changes and these
include
changes in the structure of inter node communication, and for these
reasons I
recommend that sites do not upgrade dCache one node at a time and expect
it to
work, the behavior in such circumstances is not defined. For these
reasons we
recommend you shut down all dCache nodes until each has been upgraded.
Recipe to upgrade
~~~~~~~~~~~~~~~~~
The upgrade must run in three stages, preupgrade, then moving to more
modern
RPM's and then a post upgrade stage.
Preupgrade recipe
~~~~~~~~~~~~~~~~~
Run the following commands
/etc/init.d/dcache-pool stop
/etc/init.d/dcache-core stop
/etc/init.d/pnfs stop
dropdb -U srmdcache billing
dropdb -U srmdcache dcache
dropdb -U srmdcache replicas
createdb -U srmdcache billing
createdb -U srmdcache dcache
createdb -U srmdcache replicas
psql -U srmdcache replicas -f /opt/d-cache/etc/psql_install_replicas.sql
Rpm Upgrade
~~~~~~~~~~~
Now upgrade the RPM's to the 1.7 release of dCache. This may be done via
rpm.
Postupgrade recipe
~~~~~~~~~~~~~~~~~~
The system should now have the 1.7 release of dCache installed. We now
need to
run the configuration upgrade script and start dCache.
sh /opt/d-cache/install/dCacheUpgrade_1_6-1_7.sh
/etc/init.d/pnfs start
/opt/d-cache/install/install.sh
/etc/init.d/dcache-core start
/etc/init.d/dcache-pool start
Conclusion
~~~~~~~~~~
We should now have a fully upgraded dCache. As with previous releases
wait a
5-10 minutes before you send in any bug reports it may be initializing.
|