HP Integrity Virtual Machines Manager 4.3 User Guide Abstract This document helps you understand and use Integrity Virtual Machines Manager. The audience for this document includes system administrators and others responsible for maintaining an Integrity VM host and its virtual machines. You should be familiar with the Integrity VM product and HP-UX system administration using either HP SMH or HP Systems Insight Manager.
© Copyright 2004, 2011 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice.
Contents 1 Introduction...............................................................................................7 HP Integrity Virtual Machines.....................................................................................................7 HP Integrity Virtual Machines Manager.......................................................................................7 VM Manager tasks.................................................................................................................
Modifying remote console.........................................................................................55 Delete remote console...............................................................................................56 Virtual Machines (VM) Properties view.......................................................................................56 VM Properties General tab..................................................................................................57 Quick reference.........
Viewing utilization data.........................................................................................................106 Creating a historical utilization data report...............................................................................110 8 Viewing logs and version information........................................................111 Viewing Integrity VM Host and VM logs..................................................................................
1 Introduction This document helps you understand and use Integrity Virtual Machines Manager. The audience for this document includes system administrators and others responsible for maintaining an Integrity VM host and its virtual machines. You should be familiar with the HP Integrity Virtual Machines (Integrity VM) product and HP-UX system administration using either HP SMH or HP Systems Insight Manager.
configure, and evaluate virtual machines, and to monitor and evaluate data and resources at the level of the VM Host. You can view all of a VM Host's virtual machines and their assigned resources, and you can view all resources assigned to a specific virtual machine or virtual switch. For example, VM Manager provides graphical views of virtual-to-physical network and storage devices so that you can view I/O data, including resource utilization information.
Figure 1 VM Manager with HP SMH • HP Matrix Operating Environment for HP-UX VM Manager is installed as part of Matrix Operating Environment for HP-UX that runs under HP Systems Insight Manager on a server reserved for use as a central management server (CMS). The CMS can run on HP-UX or Windows platforms. HP Systems Insight Manager serves as the central point of administration for complete resource-lifecycle management for multi-OS environments.
Figure 2 VM Manager with HP Systems Insight Manager and the HP Matrix Operating Environment for HP-UX In this environment, you can use VM Manager in seamless integration with other Matrix Operating Environment for HP-UX components. These interlinking components enhance the functionality and flexibility of your virtual server environment. For example: 10 ◦ HP Matrix OE visualization provides a framework for visualizing your Virtual Server Environment.
utilization of server resources. From VM Manager, you can cause Capacity Advisor to collect and display historical data for a VM Host or selected virtual machines. Certain VM Manager views include utilization meters (bar graphs) that display current utilization data for a resource; you can click the meter to view a screen that provides more detailed historical data. (These meters are visible when using VM Manager with HP SMH, but you cannot click them to obtain a Capacity Advisor report.
2 Installing VM Manager This chapter discusses how to install VM Manager on your system or on the systems you will manage, including setup and software requirements, licensing requirements, and how to set WBEM security credentials. System and software requirements System requirements for the VM Host and virtual machines are described in the HP Integrity Virtual Machines Installation, Configuration, and Administration manual.
• The VM Provider provides VM Host and guest configuration data. This information is delivered using WBEM. To use Integrity Virtual Machines Manager to view configuration data, install the VM Provider (VMProvider bundle) that is provided with Integrity VM. Install the VM Provider on the VM Host and on each virtual machine when you install the HP Integrity Virtual Machines product. If you upgrade Integrity VM, be sure to keep the VM Provider up to date, too.
To determine the version of VM Manager currently installed, enter the following command: #/usr/sbin/swlist VMMGR NOTE: Beginning with the HP-UX 11i v3 March 2009 Operating Environment Update Release (OEUR), you can optionally install VM Manager on HP SMH as part of the Matrix OE or DC-OE.
The method for setting WBEM credentials depends on whether you are using HP Systems Insight Manager or HP SMH. Setting WBEM credentials in HP Systems Insight Manager Any virtual machines that are not managed nodes do not have any credentials available, and VM Manager cannot contact them. These machines are displayed, but some of the information that can be gathered from the managed nodes is not displayed for non-managed nodes.
Figure 3 HP SMH: Set WBEM Credentials page On this page, you can set one user name and password combination for all virtual machines, or you can set them individually for one or more virtual machines. If you set the credentials for some but not all of the individual systems, VM Manager does not collect utilization data and operating system information for the excluded systems. You can also save the user name and password entries in obscured format in the file system.
If you require the additional security provided by certificate validation, you can turn on SSL certificate validation by checking the Require trusted certificates check box. If this box is checked, you must store the valid certificates for the virtual machines in a keystore on the VM Host to indicate that connections to those virtual machines are trusted; otherwise, some information is not displayed by VM Manager. For example, if a certificate is missing, utilization meters are labeled No Data.
virtual machine with valid credentials, VM Manager displays I/O utilization data for each virtual storage device and for VM aggregated storage interfaces. • Virtual LAN (VLAN) interface name and status on the Network tab: This status is displayed for a virtual machine with valid credentials, but invalid credentials will return an unknown LAN status and utilization. It might display whatever information is available, for example, the bus, dev, or the fcn number for the VLAN interface.
3. To import the certificate file, enter the following command on the VM Host: $ JAVA_HOME/bin/keytool -import -alias server_hostname \ -file cert.pem \ -keystore /etc/opt/hp/sslshare/parmgr.keystore Discovering data when setting new WBEM credentials When you set new WBEM credentials from the VM Manager Modify menu and click OK, the page to which you return is updated using the new credentials.
3 Accessing and Navigating VM Manager You access VM Manager through a web browser. This chapter explains how to access VM Manager from the Systems Insight Manager/Matrix Operating Environment for HP-UX Matrix OE visualization Visualization tab and from HP SMH. This chapter also explains how to access VM Manager help. Information about possible access failures and the messages that might be seen is included in Appendix A (page 115).
Figure 5 HP Matrix OE visualization Visualization tab 2. The first time you start HP Matrix OE visualization, the Visualization tab appears with the default Physical and Virtual perspective, which shows all physical and virtual nodes in graphical compartments. When you start HP Matrix OE visualization any time after, the software checks whether you had previously set a default view by modifying user preferences (modify user preferences by selecting Configure→User Preferences...
3. On the HP Matrix OE visualization Visualization tab, select the VM Host or virtual machine that you want to manage. For example, in the Integrity VM representation shown in Figure 7 (a closeup from the screen shown in Figure 6 (page 22)), you can select VM Host system chili3 by clicking the monitor icon beneath the VM Host name. (If you hover your cursor over the icon, a pop-up pane displays explanatory text.) Selecting a VM Host monitor icon displays the VM Manager VM Host General tab.
NOTE: When you access VM Manager for the first time from HP SMH, you might encounter an End User License Agreement (EULA). You must accept this agreement to continue using the VM Manager product. Figure 8 HP SMH: accessing VM Manager If you have already saved WBEM credentials for each virtual machine, selecting Integrity Virtual Machines Manager displays the VM Host Virtual Machines tab.
If you have not set and saved WBEM credentials for each virtual machine, the Set WBEM Credentials page is displayed first (instead of the VM Host Virtual Machines tab). An example of the Set WBEM Credentials page is shown in Figure 3. Enter the appropriate information and click OK, or click Cancel to skip this step and advance to the VM Manager VM Host Virtual Machines tab. For more information about setting WBEM credentials, see “Setting security credentials” (page 15).
information about returning to HP Matrix OE visualization from VM Manager (or, if you are using HP SMH, about returning to the HP SMH Homepage), see “Returning to HP Matrix OE visualization or the HP SMH Homepage” (page 26). 2 3 4 Click a tab to change to another view. All VM Manager tabs are described in Chapter 4 (page 29). Click a menu in the menu bar beneath the tab title. This displays additional information about the actions you can perform.
return to the view that includes the top menu bar by clicking Restore Size in the top right corner of the maximized VM Manager view. • Continue using the Go back link until you return to the VM Manager view that you accessed originally from the HP Matrix OE visualization, at which point you can click the Go back to HP Matrix OE visualization link. Using VM Manager from HP SMH, you can return to the HP SMH Homepage by clicking Home from the HP SMH menu bar.
4 Using VM Manager views and tabs VM Manager provides three basic views, each with several tabs, as described in the following sections. You can print any of the VM Host or virtual machine tabs by clicking View Printer-friendly beneath the VM Manager menu bar, on the left side of the page. This redisplays the tab in a format suitable for printing. To print the tab, click Print. To switch back, click View Normal.
Figure 10 VM Host view 1 2 3 4 5 6 The “VM Host General tab” (page 30) displays information about the VM Host system. The “VM Host Virtual Machines tab” (page 33) displays information about the virtual machines in the VM Host system. The “VM Host Virtual Switches tab” (page 36) shows information about the virtual switches on the VM Host.
Quick reference Figure 11 VM Host General tab 1 2 3 4 5 Goes back to the previous view, in this case HP Matrix OE visualization. If you accessed the VM Host view from another VM Manager view (such as the VM Properties view), the link returns you to that previous view. In HP SMH, when you first access this page from HP SMH, the link is not provided.
◦ Online Migration: Indicates whether the VM Host is enabled and licensed to support online migration of virtual machines.
network devices might be very busy, while others might be idle. For information about specific devices, see the VM Host Network tab. Physical disk I/O An aggregate of the storage I/O that is occurring on the host as a result of both host and guest access to storage devices. Because this is an aggregate, one or more storage devices might be very busy, while others might be idle. For more information about each device, see the VM Host Storage tab.
If the data cannot be displayed, the meter is dimmed and a label indicates the probable cause. For a description of meter labels, see “Utilization meter status/error information” (page 117) Using VM Manager with Matrix Operating Environment for HP-UX, you can click a meter to view a snapshot of Capacity Advisor historical data. Figure 13 shows an example of the full-width view of the virtual machine information table displayed by the VM Host Virtual Machines tab.
: Migrating to this VM Host from another VM Host. Flyover text indicates the virtual machine is migrating from another VM Host. If the virtual machine is waiting in queue to migrate (when several virtual machines are selected to migrate, only one migrates at a time; the rest wait in queue), an hourglass icon ( so. To view changes in migration status, click Refresh Data.
VM Host Virtual Switches tab The VM Host Virtual Switches tab shows information about the virtual switches on the VM Host system. Quick reference Figure 14 VM Host Virtual Switches tab 1 2 3 4 5 6 Goes back to the previous view, in this case the HP Matrix OE visualization. If you accessed the VM Host view from another VM Manager view (such as the VM Properties view), the link returns you to that previous view. In HP SMH, when you first access this page from HP SMH, the link is not provided.
VM guest. Currently, for AVIO support, HP Integrity VM requires that a backing device exist. For more information about AVIO requirements, see the HP Integrity VM documentation. • Used by: shows the virtual machines that are using the virtual switch. Position your cursor over the information icon to view a list of the virtual machines that are connected to the virtual switch.
6 The utilization meter (bar graph) displays network I/O throughput data, if available. The data is a 5-minute average that is calculated and updated on 5-minute boundaries. If the data cannot be displayed, the meter is dimmed (as in the meter in the next box below) and a label indicates the probable cause. For a description of meter labels, see “Utilization meter status/error information” (page 117).
Figure 16 Network tab column layout The VM Host Network tab consists of three columns with the following titles. The contents of each column are described in the subsections that follow. Virtual Network Interfaces column contents This column displays the virtual network interfaces in the virtual machines. The virtual network interfaces are grouped by virtual machine. Each major box grouping in the column represents a virtual machine.
• The bar graphs indicate network throughput, if available. • If the virtual machine is running and can be contacted by using WBEM, the network interfaces are shown (for example, vs1); otherwise, a portion of the hardware path (bus, device, and function) is shown.
Figure 19 Virtual LAN If a virtual switch has VLANs configured on it, each VLAN appears as a separate box within the virtual switch box. The virtual NICs from the virtual machines are connected to the appropriate VLAN box by a color-coded line. The switch port used by the virtual NIC is listed in its box. The VLAN boxes list the switch ports that are using that VLAN ID. For ports on the switch that are not associated with a VLAN, the virtual switch contains a box labeled No VLAN.
The label next to the hardware path shows the description for the physical interface device. The bar graph indicates network throughput, if available. If the physical interface can support AVIO, the label Supports AVIO appears next to the Focus link. The Focus link limits the display to the selected physical interface and anything connected to it.
Dotted lines The vertical dotted line indicates the boundary between the virtual and physical devices. Bar graphs The bar graphs are utilization meters that indicate the current IO throughput of a device or interface device. When using VM Manager with Matrix Operating Environment for HP-UX, some bar graphs are selectable and bring up a view of the historical data related to the graph. Status icons These indicate whether an item is operational. Position the cursor over the icon to view a textual description.
the associations between virtual machines and devices, especially when many multipath storage devices exist on the VM Host. By default (the check box being unselected), the view is simpler, showing only the specific storage devices that are being used as backing devices. For a multipath device, the simple view shows only the device special file (DSF) path, as specified when the virtual storage device was created.
Table 3 Network device icons Icon Description Disk DVD Tape Burner Changer File Directory (folder) Storage adapter A question mark within the device icon, such as , indicates that the type of device cannot be determined. The device type cannot be determined, for example, when the device has been removed from the VM Host but not from the virtual machine. Virtual device type: • The virtual device type and subset of the hardware path are shown with each virtual device.
NOTE: If you use VM Manager to manage a VM Host running Integrity VM Version 3.5 or earlier, VM Manager does not fully support virtual device special files located in /hpap (introduced in HP StorageWorks Secure Path software Version 3.0F SP2) as backing devices for virtual storage.
Figure 24 Virtual Storage column Referring to Figure 24, note the following: • The icon next to the name of the virtual machine shows operational status of the virtual machine. A question mark (?) means no information is available. • Clicking the name of the virtual machine (for example, vse02v4) displays general information about the virtual machine.
Referring to Figure 25, note the following: • The Focus link limits the display to only that specific storage device and the objects connected to it. All other devices are not displayed. If you use this link to focus on a specific storage device, you can return to displaying all the storage devices by using the Show All link visible on the focus page.
Figure 27 Physical storage detail from HP Integrity VM Version 4.0 or later VM Host The following items describe physical storage details in Figure 27: • The box on the top is the storage device representation with the persistent device special file (agile addressing). The first line describes the storage device (HP 300 GST3300007LC). The next line below that (/dev/rdsk/disk3) displays the persistent device special file (DSF) path for the storage device.
Colors The connections are color coded to help identify interconnected elements. NOTE: The actual colors shown do not imply any specific meaning. The colors are provided to help you understand the connections from virtual to physical devices.
Bar graphs The bar graphs are utilization meters that indicate the current I/O throughput of a device or interface card. When running the Integrity VM Manager with Matrix Operating Environment for HP-UX, some bar graphs are selectable and display a view of the historical data related to the graph. Status icons These indicate whether an item is operational. You can hover the cursor over the icon to view a textual description. For more information about status icons, see “Status indicators” (page 116).
6 The Modify button in the Remote console column allows you to modify the configuration details of the remote console for a guest virtual machine. For more information, see “Modifying remote console” (page 55) 7 The Delete button in the Remote console column allows you to delete the remote console for a guest virtual machine.
• CL: Console Log • SL: Show Event Log • VM: Virtual Machine Menu • HE: Main Help Menu • X: Exit Connection Remote console The remote console is a terminal to manage a guest virtual machine. This feature allows you to access the guest directly. You do not have to run the hpvmconsole command to search for the host machine and guest name. An IP address is assigned to each guest virtual machine.
1. Click Start against the virtual machine for which you want to open a remote console terminal. A terminal opens in a new screen as shown in the below figure. Figure 30 Start remote console 2. Run the commands in the Main Menu to perform functions on the guest virtual machine. Creating remote console The Create option in the Console tab allows you to create a remote console by setting an IP address and a Netmask for the virtual machine.
1. Click Create against the virtual machine for which you want to create a remote console. The Create remote console screen is displayed. Figure 31 Create remote console 2. 3. Provide the IP address and Net mask in the respective fields in the Create Settings panel. Click OK to create the remote console. Modifying remote console The Modify option in the Console tab allows you to modify the IP address and the Netmask of the remote console of a virtual machine guest.
Delete remote console The Delete option in the Console tab allows you to delete the current IP address and Netmask of the remote console for the selected virtual machine guest. To delete the remote console settings of a virtual machine guest: 1. Click Delete against the virtual machine for which you want to delete the remote console details. The Delete remote console screen is displayed. Figure 33 2. Click OK to delete the settings for the remote console.
2 3 The “VM Properties Network tab” (page 63) displays information about the network devices for the virtual machine. The “VM Properties Storage tab” (page 65) displays information about the storage devices for the virtual machine. VM Properties General tab The VM Properties General tab shows the state and configuration details of a specific virtual machine.
Quick reference Figure 35 VM Properties General tab 1 58 Goes back to the previous view, in this case the VM Manager VM Host view. When you access the VM Properties view from another VM Manager view (such as the VM Host view), the link returns you to that previous view. If you had accessed the VM view directly from HP Matrix OE visualization, the link returns you to HP Matrix OE visualization. In HP SMH, when you first access this page from HP SMH, the link is not provided.
2 3 view, in which case the Go back to Integrity Virtual Machines Manager: Manage Host link is visible on the VM Properties view). Displays this window in a format suitable for printing. Lists virtual machine identification, status, and general configuration details. To update status information, click Refresh Data. If supported by the version of Integrity VM running on the VM Host, the Graceful Stop Timeout is displayed, as in this screen example.
• Virtual Hardware Status: This indicates the status of the virtual hardware of a virtual machine. For a description of the status, position the cursor over the icon. If the virtual machine has migrated to another VM Host, the hardware status of the virtual machine is indicated as Not Runnable ( Not Runnable). The VM Configuration Information section includes two additional lines of information explaining the cause of the Not Runnable status, as described below.
(hpvmmigrate); Admin indicates the VM was marked Not Runnable by the hpvmmodify command. • Not Runnable Reason: Displayed when the virtual machine has migrated to another VM Host, indicates the reason the virtual machine hardware status is Not Runnable. For example, the guest has migrated to another VM Host. Online Migration Phases The VM Properties General tab displays the Online Migration Phases section when online migration is in progress. An example is shown in Figure 36.
Figure 37 Migration alerts • Error: Displays errors pertaining to migration of virtual machines. You can clear the alerts information by clicking the trash button ( clears the Migration Alerts icon ( Machines tab. ) on the right. This also ) next to the virtual machine name on the VM Host Virtual For more information about migration and how to start the migration of a virtual machine, see “Migrating virtual machines” (page 92).
◦ Memory Required to Start VM: The amount of memory needed for the virtual machine to boot. ◦ Initial Target for Memory Size After Boot: The value to which Integrity VM tries to change the virtual machine memory immediately after it boots. ◦ Minimum Memory Size: The lowest value to which the virtual machine can attempt to dynamically decrease its memory while the OS is running.
Quick reference Figure 38 VM Properties Network tab 1 2 3 4 5 6 Goes back to the previous view, in this case the VM Manager VM Host view. When you access the VM Properties view from another VM Manager view (such as the VM Host view), the link returns you to that previous view. If you had accessed the VM Properties view directly from HP Matrix OE visualization, the link returns you to HP Matrix OE visualization. In HP SMH, when you first access this page from HP SMH, the link is not provided.
Screen details For more information about using and interpreting the items displayed in the Network tab, see “Screen details” (page 38). VM Properties Storage tab The VM Properties Storage tab shows state and configuration information for a specific virtual machine. Quick reference Figure 39 VM Properties Storage tab 1 2 Goes back to the previous view, in this case the VM Host view.
5 configuration parameters. However, when changes to the virtual machine I/O configuration are made using tools other than VM Manager (such as adding or removing I/O devices by using the VM Host command line), the updated configuration data is not shown until the screen is refreshed. The meter (bar graph) displays storage I/O throughput data, if available. The data is a 5-minute average that is calculated and updated on 5-minute boundaries.
1 2 3 The “Vswitch Properties General tab” (page 67) displays information about the general state of the virtual switch. Displays this window in a format suitable for printing. The “Vswitch Properties Network tab” (page 68) displays network details about the virtual switch. Vswitch Properties General tab The Vswitch Properties General tab shows the status, configuration properties, and port assignments of a virtual switch.
Table 5 Data displayed by the Vswitch Properties General tab (continued) Data Description Configured, but not actively used by The set of inactive virtual machines with at least one virtual network interface card in the virtual machine configured to use the vswitch as a backing device Vswitch Port Assignments If the VM Host is running HP Integrity Virtual Machines Version 2.0 or greater, a table of the VLAN (virtual LAN) port assignments, if any.
6 7 8 Clicking the Focus link limits the display to only those network devices associated with the selected object (in this instance, the devices associated with the indicated LAN) and the objects directly connected to it. All other devices are not displayed. To return to the original view, click the Show All link visible beneath the VM Manager menu bar on the focused page. Color coding indicates that matching components are related.
5 Using VM Manager menus VM Manager views provide a menu bar beneath the tabs row, as shown in Figure 43. The menus enable you to perform a variety of actions. Not all actions (menu options) are available from every screen view. Actions are enabled or disabled based on the state of the system, the view you are in, and the objects in that view that are currently selected. Actions that are disabled are dimmed and unselectable.
Figure 44 VM Manager Tools menu Table 6 describes the Tools menu options and where to obtain more information in this manual. More detailed information is provided by the VM Manager help. Table 6 VM Manager Tools menu options 72 Menu Selection Action Summary Tools→Start Virtual Machine... Starts the virtual hardware for a virtual “Starting virtual machines” (page 86) machine, taking it from an Off state (powered off) to an On state (powered on). Tools→Stop Virtual Machine...
Table 6 VM Manager Tools menu options (continued) Menu Selection Action Summary More Information Tools→Collect Capacity Advisor Data... Causes Capacity Advisor to collect “Collecting and viewing utilization utilization data from specified targets. data” (page 105) This menu item is displayed only when HP Capacity Advisor 7.0 User Guide you use VM Manager with HP Matrix Operating Environment; it is not displayed when using VM Manager through HP SMH. Tools→Capacity Advisor Data Historical Report...
Table 7 VM Manager Create menu options Menu Selection Action Summary More Information Create→Virtual Machine... Starts the Create Virtual Machine “Creating virtual machines” (page 79) wizard, which guides you through the procedure of creating a virtual machine. Each step presents a dialog that asks you to specify required information. Create→Virtual Switch... Creates a new virtual network switch “Creating virtual switches” (page 100) (vswitch) on the host.
Table 8 VM Manager Modify menu options Menu Selection Action Summary Modify→Virtual Machine vCPU Entitlement... Modifies the processor entitlement of a selected virtual machine. Modify→Virtual Machine Memory... Modifies the amount of virtual memory (entitlement) to allocate to the virtual machine. Allows you to set dynamic memory parameters if dynamic memory is supported on the virtual machine's OS. The changes take effect when the virtual machine is restarted. Modify→Virtual Machine CPU Count...
Figure 47 VM Manager Delete menu Table 9 describes the Delete menu options and where to obtain more information in this manual. More detailed information is provided by the VM Manager help. Table 9 VM Manager Delete menu options Menu Selection Action Summary More Information Delete→Virtual Machine... Deletes all configuration files for the virtual machine and frees resources assigned to the virtual machine. “Deleting virtual machines” (page 91) Delete→Virtual Switch...
Table 10 VM Manager View menu options Menu Selection Action Summary View→Virtual Machine Properties... Displays the VM Properties General tab. For more information about this view, see “Virtual Machines (VM) Properties view” (page 56). View→Virtual Switch Properties... Displays the Vswitch Properties General tab. For more information about this view, see “Virtual Switch (Vswitch) Properties view” (page 66). View→VM Manager Version Information...
Figure 49 VM Manager Policy menu Table 11 describes the Policy menu options. For more information about gWLM policies, see the HP Global Workload Manager 7.0 User Guide. More detailed information is provided by the VM Manager help. Table 11 VM Manager Policy menu options 78 Menu Selection Action Summary Policy→Apply gWLM Policy... Associates a gWLM policy with a virtual machine and adds it to an SRD.
6 Working with virtual machines This chapter describes tasks you can perform to create and manage virtual machines and their resources. Planning virtual machines To achieve your goals using virtual machines, plan the configuration of each virtual machine by assessing its requirements for resources on the HP Integrity system on which it will run.
If you have enabled dynamic memory and you want automatic memory reallocation, you can enable the AMR memory control. You can also select the AMR chunk size for the virtual machine. Automatic Memory Reallocation You can automatically reallocate memory for virtual machines that have dynamic memory enabled. The Enable AMR memory control check box is selected by default. Provide the following information: • Dynamic memory entitlement: the memory allotted to a virtual machine.
5. Each virtual storage device is backed by physical storage in the VM Host system. A physical storage device can be a disk device, a logical volume, a DVD or CD, a DVD writer (burner), a tape device, a tape changer, an existing file (a file or directory being used as the backing storage device for a virtual storage device of an already-existing virtual machine on the VM Host), or a new file that VM Manager allows you to create as a backing storage device for a virtual disk (Virtual FileDisk).
NOTE: The list can include file and directory backing devices that have not been associated with a particular virtual machine, or that were associated with virtual machines that have been removed or from which the associated virtual devices have been removed. You can make these devices available to VM Manager by adding them to the Integrity VM device database.
At this step, you can still cancel (exit the Create Virtual Machine wizard) or return to modify previous steps in the wizard. When you click Finish, the wizard executes the hpvmcreate commands displayed in the Command Preview area: • If the Create VM even if resources are insufficient, missing or unavailable check box is not selected, the wizard executes the first of two commands (hpvmcreate -s) to check for resource availability and other issues without actually creating the virtual machine.
NOTE: Any devices added using the Create Virtual Machine wizard are not functional on the virtual machine until the new virtual machine is started. Certain devices are not seen in a VM Manager Storage tab until the virtual machine is started. You can configure the virtual machine's Extensible Firmware Interface (EFI) to boot the guest OS automatically when the virtual machine is started (powered on). Configure EFI when the virtual machine has been started and before booting the OS.
NOTE: If the virtual machine is being managed by gWLM, you cannot modify the vCPU entitlement. When you access the Virtual Machine vCPU Entitlement page, the following error message is displayed, where virtual-machine-name is the name of the virtual machine: The processor entitlement for VM virtual-machine-name cannot be modified because it is being managed by gWLM. To adjust the processor entitlement for this VM, use gWLM to change the policy associated with this VM.
NOTE: The list of possible backing devices for the storage device you want to add can include file and directory backing devices that have not been associated with a particular virtual machine, or that were associated with virtual machines that have been removed or from which the associated virtual devices have been removed. You can create a file as a backing storage device for a virtual disk.
NOTE: You cannot start a virtual machine that is currently migrating online. You must wait until migration completes. If the selected virtual machine has migrated to another VM Host (the target), the virtual machine (on the source VM Host) is in the Not Runnable state: you cannot start a virtual machine in this state. To start one or more selected virtual machines, perform the following steps. 1. 2.
the current VM Host system environment. If the virtual machine cannot be started, VM Manager displays messages indicating which resources cannot currently be provided. For information about possible reasons that a virtual machine might not start, see “Troubleshooting virtual machine problems” (page 118). Stopping virtual machines To stop one or more virtual machines, perform the following steps. This action allows you to stop the virtual hardware for a virtual machine.
Figure 51 Stop Virtual Machine page 4. In the screen example shown in Figure 51, two of the selected virtual machines are going to be stopped (bitsy00 and bitsy01), while two are already stopped (vm001 and vms). The screen reports that the OS is running on one of the virtual machines and advises you to shut down the OS on that machine before stopping it. The How to Stop options allow you to control how a virtual machine is stopped: • Graceful. This is the default.
Restarting virtual machines When you choose to restart one or more virtual machines, VM Manager stops a virtual machine that is already started, and then restarts it; if a machine is stopped, VM Manager starts it. Once a virtual machine starts, the resources assigned to the virtual machine are allocated for its use.
Figure 52 Restart Virtual Machine page 4. In the screen example shown in Figure 52, two virtual machines will be stopped (gracefully) and restarted. A message indicates that these machines have an active operating system that should be shut down prior to stopping the virtual machine. The How to Stop options allow you to control whether the virtual machines are stopped gracefully (the default) or forcefully. For a description of each stop option, see “Stopping virtual machines” (page 88).
Virtual Machines tab. From tabs that list and allow selection of multiple virtual machines, you can simultaneously delete multiple virtual machines that are selected. NOTE: Before deleting a virtual machine, you must first stop the virtual machine (put it in the Off state). For instructions, see the section “Stopping virtual machines” (page 88).
• Balance VM Host workloads • Optimize physical resource utilization Online migration of virtual machines enables a higher level of workload-to-resource alignment, flexibility, and agility.
Some of the basic migration requirements include the following; for complete details, see the HP Integrity Virtual Machines Installation, Configuration, and Administration manual: • For online migration, the source and target hosts must be running HP Integrity VM Version 4.1 or later. • The source and target hosts must conform to the operating system requirements, and both must be able to provide the allocated resources to the virtual machine being migrated.
Migration status and error notification The migration status of a virtual machine — including the direction of migration, percentage completion per phase (for online migration only), and error messages — is displayed on the VM Properties General tab. The VM Host Virtual Machines tab also indicates migration status (use this tab to monitor the migration of multiple virtual machines). For more information, see “VM Properties General tab” (page 57) and “VM Host Virtual Machines tab” (page 33).
Figure 53 Migrate Virtual Machine: Step 1 of 2 3. 4. 5. Specify the target VM Host name, alias, or IP address. The target must be a valid VM Host and must be accessible by the source VM Host. If you intend to migrate a virtual machine online, this VM Host must be licensed and enabled for online migration. If you want the virtual machine configuration removed from your source VM Host after the migration completes, select the check box provided for that purpose.
Figure 54 Migrate Virtual Machine: Step 2 of 2 7. Inspect the commands. If they suit your needs and you want to go ahead with the migration, click Finish. If you want to tailor the commands to be used for migrating the selected virtual machines, you can enter the desired commands manually on the VM Host.
Figure 55 Virtual Machine Suspend 3. The Command Preview area shows the commands that Integrity VM performs to suspend the virtual machine. Click OK. The virtual machine is suspended and the Virtual Machines tab is displayed. You can view the status as Sp in the OS column against the selected virtual machine, as shown in Figure 56. Figure 56 Suspend status Resuming virtual machines A virtual machine can be resumed only if it is in a suspended (SP) state.
• The server has insufficient CPU resources. • The server has insufficient swap resources. • Another virtual machine is using a specified nonshared backing device. • The server is using a specified backing device. • A specified backing device does not exist. • A specified vswitch is not available. • The vswitch must be created using the hpvmnet command before the guests using it can be resumed. • The specified MAC address is in use. • The specified guest is a distributed guest.
1. Select Tools VM Move Suspend. The screen to specify the new directory is displayed, as shown in Figure 58 Figure 58 Virtual Machine move suspend 2. To change the default directly, select the Specified directory option and click Browse. The screen listing all the directories is displayed, as shown in Figure 59. Figure 59 Virtual machine browse directory 3. 4. Select a directory and click Select. The screen goes back to the VM Move Suspend page.
Figure 60 Create Virtual Switch page The table on the screen shown in Figure 60 displays the following information: • LAN interface: Shows the physical LAN interface to which a vswitch can be attached. The “(none)” entry indicates that the vswitch is local, meaning that it not connected to a LAN interface. Communication over such a vswitch does not go out on the physical network and is useful only for communicating between virtual machines.
components (such as drivers and libraries) on the virtual machine and VM Host be updated to the latest release of the OS. If the virtual machine OS is Windows or Linux, install additional AVIO-compatible drivers on the VM Host and virtual machine. For HP-UX, HP recommends that you install the latest AVIO components for both the VM Host and the guest; however, updating both guest and host components at the same time is not mandatory.
• Any physical network cards (adapters) configured on the VM Host • Any APA (Automatic Port Aggregation) configured on the VM Host The display shows the APA name in one column and the individual devices or cards in the next column; however, the letters "APA" do not appear in either column. In HP-UX, any LAN port with port number 900 or greater is an APA (for example, lan900 or lan901). • None This creates a local vswitch.
When you delete a device from a virtual machine, it is disassociated from that virtual machine, allowing the device to be used by another virtual machine on the VM Host. Deleted devices remain active on a virtual machine that is running; the devices are removed once you restart the virtual machine. Storage devices that you can delete include virtual disks and DVDs as well as attached tapes, burners, and changers.
7 Collecting and viewing utilization data Certain VM Manager views include utilization meters (bar graphs) that display current utilization data for a resource. For example, the VM Host Virtual Machines tab includes several utilization meters for each virtual machine listed, as shown in Figure 61. Using VM Manager with Matrix Operating Environment for HP-UX, you can click a meter to view a more detailed historical data report provided by HP Capacity Advisor.
Viewing utilization data VM Manager provides the following options for viewing utilization data. These assume the prerequisites discussed in “Enabling collection of utilization data” (page 105) have been met. • Utilization meters provided by VM Manager tabs. Table 12 lists the meters provided by VM Manager tabs. Utilization meters display current utilization data for the associated resource. The utilization information is a 5-minute average that is calculated and updated on 5-minute boundaries.
NOTE: Data reported by certain VM Manager CPU utilization meters might vary from the data collected by Capacity Advisor as displayed in the Profile Viewer and historical utilization reports. The data from VM Manager meters is reliable for most purposes. For capacity planning, refer to the data collected by the Capacity Advisor Profile Viewer and historical utilization reports.
Figure 62 View Capacity Advisor data screen: upper half 108 Collecting and viewing utilization data
Figure 63 View Capacity Advisor data screen: lower half The data collection view is provided by the Capacity Advisor Profile Viewer. The Profile Viewer displays historical utilization data along with additional information you provide. The Profile Viewer also enables you to examine different time intervals and different categories of data. In the Capacity Advisor graphs, you can view utilization data for both CPUs and memory.
Creating a historical utilization data report To use HP Capacity Advisor to create a historical utilization report that includes data for the target workloads, systems, complexes, or scenarios you specify, select the Tools→Capacity Advisor Historic Report menu item from the VM Manager menu bar. This menu item is available only when you use VM Manager with Matrix Operating Environment; it is not available when using VM Manager through HP SMH.
8 Viewing logs and version information Viewing Integrity VM Host and VM logs You can view the events logged by Integrity VM pertaining to the VM Host and all guests by selecting View→Integrity VM log for VM Host... from the VM Manager menu bar. This gives a display similar to that created by the hpvmstatus -e command (used at the Integrity VM CLI), except VM Manager limits the display to the most recent 1000 log lines.
Figure 64 VM Manager Version Information screen 112 Viewing logs and version information
9 Support and other resources Contacting HP HP encourages your comments concerning this document. We are truly committed to providing documentation that meets your needs. Your comments and suggestions regarding product features will help us develop future versions of the Virtual Server Environment Management Software. Use the following email address to send feedback directly to the HP Matrix Operating Environment development team: vse@hpuxweb.fc.hp.com.
Command Command name or qualified command phrase. user input Commands and other text that you type. computer output Text displayed by the computer. Enter The name of a keyboard key. Note that Return and Enter both refer to the same key. A sequence such as Ctrl+A indicates that you must hold down the key labeled Ctrl while pressing the A key. variable The name of an environment variable, for example PATH or errno.
A Error messages, status indicators, and troubleshooting This appendix discusses error messages and troubleshooting related to VM Manager problems, and describes the status indicators that appear on some VM Manager screens and the error and status labels that might appear with utilization meters (bar graphs) displayed on certain VM Manager screens. Error messages Error messages visible in VM Manager are returned primarily from the Integrity VM commands themselves.
1. To access WBEM Providers from HP Systems Insight Manager, run the following command: # cimauth -a -u -n root/cimv2/hpvm -R -W # cimconfig -s enableNamespaceAuthorization=true -p where, SIMUSER is the username created for SIM access. 2. To access WBEM Providers from HP SMH, run the following command: # cimauth -a -u -n root/cimv2/hpvm -R -W # cimconfig -s enableNamespaceAuthorization=true -p where, SMHUSER is the username created for SMH access.
Table 13 explains the meaning of each status icon. Table 13 Status icons Icon Indication Possible meanings in more detail On/Up/Normal The virtual machine is started or starting; devices are powered on and active; the operating system is up or in the last part of the boot sequence; no fault was detected.
• No Comm. indicates that VM Manager is unable to communicate with the WBEM provider running on a virtual machine. Hover the cursor over the meter to display an exception error message identifying the problem. A common reason for the No Comm. label to be displayed is a problem with trusted certificates.
are insufficient, missing or unavailable check box is selected on the Create Virtual Machines wizard Summary page, you can still have VM Manager create the virtual machine. You will have to correct the conditions prior to starting the virtual machine. • Failure starting a virtual machine The most likely cause for a virtual machine failing to start is missing, insufficient, or unavailable resources. Make sure the required resources are made available.
The response “HPVMProviderModule OK” indicates the VM Provider is running. Any other response indicates it is not running. For system and software requirements regarding the VM Provider, see “System and software requirements” (page 13). For installation instructions and information about providers that must be installed and running on virtual machines, see the HP Integrity Virtual Machines Installation, Configuration, and Administration manual.
Glossary The following terms are commonly used to discuss VM Manager and its integrated components: Accelerated Virtual Input/Output See AVIO. agent A program that regularly gathers information or performs some other service without the user's immediate presence. Matrix Operating Environment for HP-UX relies on agents on managed systems to provide in-depth hardware and software information.
host 1. 2. The VM Host, which is the controlling operating system that allows multiple virtual machines (VMs) to be booted on a single server or nPartition. A system or partition that is running an instance of an operating system. Integrity VM HP Integrity Virtual Machines. The HP product that allows you to install and run multiple systems (virtual machines) on the same physical host system.
systems under Matrix Operating Environment for HP-UX. Other providers of virtual machines include VMware ESX, VMware ESXi, or Microsoft Hyper-V. virtual machine console The user-mode application that provides console emulation for virtual machines. Each instance of the virtual machine console is one console session for its associated virtual machine. virtual network A LAN that is shared by the virtual machines running on the same VM Host or in the same Serviceguard cluster. virtual switch See vswitch.
Index A F Accelerated Virtual Input/Output see AVIO agile device addressing Add Storage screen, 81 APA, 103 Automatic Port Aggregation see APA AVIO performance tuning, 79 support indication, Create Vswitch screen, 101 support information, 83 AVIO backing device support indication, VM Host view, 36 support indication, Vswitch Properties view, 67 AVIO network adding, 80 support indication, VM Host view, 37 support indication, VM Properties view, 64 AVIO storage adding, 81 support indication, VM Host view, 4
I I/O device adding (network) to new virtual machine, 80 adding (storage) to new virtual machine, 81 adding to existing virtual machine, 85, 86 deleting, 76, 103 Insight Capacity Advisor software see Capacity Advisor Insight Global Workload Manager see gWLM Integrity VM event logs, 111 overview, 7 viewing version of, 77, 111 L legacy device addressing Add Storage screen, 81 licensing, 15 logs see event logs M Maximize link, 29 memory displaying, 59 modifying, 85 specifying, 79 utilization, 106 VM Host vie
virtual machine storage I/O, 66 VM Host, 31 VM Host network I/O, 38 VM Host storage I/O, 44 VM Properties view, 63 vswitch network I/O, 69 V vCPU, 7 displaying count and entitlement, 59 modifying allotment, 75 modifying processor entitlement for, 84, 85 specifying processor entitlement for, 79 vCPU count displaying, 58 specifying, 79, 85 vCPU entitlement displaying, 58 specifying, 79, 84 View normal link, 29 View Printer-friendly link, 29 virtual CPU see vCPU virtual LAN see VLAN virtual machine, 7 see als
Storage tab, 65 view, 56 vswitch creating, 74, 100 deleting, 76, 103 network utilization meters, 69 properties of, 66, 77 starting, 72, 103 stopping, 72, 103 viewing properties of, 66, 77 VM Host view, 36 Vswitch Properties General tab, 67 Network tab, 68 view, 66 W WBEM setting credentials in HP SIM, 16 setting credentials in HP SMH, 16 WBEM credentials modifying, 85 WBEM providers enabling use of, 15 utilization meter status and error information, 117 viewing version of, 77, 111 wizard migrating virtual