HP Insight Control Virtual Machine Management 7.3 User Guide

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.log4j.nt.NTEventLogAppender
log4j.appender.NTE.layout=org.apache.log4j.PatternLayout
log4j.appender.NTE.layout.ConversionPattern=%d | %5p | %t | %m%n
log4j.appender.NTE.source=Insight Control virtual machine management
2. Add the NTEventLogAppender.dll file in the %VMM_INSTALL_FLODER%\lib location.
NOTE: Download the latest version of Log4J and add it to the root folder. This includes the
NTEventLogAppender.dll file because it is bundled with log4j.jar.
3. Restart the VMM service to log the VMM messages into Windows events.
CAUTION: When the Windows events for VMM are enabled, more events are generated.
Handling prefailure events
Systems Insight Manager detects certain prefailure alerts and generates corresponding events.
Insight Control virtual machine management enables configuration of event handlers for these
events. The following actions might occur when handling prefailure events in VMM:
Host maintenance mode might be triggered.
Virtual machines might be moved to alternate hosts configured in VMM if the host is not in a
DRS cluster.
NOTE: This is configured as part of the prefailure alert configuration of VMM. This action is
triggered when DRS is not configured and is handled by triggering a task in HP SIM. This task is
automatically triggered when the appropriate prefailure alert (determined by the configuration)
enters HP SIM. To track the status of HP SIM tasks, click Tasks & LogsView Task Results.
Prerequisites
For the prefailure events to work, you must have a system collection created in HP SIM. To create
a system collection:
1. In the System and Event Collections panel, click Customize.... The Customize Collections page
appears.
2. Click New... to create a new collection.
3. Click Choose members individually.
4. In the Choose from list, select All Systems.
5. Select the servers that have access to the same LUNs on shared storage from the Available
Items box, and move them to the Selected Items box.
6. Click Save as Collection to save the collection with an appropriate name, for example, Prefailure
VMware ESX Collection.
Handling prefailure events is supported for virtual machines that are on shared storage.
24 Managing virtual machines