HP-UX vPars and Integrity VM V6.3 Administrator Guide

VM guest and the VSP, and found to have no system critical impact, does the olrad command
proceed with the next steps.
For more information about how a resource analysis is performed on mass storage components
of a system, see the white paper Critical Resource Analysis. All the scenarios described in the
white paper are applicable to NPIV devices seen within a vPar or VM guest.
If none of the active vPars, VM guest, or the VSP have a system critical impact due to the removal
of the storage I/O card, then, the olrad command prepares the card for replacement. After this
is done, the vPars or VM guests having NPIV vHBAs backed by the FC ports on the card being
replaced still shows the vHBAs as CLAIMED, but all impacted targets paths and LUN paths goes
into the NO_HW state. The target and LUN paths get back to the CLAIMED state after the OLRAD
operation completes and the new card is put into the I/O slot and powered ON.
11.4.3 DIO devices
Starting with vPars and Integrity VM V6.3, NIC residing in an OL* capable slot and configured
to the DIO pool can be replaced without having to bring down active vPars or VM guests to which
the functions (ports) of the NIC are assigned. CRA step is performed as a part of the card
replacement operations to ensure that the operation is allowed to proceed only if CRA determines
that the associated ports of the NIC are not critical for the operation of the vPar or VM. In addition,
you must not have impacted devices on the VSP being critical to the operation of the VSP.
To determine whether a particular port of an NIC configured to the DIO pool is critical for the
operation of a vPar or VM, LAN CRA module in the vPar or VM is consulted which performs usage
analysis and reports any potential impacts from LAN subsystem. Some of the usage scenarios
determined by LAN CRA includes NIC port configured with VLAN and IP address, and connected
to network, APA (Auto-port Aggregation) group with the link aggregate containing LAN ports from
different NIC ports, and so on. For more information about how a resource analysis is performed
on LAN components of a system, see the white paper Critical Resource Analysis. The usage analysis
result from each of the vPar or VM is consolidated and a cumulative criticality is passed back to
the olrad(1M) command.
After the CRA phase ends, OLRAD performs the step of Pre Replace operation (olrad r) which
involves suspending the NIC ports. In the case of NIC configured to the DIO pool and assigned
to an active vPar or VM guest, Suspend operation is performed on the NIC port in the vPar or VM
and subsequently the Suspend operation is performed on the DIO pool resources on the VSP host
claimed by the hpvmdio driver. At the end of Pre Replace operation, the ioscan(1M) command
shows the state of the NIC ports in the vPar or VM as SUSPENDED state. The state of the DIO pool
resources on the VSP host will also be shown as SUSPENDED in the ioscan(1M) command
output.
Upon successful completion of Pre Replace operation, slot will be physically powered off state and
at this point you can safely replace the existing card in the slot with another identical NIC (Like to
Like replacement). Subsequently, you can enter the Post Replace option of the olrad(1m)
command (olrad R) which results in all the DIO pool resources in the VSP host coming back to
the CLAIMED state. Each of the NIC port in the vPar or VM guest is also brought back to CLAIMED
state. After this step, you can continue using the NIC ports.
11.4.4 AVIO Networking devices
Starting with vPars and Integrity VM V6.3, a physical NIC plugged onto an OLR capable PCI slot
connected to a vswitch, now does additional guest CRA when OLRAD CRA related commands are
issued during suspend and replace of the card.
Prior to vPars and Integrity VM V6.3, when an NIC in an OLR capable PCI slot on VSP is replaced
(olrad r), it caused the change in vswitch state and state gets transitioned from UP to LinkDown
state. The state change event is transmitted to guest using the vswitch and the vNICs state moved
to halt. The olrad(1m) command suspends the card without considering the state change
implication on the guests using the impacted vNICs.
11.4 Performing PCI OLR on a VSP 165