Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Getting Started with HP Integrity Essentials Global Workload Manager: gWLM A.02.50.00.x > Chapter 1 

Other Administration Tasks

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

This section discusses various administration tasks:

Initial Steps

Several administration tasks require the same initial steps. These steps are given below.

NOTE: You must be logged in as root on the systems where you run the mxstart, gwlmcmsd, and gwlmagent commands mentioned below.
  1. Configure your CMS as indicated in the VSE Management Software Installation and Update Guide if you have not already done so

  2. On each managed node, start the gWLM agent if it is not already running:

    # /opt/gwlm/bin/gwlmagent

    Alternatively, you can start the agents through SIM, as discussed in the VSE Management Software Installation and Update Guide.

Changing from Advisory Mode to Managed Mode

Advisory mode allows you to see what CPU 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.) 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 SIM, you must be logged in as root or have authorizations for “All Tools,” “VSE All Tools,” or “gWLM All Tools.”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 CPU counts 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 SIM, the gWLM CMS daemon (gwlmcmsd) and all the gWLM agents (gwlmagent) are still running, as explained in the section “Initial Steps”.

  2. Connect to SIM by pointing your web browser to:

    http://hostname:280

    where hostname represents the hostname of the CMS.

  3. Select from the SIM menu bar:

    Tools
     -> VSE Management

    and then click the Shared Resource Domain tab

  4. Select the SRD for which to change the mode

  5. Select from the VSE Management menu bar:

    Modify
     -> Shared Resource Domain

  6. Change to the desired mode

  7. Select the [OK] button

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 SIM, you must be logged in as root or have authorizations for “All Tools,” “VSE All Tools,” or “gWLM All Tools.”
  1. Ensure SIM, the gWLM CMS daemon (gwlmcmsd) and all the gWLM agents (gwlmagent) are still running, as explained in the section “Initial Steps”.

  2. Connect to SIM by pointing your web browser to:

    http://hostname:280

    where hostname represents the hostname of the CMS.

  3. Select from the SIM menu bar:

    Tools
     -> VSE Management

    and then click the Shared Resource Domain tab

  4. Select from the VSE Management menu bar

    Policy
    -> Create gWLM Policy...

  5. Edit the settings, selecting a policy type and specifying the required values and optional values as desired

  6. Select the [OK] button

Editing a Policy

A policy instructs gWLM how to manage a workload’s resources.

NOTE: You can edit the policies provided with gWLM; however, there is currently no way to restore these policies to their original definitions.

To edit a policy:

NOTE: In SIM, you must be logged in as root or have authorizations for “All Tools,” “VSE All Tools,” or “gWLM All Tools.”
  1. Ensure SIM, the gWLM CMS daemon (gwlmcmsd) and all the gWLM agents (gwlmagent) are still running, as explained in the section “Initial Steps”.

  2. Connect to SIM by pointing your web browser to:

    http://hostname:280

    where hostname represents the hostname of the CMS.

  3. Select from the SIM menu bar:

    Tools
     -> VSE Management

    and then click the Shared Resource Domain tab

  4. Select from the VSE Management menu bar:

    Policy
    -> Edit gWLM Policies...

  5. Select the policy to edit

  6. Select the [Edit] button

  7. Edit the settings

  8. Select the [OK] button

    NOTE: All workloads associated with this policy will automatically use the updated policy.

Changing Which Policy is Associated with a Workload

To change the policy affecting how gWLM allocates resources to a workload:

NOTE: In SIM, you must be logged in as root or have authorizations for “All Tools,” “VSE All Tools,” or “gWLM All Tools.”
  1. Ensure SIM, the gWLM CMS daemon (gwlmcmsd) and all the gWLM agents (gwlmagent) are still running, as explained in the section “Initial Steps”.

  2. Connect to SIM by pointing your web browser to:

    http://hostname:280

    where hostname represents the hostname of the CMS.

  3. Select from the SIM menu bar:

    Tools
     -> VSE Management

    and then click the Shared Resource Domain tab

  4. Select the workload for which you want to change the policy

  5. Select from the VSE Management menu bar:

    Policy
     -> Change Associated gWLM Policy...

  6. Select the new policy to associate, or apply, to the workload from the options menu in the table row for the workload

  7. Select the [OK] button

