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
  • Assume the ip of store01 of:
     ifconfig eth0:0 10.128.40.11 netmask 255.252.0.0 

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

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2008-04-09 - RaduStoica
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback