VMware Cloud Community
jitu000
Contributor
Contributor

MS cluster over VM using MSiscsi initiator

Dear Team,

We want ot create a cluster of two VMs using 2008 R2 on a vmware cluster. the IP subnet used to connect our SAN and ESX is 192.168.x.x and that of our LAN and VMs is 10.x.x.x.

So how can we add the RDMs to our VM using the MS iscsi initiator having two different IP subnets.

Is there any documentation available for the same? If not please help me to get this done.

Is there any performance issues using MS isci for cluster configuration ?

thanks

Reply
0 Kudos
22 Replies
ramkrishna1
Enthusiast
Enthusiast

Hi

Welcome to the communities.

please follow below two link which will clear most of the doubts.

http://technet.microsoft.com/en-us/library/gg232621%28v=ws.10%29.aspx

http://technet.microsoft.com/en-in/library/cc731844%28v=ws.10%29.aspx

"concentrate the mind on the  present moment."
jitu000
Contributor
Contributor

Hi,

I want to know how can we present a RDM to a VM having the IP subnets different from our Management LAN.

The subnet used to connect the SAN to the ESXi host belongs to 192.168.91.x and that of the vmotion, management is 10.x.x.x.

The VM is only having one virtual NIC and having IP 10.x.x.x, so how it will communicate to the SAN having 192.168.91.x subnet.

Please help.

Regards.  

Reply
0 Kudos
virtualinstall
Enthusiast
Enthusiast

Hi,

You present the LUN to the ESXi host(s) both using 192.168.x.x in your example.  In the VM(s) you then add a new harddrive selecting the RDM option and pointing towards the LUN you presented to your ESXi host(s).  There is no need in this scenario for the VM(s) to see the 192.168.x.x network or use the MS iSCSI initiator if it's RDM you plan to use.

The following article on perennially reserving the LUNs used in the MS Cluster is worth noting: http://kb.vmware.com/kb/1016106

Edit:  Some RDM information if you've not already seen:  http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.vm_admin.doc_50%2FGUID-8E664...

Reply
0 Kudos
jitu000
Contributor
Contributor

Hi ,

Actually the need is that we have to use MS iSCSI initiator for clustering, since vmware apart from FC only supprts the in-geust OS iscsi and we are using sofwatre Iscsi initiator to connect the SAN to ESX hosts.

So please suggest.



Microsoft Clustering on VMware
vSphere supportVMware HA supportvMotion DRS supportStorage vMotion supportMSCS Node LimitsStorage Protocols supportShared Disk
FCIn-Guest OS iSCSINative iSCSIFCoERDMVMFS
Shared DiskMSCS with Shared DiskYesYes1NoNo2 5 (5.1 Only)YesYesNoNoYes2Yes3
Reply
0 Kudos
virtualinstall
Enthusiast
Enthusiast

You mention you're only using one vNIC per VM, is there a reason why you can't add more?  Can you add a portgroup for the vSwitch using the 192.168.x.x network and add a vNIC on your VM(s) connecting to this portgroup/vSwitch and use this to communicate with the SAN?  You would then present the LUN to the Windows VMs directly rather than RDM via the ESXi host.

Reply
0 Kudos
jitu000
Contributor
Contributor

The existing vNIC on the virtual machine is having a default gateway of the subnet 10.0.0.0 and the new vNIC (which you are asking to add on to the VM) connecting the vSwitch using the 192.168.x.x network will be having the ip range of  192.168.x.x network. So how it will communicate to the SAN (192.168.x.x network) since the default route is pointing to 10.0.0.0 network.

Thanks.

Reply
0 Kudos
virtualinstall
Enthusiast
Enthusiast

The VM vNIC connected to 192.168.x.x will not use the default route it will communicate directly to the SAN over the 192.168.x.x subnet, no routing will be used, the same way that your ESXi hosts are using iSCSI to communicate to your SAN already. Adding a portgroup to the same vSwitch for VM Guest OS iSCSI will work.

If you didn't want to use the existing iSCSI vSwitch and you have avaialble pNICs in the host you can add a new vSwitch for the Guest OS iSCSI with a similar confuguration to the existing one on the 192.168.x.x subnet.

Reply
0 Kudos
jitu000
Contributor
Contributor

Hi,

I have added a portgroup to the existing iscsi vswitch. Later on I have added that vNIC port on to the VM. I have assigned the IP 192.168.91.200.

But I am not able to ping even one of the iscsi vswitch port IP of the esx host from the VM. So how can we communicate to the SAN?

portgroup.PNG

IPs.png

Reply
0 Kudos
virtualinstall
Enthusiast
Enthusiast

But I am not able to ping even one of the iscsi vswitch port IP of the esx host from the VM. So how can we communicate to the SAN?

Can you ping any of the IP addresses of the SAN array controllers from the VM?

Reply
0 Kudos
jitu000
Contributor
Contributor

No !!!!!! I am not able to ping the IP addresses of the SAN array controllers. I cant even ping any subnet of 192.168.X.X.

Reply
0 Kudos
virtualinstall
Enthusiast
Enthusiast

I have used this configuration before, for the 192.168.91.0/24 you should be able to ping your local VM vNIC, the vmk ports for the iSCSI vSwitch and the IP addresses of the SAN controllers.

Using vmkping from the ESXi hosts what of the above interfaces do you get a response from?  Are there any firewalls in play here?

Reply
0 Kudos
jitu000
Contributor
Contributor

No We dont have firewall runnig.

I can ping every ip address using vmkping from the ESXi hosts under subnet 192.168.x.x except the newly configured VM vNIC on to the server.

vmkping.PNG

Reply
0 Kudos
virtualinstall
Enthusiast
Enthusiast

Are you able to post an ipconfig/all and route print for the Windows VM?

Reply
0 Kudos
jitu000
Contributor
Contributor

Please find the same

Reply
0 Kudos
virtualinstall
Enthusiast
Enthusiast

I am not familiar with why you'd have two ipv4 addresses on each ethernet adapter?

From your route print you can see there is no gateway for your 192.168.91.0/24 subnet via your vmxnet3 Ethernet Adapter #5 with IP 192.168.91.200, this looks like a Windows configuration problem.  See attached route print for what I'd expect to see.

Reply
0 Kudos
jitu000
Contributor
Contributor

Hi, I was also thinking there could a windows issues w.r.t newly added vNIC.

But it is happening on all the vms I have. Actually whenever I am assigning the IP address to the newly added vNIC on any VM I am getting an IP conflict, the same can be seen in the creen shot as duplicate.That is why we cannot see this vnic under the route print.

Can you please help as it hapening on all the VMs ?

ip.PNG

Reply
0 Kudos
virtualinstall
Enthusiast
Enthusiast

Reply
0 Kudos
jitu000
Contributor
Contributor

As in my previos post, it is hapeening on all the VMs.If its a windows issue than it should remain with a single or two...

Is there any config required from vcenter ?

Reply
0 Kudos
virtualinstall
Enthusiast
Enthusiast

The only thing I can think of is, if in vCenter the vSwitch MAC Address Changes were set to Reject, see here:

http://pubs.vmware.com/vsphere-51/topic/com.vmware.vsphere.networking.doc/GUID-74E2059A-CC5E-4B06-81...

There is also a KB article on resolving IP address conflicts that may help troubleshooting:

http://kb.vmware.com/kb/1008177

Reply
0 Kudos