HP (Hewlett-Packard) VM00540000 Personal Computer User Manual


 
host1# cmhaltpkg compass1
Halting package compass1.
3. Start the package on the other VM Host system (host2):
host2# cmrunpkg -n host2 compass1
4. Enable the package:
host2# cmmodpkg -e compass1
5. On the adoptive node, verify that the compass1 package has started:
host2# cmviewcl -v -p compass1
6. On the adoptive node, verify that the guest named compass1 is on:
host2# hpvmstatus -P compass1
10.3.7 Managing Distributed Guests
To start, stop, and monitor distributed guests, use the Serviceguard commands described in this section.
Do notuse theIntegrity VMcommands (hpvmstart,hpvmstop, andhpvmmigrate) tomanage distributed
guests.
10.3.7.1 Starting Distributed Guests
To start a distributed guest, enter the following command:
# cmrunpkg guest-name
10.3.7.2 Stopping Distributed Guests
To stop a distributed guest, enter the following command:
# cmhaltpkg guest-name
10.3.7.3 Monitoring Distributed Guests
To monitor the distributed guest, enter the following command:
# cmviewcl -v -p guest-name
10.3.7.4 Modifying Distributed Guests
You can modify the resources for the distributed guest using the hpvmmodify command. However, if
you modify the guest on one VM Host server, you must make the same changes on the other nodes in the
multiserver environment.
After you modify vswitches, logical volumes, or file backing stores used by distributed guests, make sure
that Serviceguard can continue to monitor the guests. Run the hpvmsg_package script and restart the
guest packages to update the Serviceguard information.
10.3.8 Monitoring Network Connections
The vswitch monitor runs the vswitchmon.sh script on the VM Hosts in the multiserver environment
and monitors the Serviceguard Network Manager by monitoring the syslog.log file. When it detects
that Serviceguard is failing over a primary network to a standby network, the vswitch monitor halts,
deletes, creates, and boots the vswitch associatedwith the primary network onto the the standby network.
When the primary network is restored, Serviceguard and the vswitch monitor move the network and
associated vswitch back to the primary network.
10.3 Serviceguard in VM Host Configuration 125