ApiEvictNode (Opnum 71)

(Protocol Version 3) The ApiEvictNode method instructs the server to remove the specified node, as specified in section, from the nonvolatile cluster configuration.

The server MUST remove any reference to the designated node from data in the cluster nonvolatile cluster store that is used to control placement of a resource or group. The server SHOULD effect a cleanup of itself so as to allow it to join another cluster.

A node SHOULD allow itself to be evicted even if it is not active.

The server MUST accept an ApiEvictNode request only if its protocol server state is read/write, as specified in section 3.1.1.

The server MUST require that the access level associated with the hNode context handle is "All" (section 3.1.4).

 error_status_t ApiEvictNode(
   [in] HNODE_RPC hNode,
   [out] error_status_t *rpc_status

hNode: An HNODE_RPC context handle that was obtained in a previous ApiOpenNode or ApiOpenNodeEx method call.

rpc_status: A 32-bit integer used to indicate success or failure. The RPC runtime MUST indicate, by writing to this parameter, whether the runtime succeeded in executing this method on the server. The encoding of the value passed in this parameter MUST conform to encoding for comm_status and fault_status, as specified in Appendix E of [C706].

Return Values: The method MUST return the following error codes for the specified conditions.

Return value/code







The hNode parameter does not represent a valid HNODE_RPC context handle.

For any other condition, this method MUST return a value that is not one of the values listed in the preceding table. The client MUST behave in one consistent, identical manner for all values that are not listed in the preceding table. However, the client SHOULD treat errors specified in section as recoverable errors and initiate the reconnect procedure as specified in section