Documentation Index

Fetch the complete documentation index at: https://kb.vastdata.com/llms.txt

Use this file to discover all available pages before exploring further.

computecluster modify

Prev Next

This command modifies the configuration of a VAST compute cluster.

Usage

computecluster modify --id ID
                      [--cnode-ids CNODE_IDs]
                      [--resource-preset LOW|BALANCED|MEM_HEAVY|HIGH_COMPUTE]
                      [--static-ip-ranges STATIC_IP_RANGES]
                      [--backup-frequency BACKUP_FREQUENCY]

Required Parameters

--id ID

Specifies which compute cluster to modify.

Options

--cnode-ids CNODE_IDS

Changes which CNodes from which to allocate resources to the compute cluster. A minimum of three CNodes must be allocated.

Specify the CNODE_IDS as a comma separated list of CNode IDs.

--resource-preset LOW|BALANCED|MEM_HEAVY|HIGH_COMPUTE

Sets which resources to allocate from the specified CNodes. Specify one of the following options:

  • LOW. This option allocates approximately 25% of resources to the compute cluster from the CNodes you specify with the --cnode-ids parameter. There is no upper limit to the number of CNodes you can select with this option.

  • BALANCED. This option allocates approximately 50% of resources to the compute cluster from the CNodes you specify with the --cnode-ids parameter. This option requires that at least one CNode is not allocated to any compute cluster for every eight DBoxes in the VAST cluster.

  • MEM_HEAVY. Dedicates approximately 40% of CNode resources from the selected CNodes to the compute cluster, in a memory heavy configuration. This option requires that at least two CNodes are not allocated to any compute cluster for every eight DBoxes in the VAST cluster.

  • HIGH_COMPUTE. Dedicates 100% CNode resources from the selected CNodes to the compute cluster. This option requires that at least two CNodes are not allocated to any compute cluster for every eight DBoxes in the VAST cluster.

--static-ip-ranges STATIC_IP_RANGES

A virtual IP pool to be statically allocated to the compute cluster nodes. These IPs are used by the compute cluster's nodes to communicate with each other. They should be valid external IPs. Allocate a minimum of one more than the number of CNodes you allocate using the --cnode-ids parameter.

Specify STATIC_IP_RANGES as a series of comma separated pairs of start and end IP addresses. For example, to specify the two ranges 10.0.0.5-10.0.0.9 and 10.0.0.12-10.0.0.15: --static-ip-ranges 10.0.0.5,10.0.0.9 10.0.0.12,10.0.0.15

--backup-frequency BACKUP_FREQUENCY

The frequency of the compute cluster's database backup, in minutes.

Specify BACKUP_FREQUENCY as a positive integer.

Default: 60

Example

vcli: admin> computecluster modify --id 1 --cnode-ids 1,2,3 --resource-preset BALANCED --static-ip-ranges 10.0.0.1,10.0.0.5 10.0.0.10,10.0.0.15 --backup-frequency 60