Share via


Create a LUN between a SAN MSA2040 and Hyper-V virtual machine

Question

Monday, May 28, 2018 11:53 AM

Dear Mr./Ms.

I have a windows server 2016 virtual machine that it was installed on hypervisor windows server core 216 (on HP DL380p G8 Server). Also, there is a MSA SAN Storage 2040. both of servers, I mean MSA2040 and DL380p was not updated.

there is a QLogic FC HBA on the server G8 and it is p2p connected to MSA 2040.

I create a pool with 1TB capacity and RAID 6 on MSA2040, and in Hyper-v manager, in virtual SAN manager section, I create a fiber channel SAN, as well. then in virtual machine setting, I added a fibre channel adapter.

Now, The virtual machine, can't start...

would you please help me to solve this issue?

All replies (8)

Monday, May 28, 2018 12:13 PM

Hi there!

Could you please provide us with the error you are receiving when trying to start the Hyper-V virtual machine?

Do they start without a virtual SAN adapter?

Best regards,
Leon

Blog: https://thesystemcenterblog.com  LinkedIn:   


Monday, May 28, 2018 1:48 PM

Hi dear friend!

The Error is : 

Synthetic fibreChannel Port (Instance ID ....) : Error 'Insufficient system resources exist to complete the request service.'

virtual port (...) creation failed with a NPIV error.

NPIV virtual port operation on virtual port (...) failed with an error:

the operation is not supported by the fabric.

yes, without a virtual SAN Adapter, the virtual machine can start and it works fine.


Monday, May 28, 2018 1:49 PM

Have you installed any storage software on your server so that you can enable NPIV?

Best regards,
Leon

Blog: https://thesystemcenterblog.com  LinkedIn:   


Monday, May 28, 2018 2:36 PM

No, My HBA is QLogic HP 82Q 8Gb 2-port PCIe Fibre Channel Host Bus Adapter (AJ764A)

Do you mean, I should install SAN surfer on my server, or another software ?

should i install this software on virtual machine, or host server ?

My VM is windows server 2016 GUI and my host OS is windows server 2016 Core (1709).


Monday, May 28, 2018 2:38 PM

Install it on the Hyper-V host and once it's installed, check for the NPIV setting.

Found this regarding NPIV on Q-Logic
http://filedownloads.qlogic.com/files/driver/npiv/readme_fc_hba_mgr_NPIV_config.html

Best regards,
Leon

Blog: https://thesystemcenterblog.com  LinkedIn:   


Monday, May 28, 2018 2:56 PM

Because of windows server Core, should I install SAN Surfer CLI for windows ?


Monday, May 28, 2018 3:02 PM

Check the documentations of the SAN Surfer CLI for Windows if you can manage or configure the NPIV with the CLI. 

I have not used it myself, although I have used QLogic HBAs aswell as Broadcom.

Maybe HP also have an own software for QLogic? Like the OneCommand for Emulex.

Blog: https://thesystemcenterblog.com  LinkedIn:   


Thursday, October 4, 2018 6:36 AM

According to QLogic, you can't use NPIV and direct attached devices.  Get yourself a FC switch and try again.

Found this out by installing the QLogic management tools and trying to manually create a vPort (with the tape library directly connected.

http://forums.qlogic.com/SupportCenter/?id=kA0800000000CtNCAU

Direct attach is not an option when creating vPorts. NPIV is an extension to the FC protocol and requires an N_Port ID which is assigned by a Switch. Direct attach will not work

**
**