Task: defining rules for external events, Task: delegating rule authorization for operators, Task: notification of power management events – HP Insight Control Software for Linux User Manual

Page 28

Advertising
background image

Task: Defining rules for external events

Data Center Power Control rules can be invoked manually or automatically using the mxexec command to
respond to external events.

To invoke a rule manually, use the mxexec command. For more information on mxexec command, see
mxexec

command in

HP Systems Insight Manager Command Line Interface Reference Guide available at

http://h18002.www1.hp.com/products/servers/management/hpsim/infolibrary.html

.

To start a rule automatically, invoke the mxexec command to define a custom CMS tool that would run the
rule. For information on creating the custom CMS tools, see

Chapter 19 Systems Insight Manager custom

tools in HP Systems Insight Manager User Guide available at

http://h18002.www1.hp.com/products/

servers/management/hpsim/infolibrary.html

. The custom CMS tools for invoking Data Center Power Control

rules must have the following settings:

The maximum number of targets the tool can select when creating the task is None. Targets are selected
by the filters in the rule definition.

Command with parameters: mxexec -t DCPC -A rule-ID

You can view the rule-ID for a rule in the rule list on the Data Center Power Control Rules page.

After the custom CMS tool is created, you can launch it automatically when an event occurs with Automatic
Event Handling

facility of Systems Insight Manager. for more information, see

Chapter 7 Automatic event

handling in HP Systems Insight Manager User Guide. You can also configure this as a scheduled task with
Scheduled Tasks

facility of Systems Insight Manager. For information on managing tasks, see

HP Systems

Insight Manager User Guide.

Task: Delegating rule authorization for operators

You can authorize users, who perform the role of an operator, to run certain required rules using the Data
Center Power Control facility.

To authorize an operator to run a rule, perform the following:

1.

From the New Rule or Edit Rule section of the Data Center Power Control Rules page, click Permissions.
The Permissions section appears at the bottom of the New Rule or Edit Rule section of the Data Center
Power Control Rules page.

2.

Select the operator name from the Other users column and click to move it into the Users with explicit
permission to run the rule

column to add permission to the user for this rule. You can also include

permission for more than one user for a rule.

3.

Click Save Permissions to save the changes. The operator is authorised to run the required rules.

4.

The operator must also be authorized for the DCPC tool for each possible target of a rule through the
Monitor Tools

toolbox or a Custom Toolbox which includes the DCPC Tool. The administrator (with

authorization to configure Central Management Server security) must establish this through
Options

SecurityUsers and Authorizations.

Task: Notification of Power Management Events

Insight Control power management alerts are distributed as Systems Insight Manager events attributed to
specific devices. This capability enables you to be notified of power/cooling issues that may arise from:

New hardware attached to a PDU but not configured in Systems Insight Manager

New potential overload conditions precipitated by addition of new hardware

Loss of power/thermal data collection due to changes in credentials on an iLO/OA

Configuration changes that may have removed a previous power cap required to stay within a
power/cooling constraint

For automatic notification of power management events, you may use the Automatic Event Handling
capability of Systems Insight Manager to route the event to the destination of your choice such as send a
page, email, execute a custom CMS tool, assign to a specific user, generate a SNMP trap, or system log.

Selection of which specific event types, and for which systems automatic event handling it is to be activated
is provided by Systems Insight Manager.

28

Managing power and cooling facilities in your data center

Advertising