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

You must restart a vswitch after the following events:
The MAC address corresponding to the LAN number being used by the virtual switch is
changed on the VSP (either by swapping the network adapter associated with the vswitch or
associating the vswitch with a different network adapter).
The way the network adapter accepts and passes on packets to the next network layer is
changed. This can occur as a result of using the ifconfig or lanadmin command to set
the checksum offloading (CKO) to on or off.
If you use the hpvmmodify command to change the adapter type for a virtual NIC (vswitch
port).
8.2.1.7 Halting vswitches
You can use the hpvmnet -h command to halt a vswitch. For example,
# hpvmnet -S clan1 -h
hpvmnet: Halt the vswitch 'clan1'? [n]: y
APA can be configured on the VSP to provide a highly available LAN for the vswitch (APA in active
or passive mode) or to increase the bandwidth of the vswitch LAN (APA active or active mode).
Before you stop APA, halt the vswitches associated with it. If you do not bring down the vswitch
first, the hpvmnet command reports an incorrect MAC address for the vswitch.
8.2.1.8 Restarting vswitches
You must restart a vswitch when you do any one or more of the following:
Replace the physical network card associated with the vswitch.
Change a VSP IP address associated with the network interface card of the vswitch.
Change the network interface characteristics on the VSP. For example, by using the nwmgr
command to change CKO.
When you restart a vswitch, it is not necessary to restart the guests using the vswitch.
8.2.1.9 Guest AVIO interface behavior
The following list describes the guest AVIO interface behavior when guest boots while vswitch is
down or resetting:
If you boot a guest when the vswitch is not up, AVIO interfaces associated with the vswitch
might not be claimed in the guest. For example, this might occur if the guest is booted prior
to booting the vswitch or if the corresponding network interface on the VSP is not cabled. If
you encounter this problem, first, fix the vswitch state (that is, ensure that hpvmnet displays
its state as Up), and then run the ioscan command in the guest. These actions claim the AVIO
interfaces.
If the vswitch is in an unstable state while the guest is booting, guest AVIO interfaces might
fail initialization and move to the DOWN state (as displayed by the nwmgr command). When
this occurs, first, ensure that the vswitch enters a stable state, and then reset the guest interface
using the nwmgr command.
8.3 Managing vNICs
After you create the vswitch, you can allocate it to one or more VMs for use by guest operating
systems and applications. To create a vNIC for a VM, enter one of the following commands:
To create a new VM with one vswitch:
# hpvmcreate -P vm-name -a network:adapter-type:[hardware-address]:vswitch:vswitch-name
To create a new VM based on the configuration of an existing VM:
118 Creating virtual and direct I/O networks