HP Insight Control Virtual Machine Management 7.
© Copyright 2004, 2012 Hewlett-Packard Development Company, L.P. Legal Notices 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...............................................................................................6 Overview................................................................................................................................6 Infrastructure............................................................................................................................6 Systems Insight Manager console integration.......................................................................
Handling semi-automatic pre-failure events with the vCenter Server DRS cluster enabled in the vCenter Server...................................................................................................................24 Handling automatic pre-failure events using the Set Alternate host feature..................................24 Handling semi-automatic events using the Set Alternate host feature..........................................25 Task: Setting alternate hosts..................................
Certain Insight Control operations cannot be performed on a virtual machine............................33 The HP SIM console does not identify a server as a virtual machine host...................................33 The HP SIM console does not discover a virtual machine host or guest......................................33 HP SIM console identifies a virtual machine guest as an unknown or unmanaged device.............33 The virtual machine is discovered as an unmanaged system.................................
1 Introduction Overview HP Insight Control virtual machine management adds virtual machine management capability within HP Systems Insight Manager version 7.0 or later.
The association between virtual machine hosts and guests appears in the System(s) list. To view additional details about virtual machine hosts and guests, in the System Name column, click an entry. The color-coded icons listed in the following tables indicate the status of the virtual machine hosts and guests.
The VM column also displays VME Server status. To navigate to the VME Server credentials user interface, select Options→VME Options→View VME Settings. Table 3 vCenter Server status icons displayed in the VM column Icon Status The VME credentials were set. However, currently VMM is not able to connect to the VME Server. The cause could be either that the VME service is stopped OR the credentials have changed OR the VMM service is stopped.
2 Key concepts Heterogeneous environment A heterogeneous environment hosts virtualization layers, such as VMware ESX, Hyper-V, and so on. Insight Control virtual machine management supports the heterogeneity by providing a uniform way to access and manage all the hypervisors. For information about the supported hypervisors, see the HP Insight Management Support Matrix available at: www.hp.com/go/insightcontrol/ docs.
3 Initial setup Licensing Licensing VMM through the HP Insight Control license manager NOTE: later. Insight Control virtual machine management 7.0 or later works only with HP SIM 7.0 or To add or deploy license keys, you must have HP SIM administrative rights. The standard procedure for licensing VMM is to purchase and apply HP Insight Control licenses. For more information or to purchase licenses, see http://www.hp.com/go/insightcontrol.
NOTE: You can hold the SHIFT key to select multiple systems. NOTE: A system presently or previously licensed with a demo key may not be re-licensed with another demo key. If a selected product has not been registered with License Manager, the following message is displayed: License Manager cannot process licenses for the selected product for one of two possible reasons: For products where licensing information is managed by Systems Insight Manager, the Assigning Licenses page appears.
Updating the HP SIM certificate on CMS Insight Control virtual machine management uses a HP SIM certificate for all its communication with HP SIM. Should changes be made to the HP SIM certificate, you must restart the HP Insight Control virtual machine management service to use the updated certificate.
To manually register the virtual machine hosts in a Windows environment, follow these steps: 1. From an account with administrative privileges, sign in to HP SIM on the Systems Insight Manager CMS. 2. Access the installation bin directory using the default path: C:\Program Files\HP\Insight Control virtual machine management\bin 3. From the CMS, access the installation bin directory from the following path: C:\Program Files\HP\Insight Control virtual machine management\bin 4.
2. 3. From the CMS, access the installation bin directory from the following path: /opt/hpvmm/bin Unregister the virtual machine host: ./vmcli.sh -unregisterAgent 4. On the node representing the virtual machine host, run the Identify Systems feature of HP SIM. NOTE: Do not use the VMCLI command to unregister the host, as the same is automatically unregistered from VMM when you delete the node corresponding to a VM host from HP SIM.
4 Using Insight Control virtual machine management This chapter provides an overview of server virtualization management using the VMM. You can perform all VMM operations with either operator or administrator rights. Insight Control virtual machine management interface overview Insight Control virtual machine management provides central management and control for virtual machines hosted on Microsoft Hyper-V server, VMware ESX Server, or Xen on RHEL or SLES.
Table 5 Icons and tasks Icon Function Start/resume Shutdown/stop Pause Reset/restart The following tables list supported features for various virtualization layers. Table 6 Supported Insight Control virtual machine management features in various virtualization layers Features HP integrated ESXi / VMware ESX 4.1 1 HP integrated ESXi 5.01 HP integrated ESXi / VMware ESX 4.
Table 6 Supported Insight Control virtual machine management features in various virtualization layers (continued) Features HP integrated ESXi / VMware ESX 4.1 1 HP integrated ESXi 5.01 HP integrated ESXi / VMware ESX 4.01 Microsoft Hyper-V R2 server Xen distribution on RHEL Xen distribution on SLES Deleting a virtual machine guest template ✓ ✓ ✓ ✓ X X Upgrade a virtual machine guest backup (applicable for Vmware ESX only) ✓ ✓ ✓ X X X 1 Requires VMware vCenter Server.
2. 3. Select Choose members by attributes. Select the collection criteria as shown in the screen, and then save the collection as CriticalVmHost. VMware ESX Server Guest System page When using a VMware ESX Server, from the Guest System page, click Launch vCenter. Performance information These sections list information displayed on the Performance tab of the System Page for virtual machine hosts and guests.
Multisystem aware tools available Within HP SIM, you can run tools on multiple systems at once or multisystem aware tools.
5 Managing virtual machines Task: Taking backup of virtual machine management database You must perform a backup of the VMM database to recover the configuration files/data in case the application crashes.
After enforcing the required certificate validation, you must perform these tasks: • Obtain certificates by using Microsoft internet explorer's certificate cache • Export cached certificates to a local directory • Import the Host/vCenter certificates into the VMM Keystore NOTE: The instructions given can be performed only with the Microsoft IE browser. The method to obtain certificates varies with different browsers and different platforms.
6. For 1. 2. 3. 4. each target server, perform these steps: Select the certificate. Click Export... to launch the Certificate Export Wizard. Click Next to continue. The Export File Format dialog is displayed. Enter a filename along with the complete path of the directory. For example, C:\VMHost-Certs\servername.cer NOTE: If you do not enter the complete path, the certificate gets stored in your Documents and Settings folder. 5. Click Next to continue with the export.
1. Add or create the following to the hpvmmsvc.log4j file in the %VMM_INSTALL_FLODER%\ bin\ location as %VMM_INSTALL_FLODER%\bin\hpvmmsvc.log4j: #******************************************************************** #Enabling windows NT Events for Insight Control virtual machine management Service #******************************************************************** #DEBUG < INFO < WARN < ERROR < FATAL log4j.rootLogger=DEBUG, stdout, NTE # Output into windows event log4j.appender.NTE=org.apache.
Handling automatic pre-failure events To handle automatic pre-failure events, perform the following: 1. Click Deploy→Virtual Machine→Handle Virtual Machine Host Prefailure Events. 2. In Step 1, Select the target events, select the PreFailure Events collection that has been created, then click Apply. 3. Click Add System Filters.... 4. Select the Collection under Add filters by selecting from:. 5. Select the system collection that has been created as described in Prerequisites. 6. Click Apply, then Next.
To handle automatic pre-failure events using the Set Alternate host feature, configure pre-failure handling using the steps described in Handling automatic pre-failure events. Whenever any pre-failure events are generated on any of the systems in the System Collection Prefailure VMware ESX Collection, the virtual machines running on this host are recovered to the alternate host.
6. 7. 8. 9. 26 Select the target host and click Next. The target repository must be on the same virtualization layer. Specify the location for the backup files to be placed on the virtual machine host, and then click Next. For a VMware ESX server virtual machine that is powered up, choose one of the following: • Perform the backup while the virtual machine is running. During the backup operation, disk changes are written to a new redo log and applied when the backup completes.
6 Troubleshooting Insight Control virtual machine management controls Virtual machine customization fails during template deployment During template deployment of VMs in case of Windows Hyper-v server 2008 R2 SP1, Windows Hyper-v server 2008 SP2 on Proliant servers, the virtual network manager fails to load the Hyper-v manager through the import and export methods. This causes failure of virtual machine customization and the IO service request. To resolve this issue, you must install HP NCU v 10.
Changing the SCVMM server credentials is not reflected in UI VMM status icon You must restart the SCVMM/VMM service or server and register the SCVMM server in the VME tab with new credentials after changing the password. The SCVMM related operations continue to work and the VM status icon does not change until the SVMM service is restarted. User does not have the option to change the VM name in the “Select VM Backup Repository Location” step of the create backup wizard.
Virtual machines that you have installed, but that HP SIM has not discovered, have limited functionality. For example, the following functions cannot be performed: • Copying a virtual machine guest • Moving a virtual machine guest • Backing up a virtual machine guest • Defining the performance threshold • Setting up a failed host recovery • Granting authorizations The only operations that can be performed are creating templates.
Virtual machine guest information becomes inaccessible from VMM Virtual machine guest information might become inaccessible from VMM after a period of time. To resolve this issue, run Identify Systems on the virtual machine host that is hosting the virtual machine guest by clicking Options→Identify Systems. A virtual machine host appears in VMM multiple times The virtual machine host might appear twice in VMM: once licensed and once unlicensed. If this issue occurs, unregister the unlicensed host.
2. 3. Clear the Do not save encrypted pages to disk option. Click Apply. Insight Control virtual machine management functions Stop VM task does not perform as expected on Xen on RHEL 5.4 x86 virtual machine hosts On a Xen on RHEL 5.4 x86 virtual-machine host, a Stop operation performed on a Microsoft Windows virtual machine guest, may not succeed. In such a case, VMM would display a timed-out message and would not indicate a failure.
vCenter Server. To enter maintenance mode, all virtual machines must be powered down or migrated to other virtual machine hosts. Manual intervention might be required to complete this task. HTTP ERROR: 500 Internal Server Error message appears during a VMM move or copy operation This error can occur when the network is busy during the move or copy operation. To resolve this issue, refresh the browser window.
entered, enter them in the system sign-in credentials of HP SIM credentials settings and re-register the Microsoft Hyper-V server host. Hyper-V R2 host virtual machines recovered on alternate host using Failed Host Recovery cannot be powered on Ensure the cluster shared volume(CSV) is accessible on the alternate host. Configure the network settings of the virtual machine manually if not set.
4. 5. 6. 7. 8. 9. 10. 11. 12. 13. On the virtual machine guest, select Services, and then verify that WMI service is listed and started. From the Systems Insight Manager CMS Control Panel, select Add or Remove Programs, and then verify that Pegasus WMI Mapper 2.7 is installed. On the HP SIM CMS, select Services, and then verify that Pegasus WMI Mapper service is listed and started.
Hardware Re-entering the server serial number and product ID After replacing a system board, you must re-enter the server serial number and the product ID. Improperly entering the serial number can consume an additional Insight Control license. To avoid consuming an additional license, see the maintenance and service guide for your server platform at http://www.docs.hp.com for information about re-entering the server serial number.
7 Support and other resources Information to collect before contacting HP http://www.hp.com/go/assistancehttp://www.hp.com/go/supporthttp://www.hp.
After creating your profile and linking your support agreements to your profile, see the Software Updates and Licensing portal at http://www.hp.com/go/hpsoftwareupdatesupport to obtain software, documentation, and license updates. Warranty information HP will replace defective delivery media for a period of 90 days from the date of purchase. This warranty applies to all Insight Management products.
Book title The title of a book. On the web, this can be a hyperlink to the book itself. Command A command name or command phrase, for example ls -a. Computer output Information displayed by the computer. Ctrl+x or Ctrl-x A key sequence that indicates you must hold down the keyboard key labeled Ctrl while you press the letter x. ENVIRONMENT VARIABLE The name of an environment variable, for example, PATH. Key The name of a keyboard key. Return and Enter both refer to the same key.
A Virtual machine events Viewing virtual machine events To view all events related to VMM, expand the Events→Shared directory in the left pane of the HP SIM console. Expand All Insight Control virtual machine management Events. To view events for a particular virtual machine host or guest, click the host or guest in the HP SIM console, and then click the Events tab. To view details about a specific event, click the Event Type entry.
Table 7 Virtual Machine Management events (continued) 40 Event type Description Abort Virtual Machine Copy Insight Control virtual machine management did not complete copying a virtual machine. Finish Virtual Machine Copy Insight Control virtual machine management has finished copying a virtual machine. Virtual Machine Suspend The virtual machine has suspended information. Virtual Machine Shutdown The virtual machine has shutdown information.
Table 7 Virtual Machine Management events (continued) Event type Description Entered Standby Mode Event This event is received when you manually put the host in Standby mode. Insight Control virtual machine management does not listen to this event. Exiting Standby Mode Event This event is received when you manually power on the host that is in Standby mode. Insight Control virtual machine management does not listen to this event.
Table 8 vCenter and VMware ESX Server host events (continued) Event type Description DrsVmMigrateEvent This event records a virtual machine migration that was recommended by DRS. VmOrphanedEvent This event records a virtual machine for which no host is responsible. VmPoweredOffEvent This event records when a virtual machine finished powering off. VmPoweredOnEvent This event records when a virtual machine finished powering on.
Table 8 vCenter and VMware ESX Server host events (continued) Event type Description Virtual Machine Host exited standby mode The VM Host has exited from the DPM-initiated Standby mode successfully. vmmControl This event records virtual machine control information. vmmAnswer This event records virtual machine answer question information. vmmPause This event records virtual machine pause information. vmmReset This event records virtual machine reset information.
Table 8 vCenter and VMware ESX Server host events (continued) Event type Description vmmVMThreshold Virtual machine guest processor event. vmmHostThreshold Virtual machine host processor event. vmmVMCpuThreshold Virtual machine guest processor threshold event. vmmHostCpuThreshold Virtual machine host processor threshold event. vmmVMMemoryThreshold Virtual machine guest memory utilization threshold event. vmmHostMemoryThreshold Virtual machine host memory utilization threshold event.
B Error messages The following tables contain error messages that might appear when performing certain menu selections from HP SIM. To view the table displaying the error message, cause, and solution, press CTRL, and then click a menu selection. Table 9 Configure→Virtual Machine→Register Virtual Machine Error message Cause No, View Details. When you click View Details, the following message appears: The machine selected has not been discovered as a server by HP SIM.
Table 10 Deploy→ Virtual Machine→ Copy Virtual Machine (continued) Error message Cause Solution Virtual Machine Guest does not appear as the system subtype on the machine system page. For more information, see the HP Systems Insight Manager User Guide Select a virtual machine guest. No, VM must be off or paused. selected. Stop or pause the virtual machine guest.
Table 12 Deploy→ Virtual Machine→ Handle VM host Prefailure Events (continued) Error message Cause Solution Virtual Machine Host does not appear as the system subtype on the machine system page. 1. Select the virtual machine host. 2. Select Options→Identify System. For more information, see the HP Systems Insight Manager User Guide Select a virtual machine host. No, not allowed by tool definition. The machine selected has not been discovered as a server by HP SIM. To run Identify system: 1.
Table 14 Deploy→ Virtual Machine→ Backups→ Restore Last Virtual Machine Backup Error message Cause No, View Details. When you click View Details, the following message appears: The machine selected has not been discovered as a server by HP SIM. Solution To run Identify system: 1. Select the Windows virtual machine host. Unknown or unmanaged appears on the 2. Select Options→Identify System. HP SIM System Page.
Table 16 Configure→ Virtual Machine→ Set Alternate Virtual Machine Host (continued) Error message Cause Solution This tool cannot run Unknown or unmanaged appears on the 1. Select the Windows virtual machine host. on as it does HP SIM System Page. not pass the 2. Select Options→Identify System. conditions required For more information, see the HP Systems for running it. Insight Manager User Guide The machine selected has not been discovered as a virtual machine host by HP SIM.
Table 17 Configure→ Virtual Machine→ Set Performance Thresholds (continued) Error message Cause Solution Neither Virtual Machine Host nor For more information, see the HP Systems Virtual Machine Guest appears as Insight Manager User Guide the system subtype on the machine system page. Select a virtual machine host or virtual machine guest.
Glossary CMS HP Systems Insight Manager Central Management Server. guest operating system A distinct operating system instance running in a virtual machine. host operating system An operating system that is the foundation for a virtual machine. HP Systems Insight Manager Systems Insight Manager. hypervisor A hypervisor allows multiple operating systems to run concurrently on a host computer. Examples of hypervisors are VMware ESX, Hyper-V, and so on.
Index A accessing System Page, 15 adding licenses, 10 agentless management, 8 B blank page appears when launching VMM from HP SIM, 29 C central management server retiring, 34 uninstalling, 34 CMS see central management server color codes, performance, 18 components, VMM, 6 configuration SNMP properties, 33 troubleshooting, 35 configuring polling frequency for virtual machine status checks, 17 WMI Mapper proxy, 11 controls, Insight Control virtual machine management, 15 copied Xen virtual machine guest doe
error occurs when clicked, 30 restoring using a backup fails, 30 retiring CMS, 34 S server re-entering serial number, 35 slow response time on virtual machine host, 30 SNMP properties, 33 status column icons, 6 support how to contact HP, 36 warranty information, 36 system information not displayed, 28 System Page accessing, 15 overview, 15 Systems Insight Manager console system identification, 33 discovery, 33 events, 39 icons, 6 identify systems, 33 T tools, Insight Control virtual machine management, 15