22.214.171.124.72 ApiEvictNode (Opnum 71)
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 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 );
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 Description
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 126.96.36.199 as recoverable errors and initiate the reconnect procedure as specified in section 188.8.131.52.