Base scaling policy
You can add a base scaling policy to a software component in a virtual system pattern, which alleviates heavy workloads by enabling dynamic vertical scaling for an instance. This policy can be applied globally at the system level, or specified for individual components.
The following properties of the base scaling policy can
be defined to apply to both automatic and manual scaling:
- Number of Instances
- Enables multiple IBM® ODM HTTP Servers and custom nodes support by specifying the number of instances.
- Instance number range of scaling in/out
- Specifies the number of instances for scaling in and scaling out.
- Maximum vCPU count per virtual machine
- Specifies the maximum number of virtual CPUs (vCPUs) that are allowed for each virtual machine.
- Maximum memory size per virtual machine (GB)
- Specifies the maximum memory size in gigabyte that is allowed for each virtual machine.
The following properties are applied only to
automatic scaling:
- CPU-based
- Enables CPU usage to be scaled automatically.
- Scaling in and out when CPU usage is out of threshold range (%)
- Specifies a threshold range to scale CPU usage. If CPU usage is outside of the threshold range that you specify, scaling is automatically applied.
- Minimum time (seconds) to trigger add or remove
- Specifies the minimum time to trigger automatic scaling.
- scaling by
- Specifies how scaling is applied. You can choose one of the following
options:
- Add vCPU only.
- Add or remove nodes.
- Add or remove nodes; add vCPU first, and then add nodes.
- Memory-based
- Enables memory usage to be scaled automatically.
- Scaling in and out when memory usage is out of threshold range (%)
- Specifies a threshold range to scale memory usage. If memory usage is outside of the threshold range that you specify, scaling is automatically applied.
- Minimum time (seconds) to trigger add or remove
- Specifies the minimum time to trigger the automatic scaling.
- scaling by
- Specifies how scaling is applied. You can choose one of the following
options:
- Add virtual memory only.
- Add or remove nodes.
- Add or remove nodes; add virtual memory first, and then add nodes.