[Documentation] Adding and then deleting SXP node is sucessfull only if all operations are done on cluster owner node. To verify that all RPCs are redirected to cluster owner send add-node RPC to the first cluster node and delete-node RPC to the second cluster node (requires datastore access).
[Tags] SXP Clustering Redirecting
SxpLib.Add Node ${INADDR_ANY} session=ClusterManagement__session_1
- BuiltIn.Wait Until Keyword Succeeds 12x 10s SxpClusterLib.Check Cluster Node started ${INADDR_ANY} ip=${EMPTY}
+ BuiltIn.Wait Until Keyword Succeeds 20x 10s SxpClusterLib.Check Cluster Node started ${INADDR_ANY} ip=${EMPTY}
SxpLib.Delete Node ${INADDR_ANY} session=ClusterManagement__session_2
BuiltIn.Wait Until Keyword Succeeds 12x 10s SxpClusterLib.Check Cluster Node stopped ${INADDR_ANY} ip=${EMPTY}
Add Node And Check It Is Started
[Documentation] Send add-node RPC to the first cluster member and check if node has been started.
SxpLib.Add Node ${INADDR_ANY} session=ClusterManagement__session_1
- BuiltIn.Wait Until Keyword Succeeds 12x 10s SxpClusterLib.Check Cluster Node started ${INADDR_ANY} ip=${EMPTY}
+ BuiltIn.Wait Until Keyword Succeeds 20x 10s SxpClusterLib.Check Cluster Node started ${INADDR_ANY} ip=${EMPTY}
Delete Node And Check It Is Stopped
[Documentation] Send delete-node RPC to the first cluster member and check if node has been stopped.