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". |
timeout | integer | The time limit in seconds. The default is 1800 seconds (30min). |
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 examples show how to run this job in a Python program using XML-RPC or on the command line using confd_client.