beautypg.com

Changing from advisory mode to managed mode, Creating a new policy – HP Matrix Operating Environment Software User Manual

Page 22

background image

Changing from advisory mode to managed mode

Advisory mode allows you to see what CPU resource requests gWLM would make for a
workload—without actually affecting resource allocation. (Advisory mode is not available for
SRDs containing virtual machines, psets, or fss groups due to the nature of these compartments.)
Managed mode, however, allows gWLM to automatically adjust the resource allocations for
your defined workloads.

To change from one mode to the other:

NOTE:

In HP SIM, you must be logged in as root or have authorizations for “All Tools” or

“VSE All Tools.”

NOTE:

If you are changing from managed mode to advisory mode and you do not plan to

change back soon, be aware that gWLM leaves the npar and vpar and pset compartments with
the number of cores they had in the last allocation interval. Set the compartments to your desired
sizes before changing to advisory mode by associating fixed policies with all the compartments
and waiting for an allocation interval to pass.

1.

Ensure HP SIM, the gWLM CMS daemon or service (gwlmcmsd) and all the gWLM agents
(gwlmagent) are still running, as explained in the section

“Setting up gWLM (initial setup

steps)” (page 21)

.

2.

Connect to HP SIM by pointing your web browser to:

http://hostname:280

where hostname represents the hostname of the CMS.

3.

From the HP SIM menu bar, select:

Tools

Virtualization Manager...

and then click the Shared Resource Domain tab.

4.

Select the SRD for which to change the mode.

5.

From the VSE Management menu bar, select:

Modify

Shared Resource Domain

6.

Change to the desired mode.

7.

Click OK.

Quick Link Options

In the previous procedure, instead of selecting an SRD and using the VSE Management menu
bar, you can find the Details table for the SRD and then choose one of the following options:

Click the Change SRD to advisory mode link

Click the Modify SRD link

Creating a new policy

A policy instructs gWLM how to manage a workload’s resources. You can create a policy when
managing a workload or create a policy separately. To create a policy separately:

NOTE:

In HP SIM, you must be logged in as root or have authorizations for “All Tools” or

“VSE All Tools.”

1.

Ensure HP SIM, the gWLM CMS daemon or service (gwlmcmsd) and all the gWLM agents
(gwlmagent) are still running, as explained in the section

“Setting up gWLM (initial setup

steps)” (page 21)

.

2.

Connect to HP SIM by pointing your web browser to:

http://hostname:280

22

Configuring gWLM to manage workloads