HP Insight Control Virtual Machine Management 6.3 User Guide

where, <vmHost/vCenter cert exported path> is the location of the certificate and
<vmHost/vCenter IPAddress/hostname> is the IP address or host name of the server
containing the certificate.
3. Restart the virtual machine management service.
3. Insight Control virtual machine management logs all user operations to custom log files located at <VMM
Install Dir>\logs . For Windows CMS, you can log these events to the Windows events log file.
For more information, see “Task: Logging virtual machine management logs into Windows NT Events.
NOTE: If you log virtual machine management events to the Windows events log file, this will increase
the number of Windows events and size of Windows log file. You can perform this step only if needed,
as this would require more disk space.
Task: Logging virtual machine management logs into Windows NT Events
To log virtual machine management logs into Windows NT Events, perform the following:
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 HP 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 virtual machine management service to log the virtual machine management messages into
Windows events.
CAUTION: When the Windows events for virtual machine management are enabled, more events
are generated.
Task: Handling pre-failure events
HP Systems Insight Manager detects certain pre-failure 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 pre-failure events in virtual machine management:
Host Maintenance Mode might be triggered.
Virtual machines might be moved to alternate hosts configured in virtual machine management if the
host is not in a DRS cluster.
NOTE: This is configured as part of the pre-failure alert configuration of virtual machine management. This
action is triggered when DRS is not configured and is handled by triggering a task in Systems Insight Manager.
This task is automatically triggered when the appropriate pre-failure alert (determined by the configuration)
Task: Logging virtual machine management logs into Windows NT Events 27