Video Screencast Help

how to do if the shared storage disappear in VCS

Created: 29 Nov 2012 | 2 comments


   i use VCS to cluster server connected to san with 2 san switch (reduncant to gether) . soon i have to power off one san switch, for  worse case, the questions are

-  do i have to stop clustering or unmount shared disk to do so?

-  how to do if the san switch redundancy fail (making san storage is disappear from server)?

thank you


Comments 2 CommentsJump to latest comment

Marianne's picture

If your SAN configuration is correct, loss of one switch should NOT cause complete loss of storage.

Carefully examine physical connections and zoning.
Confirm that DMP sees 2 paths - you need to find out which DMP software is in use - VxDMP, 3-rd party DMP?

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

am-aaron's picture


we have a similar problem with VCS.

we created a LUN on a Clariion and then added the LUN to each Storage Group of two Hosts. each Host has its own Storage Group so that the Host can see only the LUNs in its Group. so, the Host's Storage Group has its Boot LUN and then we added a LUN that is present in both Hosts' Storage Groups. this way, each Host can see its Boot LUN and the common data LUN.

the SAN is connected to the Host by two FC links because there are two FC ports. RHEL Multipathing is used to manage the two paths to the same LUN on each Host.

 Host |
      |--------------- \                       --------
------                  ......... ------------|\
                               FC switch      |  - LUN    Clariion
------                  ......... ------------|/
      |--------------- /                       --------
 Host |

once the LUN was visible on the Host, an LVM2 Volume Group (VG) was created on it, and then the VG was used to create an LVM2 Logical Volume (LV). an ext4 file system was created on the LV and this file system was mounted on the Host.

        mount -> file system on -> LV created in -> VG created on -> LUN

a VCS Service Group was created with three resources: a Mount, LV resource, and VG resource.

  • Mount resource mounted the LVM2 LVM Logical Volume (LV).
  • LV resource monitored the LVM2 LV.
  • VG resource monitors the LVM2 VG.
  • the dependencies in the VCS SG are: Mount -> LV -> VG.
  • the SG is a failover SG, so that it is online only on 1 Host at a time.

everything works fine, as designed.

when the SG is online on 1 Host, the ext4 file system is mounted, the LV is online/available, and the VG is imported on that Host.

when the SG is offline on a Host, the ext4 fs is not mounted, the LV is offline/unavailable, and the VG is exported.

everything works fine until.... until the LUN is deleted on the Clariion and the FC interfaces are not rescanned on the Host.

you can also remove the LUN from the Hosts' Storage Groups so that it is no longer accessible to the Hosts.

when the LUN is quietly removed, on the online Host:

  • the Mount is still available.
  • small files can still be read.
  • attempts to write to the FS on the LV cause errors.
  • errors are even detected by VCS in the Engine Log.

however, the VCS Service Group does not failover to the other Host nor is the SG marked as Faulty.

we can reproduce the problem everytime.

what is going on here? shouldn't VCS detect that there is a Fault with the resources and mark the SG as Faulted?

thank you in advance.

have a wonderful, Xmas holiday,