How to Configure FC HBA NPIV With Vsan / Vhba on Guest LDom (Doc ID 2108444.1)

Last updated on MARCH 15, 2017

Applies to:

SPARC T4-2 - Version All Versions and later
Solaris Operating System - Version 11.3 and later
Information in this document applies to any platform.

Goal

  

Note: Unless source and destination devices support direct-connect NPIV, a NPIV capable FC Switch is usually required between the FC HBA and the storage device.

 
 

The objective of this document is to show how we can use NPIV feature on a control domain, in combination with new feature vsan / vhba, available on Solaris 11.3 or greater.

vsan (primary or io domain) <<<——>>> vhba (guest)

About vhba and vsan , see this nice blog:
Virtual HBA in Oracle VM Server for SPARC
https://blogs.oracle.com/jsavit/entry/virtual_hba_in_oracle_vm

Implementing vHBA
It requires Oracle VM Server for SPARC 3.3, which is delivered with Oracle Solaris 11.3 in the control domain.
The guest domains using vHBA must run Solaris 11.3, as Solaris 10 does not have the SCSA interface described above.
There are no special hardware requirements other than having a physical HBA with LUNs.
It runs on any supported SPARC server - in this example on a SPARC T2.

Oracle® VM Server for SPARC 3.3 Release Notes
--> "Virtual SCSI HBA, which requires the Oracle Solaris 11.3 OS"

Solaris 11.3 provides Oracle VM Server for SPARC 3.3 , documentation is available here:
Oracle VM Server for SPARC 3.3 Documentation Library
--> see Chapter 11 "UsingVirtual SCSI Host Bus Adapters" of the "Oracle®VMServer for SPARC 3.3 Administration Guide"

About NPIV , see this document as a example:
How to enable NPIV - Oracle Emulex FC HBA : fcinfo shows NPIV Not Supported (Doc ID 1609077.1)

 

 

In this document : we will create and use a NPIV ports on a FC HBA to present different devices or LUNs on each WWN port:

1. Only a single tape device to a guest domain guest01, so the guest domain can do backup directly through the SAN, using vsan / vhba

For a guest domain, there are several ways to do this:
- assign the FC HBA via Direct IO to the guest domain

- create FC SR-IOV VFs and assign to the guest domain ,see:
How to Create and Assign FC SR-IOV Virtual Functions (VFs) on an Emulex FC HBA (Doc ID 1999091.1)

- assign virtual FC HBA as vsan (new in Solaris 11.3) to the guest domain, see also this doc:
LUNs Not Recognized on a Guest LDOM Using vHBAs. (Doc ID 2093753.1)

 

2. A group of LUNs / Disk devices using different vsan
 

Note. There is another approach to use NPIV with ldoms, see https://blogs.oracle.com/vmserver/entry/using_npiv_with_oracle_vm
but that was written on 2012, when vsan did not exist,
on step 3 we create a vdisk for each LUN mapped to the NPIV port.
"Once you have identified which LUNs are visible through the NPIV port, you can virtualize and assign them to a LDoms guest domain using regular LDoms commands (ldm add-vdsdev and ldm add-vdisk)."

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms