Loading...

Resource Control Groups for Commvault

Applies to: UNIX File System, Informix, Oracle, SAP for Oracle

Resource Control Groups for Commvault is a mechanism to control CPU and other resources for Commvault processes so that they operate within the set constraints.

Configure Resource Control Groups for Commvault

The Resource Control Groups feature is disabled for Commvault by default. To configure the feature, set the following additional settings on the client computer and restart the Commvault services.

Prerequisites

  • Resource control groups are supported for the following operating systems and packages:

    Operating system

    Package

    Linux

    Control Groups (cgroups)

    Solaris

    Projects

    AIX

    Workload Manager (WLM)

    Note: The Resource Control Groups feature automatically switches WLM to active mode if it is not already active.

    HP-UX

    Process Resource Manager (PRM)

  • For Red Hat Enterprise Linux 6.x or lower and CentOS 7.x or lower versions, the libcgroup package might not be installed during the operating system installation. To install the libcgroup package, run the following command:

    sudo yum install libcgroup

  • For Oracle Enterprise Linux 7 and Red Hat Enterprise Linux 7 versions, to install the libcgroup-tools RPM package, run the following command:

    sudo yum install libcgroup-tools

Enabling Resource Control Group

You can enable or disable the resource control groups using the dCVRCGMGRENABLE additional setting. To enable the basic feature of the resource control groups:

Procedure

  1. To the client computer, add the dCVRCGMGRENABLE additional setting as shown in the following table.

    For instructions on adding the additional setting from the CommCell Console, see Add or Modify an Additional Setting.

    Property

    Value

    Name

    dCVRCGMGRENABLE

    Category

    Base

    Type

    INTEGER

    Value

    1 -To enable the basic feature of resource control group. The default cvrcgmgr resource control group will be created and all Commvault services will be managed and assigned by this group.

    2 -To enable the advanced feature of resource control group. The existing resource control group will be used and all Commvault services will be managed and assigned by this group. Use the dCVRCGMGRGROUPNAME additional setting to specify the existing resource control group's name.

  2. On the client computer, restart the services.

Setting CPU Share

You can set a maximum limit per CPU for all processes in the default cvrcgmgr resource control group by using the dCVRCGMGRCPUSHARE additional setting. To set a maximum limit on the CPU share for all processes in the cvrcgmgr resource control group:

Procedure

  1. To the client computer, add the dCVRCGMGRCPUSHARE additional setting as shown in the following table.

    For instructions on adding the additional setting from the CommCell Console, see Add or Modify an Additional Setting.

    Property

    Value

    Name

    dCVRCGMGRCPUSHARE

    Category

    Base

    Type

    INTEGER

    Value

    percentage_limit_of_CPU_share

    For example, type 50 to set 50% limit on the CPU resource for all processes in the cvrcgmgr resource control group.

    Note: On a computer with 2 CPUs, if you set 10% limit on CPU resources, the CPU usage will be reported as 20%; 10% per each CPU.

  2. On the client computer, restart the services.

Specifying an Existing Resource Control Group

You can specify the name of an existing resource control group that will be used when you enable the advanced feature of the resource control groups. The existing resource control group can be managing resources such as CPU, memory, and disk IO. Commvault services will be assigned to and managed by this group.

Procedure

  1. To the client computer, add the sCVRCGMGRADVANCEDGROUPNAME additional setting as shown in the following table.

    For instructions on adding the additional setting from the CommCell Console, see Add or Modify an Additional Setting.

    Property

    Value

    Name

    sCVRCGMGRADVANCEDGROUPNAME

    Category

    Base

    Type

    STRING

    Value

    existing_resource_control_group_name

  2. On the client computer, restart the services.

Last modified: 10/13/2017 7:59:35 AM