dc_conf.cluster_name.xml parameters

This is a new file for Dynamic Cluster configuration parameters.

ResourceGroupConf section

Example:

<ResourceGroupConf> 
   <HypervisorResGrps> 
      <ResourceGroup> 
         <Name>KVMRedHat_Hosts</Name>
          <Template>rhel55hv</Template>
          <MembersAreAlsoPhysicalHosts>Yes</MembersAreAlsoPhysicalHosts>
       </ResourceGroup>
    </HypervisorResGrps> 
</ResourceGroupConf> 

The following parameters are configured in the <ResourceGroupConf> section of the file.

MembersAreAlsoPhysicalHosts

Syntax

Yes

Description

Defines a host as a hypervisor which can also run physical machine workload on idle resources.

Default

Not defined.

Name

Syntax

KVMRedHat_Hosts

Description

The name of the resource group to which this hypervisors of the given template belong. The only valid value is KVMRedHat_Hosts.

Default

Not defined.

Template

Syntax

template_name

Description

The name of the template associated with the hypervisor resource group. This must match a template name defined in the Templates section.

Default

Not defined.

Parameters section

Most parameters are configured as shown:

<ParametersConf>
   <Parameter name="PARAMETER_1">
      <Value>value_1</Value>
      </Parameter>
   <Parameter name="PARAMETER_2">
      <Value>value_2</Value>
      </Parameter>
</ParametersConf>

The following parameters are configured in the <ParametersConf> section of the file.

DC_CLEAN_PERIOD

Syntax

seconds

Description

Time to keep provision requests in memory for query purposes after they are completed. Before this period is completed, the requests appear in the output of the bdc action command. After this period expires, they only appear in the output of bdc hist. Specify the value in seconds.

Default

1800

DC_CONNECT_STRING

Syntax

admin_user_name::directory_path

Description

A connection string to specify the Platform Cluster Manager Advanced Edition administrator account name and installation directory

Default

Admin::/opt/platform

The Platform Cluster Manager Advanced Edition administrator is Admin and the installation directory is /opt/platform.

DC_EVENT_FILES_MAX_NUM

Syntax

integer

Description

Maximum number of Dynamic Cluster event log files (dc.events) to keep.

Dependency

DC_EVENT_FILES_MIN_SWITCH_PERIOD

Default

10

DC_EVENT_FILES_MIN_SWITCH_PERIOD

Syntax

seconds

Description

The minimum elapsed time period before archiving the Dynamic Cluster event log. Define the value in seconds.

Works together with DC_PROVISION_REQUESTS_MAX_FINISHED to control how frequently Dynamic Cluster archives the file dc.events. The number of finished requests in the file is evaluated regularly, at the interval defined by this parameter. The file is archived if the number of requests has reached the threshold defined by DC_PROVISION_REQUESTS_MAX_FINISHED.

The event log file names are switched when a new file is archived. The new file is named dc.events, the archived file is named dc.events.1, and the previous dc.events.1 is renamed dc.events.2, and so on.

Dependency

DC_PROVISION_REQUESTS_MAX_FINISHED

Default

1800

DC_LIVEMIG_MAX_DOWN_TIME

Syntax

seconds

Description

The maximum amount of time that a VM can be down during a live migration. This is the amount of time from when the VM is stopped on the source hypervisor and started on the target hypervisor. If the live migration cannot guarantee this down time, the system will continue to retry the live migration until it can guarantee this maximum down time (or the DC_LIVEMIG_MAX_EXEC_TIME parameter value is reached). Specify the value in seconds, or specify 0 to use the hypervisor default for the down time.

Default

0

DC_LIVEMIG_MAX_EXEC_TIME

Syntax

seconds

Description

The maximum amount of time that the system can attempt a live migration. If the live migration cannot guarantee the down time (as specified by the DC_LIVEMIG_MAX_DOWN_TIME parameter) within this amount of time, the live migration fails. Specify the value in seconds from 1 to 2147483646.

Default

2147483646

DC_MACHINE_MAX_LIFETIME

Syntax

minutes

Description

Limits the lifetime of a dynamically created virtual machine. After the specified time period has elapsed since a VM’s creation, if the VM becomes idle, the system automatically powers off and destroy the VM.

This parameter is useful when propagating updates to a shared template. If a shared template is updated, all VM instances which were generated from this template will still run with the old template even if they were powered off.

