Static resources

Static resources are built-in resources that represent host information that does not change over time, such as the maximum memory available to user processes or the number of processors in a machine. Most static resources are determined at start-up time, or when hardware configuration changes are detected.

Static resources can be used to select appropriate hosts based on binary architecture, relative CPU speed, and system configuration.

The resources ncpus, maxmem, maxswp, and maxtmp are not static on UNIX hosts that support dynamic hardware reconfiguration.

Note:

You can use the command egoconfig addresourceattr to add a custom tag to any hosts and then specify that tag when creating a resource group. See the reference for more information.

Index

Measures

Units

Determined by

scvgf

scavenging flag

string

configuration

type

host type

string

configuration

model

host model

string

configuration

hname

host name

string

configuration

cpuf

CPU factor

relative

configuration

ncpus

number of processors

processors

lim

ndisks

number of local disks

disks

lim

maxmem

maximum memory

MB

lim

maxswp

maximum swap space

MB

lim

maxtmp

maximum space in /tmp (Linux) or OS default temp directory (Windows)

MB

lim

Scavenging flag (scvgf)

Scavenging flag is a configurable external attribute assigned to a host, identifying that it is available for scavenging. Can be turned on or off.

Host type (type)

Host type is a combination of operating system and CPU architecture. All computers that run the same operating system on the same computer architecture are of the same type. You can add custom host types in the HostType section of ego.shared. This alphanumeric value can be up to 29 characters long.

An example of host type is LINUX86.

Host model (model)

Host model is the combination of host type and CPU speed (CPU factor) of your machine. All hosts of the same relative type and speed are assigned the same host model. You can add custom host models in the HostModel section of ego.shared. This alphanumeric value can be up to 29 characters long.

An example of host model is Intel_IA64.

Host name (hname)

Host name specifies the name with which the host identifies itself.

CPU factor (cpuf)

CPU factor (frequently shortened to cpuf) is a value representing the speed of the host’s CPU relative to other hosts in the cluster. For example, if one processor is twice the speed of another, its CPU factor should be twice as large. For multiprocessor hosts, the CPU factor is the speed of a single processor.

The CPU factors are detected automatically or defined by the administrator.

Number of CPUs (ncpus)

By default, the number of CPUs represents the number of physical processors a machine has. As most CPUs consist of multiple cores, threads, and processors, ncpus can be defined by the cluster administrator (either globally or per-host) to consider one of the following:

  • processors

  • processors and cores

  • processors, cores, and threads

Globally, this definition is controlled by the parameter EGO_DEFINE_NCPUS in ego.conf (shared directory). The default behavior for ncpus is to consider only the number of physical processors (EGO_DEFINE_NCPUS=procs).

Note:

On a machine running AIX, ncpus detection is different. Under AIX, the number of detected physical processors is always 1, whereas the number of detected cores is the number of cores across all physical processors. Thread detection is the same as other operating systems (the number of threads per core).

Number of disks (ndisks)

The number of disks specifies the number of disks a machine has.

Maximum memory (maxmem)

Maximum memory is the total available memory of a machine, measured in megabytes (MB).

Maximum swap (maxswp)

Maximum swap is the total available swap space a machine has, measured in megabytes (MB).

Maximum temporary space (maxtmp)

Maximum temporary space is the total temporary space a machine has, measured in megabytes (MB).