Currently the gpfs xrootd space is handled by a single xrootd server that connects directly to the redirectors. The list below shows how to move the server from one gpfs machine to another one without causing clients to fail (there will be a short stalling of the clients).
Before Moving
- remove restart from taylor on <old> (wasn't even enabled)taylor restart for xroots,cmsd on <old> (in /etc/taylor.opts)
- update Update crontab on <new>
- add <new> to xrootd.cf to distribute proper xrootd file
- backup xrootd.cf on <old> backup/xrootd.cf
- edit (in place) xrootd.cf on <old> add:
export /fgstdummy/ if cmsd
Restart
- activate prod -> v4.1.1/ on <new>xrootd on <new>
This will set the prod link and install the xrootd.cf file - Stop cmsd on <old>
RDR will suspend writes and reads for files not found. Xrootd will continue to run and clients can read/write.
...
- Start xrootd/cmsd on
...
- <new>
...
- files on gpfs will be accessible
...
Start cmsd on
...
<old>
...
RDR will reconfigure
...
its map for <old> and export the /fgstdummy/ path. All previous entries from <old> are removed and there will be no more redirection to <old>.
- If no more clients connected to
...
- <old> stop xrootd/cmsd
...
- rm prod link
...
- on <old>
prod ->
...
- vN.
...
- N.
...
- N
...
- let Charlotte know that Nagios needs to be changed
...
- change glast,glastall host lists
...
After Restart
- enable restart in taylor on
...
- <new>
- make sure the rmdir semaphore file exists (/gpfs/slac/fermi/xrootd/dirlocks/fn)
- check that pftp is installed and working