HP Integrity Virtual Machines Manager 4.
© Copyright 2004, 2010 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.
Table of Contents 1 Introduction ....................................................................................................................7 HP Integrity Virtual Machines................................................................................................................7 HP Integrity Virtual Machines Manager................................................................................................7 VM Manager tasks...................................................................
Screen details..............................................................................................................................66 VM Properties Storage tab............................................................................................................67 Quick reference..........................................................................................................................67 Screen details...............................................................................
New and changed information in this edition....................................................................................121 Related information............................................................................................................................122 Typographic conventions....................................................................................................................123 A Error messages, status indicators, and troubleshooting..................................
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 SIM.
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. VM Manager obtains information about Integrity VM resources through Web-Based Enterprise Management (WBEM) providers installed on the VM Host and on virtual machines (guest OSes).
Figure 1-1 VM Manager with HP SMH Using VM Manager with HP SMH VM Host HP SMH VM Manager Browser WBEM VM VM VM VM VM • HP Insight Dynamics - VSE for Integrity VM Manager is installed as part of Insight Dynamics - VSE for Integrity that runs under HP Systems Insight Manager software (HP SIM) on a server reserved for use as a central management server (CMS). The CMS can run on HP-UX or Windows platforms.
Figure 1-2 VM Manager with HP SIM and the Insight Dynamics - VSE for Integrity CMS Using VM Manager with HP Insight Dynamics - VSE HP SIM Insight Dynamics VSE for Integrity Capacity Advisor Virtualization Manager gWLM Browser VM Mgr Application Discovery ... WBEM HP Integrity VM HP Integrity VM VM Host VM Host VM VM VM WBEM VM VM WBEM VM In this environment, you can use VM Manager in seamless integration with other Insight Dynamics - VSE for Integrity components.
— automated workload management policies across multiple servers, and provides centralized monitoring and reporting and improved server utilization to assist in meeting your service level objectives. Using VM Manager with Insight Dynamics - VSE for Integrity, you can create, view, and modify gWLM policies for virtual machines. For more information, see “Using the Policy menu” (page 84).
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 WBEM provider components are the VM Provider and the Utilization Provider: • 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.
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 VSE-OE or DC-OE.
Setting WBEM credentials in HP SIM 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. You can set credentials in HP SIM for a global configuration across multiple systems by selecting Options→Protocol Settings→Global Protocol Settings...
Figure 2-1 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.
device. For a 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.
NOTE: Copy the certificate file to a temporary directory (not to the sslshare directory) on the VM Host. Do not overwrite the existing cert.pem or server.pem file in the sslshare directory on the VM Host. 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.
3 Accessing and Navigating VM Manager You access VM Manager through a web browser. This chapter explains how to access VM Manager from the HP SIM/Insight Dynamics - VSE for Integrity Virtualization Manager 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 125).
Figure 3-2 Virtualization Manager Visualization tab 2. The first time you start Virtualization Manager, the Visualization tab appears with the default Physical and Virtual perspective, which shows all physical and virtual nodes in graphical compartments. When you start Virtualization Manager 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...
Figure 3-3 Selecting Virtual Machine perspective 3. On the Virtualization Manager Visualization tab, select the VM Host or virtual machine that you want to manage. For example, in the Integrity VM representation shown in Figure 3-4 (a closeup from the screen shown in Figure 3-3 (page 23)), 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.
Accessing VM Manager from HP SMH To use all the VM Manager facilities (view all screens and perform all menu actions), you must log in to HP SMH with Administrator privileges. To access VM Manager from HP SMH, follow these steps: 1. On the SMH Home page, click Tools. NOTE: SMH GUI sessions stop after the session timeout period elapses without any user activity (by default, the session timeout period is 15 minutes). With HP SMH Version 2.2.
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 3-5 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 General tab as shown in Figure 3-6.
Figure 3-6 HP SMH: VM Host General 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 General tab). An example of the Set WBEM Credentials page is shown in Figure 2-1. Enter the appropriate information and click OK, or click Cancel to skip this step and advance to the VM Manager VM Host General tab. For more information about setting WBEM credentials, see “Setting security credentials” (page 15).
NOTE: The VM Manager navigation aids available in a particular view vary according to the view. The view in Figure 3-7 shows most of the navigation aids that VM Manager provides. Missing from this view are navigation buttons such as Previous and Next, visible in some of the Create Virtual Machines wizard pages (discussed in “Creating virtual machines” (page 87)).
Manager (as indicated in Figure 3-7); clicking the Go back link on any tab that you navigate to in the same view also returns you to the Virtualization Manager. For more information about returning to Virtualization Manager from VM Manager (or, if you are using HP SMH, about returning to the HP SMH Homepage), see “Returning to Virtualization Manager or the HP SMH Homepage” (page 28). 2 3 4 Click a tab to change to another view. All VM Manager tabs are described in Chapter 4 (page 31).
• view must not be maximized (using the Maximize link in the top right corner). If your view is maximized, 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 Virtualization Manager, at which point you can click the Go back to Virtualization Manager link.
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.
VM Host view You can access the VM Manager Host view directly from Virtualization Manager or from other VM Manager views that include a link to the VM Host, such as the VM Properties General tab. Figure 4-1 shows a typical VM Host view in VM Manager. Tabs available from the VM Host view are described in the text that follows. Subsequent sections describe each tab in more detail. Figure 4-1 VM Host view Integrity Virtual Machines Manager: Manage Host Restore Size ? VM Host tornado.xxx.xxx.
VM Host General tab The VM Host General tab displays information about the state and configuration of the VM Host system. Quick reference Figure 4-2 VM Host General tab Integrity Virtual Machines Manager: Manage Host Restore Size ? VM Host tornado.xxx.xxx.
4 5 6 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. Describes resources in the VM Host system. Describes the status of virtual machines in the VM Host system and identifies external managers. If virtual machines are managed by gWLM, the field provides a hyperlink that enables you to access gWLM.
with Insight Dynamics or HP SMH), if the virtual machines are not being managed by gWLM or HP Serviceguard, this field displays (none). VM Host Resource Utilization Resource utilization meters display data retrieved by the WBEM Utilization Provider. The data is a 5-minute average that is calculated and updated on 5-minute boundaries. If the utilization cannot be displayed, the utilization meter is dimmed and a label indicates the probable cause.
VM Host Virtual Machines tab The VM Host Virtual Machines tab displays information about the state of virtual machines in the VM Host system. Quick reference Figure 4-3 VM Host Virtual Machines tab Integrity Virtual Machines Manager: Manage Host Restore Size ? VM Host metallica.fc.hp.
only partially visible; some utilization meters are not visible. To see all the utilization meters in the full-width view, see Figure 4-4.) 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 127) Using VM Manager with Insight Dynamics - VSE for Integrity, you can click a meter to view a snapshot of Capacity Advisor historical data.
• OS: Displays an icon that indicates whether the operating system is active on the virtual machine. You can hover your cursor over the icon for a more detailed description. The icon indicates the operating system is running. The icon indicates the operating system is not running. If the virtual machine is currently migrating, an icon indicates the direction of migration: : Migrating to another VM Host. Flyover text indicates the virtual machine is migrating and provides the name of the target VM Host.
• • vCPU Entitlement: Displays the percentage of CPU power guaranteed to the virtual machine. This field is not displayed if the virtual machines are being managed by gWLM. VM Host CPU Utilization: Displays how many of the VM Host's physical CPU resources are being consumed by this virtual machine. This meter is not displayed if the virtual machine is a Serviceguard package running on another VM Host.
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 4-5 VM Host Virtual Switches tab Integrity Virtual Machines Manager: Manage Host VM Host crystal.xxx.xxx.
• storage or network devices configured to use AVIO, special AVIO software must be installed on the associated 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.
VM Host Network tab The VM Host Network tab shows the mapping from virtual network interface cards in the virtual machines to the physical network interface cards in the VM Host system. Quick reference Figure 4-6 VM Host Network tab Integrity Virtual Machines Manager: Manage Host 1 3 4 5 6 7 8 9 1 2 3 4 5 6 7 42 ? Go back to Virtualization Manager General 2 Restore Size VM Host orthus.xx.xx.
8 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 127).
Figure 4-7 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 4-10 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.
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 Insight Dynamics - VSE for Integrity, 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. For more information about status icons, see “Status indicators” (page 126).
VM Host Storage tab The VM Host Storage tab shows the mappings from the virtual storage devices in the virtual machines to the physical storage devices in the VM Host system.
unchecked, it remains unchecked when you return (you continue to see the simple view). The check box state on the VM Host Storage tab does not affect the state of the same check box on the VM Properties Storage tab. For example, selecting the check box on the VM Host Storage tab does not automatically affect the check box and view of the VM Properties Storage tab. 3 4 5 6 Displays this window in a format suitable for printing. Updates the data displayed on this page.
Storage devices Various types of devices are supported on virtual machines. VM Manager represents each type of device with an icon. You can hover your cursor over the icon to see text describing the representation. Table 4-3 describes these icons. Table 4-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.
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 4-15 Virtual Storage column Referring to Figure 4-15, 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 4-16, 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 4-18 Physical storage detail from HP Integrity VM Version 4.0 or later VM Host The following items describe physical storage details in Figure 4-18: • 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.
Integrity, 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 126).
Virtual Machines (VM) Properties view You can access the VM Properties view directly from the Virtualization Manager or from any other VM Manager views that include a link to a virtual machine, such as the VM Host General tab, the VM Host Virtual Machines tab, or any Network or Storage tab. You can also access the VM Properties view by selecting View→ Virtual Machine Properties... (a virtual machine must be selected in the current view). Figure 4-19 shows a portion of a typical VM Properties view.
VM Properties General tab The VM Properties General tab shows the state and configuration details of a specific virtual machine. Quick reference Figure 4-20 VM Properties General tab Integrity Virtual Machines Manager: Manage VM Restore Size ? Properties for VM suffolk on VM Host tornado.xxx.xxx.
2 3 4 the link returns you to that previous view. If you had accessed the VM view directly from Virtualization Manager, the link returns you to Virtualization Manager. In HP SMH, when you first access this page from HP SMH, the link is not provided. The link is visible whenever you move from one VM Manager view to another (such as from VM Host view to VM Properties view, in which case the Go back to Integrity Virtual Machines Manager: Manage Host link is visible on the VM Properties view).
• VM Host(s): The host name of the VM Host on which this virtual machine is configured. This is a hyperlink to the VM Host view. If the VM Host is an nPartition, the label “(contained in nPartition)” is displayed and “nPartition” is a hyperlink to Partition Manager for that nPartition. If the virtual machine is managed by HP Serviceguard and is hosted on multiple VM Hosts, all of the VM Hosts are listed here. • • VM Description: The description of the virtual machine, if the description is available.
Table 4-4 Online migration status (continued) • • VM Host state Virtual machine state Online migration status Enabled and licensed Enabled VM enabled Enabled and licensed Disabled VM disabled Not Runnable Set By: Displayed when the virtual machine has migrated to another VM Host, indicates the activity or agent that caused the virtual machine hardware status to be Not Runnable.
Figure 4-22 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 ( Virtual Machines tab. ) on the right. This also ) next to the virtual machine name on the VM Host For more information about migration and how to start the migration of a virtual machine, see “Migrating virtual machines” (page 100).
• Virtual Machine Memory page). These two values can be different if for some reason Integrity VM cannot change the memory size to the specified value. Memory: The amount of memory configured for the virtual machine, which is the amount of memory required to start VM (and is modifiable as such on the Modify→ Virtual Machine Memory page).
VM Properties Network tab The VM Properties Network tab shows the network devices for a specific virtual machine. Quick reference Figure 4-23 VM Properties Network tab Integrity Virtual Machines Manager: Manage VM 1 3 4 5 6 7 8 1 2 3 4 5 6 7 ? Go back to Integrity Virtual Machines Manager: Manage Host General 2 Restore Size Properties for VM rex05 on VM Host rex01.xx.xx.
Using VM Manager with Insight Dynamics - VSE for Integrity, you can click a meter to view a snapshot of Capacity Advisor historical data for network I/O; this feature is not provided when using VM Manager from HP SMH. For more information about using VM Manager to collect and view utilization data, see Chapter 7 (page 111). 8 Indicates by color coding that matching components are related.
VM Properties Storage tab The VM Properties Storage tab shows state and configuration information for a specific virtual machine. Quick reference Figure 4-24 VM Properties Storage tab Integrity Virtual Machines Manager: Manage VM Properties for VM vse02v6 on VM Host vse02.xx.xx.
unchecked when you return (you continue to see the simple view). The check box state on the VM Properties Storage tab does not affect the state of the same check box on the VM Host Storage tab. For example, selecting the check box on the VM Properties Storage tab does not automatically affect the check box and view of the VM Host Storage tab. 3 4 5 Displays this window in a format suitable for printing. Updates the data displayed on this page.
Virtual Switch (Vswitch) Properties view You can access the Vswitch Properties view from any VM Manager views that include a link to a virtual switch, such as the VM Host Virtual Switches tab, the VM Host Network tab, or the VM Properties Network tab. You can also access the Vswitch Properties view by selecting View→ Virtual Switch Properties... (a virtual switch must be selected in the current view). Figure 4-25 shows a typical Vswitch Properties view.
Vswitch Properties General tab The Vswitch Properties General tab shows the status, configuration properties, and port assignments of a virtual switch. Quick reference Figure 4-26 Vswitch Properties General tab 1 2 3 4 70 Goes back to the previous view, in this case the VM Manager VM Host view. When you access the Vswitch Properties view from another VM Manager view (such as the VM Host view), the link returns you to that previous VM Manager view. Displays this window in a format suitable for printing.
Screen details Table 4-5 Data displayed by the Vswitch Properties General tab Data Description Vswitch Name Name of the virtual switch Status The status of the virtual switch: • Up (operational) • Down (inoperational) • Link down (the physical network interface used by the vswitch is not running) Type The type of virtual switch: • shared vswitch: can be used by more than one virtual machine that includes a virtual network device (virtual NIC) backed by the switch • dedicated vswitch: can be used by o
Vswitch Properties Network tab The Vswitch Properties Network tab shows information about the network devices for a specific virtual switch.
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 127). Using VM Manager with Insight Dynamics - VSE for Integrity, you can click a meter to view a snapshot of Capacity Advisor historical data for network I/O; this feature is not provided when using VM Manager from HP SMH. For more information about using VM Manager to collect and view utilization data, see Chapter 7 (page 111).
5 Using VM Manager menus VM Manager views provide a menu bar beneath the tabs row, as shown in Figure 5-1. 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.
Using the Tools menu The VM Manager Tools menu allows you to perform actions on a selected virtual machine or virtual switch, and to collect and view HP Insight Capacity Advisor software data. The options that might be available when you select the Tools menu are shown in Figure 5-2. In this example, the Start Virtual Switch... and Stop Virtual Switch... options are disabled.
Table 5-1 VM Manager Tools menu options (continued) Menu Selection Action Summary More Information Tools→Restart Virtual Machine... Restarts an already started virtual “Restarting virtual machines” machine, taking it first to an Off state (page 98) (powered off) and then to an On state (powered on). Starts a stopped virtual machine. Tools→Start Virtual Switch...
Using the Create menu The Create menu allows you to create a virtual machine or virtual switch. Figure 5-3 shows the choices when you select the Create menu. Figure 5-3 VM Manager Create menu Table 5-2 describes the Create menu options and where to obtain more information in this manual. More detailed information is provided by the VM Manager help. Table 5-2 VM Manager Create menu options 78 Menu Selection Action Summary Create→Virtual Machine...
Using the Modify menu The VM Manager Modify menu allows you to perform actions on a selected virtual machine. The options displayed when you select the Modify menu using VM Manager from Insight Dynamics are shown in Figure 5-4. The options are available only when you are in a VM Properties view or in a view in which you have selected a virtual machine, such as on the VM Host Virtual Machines tab. You can only modify one virtual machine at a time.
Table 5-3 VM Manager Modify menu options (continued) 80 Menu Selection Action Summary Modify→Virtual Machine Hardware Auto Start... Modifies the startup attribute (autoboot) of a selected virtual machine. You can allow the virtual machine to be started automatically when the VM Host is started, or you can set the attribute so that you can start the virtual machine manually. Modify→Add Storage Device to Virtual Machine...
Using the Delete menu The Delete menu allows you to delete one or more virtual machines, virtual switches, or virtual machine I/O devices. Figure 5-5 shows the choices that might be available when you select the Delete menu. The choices are enabled according to the view and tab. In Figure 5-5, the Virtual Machine... option is enabled and the Virtual Switch... and I/O Device... options are disabled. The Virtual Machine...
Using the View menu The View menu allows you to display a variety of information. Figure 5-6 shows the choices that might be available when you select the View menu. NOTE: The Capacity Advisor Data item is displayed only when you use VM Manager with Insight Dynamics - VSE for Integrity; it is not displayed when using VM Manager through HP SMH. The accessibility of the other menu items depends on the current view and selections.
Table 5-5 VM Manager View menu options (continued) Menu Selection Action Summary View→Integrity VM log for VM... Displays the events logged by Integrity VM pertaining to a virtual machine. To use this feature with VM Manager running under HP SMH, you must be logged into HP SMH with either Operator or Administrator privileges.For more information, see “Viewing Integrity VM Host and VM logs” (page 119). View→Capacity Advisor Data...
Using the Policy menu The Policy menu allows you to perform a variety of tasks pertaining to the gWLM policy. Using VM Manager with Insight Dynamics - VSE for Integrity, VM Manager can be integrated with gWLM. When gWLM is managing specific virtual machines, the virtual machines have assigned policies and are placed in a shared resource domain (SRD).
Table 5-6 VM Manager Policy menu options (continued) Menu Selection Action Summary Policy→Remove Associated gWLM Policy... Removes the policy association from the virtual machine, effectively removing the virtual machine from the SRD. The selected virtual machine must be powered off before it can be removed from the SRD. This menu option is available when you are in VM Properties view or in another view in which one or more virtual machines are selected. Policy→Create gWLM Policy...
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.
NOTE: An up-to-date version of the WBEM Utilization Provider (UP) must be installed on the virtual machine to enable HP Insight Capacity Advisor software and the memory utilization meters in VM Manager and Integrity VM to reflect the dynamic change in memory. For information about verifying and installing software on virtual machines, see “System and software requirements” (page 13) and the HP Integrity Virtual Machines documentation. 4.
provides benefits especially for multipath devices. With legacy addressing, the screen lists one entry for each path to a storage device that has multiple paths. With agile addressing, the screen lists only one entry for each multipath storage device. To change the addressing scheme for viewing, select the appropriate addressing scheme. If the VM Host runs an earlier version of HP-UX, you are not given a choice: the table lists devices by the legacy addressing scheme only.
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.
NOTE: Depending on the settings in the virtual machine's Extensible Firmware Interface (EFI), starting a virtual machine might not boot the operating system. For more information, see “Creating virtual machines” (page 87). Once a virtual machine is started, the resources assigned to the virtual machine are allocated for its use. The VM Host ensures that the resources required by the virtual machine are available in the current VM Host system environment.
Figure 6-2 Stop Virtual Machine page 4. In the screen example shown in Figure 6-2, 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 6-3 Restart Virtual Machine page 4. In the screen example shown in Figure 6-3, 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 96).
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 96).
• • 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 59) and “VM Host Virtual Machines tab” (page 36).
NOTE: The Tools→Migrate Virtual Machine... option is enabled from any VM Properties view or from any tab on which one or more virtual machines are selected. Figure 6-4 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.
NOTE: If the source or target VM Host is not enabled and licensed for online migration, or the virtual machine is not enabled for online migration, you can migrate the virtual machine offline. Stop the virtual machine and then retry migrating it. Figure 6-5 Migrate Virtual Machine: Step 2 of 2 6. Inspect the commands. If they suit your needs and you want to go ahead with the migration, click Finish.
To create a vswitch, select Create→Virtual Switch from the VM Manager menu. This displays a page similar to that shown in Figure 6-6. Figure 6-6 Create Virtual Switch page The table on the screen shown in Figure 6-6 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.
• • Hardware path: Shows the hardware path associated with the LAN interface. Supports AVIO: Shows whether the physical backing device supports Accelerated Virtual Input/Output (AVIO). For each virtual machine containing an AVIO device, the VM Host OS and the guest OS must support AVIO. In addition, HP strongly recommends that AVIO components (such as drivers and libraries) on the virtual machine and VM Host be updated to the latest release of the OS.
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 no physical network device on the VM Host is chosen, the vswitch is a local vswitch. A local vswitch has no connection with any physical network device on the VM Host. Virtual machine virtual network interface cards (vNICs) can communicate only with other virtual machines on the same VM Host that are connected to the same local vswitch. 4.
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. Deleting a storage device does not affect data on that device (files or data are not removed from the device). NOTE: You cannot remove a device that is currently being used by the guest OS or if I/O is outstanding.
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 7-1. Using VM Manager with Insight Dynamics - VSE for Integrity, you can click a meter to view a more detailed historical data report provided by HP Insight Capacity Advisor software.
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 111) have been met. • Utilization meters provided by VM Manager tabs. Table 7-1 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.
Table 7-1 Utilization meters available on VM Manager tabs VM Manager Tab Utilization Metrics CPU (%) Memory (%) Network I/O (throughput) Storage I/O (throughput) VM Host only VM Host only VM Host only VM Host only Per VM only VM Host Virtual VM Host CPU utilization per VM Machines VM vCPU utilization Per VM only Per VM only VM Host Network VM Host (Physical Network Interfaces column) VM (Virtual Network Interfaces column) VM Host General VM Host (Physical Storage column) VM (Virtual Storage c
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 7-2 View Capacity Advisor data screen: upper half Viewing utilization data 115
Figure 7-3 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 Insight Capacity Advisor software 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 Insight Dynamics; 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 8-1 VM Manager Version Information screen 120 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 Insight Dynamics development team: vse@hpuxweb.fc.hp.com. NOTE: HP cannot provide product support through this email address.
virtual machine Serviceguard package is managed by another VM Host, these tabs display a new icon to indicate so; flyover text indicates the name of the VM Host actively managing the virtual machine (Serviceguard guest package). In addition, if a virtual machine is configured as a Serviceguard package, the VM Properties General tab displays the name of the Integrity VM multiserver environment (MSE) group.
Typographic conventions This document uses the following typographic conventions. Book Title Title of a book or other document. Linked Title Title that is a hyperlink to a book or other document. http://www.hp.com A website address that is a hyperlink to the site. 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.
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.
of HP SIM (System and Event Collections→Systems→Shared→Systems by Type→All VSE Resources). • The user is not authorized to use Integrity Virtual Machines Manager on this VM host. With HP SMH, VM Manager is configured by default to permit read-only access to HP SMH users with User-level privileges, and read-write access to HP SMH users with Operator-level and Administrator-level privileges.
Table A-1 Status icons (continued) Migrating from another VM Host The virtual machine is currently migrating from another VM Host (source) to this VM Host (target). Waiting for migration The virtual machine is in queue, waiting to migrate. When multiple virtual machines are selected to migrate, only one is migrated at a time. Migration error An error was detected during the latest attempt to migrate one or more virtual machines to another host.
Troubleshooting virtual machine problems This section discusses problems that might occur when using VM Manager to create, start, or modify a virtual machine or to display virtual machine data. Also included are ways for resolving these problems. • Failure creating a virtual machine When using the Create Virtual Machines wizard, a number of warning or error conditions can prevent the virtual machine from being created.
machines might not yet be started or, if they are started, the VM Provider or certain WBEM components might not be running on those virtual machines or on the VM Host. WBEM components are required on any virtual machine for which you want data. If the VM Provider is not running on the VM Host, no data will be available on any VM Manager tabs; all tabs will display a “No data available” message.
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. Insight Dynamics 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 Insight Dynamics. 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. VLAN Virtual LAN.
Index A F Accelerated Virtual Input/Output (see AVIO) agile device addressing Add Storage screen, 88 APA, 107 Automatic Port Aggregation (see APA) AVIO performance tuning, 87 support indication, Create Vswitch screen, 107 support information, 91 AVIO backing device support indication, VM Host view, 40 support indication, Vswitch Properties view, 71 AVIO network adding, 88 support indication, VM Host view, 42 support indication, VM Properties view, 65 AVIO storage adding, 88 support indication, VM Host vie
documentation, 122 Insight Global Workload Manager (see gWLM) Integrity VM event logs, 119 overview, 7 viewing version of, 82, 119 L legacy device addressing Add Storage screen, 88 licensing, 15 logs (see event logs) M Maximize link, 31 memory displaying, 60 modifying, 93 specifying, 87 utilization, 112 VM Host view, 33 VM Properties view, 59 Migrate Virtual Machine wizard overview, 100 step 1 screen, 104 step 2 screen, 105 migration overview, 100 phase timeouts, 103 planning and recommendations, 101 prev
V vCPU, 7 displaying count and entitlement, 60 modifying allotment, 79 modifying processor entitlement for, 92, 93 specifying processor entitlement for, 87 vCPU count displaying, 59 specifying, 87, 93 vCPU entitlement displaying, 59 specifying, 87, 92 View normal link, 31 View Printer-friendly link, 31 virtual CPU (see vCPU) virtual LAN (see VLAN) virtual machine, 7 (see also VM Properties) creating, 78, 87 deleting, 81, 99 Integrity VM event logs, 83 migrating, 77, 100 migration status, 37, 38, 60, 61 modi
deleting, 81, 108 network utilization meters, 72 properties of, 69, 82 starting, 77, 108 stopping, 77, 108 viewing properties of, 69, 82 VM Host view, 40 Vswitch Properties General tab, 70 Network tab, 72 view, 69 W WBEM setting credentials in HP SIM, 16 setting credentials in HP SMH, 16 WBEM credentials modifying, 93 WBEM providers enabling use of, 15 utilization meter status and error information, 127 viewing version of, 82, 119 wizard migrating virtual machines, 100 138 Index