Adding a New Npar / Vpar / Virtual Machine / Pset / FSS Group to an SRD

If you:

  • Have added an npar, a vpar, or a virtual machine to your system and want to add it to an SRD, or

  • Want to create psets or fss groups in a host already in an SRD

You can use the gWLM wizard to accomplish those tasks. To start the wizard, select from the SIM menu bar:

Tools
 -> VSE Management

and then click the Shared Resource Domain tab and then from the VSE Management menu bar:

Create
 -> Shared Resource Domain

Step 1 in the wizard allows you to add npars and vpars. Step 3 allows you to create psets or fss groups, as well as manage existing virtual machines.

Stop Managing a Workload

When you stop managing a workload:

  • gWLM stops managing resources for the workload

  • The workload’s definition is removed from the SRD, although it remains available for placing in another SRD

NOTE: When gWLM stops managing npar-based or vpar-based workloads, it leaves the npars or vpars with the CPU counts they had in the last allocation interval. For this reason, in Step 3 below, you associate fixed policies with the workloads based on these types of compartments. You must stop a virtual machine before you stop managing it with gWLM. When gWLM stops managing a virtual machine, it sets the entitlement of the running virtual machine to its minimum. For psets and fss groups, gWLM removes the pset or fss group and moves the processes from that compartment to the default compartment.

To stop managing workloads in an SRD:

  1. Ensure SIM, the gWLM CMS daemon (gwlmcmsd) and all the gWLM agents (gwlmagent) are still running, as explained in the section “Initial Steps”.

  2. Connect to SIM by pointing your web browser to:

    http://hostname:280

    where hostname represents the hostname of the CMS.

  3. Associate fixed policies with all workloads that you want to unmanage that are based on npars or vpars.

    For information on setting the associated policy, refer to “Changing Which Policy is Associated with a Workload”

  4. Wait an allocation interval for gWLM to set CPU allocations based on the fixed policies.

  5. Select the Shared Resource Domain tab

  6. Select the workload you want to stop managing in the workload table

  7. Select from the VSE Management menu bar:

    Policy
     -> Remove Associated gWLM Policy...

  8. Associate policies

    Evaluate and change, if needed, the remaining workloads and their associated policies to ensure they are appropriate given that a workload has been removed

  9. Select the [OK] button

Stop Managing an SRD

To stop gWLM from managing an SRD and its workloads, returning resource allocation to HP-UX:

NOTE: In SIM, you must be logged in as root or have authorizations for “All Tools,” “VSE All Tools,” or “gWLM All Tools.”
  1. Ensure SIM, the gWLM CMS daemon (gwlmcmsd) and all the gWLM agents (gwlmagent) are still running, as explained in the section “Initial Steps”.

  2. Connect to SIM by pointing your web browser to:

    http://hostname:280

    where hostname represents the hostname of the CMS.

  3. Associate fixed policies with all npars or vpars that were in the SRD

    When gWLM stops managing an SRD, it leaves compartments based on npars or vpars as they were in the last allocation interval. Associating fixed policies allows you to set the sizes exactly to what you want. (For virtual machines, gWLM sets the entitlements of the running virtual machines to their minimums. psets and fss groups are removed in this situation, with their processes going to the default pset or default fss group.)

    For information on setting the associated policy, refer to “Changing Which Policy is Associated with a Workload”

  4. Select the Shared Resource Domain tab

  5. Select the SRD you want to stop managing (undeploy)

  6. Select from the VSE Management menu bar:

    Modify
     -> Shared Resource Domain...

  7. Select the SRD you want to stop managing (undeploy)

  8. Change the State to Undeployed

  9. Select the [OK] button

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2004-2007 Hewlett-Packard Development Company, L.P.