Pointers to create/configure SCSI reservation device for fencing in RHEL 6.2 cluster

Latest response

I would like to create a 2-node cluster using SCSI reservation as a fencing device, yet I do not seem to be able to find a definite instruction of setting SCSI reservation as a fencing device. Based upon the link (https://access.redhat.com/sites/default/files/rhel_cluster_scsi-persistent-reservations.pdf), I would need to have:

 

1. Devices use for cluster volumes should be complete LUNs. I certainly can accommodate this (via means of Openfiler), but what commands should I use to initialize the LUNs on the cluster nodes, or I don't need to?

2. Shared storage using LVM2 cluster volumes. What command(s) should I used on the cluster nodes?

 

Additionally, is there any utilities (such as fence_scsi_test for RHEL 5) available for RHEL 6?

 

I would appreciate it very much if anyone could help me out on this, may be a step-by-step guide? Thank you very much.

 

Responses

The luns will be auto detected in RHEL systems (if they are asssigned to it) after scsi rescan/ reboot.

 

Refer below guide for more details:

 

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/index.html

 

Regarding fence_scsi agent have a look at :

 

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Configuration_Example_-_Fence_Devices/SCSI_Configuration.html

Probabaly the following may help

 

https://access.redhat.com/knowledge/solutions/40127