VMware vSphere

 View Only
  • 1.  Raw device mapping share with two virtual machines

    Posted Sep 02, 2010 08:05 AM

    Hi!

    I am trying to share a RDM with two virtual machines, I managed to bind to the fist virtual machine but when I try to bind to the second one the option is greyed out or disable.

    Thanks in advance.



  • 2.  RE: Raw device mapping share with two virtual machines

    Posted Sep 02, 2010 09:02 AM

    Hi,

    Your can try configure the Bus sharing of your RDM virtual disk in "physical compatibility mode". It also looks important to connect this virtual disk to a dedicated virtual SCSI controller. When attaching it to the VM, select SCSI (1:0) for example, but do not use SCSI (0:x) which should be used by the OS disk. These recommendations are for MSCS clusters, but it could work for other configurations.

    Hope it helps.

    Regards

    Franck



  • 3.  RE: Raw device mapping share with two virtual machines

    Posted Sep 02, 2010 10:14 AM

    Hi Frank,

    I have tried what you told me and there wasn't luck. For the second Virtual machine RAW disk is disable.

    Thanks



  • 4.  RE: Raw device mapping share with two virtual machines

    Posted Sep 02, 2010 12:52 PM

    Could you give some details about your configuration and what exactly is disabled (which option, in which menu)? Could you test adding the RDM disk while the first VM is off?

    Good luck.



  • 5.  RE: Raw device mapping share with two virtual machines

    Posted Sep 02, 2010 01:12 PM

    I have tried what you told me and there wasn't luck. For the second Virtual machine RAW disk is disable.

    You can't share a raw device map, but you can share the disk.

    VM1 - is
    san\raw1

    VM2 - is
    san\raw2

    You want VM2 to have access to VM1. But the raw device is simply owned by VM1, it's raw space (hence RAW device map). So just share the disk from within VM1.

    If you had 2 physical machines, one has access to storage, while the other does not. So how would you do it then?

    Like Franck said, it works the SAME way as clustering. You need to figure out how to cluster the OS and share it's data. This is more of a OS related issue than VM Ware, because you have a RAW device map setup.