Add nodes to the on-premises provider

Add node instances to the free pool of nodes for your provider

After creating the on-premises provider, you can add instances to its free pool of nodes.

  1. Navigate to Configs > Infrastructure > On-Premises Datacenters, and select the on-premises configuration you created.
  2. Select Instances.

This displays the configured instance types and instances for the selected provider.

For automatic provisioning, the Instances page is displayed as follows:

Configure on-prem instances

To add nodes, do the following:

  1. Specify the compute instance types that will be used in this provider.
  2. Add the compute instances.
  3. Run preflight checks.

For manual provisioning, the Instances page includes the command for running the provisioning script, as follows:

On-prem pre-provisioning script

To add nodes, do the following:

  1. Specify the compute instance types that will be used in this provider.
  2. Manually provision the nodes.
  3. Add the compute instances.
  4. Run preflight checks.

Add instance types

An instance type defines some basic properties of a VM.

To add an instance type, do the following:

  1. On the configuration Instances page, click Add Instance Type.

  2. Complete the Add Instance Type dialog fields, as follows:

    • Use the Name field to define a value to be used internally as an identifier in the Instance Type universe field.
    • Use the Number of Cores field to define the number of cores to be assigned to a node.
    • Use the Memory Size (GB) field to define the memory allocation of a node.
    • Use the Volume Size (GB) field to define the disk volume of a node.
    • Use the Mount Paths field to define a mount point with enough space to contain your node density. Use /data. If you have multiple drives, add these as a comma-separated list, such as, for example, /mnt/d0,/mnt/d1.
  3. Click Add Instance Type.

Add instances

Before you add instances, you need the following:

Add instances to the on-prem provider

To add the instances, do the following:

  1. On the configuration Instances page, click Add Instances.

    On-prem Add Instance Types dialog

  2. For each node in each region, provide the following:

    • Select the zone.
    • Select the instance type.
    • Enter the IP address of the instance. You can use DNS names or IP addresses when adding instances.
    • Optionally, enter an Instance ID; this is a user-defined identifier.

    Note that if you provide a hostname, the universe might experience issues communicating. To resolve this, you need to delete the failed universe and then recreate it with the use_node_hostname_for_local_tserver flag enabled.

  3. Click + Add to add additional nodes in a region.

  4. Click Add when you are done.

    The instances are added to the Instances list.

Run preflight checks

After the instances are available in the Instances list, validate them by performing a preflight check.

  • For each instance, click Actions, choose Perform check, and click Apply.

YugabyteDB Anywhere runs the check and displays the status in the Preflight Check column. Click in the column to view details; you can also view the results under Tasks.

If all your instances successfully pass the preflight check, your on-premises cloud provider configuration is ready, and you can begin deploying universes.