Setting this parameter to a finite value will cause VMs to be uninstalled (deleted from disk) after the specified period and completing running workload. Any further requests for the shared template must install a new VM, which will then be based on the new version of the template. Therefore administrators can be sure that the template update has been propagated throughout the system after the specified time period.

Default

Not defined. Infinite time.

DC_MACHINE_MIN_TTL

Syntax

minutes

Description

Minimum time to live of the Dynamic Cluster host or virtual machine before it can be reprovisioned. This parameter is used to prevent system resources from being reprovisioned too often and generating unnecessary load on the infrastructure. For example, if the value is set to 60, any freshly provisioned machine will not be reprovisioned in less than 60 minutes.

Default

0

DC_PROVISION_REQUESTS_MAX_FINISHED

Syntax

integer

Description

Number of finished provisioning requests in the Dynamic Cluster event log before it is archived. Works together with DC_EVENT_FILES_MIN_SWITCH_PERIOD to control how frequently Dynamic Cluster archives the file dc.events. The number of jobs in the file is evaluated regularly, at the interval defined by DC_EVENT_FILES_MIN_SWITCH_PERIOD. The file is archived if the number of jobs has reached or exceeded the threshold defined by DC_PROVISION_REQUESTS_MAX_FINISHED.

The event log file names are switched when a new file is archived. The new file is named dc.events, the archived file is named dc.events.1, the previous dc.events.1 is renamed dc.events.2, and so on.

Dependency

DC_EVENT_FILES_MIN_SWITCH_PERIOD

Default

5000

DC_REPROVISION_GRACE_PERIOD

Syntax

seconds

Description

After each job finishes, allow a grace period before the machine can accept another provision request. Specify the value in seconds.

By default, when a job completes, the machine it was running on becomes eligible for reprovisioning. However, some jobs have post-execution processes that may be interrupted if the host is reprovisioned too quickly. This parameter configures a grace period after job termination during which the host cannot be reprovisioned, which gives these processes a chance to complete.

Default

0

DC_VM_UNINSTALL_PERIOD

Syntax

minutes

Description

Time period to uninstall (delete from storage) a dynamically created VM in the off state. Specify the value in minutes.

A virtual machine can be created to meet peak workload demands. However, after peak loads pass, those virtual machines will be powered off and stored in storage. Those dynamic virtual machines can be configured to be deleted if they remain off for a long time.

Note: VMs in the OFF status still hold an IP address reservation. To release this IP address, the VM must be uninstalled (deleted from disk). To have VMs release their IP reservation immediately when powered down, specify 0 as the value of this parameter to uninstall them immediately."

Default

1440

DC_VM_MEMSIZE_DEFINED

Syntax

integer

Multiple values allowed.

This parameter wraps each value in <memsize> instead of <Value>. For example:

<memsize> integer </memsize>

Description

Specify one or more choices for VM memory size. Specify the value in MB. Separate values in a list with space.

The memory size of any new VM is the smallest of all the choices that satisfy the job’s resource requirement.

For example, if a job requires 500 MB memory, and this parameter is set to "1024 1536", the VM is created with 1024 MB memory. If a job requires 1025 MB memory, a VM is created with 1536 MB memory.

Using this feature helps prevent the hypervisor hosts from being fragmented with multiple VMs of different size. When the VMs have standardized memory size, they can easily be reused for jobs with similar memory requirements.

Dependency

Dynamic Cluster only.

If this parameter is used, DC_VM_MEMSIZE_STEP in lsb.params is ignored.

Valid Values

512 minimum

Default

Not defined

DC_VM_PREFIX

Syntax

string

Description

Prefix for naming a new VM that is created by Dynamic Cluster. Specify a text string.

You can specify more than one name using multiple <Value/> entries, but only the first value is used for dynamically creating new VMs. However, all VMs named with any of these prefixes will be treated as dynamically created VMs even if they were manually created. They will be subject to DC_VM_UNINSTALL_PERIOD, DC_MACHINE_MAX_LIFETIME.

Default

vm_lsf_dyn

DC_NEWVM_RESOURCE_GROUPS

Syntax

resource_group_name

Description

Specify names of Dynamic Cluster resource groups which are allowed to create new VMs. The only valid value is KVMRedHat_Hosts.

DC_WORKDIR

Syntax

directory_path

Description

Dynamic Cluster working directory. This is the location where the dc.events file will be stored.

Default

/opt/lsf/work/cluster_name/dc

Templates section

For more information, see the setup instructions.