Each vNIC backing device has a configurable failover priority (attribute failover_priority). This can have values between 1 and 100, whereby a lower value means a higher priority. The default failover priority is 50. In the event of an error, the hypervisor selects the vNIC backing device with the highest failover priority (lowest value) as the new active vNIC backing device.
A vNIC backing device can be added to a vNIC adapter with the command “lpar addvnicbkdev” (add vNIC backing device):
$ lpar addvnicbkdev aix22 6 ms03-vio2 C6-T1
$
The vNIC adapter in slot 6 of aix22 now has 2 vNIC backing devices. This protects the vNIC adapter against the failure of a vNIC backing device. If the active vNIC backing device fails, a vNIC failover is carried out to the second vNIC backing device.
$ lpar lsvnic -a aix22
FAILOVER PHYS LOGICAL CURRENT MAX
LPAR_NAME SLOT FAILOVER PRIORITY ACTV STATUS VIOS_NAME ADAPTER PORT PORT CAPACITY CAPACITY
aix22 6 Yes 50 1 Operational ms03-vio1 1 0 27004005 2.0 100.0
aix22 6 Yes 50 0 Operational ms03-vio2 2 0 27008004 2.0 100.0
$
The output shows that the vNIC backing device for the logical SR-IOV port 27004005 is currently the active device (value 1 in the ACTV column). Both vNIC backing devices have the status Operational and both have the same value for the failover priority.
Note: Two vNIC backing devices of the same vNIC adapter cannot use logical ports that belong to the same physical port! If the physical link of such a physical port were to go down (link down), both vNIC backing devices would fail at the same time.
You must be logged in to post a comment.