Resizing a Cluster Network with Instance Pools

Change the number of instances in a cluster network by resizing the underlying instance pool.

When you increase the size, instances are provisioned until the required number of instances in the instance pool are launched, subject to host capacity for nodes in the cluster's RDMA network.

When you decrease the size, instances are terminated (deleted) in the order that they were created, first-in, first-out. If you want to remove a specific instance from the cluster network, you can instead detach the instance from the cluster network.

To determine whether capacity is available for a specific shape before you resize a cluster network, use the CreateComputeCapacityReport operation.

Note

For information about permissions and prerequisites, see Required IAM Policy and Before You Begin.
Note

The cluster network must be in the Running state to be resized.
    1. Open the navigation menu and click Compute. Under Compute, click Cluster Networks.
    2. In the List scope section, select the compartment that contains the cluster network.
    3. Click the name of the cluster network that you want to resize.
    4. Click Edit.
    5. In the Number of instances box, specify the updated number of instances for the instance pool.
    6. Click Save changes.
      To track the progress of the operation and troubleshoot errors that occur during instance creation, use the associated work request.
  • To resize a cluster network, you can use the instance-pool update command to resize the underlying instance pool to increase or decrease the size of the instance pool.

    oci compute-management instance-pool update --instance-pool-id <INSTANCE_POOL_OCID> --size <NUMBER>
    oci compute-management instance-pool-instance attach [OPTIONS]
    oci compute-management instance-pool-instance detach [OPTIONS]

    For a complete list of flags and variable options for cluster network CLI commands, see the command line reference for compute management tasks.

  • Use the UpdateClusterNetwork operation to resize a cluster network with instance pools.