<!-- keep this as a security measure: * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup,Main.LCGAdminGroup * Set ALLOWTOPICRENAME = Main.TWikiAdminGroup,Main.LCGAdminGroup #uncomment this if you want the page only be viewable by the internal people #* Set ALLOWTOPICVIEW = Main.TWikiAdminGroup,Main.LCGAdminGroup --> %TOC% ---+ dCache Migration to 2.6 from 2.2 The official upgrade notes can be found on the dCache website at the link below http://www.dcache.org/manuals/upgrade/upgrade-2.2-to-2.6.html ---++ Config changes ---+++ dcache.conf In the dcache.conf file there are some lines we need to add. In dache 2.6 atime isn't recorded by default the below re-enables this <verbatim> pnfsmanager/atime.gap=1 </verbatim> Plots are disabled in the WebUI for dcache 2.6 by default, the below enabled them <verbatim> poolqplots.enabled=true webdavBasicAuthentication=true </verbatim> PNFS namespace support has been dropped from 2.6 be sure the following line is removed or commented out <verbatim> #cacheInfo=pnfs </verbatim> ---+++ Layouts As nfsv4 is now used in 2.6 as such we need to add "[namespaceDomain/nfsv41]" to our namespace domian, the whole thing looks like this. <verbatim> [namespaceDomain] [namespaceDomain/pnfsmanager] [namespaceDomain/nfsv41] [namespaceDomain/cleaner] [namespaceDomain/acl] </verbatim> ---++Upgrade procedure ---+++Make backups Stop dcache <verbatim> dcache stop </verbatim> Dump the db <verbatim> pg_dumpall -U postgres -c -f pgdump.16102013.sql </verbatim> Stop postgres <verbatim> service postgresql stop </verbatim> Backup billing info <verbatim> Note: compress the in PROD cp /var/lib/dcache/billing/ . </verbatim> Copy backups to remote location (e.g. the NAS) ---+++Re-install machine Important: Ensure machine will use UMD-3 repos in cfengine when re-installed. Install postgres 9.3 <verbatim> yum remove postgresql* rpm -ivh http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-sl93-9.3-1.noarch.rpm yum install postgresql93-server </verbatim> Start the new postgres <verbatim> service service postgresql-9.3 initdb vim /var/lib/pgsql/9.3/data/pg_hba.conf - change auth to trust service service postgresql-9.3 start </verbatim> Import the db <verbatim> su - postgres psql -f /tmp/pgdump.16102013 </verbatim> Ensure you are running Java 7 <verbatim> java -version # If not yum install java-1.7.0-openjdk.x86_64 </verbatim> Install dCache <verbatim> yum localinstall http://www.dcache.org/downloads/1.9/repo/2.6/dcache-2.6.10-1.noarch.rpm </verbatim> Check the config, and start dCache if all is ok <verbatim> dcache check-config dcache start </verbatim> ---++ Additional monitoring ---+++xrootd-monitor Install dcache26-plugin-xrootd-monitor package form WLCG repo http://linuxsoft.cern.ch/wlcg/sl6/x86_64/ to enable CMS monitoring of xrootd door at http://xrootd.t2.ucsd.edu/display Requires the following config to be added <verbatim> pool/xrootdPlugins=edu.uchicago.monitor detailed=xrootd.t2.ucsd.edu:9930:60 summary=xrootd.t2.ucsd.edu:9931:60 </verbatim> Awesome documentation by Fabio can be found at the following link https://twiki.cern.ch/twiki/bin/view/Main/DcacheXrootd ---+++Java monitoring Explore usage of jmxquery and jmxmetric to plot Java utilization http://code.google.com/p/jmxquery/ https://github.com/ganglia/jmxetric -- Main.GeorgeBrown - 2013-10-28
This topic: LCGTier2
>
WebHome
>
ToolsBoard
>
FormsAndTemplates
>
DCacheMigrationTo26
Topic revision: r3 - 2013-10-30 - GeorgeBrown
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback