beautypg.com

Task: handling pre-failure events, Prerequisites – HP Insight Control User Manual

Page 23

background image

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.

Task: Handling pre-failure events

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 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 pre-failure 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 pre-failure alert (determined by the configuration)
enters HP SIM. To track the status of HP SIM tasks, click Tasks & Logs

→View Task Results.

Prerequisites

For the pre-failure events to work, you must have a system collection created in HP SIM. To create
a system collection, perform the following:

1.

In the System and Event Collections panel, click Customize.... The Customize Collections page
appears.

2.

Click New... to create a new collection.

3.

Select Choose members individually option.

4.

In the Choose from dropdown 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 Selected Items box.

6.

Click Save as Collection to save the collection with an appropriate name, for example, Prefailure
VMware ESX Collection.

Handling pre-failure events is supported for virtual machines that are on shared storage.

Task: Handling pre-failure events

23