BANAPPT – BANAPP2T
Banapp
and BanappT must be done first in the pairs, Banapp2 and Banapp2T
after the host machine
is back on-line and working.
With
both machines in the LB, take the machine to be migrated out of the
LB. This should make the other machine take over
For
the machine to be migrated ...
The new Compellent disk should be prep'd and labeled. (u05a)
Stop o2cb (ocfs2)
service o2cb stop
--Find which /dev/sd to use from /dev/disk/by-label for the host machines. echo "mount.ocfs2 `ls -l /dev/disk/by-label/ |egrep u05a |cut -d\/ -f3 | awk '{print "/dev/"$1"1"}'` /u05a"
and if that looks right
echo "mount.ocfs2 `ls -l /dev/disk/by-label/ |egrep u05a |cut -d\/ -f3 | awk '{print "/dev/"$1"1"}'` /u05a" | sh
--Do
not do the tar for For
Banapp2
and BanappT2
they
are fed by the host
...
cd /u05
tar cvf - * | ( cd /u05a; tar xfp -)
--On
Banappt2 and Banapp2
fdiskthe partition away, if necessary.
The original directions indicate to not do
several things on the remote machine.

--Swop out the dirs
cat /etc/fstab
umount /u05 /u05a
--Edit /etc/fstab to get the new Compellent in place.
mount /u05
--Restart
o2cb (ocfs2)service o2cb start ### might need force-reload
service o2cb status
--Run to check if the sync is working
clear; date;ls -l /sys/kernel/config/cluster/banappcluster/node/*;date
If it reports all the dir's with the same time-stamp it should be working.
--Bring the server back into the Load Balancer.
If there are problems go to: http://harveyv.binghamton.edu/~chouck/projects/o2cb_ocfs2-live.html
for the debug methods.