Store03 can be used as a backup for exporting the admin, grouphomes, scratch, software, userhomes and data directories.
Background info:
The internal LUNs 61-67, 75 of the storage are exported to store03 also. The server is configured to have the LUNs discovered and multipath is
not use at all. In the /etc/lvm/lvm.conf is put a filter for LVM to take into consideration only the /dev/sd[b-m] devices for scanning. These correspond to the a path to the previously mentioned LUNs. If this is not done LVM will discover all physical volumes 4 times!
This method does not use multipath on purpose as it proved to cause problems and is meant to easier to get it running.
How does it work:
WARNING: store01 was in production so it was not tested
- Really make sure that store01 is down
- Make sure the scsi devices are there: lsscsi
- Use pvscan, vgscan and lvscan to check the LVMs
- activate the volume groups:
vgchange -ay
- optionally use xfs_check and xfs_repair to check the filesystems
- uncomment the mount entries form fstab and mount everything:
mount -a
. In case the same volumes are mounted from another node the file systems can be corrupted.
- start nfs, samba and nfslock:
service nfs start
service nfslock start
service smbd start
WARNING: In case the above for some reason does not work do not leave the volumes mounted !!!
NOTE: Please update the page if the above fail or if you had to perform additional actions.
--
RaduStoica - 09 Apr 2008