SLAC ESD Software Engineering Group

 

UNIX SYSTEM ADMIN

 

 

NFS Server Migration

SLAC Detailed

SLAC Computing

Software Home

Software Detailed

Documentation and Web Suport


 

NFS Server Migration Plan

  1. configure mccfs2 to mount /newu1, /newlocal and /new home on mccfs4

mount mccfs4:/export/mccfs/home /newhome

mount mccfs4:/export/mccfs/usr/local /newlocal

mount mccfs4:/export/mccfs/u1 /newu1

2. on mccfs2 as root, run following (one at a time) and make sure each completed successfully

          rsync -avSH /usr/local/ /newlocal

          rsync -avSH /u1/ /newu1

          rsync -avSH /home/ /newhome

3. on lcls-srv20

          mount /u1, /home, /usr/local on mccfs4

 

 

  • reconfigure all IOCs to use the new mounting path (in $IOC/All/Prod)  for FACET and LCLS
    • Copy over /etc/dhcpd.conf-NFS to /etc/dhcpd.conf on mccsrv01/mccsrv02 and restart DHCP services
    • Users will have to make changes for each IOC NOT using DHCP
  • rename mccfs2 (nodename/IP) to mccfs5
    • This is equivalent to disable NFS server, but has additional advantages. All NFS clients should stop writing to the NFS server. mccfs5 will be kept to continue hosting Matlab License server, printing server, account management, and system file distribution. We can test all these functions on mccfs5.
  • on mccfs5 as root, make a final data migration (again, one at time)

mount /newu1, /newlocal, /newhome on mccfs4
rsync -avSH --delete /u1/ /newu1
rsync -avSH --delete /usr/local/ /newlocal
rsync -avSH --delete /home/ /newhome

  • rename mccfs4 to mccfs2 (nodename/IP)
  • reboot all NFS clients and IOCs orderly
  • reconfigure mccfs5 to mount mccfs2 and reboot mccfs5
  • test applications on Sunray, OPIs, Servers (daemon and interative)
  • test IOCs applications (check screenloging, save/restore, edm and etc.)

 

Server list:

lcls-uwd
lcls-daemon0
lcls-daemon1
lcls-daemon2
lcls-daemon3
lcls-daemon4
lcls-srv01
lcls-srv02
lcls-srv03
lcls-srv04
lcls-srv05
lcls-archeng
lcls-builder
mccfs2
mccsrv01
mccsrv02

mccsyslog
mcclogin
lcls-opi01
lcls-opi02
lcls-opi03
lcls-opi04
lcls-opi05
lcls-opi06
lcls-opi07
lcls-opi10
lcls-opi11
lcls-opi12
lcls-opi13
lcls-opi14
lcls-opi15
lcls-opi16
facet-daemon1
facet-srv01
facet-srv02
facet-builder
facet-archeng
mccfs0
mccfs1

opi00gtw01
opi00gtw00

sunsrv02
sunsrv03
sunsrv04
lcls-prod01
lcls-prod02
lcls-prod03
lcls-archsrv
mccas0
mccas1
physics-elog
mccora1
mccora2

opi00gtw04
opi00gtw05

mccelog

 

 

 

Author: Ken Brobeck and Jingchen Zhou. Last edited on 02/10/11