To forcefully terminate a cluster node that is in any state where it can respond to management operations, use the following rhino-console command or related MBean operation.

Note When using the pool clustering mode, this operation can only be used to terminate the node the management operation is invoked on.

Console command: kill


kill -nodes node1,node2,...
    Forcefully terminate the specified nodes (forces them to become non-primary)


To forcefully terminate nodes 102 and 103:

$ ./rhino-console kill -nodes 102,103
Terminating node(s) [102,103]
Termination successful

MBean operation: kill


Rhino operation

public void kill(int[] nodeIDs)
  throws NullPointerException, InvalidArgumentException,

Rhino’s kill operation immediately and forcefully terminates specified nodes. It requires an argument to select which nodes to terminate (by specifying node IDs).

Application state may be lost

Killing a node is not recommended — forcibly terminated nodes lose all non-replicated application state.

Previous page Next page
Rhino Version 3.2