To switch from the per-node activation state mode to the symmetric activation state mode, use the following rhino-console command or related MBean operation.

Console command: enablesymmetricactivationstatemode

Command

enablesymmetricactivationstatemode <template-node-id>
   Enable symmetric activation state mode of services and resource adaptor
   entities across the cluster. Components across the cluster will assume
   the state of the specified template node

Example

$ ./rhino-console enablesymmetricactivationstatemode 101
Symmetric activation state mode enabled using node 101 as a template

MBean operation: enableSymmetricActivationStateMode

MBean

Rhino operation

public void enableSymmetricActivationStateMode(int templateNodeID)
    throws InvalidStateException, InvalidArgumentException,
      ConfigurationException;

This operation activates and/or deactivates services and resource adaptor entities on other cluster nodes such that their activation state matches that of the template node.

If a service or resource adaptor entity is deactivated on a node where the SLEE operational state is RUNNING or STOPPING, that service or resource adaptor entity will enter the STOPPING state and be allowed to drain before it transitions to the INACTIVE state.

Previous page Next page
Rhino Version 2.5.0