Add a cluster node.
Delete a cluster node.
Force deletion of a cluster node, even if the cluster manager cannot reach it.
List cluster nodes.
array ( 'status' => 0, 'payload' => array ( 0 => array ( 'hostname' => 'cos5-inst.interworx.com', 'ipaddr' => '208.69.122.234', 'role' => '##LG_LOAD_BALANCER## / ##LG_CLUSTER_MANAGER##', 'status' => 'active', 'packet_forwarding_method' => 'LVS-DR', 'activation_complete' => 'yes', 'activation_details' => '', 'inprogress' => 100, ), 1 => array ( 'node_id' => '00000000001', 'hostname' => 'node1.testing.com', 'ipaddr' => '10.1.1.23', 'status' => 'active', 'activation_complete' => 'yes', 'packet_forwarding_method' => 'LVS-DR', 'inprogress' => 100, 'activation_details' => '', 'role' => '##LG_REAL_SERVER##', ), ), )
Controller: ClusterNodes
Action: add (Added in version 4.2.0-260)
Add a cluster node.
Input Parameters
The hostname or IP address of the node you would like to add to this cluster.
The packet forwarding method is the method of load balancing that the system will use to load balance requests to the cluster node.
LVS-DR, LVS-TUN
LVS-DR
The InterWorx-CP API key from the node which you would like to add. This must be retrieved from the node's NodeWorx instance.
1, 0
1
Action: delete (Added in version 4.2.0-260)
Delete a cluster node.
Input Parameters
node1.testing.com
1
Action: forceDelete (Added in version 4.8.0-393)
Force deletion of a cluster node, even if the cluster manager cannot reach it.
Input Parameters
node1.testing.com
1
Action: listClusterNodes (Added in version 4.8.0-393)
List cluster nodes.
Example Output
array ( 'status' => 0, 'payload' => array ( 0 => array ( 'hostname' => 'cos5-inst.interworx.com', 'ipaddr' => '208.69.122.234', 'role' => '##LG_LOAD_BALANCER## / ##LG_CLUSTER_MANAGER##', 'status' => 'active', 'packet_forwarding_method' => 'LVS-DR', 'activation_complete' => 'yes', 'activation_details' => '', 'inprogress' => 100, ), 1 => array ( 'node_id' => '00000000001', 'hostname' => 'node1.testing.com', 'ipaddr' => '10.1.1.23', 'status' => 'active', 'activation_complete' => 'yes', 'packet_forwarding_method' => 'LVS-DR', 'inprogress' => 100, 'activation_details' => '', 'role' => '##LG_REAL_SERVER##', ), ), )