Got a comment on my share and share alike post that covered setting up shared VMDK files on VI3 / ESX 3.x. Seemingly it didnâ€™t work any longer. Work or not, I figure itâ€™s time to revisit this in a new way, using vCLI(rCLI)! This will require the following steps:
- Download & install the vCLI
First download & install vCLI. Iâ€™ll waitâ€¦ Ready? Fire it up and CD into the bin folder:
- Next we use vmkfstools.pl to create the disk:
vmkfstools.pl –server 192.168.15.8 -c 10G -d eagerzeroedthick /vmfs/volumes/lab/shared.vmdk -a lsilogic
For each VM, walk through the add hardware wizard, selecting the following:
Use Existing Hard Disk
Browse to the location of the disk you created
Under â€œAdvanced Optionsâ€ Change the â€œvirtual device nodeâ€ select a device that is on an unused adaptor (generally something in the 1: or 2: range) hereâ€™s a picture to help:
Note: Use the same on both VMs. Consistency is good. mmmkay?
- Back under edit settings for the new VM, change the new disk controllerâ€™s â€œSCSI Bus Sharingâ€ to â€œPhysicalâ€:
- Repeat for both VMs
- At this point you can power on the VMs & follow your OS vendors setup guideline for shared disks.
Hope you found this informative. Questions, comments, corrections, or requests? Drop a line in the comments!