| setclusternode_state |
Use this method to set admin state of the cluster node. The available settings function as follows: ACTIVE - The node serves traffic. SPARE - The node does not serve traffic unless an ACTIVE node goes down. PASSIVE - The node does not serve traffic, unless you change its state. PASSIVE state is useful during temporary maintenance activities in which you want the node to take part in the consensus protocol but not to serve traffic. |
Syntax |
Parameters |
nodeid |
ID of the cluster node to be modified. This is mandatory parameter. Maximum value = 31. |
state |
Admin state of the cluster node. The available settings function as follows:
ACTIVE - The node serves traffic.
SPARE - The node does not serve traffic unless an ACTIVE node goes down.
PASSIVE - The node does not serve traffic, unless you change its state. PASSIVE state is useful during temporary maintenance activities in which you want the node to take part in the consensus protocol but not to serve traffic. Default value = NSACL_NODEST_PASSIVE. Possible Values : ACTIVE, SPARE, PASSIVE. |
Return Value |
Returns simpleResult |
See Also |