ALTER CLUSTER
Alter the settings of an existing cluster
Overview
The ALTER CLUSTER
command is used to modify the configuration of an existing cluster in Upsolver.
Syntax
Options:
MIN_INSTANCES = <min_instance_count>
:This sets the minimum number of instances the cluster should maintain.
Example:
ALTER CLUSTER myCluster SET MIN_INSTANCES = 1
MAX_INSTANCES = <max_instance_count>
:This sets the maximum number of instances the cluster can scale up to.
Example:
ALTER CLUSTER myCluster SET MAX_INSTANCES = 4
COMMENT = '<comment>'
:Adds a comment or description to the cluster for documentation or clarification purposes.
Example:
ALTER CLUSTER myCluster SET COMMENT = 'This is my test cluster'
STATIC_PUBLIC_IPS = <number_of_static_ips>
:Specifies the number of static public IPs that should be allocated to the cluster.
Increasing this number will allocate new Elastic IPs to the cluster.
Example:
ALTER CLUSTER myCluster SET STATIC_PUBLIC_IPS = 1
ON_DEMAND_INSTANCES = <on_demand_instance_count>
:Specifies the minimum number of guaranteed on-demand instances allocated to the cluster.
While this sets a floor, there may sometimes be more on-demand instances if there's low spot availability.
Example:
ALTER CLUSTER myCluster SET ON_DEMAND_INSTANCES = 1
MAX_REPLAY_INSTANCES = <max_replay_instance_count>
:Sets the maximum number of instances used for replay tasks.
Replay instances are separate from normal processing instances and will turn off when there's no replay activity occurring.
Example:
ALTER CLUSTER myCluster SET MAX_REPLAY_INSTANCES = 8
INSTANCE_TYPE_FAMILY = '<instance_type_family>'
:Specifies the exact instance type for the cluster.
Examples of instance types:
m5.2xlarge
,r5.xlarge
,r5.2xlarge
.Example:
ALTER CLUSTER myCluster SET INSTANCE_TYPE_FAMILY = 'm5.2xlarge'
SCALING_STRATEGY
:Determines the scaling strategy of the cluster. Options are:
LOW_COST
: Prioritize cost savings.LOW_LATENCY
: Prioritize reducing latency.CONSISTENT_LOW_LATENCY
: Maintain consistently low latency.NO_SCALING
: No scaling, static number of instances.
Example:
ALTER CLUSTER myCluster SET SCALING_STRATEGY = LOW_COST
ALLOW_MAINTENANCE_ACCESS = {TRUE | FALSE}
:Determines if maintenance access is allowed. If set to TRUE, it permits Upsolver support to SSH into the instances for troubleshooting purposes.
Example:
ALTER CLUSTER myCluster SET ALLOW_MAINTENANCE_ACCESS = TRUE
Last updated