PowerPath on a virtual machine if I have iScsi initiators?
I only found a previous discussion from 2007 here (Re: PowerPath on Virtual Machine) and nothing else, so I am going to ask the same question with different approach.
I have 2 Windows (2012 R2) machines, and 2 ESXi hosts (5.5 + PowerPath), these machines will be dedicated for a SQL Cluster (SQL 2014).
My idea is to run C: drives on both as VMDK, however, the machines won't migrate across, if a host fails, or if there is some sort of hardware failure, the SQL Cluster will fail over.
Both nodes now have Virtual NICs inside my iScsi stack, currently, I am not running PowerPath on the VMs (only running it on ESXi), and the SQL Data, Logs, etc... they are directly connecting to my VNX via their own virtual NICs with MS iScsi initiators.
So now here's my question, do I need to install PowerPath for Windows on both nodes???
Currently I see that my iScsi/SQL Data flows equally on my iScsi VLANs, equally choosing a path. VMWare told me that it's not correct and the iScsi data should only flow to the best path, this is way I am bring it up again.
so I am running PowerPath in my ESX cluster and I need to install PowerPath for Windows inside my existing Microsoft Cluster install, where my iScsi initiators are running? Correct!?
last year, I believe, we had 100% CPU usage when we tried that, so upon calling EMC support we were told that PP doesn't go on the VM, but perhpas they misunderstood our configuration?!?
We've been testing SQL Cluster running on these 2 VMs (cluster nodes) and we have been seeing I/O latencies, so we started wondering and looking around, switches look clean, VNX looks clean, VMWare confirmed yesterday that our vDS look clean, that's when I started this thread.
I think the important part to make sure is understood in your configuration is how you are connecting to your Cluster storage.
Normally, in a VMware environment, you are not required to install PP in a Windows VM (or another OS) because you might already have PP installed in your ESXi hypervisor. This is because most if not all storage is coming directly to the ESXi which then is used by the VMs as VMDKs. So, all of the process and IO will be handled by the ESXi host thus needing PP (in the ESXi host) to optimize the IO via all paths.
However, if the Windows VM is accessing the Cluster storage via iSCSI, completely bypassing the ESXi hypervisor (this is technically speaking although we know that the vNICs are still going through ESXi), that means that the storage is NOT seen by the ESXi host at all. In this situation, yes, PP can be installed in the VM simply because you are connecting to your storage via iSCSI.
Must of the problems that I see with iSCSI configuration (whether physical or virtual server) is that is it not setup correctly. I highly recommend taking a look at the Host Connectivity Guide and take a look at all of the iSCSI Attached Environment section (page 38). For configuration see starting in page 54 to make sure it is done correctly (applies for 2012 R2).
when I am running SQL and do load test, I now have powerpath on both nodes now, I have 2 iScsi VLANs (10.131.2.0/24 and 10.131.200.0/24) so I assigned 1 IP per VLAN, 2 virtual NICs on each node.
Is powerpath suppose to "drive" 100% of the iScsi traffic via only one of them (the one with the best path)?? or is it supposed to go 50/50?
I am seeing data going thru both of them at the same rate (circa, tomorrow I will have more precise values from perfmon, esxtop, extrahop, mrtg, etc..).
I do NOT have LACP, I am also wondering if I should add more physical interfaces of the host into the iScsi VDS or not. Shoudl I also add more virtual NIC to each node, like 2 + 2 for better throughtput? Would that help powerpath to make better path choices?
One of the benefits of PowerPath is that it will Load Balance the IO via all the paths. This effectively will utilize all paths equally which is why you see basically the same rate via all the paths.
It is completely up to you if you want to add more NICs. This will allow PP to use more paths for IO.
do I need PP on the hosts and the guests at the same time for this??
I've been migrating data from a LUN to another LUN, using this virtual machine with the virtual iScsi initiators on and I don't think I am getting good results. My average speed of transfer is 30MB/s, and I think that's just 25% of a single Gigabit interface.
If we think that (since I am copying from LUN to LUN) I am using the iScsi connections to read and write, I would at least expect a 50% speed (50 to read and 50 to write simultaneously).
Am I wrong? where should I look at now?
The thing is that I've been troubled by this for a bit now and all the vendors support (EMC, Cisco for switch, VMWare) tell me to ask each other and nobody helps me much. while this is the place I've found be most useful so far, so here I am back again
Do you mind explaining a little more what you are trying to accomplish?
The important part to remember is how are you presenting your storage to the VM. That will determine where PP should be installed. Basically if you are presenting your storage to the hypervisor (i.e ESXi) then PP can be installed there (you then can present a vmdk or as rdm to the guest). If you are presenting storage to the VM directly (i.e. iSCSI), which means the hypervisor has no knowledge of that storage, then PP can be installed there.
The way i understand it, sounds like you are migrating LUN to LUN inside of your VM via iSCSI. What tool are you using to migrate? Or is it just normal copy (i.e drag and drop or copy/paste)?
that's correct, normal copy, windows explorer, both drives are in the same cluster resource, so they are attached at that moment with the same iscsi iniators (virtual nics).
Currently I have both PP on ESXi and VMs (and I think it's correct), now that you asked me how I am migrating LUNs, I just thought of doing SAN copy. Is that what you were going to tell me? Do I need a license for that ?
andress1
27 Posts
1600
1
Posted July 9th, 2015 14:00
Hi Gabriel,
The only supported configuration of PowerPath for Windows in a VM (where Windows is running in a VM) is via iSCSI.
So, if you want to install PP in a cluster setup, it is recommended to have all cluster nodes equally configured.