No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


MZ220 NIC V100R001 User Guide 06

This document describes the MZ220 in terms of its functions, appearance, features, configuration methods, and application examples.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
NPIV Application of the MZ220

NPIV Application of the MZ220

The MZ220 supports the NPIV function, which allows multiple virtual ports to be created. The following uses Windows, Linux, and VMware ESXi as examples.

Windows or Linux

To create NPIV virtual ports for the MZ220 in Windows or Linux, use OneCommand Manager (OCM) provided by Emulex.


The following procedure uses Windows and an OCM version that supports the GUI. The procedure in Linux is similar.

  1. Install Lancer on the server and connect the server to storage.
  2. Install a Windows OS.
  3. Upload the driver and OCM installation package to the server.
  4. Install and configure OCM.

    1. Select OneCommand Vision Sensor.

    2. Select Full Management.

  1. After installing OCM, open it from the desktop or the C:\Program Files\Emulex\Util\OCManager directory.


    To open OCM in Linux, run the /usr/sbin/ocm/ocmanager command.

  1. Enable NPIV in OCM.


    Before using OCM to create an NPIV virtual port in Windows or Linux, NPIV must be enabled. The NPIV parameter name varies with the OS and is enableNPIV in this example.

    1. Choose View > Group Adapters by Host Name or click on the tool bar.
    2. In the left pane, select a host for which you want to enable NPIV.
    3. Click the Host Driver Parameters tab.

    4. In the Host Driver Parameters area, set EnableNPIV to enable.
    5. Click Apply.

  1. Close OCM and restart the OS so that the NPIV function takes effect.
  2. Open OCM again.
  3. In OCM, create an NPIV virtual port.

    1. Choose View > Group Adapters by Virtual Ports or click on the tool bar.
    2. In the left pane, select a port marked with FC or FCoE.

    3. In the New Virtual Ports area, select Auto-generate world wide port name or Use the following world-wide port name to generate an FC or FCoE WWPN.
      • If you select Auto-generate world wide port name, OCM will generate a unique WWPN automatically.
      • If you select Use the following world-wide port name, you need to manually enter a unique WWPN.

      A valid WWPN complies with one of the following formats:

      • 10:00:xx:xx:xx:xx:xx:xx
      • 2x:xx:xx:xx:xx:xx:xx:xx
      • 3x:xx:xx:xx:xx:xx:xx:xx
      • 5x:xx:xx:xx:xx:xx:xx:xx

      In the formats, x indicates a hexadecimal integer.

    4. (Optional) Enter the port name.
    5. Click Create Virtual Port.
      • If the virtual port is created successfully, a success message is displayed.
      • If a message is displayed indicating that the WWPN has been used, enter a different WWPN.
    6. Click OK. The created virtual port is added to the corresponding physical port in the left pane.

VMware ESXi

Ensure that you have installed ESXi 5.1 on the compute node and vSphere Client on the PC.

Ensure that you have created a VM, and added a LUN of the FC disk array to the VM on vSphere Client. For details, see MZ220 in VMware.

  1. On vSphere Client, select VM_1, power off the VM, click Virtual Machine Properties, and click the Options tab. On the Options tab page, select Fibre Channel NPIV, and select Generating WWN Assignment, as shown in Figure 5-11. Click OK. You need to set only one WWNN (WWN of a node) and one or two WWPNs (WWN of a port) for implementing path redundancy.

    Figure 5-11 Creating virtual ports on vSphere Client

  2. After the virtual ports are created, reopen the Virtual Machine Properties window. The virtual port WWNs are displayed, as shown Figure 5-12.

    Figure 5-12 Virtual port WWNs

  3. Power on VM_1. A virtual port registers with the FC switch and FC disk array, and then exits because no LUN has been mounted to the virtual port WWN.
  4. Find the virtual port WWPN on the FC disk array. If the FC disk array has connection records, you can find the virtual WWPN directly. If the FC disk array records only the currently connected initiator, you need to manually add the WWPN of the virtual port that has exited. On the FC disk array, assign a LUN to the virtual port. Ensure that the LUN is the same as the one mounted to the VM. Restart the VM after the configuration is complete. Then you can see that virtual port has been registered with the FC switch and FC disk array and that the mounted LUN is displayed in the VM OS, as shown in Figure 5-13.

    Figure 5-13 Viewing the mounted LUN in the VM OS

    In the FC switch, you can create zones by WWN to isolate VMs. Note that the NPIV virtual port, physical FC port on the MZ220, and connected FC disk array port must be in the same zone.

Updated: 2019-01-26

Document ID: EDOC1000069173

Views: 9963

Downloads: 667

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next