I am trying to implement a 2 Node REDHAT HA cluster. The following is my environment.
VMWare WorkStation 10.01
- Node-1 >> CentOS-6.3 x86_64
- Node-2 >> CentOS-6.3 x86_64
- Node-3 >> CentOS-6.3 x86_64 [ Luci ]
I have setup the cluster successfully and all the services are running fine on Luci server and the nodes. The iSCSI target and initiator are also working fine. The problem is that the drive names doesn't persist after the reboot of any particular nodes. This creates problem with the fail-over in the cluster. After two days of intensive online research I have done all that I can, from the following links. But still I and stuck with this disk naming issue.
P.S: I am using a single-path setup with no fencing mechanism as VMWare doesn't support that.
I have used the udev rules and assigned the UUID. I have added the following rule;
KERNEL=="sd[a-z]", SUBSYSTEM=="block", PROGRAM="/sbin/scsi_id -g -u -d /dev/$name", RESULT=="14f504e46494c45526f416b7a4b4e2d4176584a2d45763153", NAME="webcl"
Now when I list "fdisk". The disk for the LUN is not even displayed in the list, even though the device name "webcl" appear under /dev
[root@node1 dev]# ls -l webcl
brw-rw---- 1 root disk 8, 32 Sep 30 22:25 webcl