Home > Configuration > High Availability > sethanode_haprop

sethanode_haprop

Use this method to set automatically propagate all methods from the primary to the secondary node, except the following:
* All HA configuration related methods. For example, add ha node, set ha node, and bind ha node.
* All Interface related methods. For example, set interface and unset interface.
* All channels related methods. For example, add channel, set channel, and bind channel.
The propagated method is executed on the secondary node before it is executed on the primary. If method propagation fails, or if method execution fails on the secondary, the primary node executes the method and logs an error. Command propagation uses port 3010.
Note: After enabling propagation, run force synchronization on either node.

Syntax



Parameters

id

Number that uniquely identifies the node. For self node, it will always be 0. Peer node values can range from 1-64.
NOTE: This attribute is deprecated.
Removing confusing param
Minimum value = 0.
Maximum value = 64.

haprop

Automatically propagate all methods from the primary to the secondary node, except the following: * All HA configuration related methods. For example, add ha node, set ha node, and bind ha node. * All Interface related methods. For example, set interface and unset interface. * All channels related methods. For example, add channel, set channel, and bind channel. The propagated method is executed on the secondary node before it is executed on the primary. If method propagation fails, or if method execution fails on the secondary, the primary node executes the method and logs an error. Command propagation uses port 3010. Note: After enabling propagation, run force synchronization on either node.
Default value = ENABLED.
Possible Values : ENABLED, DISABLED.

Return Value

Returns simpleResult

See Also