![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||||||||||||||||||||||||
Solution Type Technical Instruction Sure Solution 2180265.1 : Adding Fibre Channel Adapters to SuperCluster Root Domains
This article explains how to add Fibre Channel adapters to a Root Domain within SuperCluster. Adding FC HBAs to Root Domains allows them to be used in SuperCluster IO Domains, thus delivering Fibre Channel to this domain type. Once added to the system, they can be assigned to new IO domains using the IO Domain Creation Tool. In this Document
Applies to:Oracle SuperCluster M6-32 Hardware - Version All Versions and laterOracle SuperCluster M7 Hardware - Version All Versions and later Oracle SuperCluster T5-8 Hardware - Version All Versions and later Oracle SuperCluster T5-8 Half Rack - Version All Versions and later Oracle SuperCluster T5-8 Full Rack - Version All Versions and later Oracle Solaris on SPARC (64-bit) GoalThis document assists in the configuration of Fibre Channel functionality for IO domains in SuperCluster. SolutionPurposeThis document describes how to
ScopeThis document is intended for SuperCluster owners and administrators who have the privilege the create IO Domains. It will describe how to add FC adapters and create the virtual functions. It does not cover the physical installation of the FC adapters or the creation of IO domains or other SuperCluster administration tasks. DetailsPrerequisites
OverviewThese are the steps to add and configure new or additional Fibre Channel adapters in a root domain:
Detailed InstructionsIdentify the IO slot (T5-8) or CMIOU (M7) to host the FC adapter.Resources for identifying the right IO slot (T5-8) or CMIOU (M7):
Physically install the FC card in this location.The physical installation, including any component shutdown required is not covered in this document. Please use the guidance provided in the installation guide of the adapter. Restart the root domain to which the FC adapter has been added. Use the guidance from the Service Manual of your system to shut down the root domain and prepare for physical installation of the adapter. Verify that the FC adapter is recognized by Solaris in the root domainTo verify that the FC adapter is installed and recognized correctly, check the FC availability with the “ldm ls-io” command in the control domain of the physical host. For example, if you installed one FC adapter in slot "/SYS/CMIOU3/PCIE1” from the previous example, you can verify this with: root@sc01dbadm0101:~# ldm ls-io|grep "ssccn1-dom3"|grep PCIE1
/SYS/CMIOU3/PCIE1 PCIE pci_16 ssccn1-dom3 OCC /SYS/CMIOU3/PCIE1/IOVFC.PF0 PF pci_16 ssccn1-dom3 /SYS/CMIOU3/PCIE1/IOVFC.PF1 PF pci_16 ssccn1-dom3 The last two lines show that the FC adapter has two physical ports (also called physical functions or PF). This verifies that the physical installation was successful. Note the names for the two ports of the FC adapter: /SYS/CMIOU3/PCIE1/IOVFC.PF0 and /SYS/CMIOU3/PCIE1/IOVFC.PF1 If this should fail, please check back with the prerequisites section above. For some versions of adapter firmware which is below the supported minimum version, the adapter might show Physical Functions and allow the creation of Virtual Functions. However, if the firmware version is below the supported minimum version, these VFs will not function properly once deployed to an IO domain. It is therefore imperative that the firmware installed on the adapter supports SR-IOV as mentioned in DocID 1325454.1.
Create Virtual Functions (VF) for the FC adapterVirtual Functions are the virtual entities which the FC adapter will provide to the PCIe subsystem, allowing IO domains to share the physical ports. The number of VFs possible depends on the IO adapter. To check how many VFs are supported by the FC adapter installed, use the “ldm ls-io” command and check for “maxvfs”. For example, the above adapter provides two physical functions. This example shows how to query the first one: root@sc01dbadm0101:~# ldm ls-io -l /SYS/CMIOU3/PCIE1/IOVFC.PF0|grep maxvfs
maxvfs = 8 The output shows that this adapter (Emulex, Model: 7101684) supports 8 virtual functions per port. The Qlogic adapter (Model: 7023303) supports 16 VFs per port. The SuperCluster Virtual Assistant (SVA) supports up to 16 VFs per port. You will now need to create these virtual functions to make them available to the IO Domain subsystem. To do so, use the command “ldm create-vf -n <num_of_VFs_to_create> <FC_PF>” for each of the ports (or physical functions) you installed. For example: root@sc01dbadm0101:~# ldm create-vf -n 8 /SYS/CMIOU3/PCIE1/IOVFC.PF0
Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF0 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF1 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF2 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF3 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF4 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF5 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF6 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF7 root@sc01dbadm0101:~# ldm create-vf -n 8 /SYS/CMIOU3/PCIE1/IOVFC.PF1 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF1.VF0 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF1.VF1 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF1.VF2 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF1.VF3 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF1.VF4 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF1.VF5 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF1.VF6 Created new vf: /SYS/CMIOU3/PCIE1/IOVFC.PF1.VF7 Verify that VFs have been created as expectedTo verify that the VFs have been created, again use the “ldm ls-io” command. For example: # ldm ls-io -l /SYS/CMIOU3/PCIE1/IOVFC.PF0 NAME TYPE BUS DOMAIN STATUS ---- ---- --- ------ ------ /SYS/CMIOU3/PCIE1/IOVFC.PF0 PF pci_18 ssccn1-dom2 [pci@312/pci@1/SUNW,emlxs@0] maxvfs = 8 /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF0 VF pci_18 [pci@312/pci@1/SUNW,emlxs@0,2] Class properties [FIBRECHANNEL] port-wwn = 10:00:00:14:4f:fb:04:fa node-wwn = 20:00:00:14:4f:fb:04:fa bw-percent = 0 /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF1 VF pci_18 [pci@312/pci@1/SUNW,emlxs@0,3] Class properties [FIBRECHANNEL] port-wwn = 10:00:00:14:4f:fb:b8:9b node-wwn = 20:00:00:14:4f:fb:b8:9b bw-percent = 0 /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF2 VF pci_18 [pci@312/pci@1/SUNW,emlxs@0,4] Class properties [FIBRECHANNEL] port-wwn = 10:00:00:14:4f:f8:45:60 node-wwn = 20:00:00:14:4f:f8:45:60 bw-percent = 0 /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF3 VF pci_18 [pci@312/pci@1/SUNW,emlxs@0,5] Class properties [FIBRECHANNEL] port-wwn = 10:00:00:14:4f:f8:26:5a node-wwn = 20:00:00:14:4f:f8:26:5a bw-percent = 0 /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF4 VF pci_18 [pci@312/pci@1/SUNW,emlxs@0,6] Class properties [FIBRECHANNEL] port-wwn = 10:00:00:14:4f:fb:d9:ee node-wwn = 20:00:00:14:4f:fb:d9:ee bw-percent = 0 /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF5 VF pci_18 [pci@312/pci@1/SUNW,emlxs@0,7] Class properties [FIBRECHANNEL] port-wwn = 10:00:00:14:4f:fb:2c:e4 node-wwn = 20:00:00:14:4f:fb:2c:e4 bw-percent = 0 /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF6 VF pci_18 [pci@312/pci@1/SUNW,emlxs@0,8] Class properties [FIBRECHANNEL] port-wwn = 10:00:00:14:4f:f8:68:37 node-wwn = 20:00:00:14:4f:f8:68:37 bw-percent = 0 /SYS/CMIOU3/PCIE1/IOVFC.PF0.VF7 VF pci_18 [pci@312/pci@1/SUNW,emlxs@0,9] Class properties [FIBRECHANNEL] port-wwn = 10:00:00:14:4f:fb:86:12 node-wwn = 20:00:00:14:4f:fb:86:12 bw-percent = 0
The above output also shows you the port and node WWNs for each of the virtual functions that was created. You might need the configure these on the SAN switch if you are using any kind of SAN port security. Note that at this point, you can not determine which VF will be assigned to which new IO domain, so you might want to delay this configuration until after the IO domain has been created, but before you want to attach the first SAN devices. Once an IO domain has been created, you can check the available FC ports and their WWNs using the command “fcinfo hba-port” in the corresponding root domain.
Trigger and verify the inclusion of the newly created VFs in the IO resource pool of the SuperCluster Virtual AssistantAs a final step, we need to trigger the FC VFs to be recognized by the SuperCluster Virtual Assistant. This job is performed by the automated Health Monitor checks which run on the SuperCluster Virtual Assistant once every hour and every time a new IO Domain is created or destroyed. If you do not wish to wait for the hourly run of the Health Monitor, you can create a dummy IO Domain to trigger the Health Monitor execution, which in turn process the addition of the new FC resources. Note: Starting with version 2.3 of the SuperCluster Virtual Assistant, there is a button to manually trigger running a health check.
After the new FC HBA has been added and virtualized per the above steps, the next time the Health Monitor runs, the new FC resources will be detected by the Health Check called "Query the Resource Allocation Engine for Resource Changes". This Health Check will show up in the Health Monitor navigation tab with status "Automatically Resolved", as shown in the screenshot below: Clicking on the "View" link in the "Details" column will display information on the new FC VFs that have been added to the SuperCluster Virtual Assistant. You should check for and recognize the names of the VFs from the output of “ldm create-vf” from above: The FC resources are now available to use in new IO Domain deployments. The current software version does not support adding FC VFs to previously existing IO domains. Saving the New Hardware ConfigurationAfter successfully adding the VFs to the configuration, this new configuration needs to be saved in the system's service processor. Otherwise, it would be lost after the next power cycle of the system. This needs to be done from the same control domain where the configuration changes were applied. This is done in two steps:
The name should be something descriptive. To save the configuration, use the command "ldm add-spconfig <config name>". For example: root@sc01dbadm0101:~# ldm add-spconfig addedVFstosc01-rooadm0104
Saving this configuration will trigger a health check event in SVA, which can be manually acknowledged. This completes the adding of VFs to the root domain. Additional Reading
References<NOTE:1325454.1> - Oracle VM Server for SPARC PCIe Direct I/O and SR-IOV Features<NOTE:1950167.1> - Unable To Create SR-IOV Virtual Instance For Qlogic 16 Gb Fibre Channel PCIe Universal Host Bus Adapter Attachments This solution has no attachment |
||||||||||||||||||||||||||||||||||||||||||||
|