To find Node or Cluster Housekeeping MBeans, if using MBean operations directly, use the Rhino Housekeeping MBean, as follows.

Note
Cluster vs Node Housekeeping

Rhino includes two types of Housekeeping MBean, which, when using the Savanna clustering mode, provide the same set of functions for either an entire cluster or a single node:

  • Cluster Housekeeping MBeans operate on all event-router nodes in the primary component.

  • Node Housekeeping MBeans operate on a single cluster node only.

Many of the housekeeping commands available in rhino-console accept a -node parameter, which lets you execute the housekeeping command for a specified node, using the relevant Node Housekeeping MBean. Without this parameter, the command executes for the cluster, using the Cluster Housekeeping MBean.

However, when using the pool clustering mode, a Cluster Housekeeping MBean only operates on state maintained by the node where the MBean is registered, and it is not possible to obtain a Node Housekeeping MBean for any node other than the node the management client is connected to. This means that there is practically no difference in functionality between a Cluster Housekeeping MBean and a Node Housekeeping MBean when using the pool clustering mode.

MBean operation: getClusterHousekeeping

MBean

Rhino operation

public ObjectName getClusterHousekeeping()
  throws ManagementException;

This operation returns the JMX Object Name of a Cluster Housekeeping MBean.

MBean operation: getNodeHousekeeping

MBean

Rhino operation

public ObjectName getNodeHousekeeping(int)
  throws InvalidArgumentExcepiton, ManagementException;

This operation returns the JMX Object Name of a Node Housekeeping MBean for the given node.

Note Both the Cluster Housekeeping MBean and Node Housekeeping MBean expose the NodeHousekeepingMBean interface.
Previous page Next page
Rhino Version 3.2