infra_instances_add

This job adds an additional node(s) to a cluster. You can create the new node(s) using an existing node configuration or the cluster configuration.

Mandatory Parameters

Parameter Name Data Type Description
nid integer The ID of a node with the configuration that should be used to create the new node(s).
num_nodes integer The number of nodes you want to create.

Optional Parameters

Parameter Name Data Type Description
node_platform_config dict The cluster specific node configuration.
metadata dict The key/value pair (key1:value1) used to identify the cluster specific metadata hash table to use for additional node configuration.
disks list The storage disk(s) to which you want to add the new node(s).
cloud_zone string The encoded geographical region that stores the cloud resources. For example, Europe (Frankfurt) is eu-central-1.
is_workernode boolean If the node is stored in a cluster other than the MAIN cluster, enter "True". Otherwise, enter "False".

Substitute Parameters

There are no substitute parameters.

Allowed Users

The following users are allowed to run this job:

  • root

Allowed Groups

The following groups are allowed to run this job:

  • root
  • exaadm
  • exadbadm

Examples

The following code snippets show how to use this job using both Python (via XML-RPC) and on the command-line using confd_client.