The vhba command creates a vHBA and attaches it to an existing server profile. The command can also customize a vHBA, remove a vHBA, and display additional information about the vHBA. For instructions on creating a server profile, see server-profile.
add vhba vhba.server-profile slot/port none [–local-id=ID] [–mtu=mtu-size] [–wwn-id=wwn-suffix] remove vhba {vhba.server-profile|wildcard} [–noconfirm] set vhba {vhba.server-profile|wildcard} clear stats [–descr=text] [–fabric-link-down-timeout={value|default}] [–if={slot/port|none}] set vhba {vhba.server-profile|wildcard} down [–descr=text] [–fabric-link-down-timeout= {number|default}] [–if={slot/port|none}] set vhba {vhba.server-profile|wildcard} full-scan [–descr=text] [–fabric-link-down-timeout={value|default}] [–if={slot/port|none}] set vhba {vhba.server-profile|wildcard} prescan [–descr=text] [–fabric-link-down-timeout={value|default}] [–if={slot/port|none}] set vhba {vhba.server-profile|wildcard} remove-prescan [–descr=text] [–fabric-link-down-timeout={value|default}] [–if={slot/port|none}] set vhba {vhba.server-profile|wildcard} rescan [–descr=text] [–fabric-link-down-timeout={value|default}] [–if={slot/port|none}] set vhba {vhba.server-profile|wildcard} up [–descr=text] [–fabric-link-down-timeout={value|default}] [–if={slot/port|none}] show vhba {vhba.server-profile|wildcard} alarms [–detail] show vhba {vhba.server-profile|wildcard} errors [–detail] show vhba {vhba.server-profile|wildcard} stats [–detail] show vhba {vhba.server-profile|wildcard} target [–detail] show vhba {vhba.server-profile|wildcard} targets [–detail] show vhba {vhba.server-profile|wildcard} throughput [–detail] show vhba {vhba.server-profile|wildcard} warnings [–detail] show vhba {vhba.server-profile|wildcard} where [cmds-per-lun|descr|fabric-state| flags|if|if-state|local-id|luns-per-target|mtu|name|state|wwnn|wwpn] expression operator [–detail]
where:
expression is evaluated to produce a value.
operator matches strings following a specific pattern. For a list of operators, see Filters.
server-profile is the name of a server profile that you already created.
slot /port are the physical slot and port numbers.
vhba is the name of the vHBA. It must be unique in the Oracle server profile to which it is assigned.
wildcard allows you to specify selected wildcard characters (for example, *) to facilitate executing a command.
This hardware command has subcommands that determine its functionality. This table describes the subcommands and provides their syntax.
|
An IB connection exists between the fabric interconnect and host servers supporting the Oracle Virtual Networking vHBA host software stack. Up to 24 IB ports are supported. A 2-port FC I/O card connects to an FC switch fabric. All the host server vHBAs multiplex through the FC ports on the I/O card. A storage array is attached to the switch fabric. Initiators are host servers that request I/O processing and actively seek out and interact with target devices. Targets are passive storage devices (arrays, JBODs, RAIDs, and so on) that respond to requests sent by initiators. The Oracle Fabric Interconnect itself is an I/O initiator that provides a conduit for host-server initiators to send commands to the fabric.
The vHBA host software defines how the FC protocol will be transported (in or out) over IB. Without this software and the details of the transport, the vHBA will not function and the payload cannot be sent over IB.
|
When you bring a vHBA online, it attempts to discover all the attached targets that are available to it. You can also have the vHBA relearn attached targets without bringing the vHBA down, and then up. See Target Prescan and Rescan in Oracle Fabric OS 1.0.2 Administration Guide.
This example shows how to create a server profile named crawford and bind it to a physical server connection. The example also shows how to find an FC card and an FC slot and port, and create and bind a vHBA to the server profile. The last command verifies that the vHBA was created.
[OFOS] add server-profile crawford ceasar@iowa:ServerPort24 [OFOS] show iocard slot state descr type v-resources --------------------------------------------------------------- 3 up/up sanFc2Port16GbCard 0 4 up/up sanFc2Port16GbCard 2 embedded up/up spineIb4Gw2PortCard 0 3 records displayed [OFOS] show ioport name type state descr v-resources --------------------------------------------------------------- 1/1 sanFc1GbPort up/up 0 1/2 sanFc1GbPort up/up 0 2/1 sanFc1GbPort up/up 0 2/2 sanFc1GbPort up/up 0 3/1 sanFc1GbPort up/up 0 3/2 sanFc1GbPort up/up 0 4/1 sanFc1GbPort up/up 1 4/2 sanFc1GbPort up/up 1 8 records displayed [OFOS] add vhba vhba1.crawford 2/1 [OFOS] show -list vhba vhba1.crawford -------------------------------------- name vhba1.crawford state up/up fabric-state up/up if 2/1 if-state wwnn 50:01:39:71:00:02:D1:1E wwpn 50:01:39:70:00:02:D1:1E local-id 0 -------------------------------------- 1 record displayed
This example shows how to discover and display targets attached to a vHBA. The last command shows how to bind the targets to the host server profile.
[OFOS] set vhba vhba1.crawford prescan [OFOS] show vhba vhba1.crawford targets vhba wwnn wwpn lun-ids -------------------------------------------------------------------------- vhba1.crawford 2F:9F:00:06:2B:10:C3:BA 2F:9F:00:06:2B:10:C3:BA 3,2,1,0 vhba2.crawford 2F:BF:00:06:2B:10:C3:BA 2F:BF:00:06:2B:10:C3:BA 3,2,1,0 vhba3.crawford 2F:DF:00:06:2B:10:C3:BA 2F:DF:00:06:2B:10:C3:BA 3,2,1,0 vhba4.crawford 2F:FF:00:06:2B:10:C3:BA 2F:FF:00:06:2B:10:C3:BA 3,2,1,0 -------------------------------------------------------------------------- 4 records displayed [OFOS] set server-profile crawford connect ceasar@iowa:ServerPort24
[OFOS] show vhba vhba1.crawford stats -------------------------------------------------- name vhba1.crawford total-io 27136 read-byte-count 3380540138 write-byte-count 0 outstanding-request-count 0 io-request-count 27136 read-request-count 27042 write-request-count 0 task-management-request-count 94 target-count 36 xsmp-xt-down-count 3 xsmp-xt-oper-state-request-count 4 map-fmr-count 27042 ummap-fmr-count 27042 used-map-fmr-count 0 abort-command-count 0 reset-target-command-count 0 reset-bus-command-count 0 link-down-count 1 disc-info-update-count 3 target-lost-count 0 target-found-count 0 cqp-disconnect-count 4 dqp-disconnect-count 4 cqp-ib-snd-err-count 1 dqp-ib-snd-err-count 0 cqp-ib-rcv-err-count 0 dqp-ib-rcv-err-count 0 cqp-ib-remote-disconnect-err-count 0 dqp-ib-remote-disconnect-err-count 0 --------------------------------------------------- 1 record displayed