ESXi

 View Only
  • 1.  adding same disk to 2 vmware machines

    Posted Sep 08, 2013 08:55 AM

    Dear Team,

    I have a HA environment, I need to share same disk on 2 vmware machines (linux machines) but i am getting error:

    An error was received from the ESX host while powering on VM TEST_SAS Meta Data.
    Cannot open the disk '/vmfs/volumes/521ca437-72977c20-31c3-2c59e53c4c58/TEST_SAS Meta Data/TEST_SAS Meta Data_1.vmdk' or one of the snapshot disks it depends on.
    Failed to lock the file

    can you help .
    thanks
    regards
    Yousif



  • 2.  RE: adding same disk to 2 vmware machines

    Posted Sep 08, 2013 09:08 AM

    Check the disk sharing instructions from MSCS cluster guide from http://pubs.vmware.com/vsphere-51/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-511-setup-mscs.pdf

    Note that linux clustering is not supported.

    --Arun



  • 3.  RE: adding same disk to 2 vmware machines

    Posted Sep 08, 2013 09:15 AM

    hi Arun,

    this is applied on Linux ?

    my case is I have 4 machines running, and i need to add a shared disk to 4 of them.

    regards

    yousif



  • 4.  RE: adding same disk to 2 vmware machines

    Posted Sep 08, 2013 09:38 AM

    You will have to chane the scsi controller sharing mode depending on all vms on same host or multiple hosts. The detailed instructions for this setp is shared in the mscs guide that you can use as reference.

    --Arun



  • 5.  RE: adding same disk to 2 vmware machines

    Posted Sep 08, 2013 10:40 AM

    Hey YousifQaddoura,

    Check this link. I have written this blogpost for RHEL clustering on Linux RHEL 6.3

    Clustering using sharing of VMDKs between virtual machines | vPirate

    Let me know if you need more info. Would be glad to help you.



  • 6.  RE: adding same disk to 2 vmware machines

    Posted Sep 11, 2013 07:08 AM

    first use the following step.

    1.Create a folder named as cluster on /vmfs/volume/storage path/cluster

    2. Chmod –R 755 cluster/

    3.Create a hdd space on this cluster folder size as 10000Mb.

    Vmkfstools –c 10000M –d thick –a lsilogic cluster.vmdk

    then add scsi controller on physical mode on vm or use abhilash link.



  • 7.  RE: adding same disk to 2 vmware machines

    Posted Sep 12, 2013 01:07 PM

    Hello,

    Try varying of disk bandwidth to the virtual machine when you share it.

    Hope will help

    Yours,
    Mar Vista