VMWare share RDM between 2 VMs

Refer Doc: http://www.vmware.com/pdf/vsphere4/r40_u1/vsp_40_u1_mscs.pdf

On Node1:
1.In the vSphere Client inventory, select the newly created virtual machine and select Edit Settings. The Virtual Machine Properties dialog box appears.
2.Click Add, select Hard Disk, and click Next.
3.Select Raw Device Mappings and click Next.
4.Select an unformatted LUN and click Next.
5.Select a datastore and click Next.[This datastore must be on a SAN because you need a single shared RDM file for each shared LUN on theSAN]
6.Select Physical as the compatibility mode and click Next.[A SCSI controller is created when the virtual hard disk is created.]
7.Select a new virtual device node (for example, select SCSI (1:0)), and click Next.[NOTE This must be a new SCSI controller. You cannot use SCSI 0]
8.Click Finish to complete creating the disk.[The wizard creates a new SCSI controller and a new hard disk]
9.In the Virtual Machine Properties dialog box, select the new SCSI controller and click Change Type.[Windows Server 2008 LSI Logic SAS]
10.On the Virtual Machine Properties dialog box, set SCSI Bus Sharing to Physical and click OK.

On Node2:
1.In the vSphere Client inventory, select the newly created virtual machine and select Edit Settings. The Virtual Machine Properties dialog box appears.
2.Click Add, select Hard Disk, and click Next.
3.Select Use an existing virtual disk and click Next.
4.In Disk File Path, browse to the location of the quorum disk specified for the first node.
5.Select Physical as the compatibility mode and click Next.[A SCSI controller is created when the virtual hard disk is created]
6.Select the same virtual device node you chose for the first virtual machine’s shared storage disks (forexample, SCSI (1:0)), and click Next.
7.Click Finish.[The wizard creates a new hard disk and a new SCSI controller.]
8.In the Virtual Machine Properties dialog box, select the new SCSI controller and click Change Type.[Windows Server 2008 LSI Logic SAS]
9.Set SCSI Bus Sharing to Physical and click OK.

Leave a comment