Print

Print


> It will fix it to a considerable degree, we found it occures to some
> degree in an old prerelease but no where near as much as before, we
> belive it shoudl be fixed now but only time in production will tell.

If there are still problems will dCache.org be able to commit to fixing
the bugs?

> The procedure for upgrading dCache from 1.6 to 1.7
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks for this, but are all of these upgrade steps going to be included 
in YAIM config scripts?

Cheers,
Greig


> 
> 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 thier version of dCache with the minimum effort.
> 
> Fortunately the databases of dCache have largely remained unchanged, and so pnfs
> should can be upgraded with little to no effort. 
> 
> 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 initialising.
> 
> 
> > 
> > On Mon, 16 Oct 2006 [log in to unmask] wrote:
> > 
> > > We have the new stable version of D-cache available on the D-cache web
> > > site, 
> > > 
> > > Installation instructions are here
> > > 
> > > http://www.dcache.org/manuals/yaim-dcache-howto.shtml
> > > 
> > > For a YAIM based site you should only need to change the site-info.def
> > > to
> > > 
> > > RESET_DCACHE_CONFIGURATION=yes
> > > 
> > > While the other settings should be set as
> > > 
> > > RESET_DCACHE_PNFS=no
> > > RESET_DCACHE_RDBMS=no
> > > 
> > > if you want to keep your data and I guess you do want to keep your data.
> > > 
> > > With regard to the apt repository we do not yet have it in stable, I am
> > > giving you all 24 hours notice to check your setups and then I shall
> > > migrate D-cache 1.7.0-16 to stable.
> > > 
> > > Non yaim sites should wait for a short time as I finish documenting the
> > > upgrade procedure but its tested and working. I expect this RPM will be
> > > released with instructions in the README at the same time as I release
> > > D-cache 1.7.0-16 to stable in the apt repository.
> > > 
> > > D-cache 1.7.0-16 is currently available to YAIM users in the testing
> > > section of the apt repository.
> > > 
> > > Regards
> > > 
> > > Owen
> > > 
> > 
> > -- 
> > ========================================================================
> > Dr Greig A Cowan                         http://www.ph.ed.ac.uk/~gcowan1
> > School of Physics, University of Edinburgh, James Clerk Maxwell Building
> > 
> > TIER-2 STORAGE SUPPORT PAGES: http://wiki.gridpp.ac.uk/wiki/Grid_Storage
> > ========================================================================
> 

-- 
 =======================================================================
Dr Greig A Cowan                         http://www.ph.ed.ac.uk/~gcowan1
School of Physics, University of Edinburgh, James Clerk Maxwell Building

TIER-2 STORAGE SUPPORT PAGES: http://wiki.gridpp.ac.uk/wiki/Grid_Storage
 =======================================================================