To check the current convergence status of a Rhino cluster use the following rhino-console command or associated MBean operation:

Console command: waittilconverged

Command

waittilconverged [-timeout timeout]
  Description
    Wait for actual state to converge to desired state. The optional timeout is
    specified in seconds

Example

To check if the actual states of all components match the desired states:

$ ./rhino-console waittilconverged -timeout 1
Covergence reached. Actual state has converged to desired state.

Example

To wait for up to one minute for the actual states of all components to match the desired states:

$ ./rhino-console waittilconverged -timeout 60
Covergence reached. Actual state has converged to desired state.

MBean operation: isConvergedToDesiredState

MBean

Rhino operation

public boolean isConvergedToDesiredState()
    throws ManagementException;

This operation:

  • returns true if the actual state of all components in all namespaces matches the desired state on every node in the cluster.

Previous page Next page
Rhino Version 3.0.0