question

Yasarmistry-3565 avatar image
0 Votes"
Yasarmistry-3565 asked MicoMi-MSFT answered

Failed to create Virtual SAN Manager over FC

Dear Support,

I have 2 HOST with Cluster and one HPE SAN 2050, we have connected SAN to HOST directly over FC (NO SAN Switch between)

so i have successfully mapped CSV volume to my both host but when i create Virtual Switch Manger and assign and select the FC available port and when i add virtual SAN Switch to my VM so my VM doesn't Boot its gives me below error.

Server OS Version: Server 2012 R2.

Error :
NPIV virtual port operation on virtual port (C003FF159284000C) failed with an error: The operation is not supported by the fabric. (Virtual machine ID 72A07A11-CD2B-45B2-B954-C595681B1554)...

But i have confirmed from HPE the said Your HBA card support direct SAN to HOST connection.

Please advise... as we are in middle of storage migration.. Your support will be really highly appreciated.

windows-server-hyper-vwindows-server-clustering
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MicoMi-MSFT avatar image
0 Votes"
MicoMi-MSFT answered

Hi,
Please try to update the drivers of the HBAs and reboot.
If the above doesn’t work, please check if there’s any related event ID in Applications and service logs>Microsoft>windows> Hyper-V VMMS/ Hyper-V Worker, if yes, please provide the detailed error information.

Thanks for your time!
Best Regards,
Mico Mi


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yasarmistry-3565 avatar image
0 Votes"
Yasarmistry-3565 answered MicoMi-MSFT commented

Dear,
Appreciate for your reply, please do find the below error.

I have already updated HBA card driver as hpe suggested and done.

Error:
1- SQL2' failed to start. (Virtual machine ID BAF51D-cd56-434C-B200-7C34DF4D73)

2- SQL2': NPIV virtual port operation on virtual port (C003FFA31DBA0014) failed with an error: The operation is not supported by the fabric. ((Virtual machine ID BAF51D-cd56-434C-B200-7C34DF4D73)

3-The description for Event ID 12004 from source Microsoft-Windows-Hyper-V-Worker cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

SQL2
BAF51D-cd56-434C-B200-7C34DF4D73
Synthetic FibreChannel Port
%%2147943850
0x800705AA


The locale specific resource for the desired message is not present


Please advise, i have uninstall ad install HBA card drivers,, and my CSV is already mapped with same HBA card.

Your prompt support will be really appreciated


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, please also check if there’s any related event ID in Microsoft-Windows-Hyper-V-SynthFcVdev.
Best Regards,
Mico Mi

0 Votes 0 ·
Yasarmistry-3565 avatar image
0 Votes"
Yasarmistry-3565 answered Yasarmistry-3565 edited

Dear,

Thanks for your prompt reply, here the below Microsoft-Windows-Hyper-V-SynthFcVdev event error.

Event Id: 32104
JQL2': NPIV virtual port operation on virtual port (C003FFA31DBA0016) failed with an error: The operation is not supported by the fabric. (Virtual machine ID FCC7F51D-AB59-46fDC-B200-7C2E984D7363)

Event ID:32165
SQL2': Virtual port (C003FFA31DBA0016) creation failed with a NPIV error(Virtual machine ID BFCC7F51D-AB59-46fDC-B200-7C2E984D7363)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MicoMi-MSFT avatar image
0 Votes"
MicoMi-MSFT answered

Hi,
Please check if the requirements reported in this document are satisfied:
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn551169(v=ws.11)?redirectedfrom=MSDN
According to your error ID, I found a doc may be helpful for you:
https://social.technet.microsoft.com/wiki/contents/articles/18698.hyper-v-virtual-fibre-channel-troubleshooting-guide.aspx#Troubleshooting_samples
Virtual Port creation failure because the WWPN is still in use because of:

  • HBA failing to remove virtual port

  • Host unresponsiveness

Make sure all cluster nodes are running the exact same driver and firmware for the SAN and network adapters.
Please check if you have properly connected the FC cable on your Hyper-V hosts.
Please verify that no running VM is using same WWPN.

Try to remove the port using HBA management tools or by using a WMI call or by rebooting the host. Escalate the issue with the HBA and fabric vendors
If a host hang is confirmed by identifying fabric ports using fabric management tools, reboot connected host or disable the offending fabric port.

Or you can try to copy the fiber channel WWPN numbers when the VM is off and open the settings of the VM and remove fiber channel adapter and start up the VM.
If it started up normally, you can shut down the VM and add the fiber channel adapter again with the same WWPN settings.

Also You need enable NPIV in:

  • Storage

  • Switch FC (comand Cisco FC Switchs)

  • HBAs (OneCommand Manager for Emulex HBA)

  • Create Virtual Port in every fisical server (OneCommand Manager for Emulex HBA)

  • Zoning your WWNN/WWPN in your Storage.

If you have more than one physical HBA, you have to create one vport on each pHBA and associate the these pHBAs to the vSAN

Here are some other docs about hyper-v virtual fibre channel for you to check, I hope they can do you a favor:
https://docs.microsoft.com/zh-cn/archive/blogs/privatecloud/hyper-v-virtual-fibre-channel-design-guide
https://araihan.wordpress.com/2015/01/15/how-to-connect-and-configure-virtual-fibre-channel-fc-storage-and-fc-tape-library-from-within-a-virtual-machine-in-hyper-v-server-2012-r2/

Thanks for your time!
Best Regards,
Mico Mi


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yasarmistry-3565 avatar image
0 Votes"
Yasarmistry-3565 answered

Dear,
Appreciate your reply
as I couldn’t able to add virtual san manager even after. Reinstall fresh os 2016...
My question is
Since i want to use SQL cluster HA so what other option i can do
I have see in VM setting under disk there is option to use physical disk so if i map the 3 new drive one for database one for quorum and for Msdtc with use phusical disk option so can i able to configure the sql cluster HA
Please advise

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yasarmistry-3565 avatar image
0 Votes"
Yasarmistry-3565 answered

Dear,
Appreciate your reply
as I couldn’t able to add virtual san manager even after. Reinstall fresh os 2016...
My question is
Since i want to use SQL cluster HA so what other option i can do
I have see in VM setting under disk there is option to use physical disk so if i map the 3 new drive one for database one for quorum and for Msdtc with use phusical disk option so can i able to configure the sql cluster HA
Please advise

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MicoMi-MSFT avatar image
0 Votes"
MicoMi-MSFT answered

Hi,
Here are some docs about configuring pass-through disks in hyper-v:
https://terrytlslau.tls1.cc/2014/02/configure-pass-through-disks-in-windows.html
https://www.sqlservercentral.com/articles/how-to-add-a-drive-as-a-clustered-physical-disk-resource-in-windows
But sometimes pass-through disks lack the flexibility and feature set of virtual hard disks, you can check the following doc for further information:
https://www.altaro.com/hyper-v/hyper-v-pass-through-disks/

Thanks for your time!
Best Regards,
Mico Mi


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.