WebSphere:*,type=HAManager
The resource being modified for the MBean is of type Cell
The instance is identified by the value of key cell in the MBean's Object Name
>
MBean HAManager
Management interface for the HA Manager services.
5.1 XD
Attribute Summary | |
---|---|
boolean | supportsDynamicCGReload Internal use only. |
boolean | isInSingleServerMode Returns true if this process is running in single server mode. |
Operation Summary | |
---|---|
CoreGroupInfo | getCoreGroupInfo() Returns information about the core group. |
java.lang.String[] | getCoordinators() Return a String array containing the current list of active coordinator processes for the core group. |
GroupData[] | queryGroupState( Returns group information for each group that matches the query criteria. |
GroupMemberData[] | retrieveGroupMembers( Retrieve group member data for a specified group |
ServerWithActiveGroups[] | queryCountActiveGroupsOnServers( Report the number of active members on various servers |
void | enableMember( Enable the specified group member. |
void | disableMember( Disable the specified group member. |
void | activateMember( Activate the specified group member. |
void | deactivateMember( Deactivate the specified group member. |
void | enableGroup( Enable all of the members of the specified group. |
void | disableGroup( Disable all of the members of the specified group. |
com.ibm.wsspi.hamanager.GroupName | createGroupName( Creates a group name from a comma separated String of Name=Value pairs |
void | migrateActiveMember( Move the active state from one member of the group to another member of the group. |
java.lang.String[] | resolvePolicyForGroup( This returns the policy(s) matching the provided group name. |
void | runPolicy( This runs the policy associated with the specified group. |
void | resetQuorumProviders() Request that quorum providers refresh all information and recalculate quorum based on latest data. |
Ljava.lang.String | getConnectedMembers() Get the list of core group members to which this member is connected to at the network layer. |
void | updateRuntimeConfig( Internal use only! |
java.io.Serializable | getCoreGroupConfig( Internal use only! |
Attribute Detail |
---|
public boolean supportsDynamicCGReload
Internal use only.
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public boolean isInSingleServerMode
Returns true if this process is running in single server mode.
Getter:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
Operation Detail |
---|
public CoreGroupInfo getCoreGroupInfo()
Returns information about the core group.
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public java.lang.String[] getCoordinators()
Return a String array containing the current list of active coordinator processes for the core group. Each String in the array will be in the form of Cell\Node\Server.
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public GroupData[] queryGroupState(
java.lang.String groupNameProps,
java.lang.Integer maxGroupsPerCoordinator,
java.lang.Boolean includeMemberData
)
Returns group information for each group that matches the query criteria.
groupNameProps
-
A comma delimited String of name=value pairs. Used for matching a group names. maxGroupsPerCoordinator
-
At most this number of matching groups will be returned per coordinator. Use -1 for no maximum limit. includeMemberData
-
A boolean to indicate whether group data or both group and member data should be returned.
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public GroupMemberData[] retrieveGroupMembers(
com.ibm.wsspi.hamanager.GroupName groupName
)
Retrieve group member data for a specified group
groupName
-
GroupName of the group for which member data is desired.
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public ServerWithActiveGroups[] queryCountActiveGroupsOnServers(
java.lang.String groupNameProps,
java.lang.Integer maxGroupsPerCoordinator
)
Report the number of active members on various servers
groupNameProps
-
A comma delimited String of name=value pairs. Used for matching a group names. maxGroupsPerCoordinator
-
At most this number of matching groups will be returned per coordinator. Use -1 for no maximum limit.
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public void enableMember(
com.ibm.wsspi.hamanager.GroupName groupName,
java.lang.String nodeName,
java.lang.String serverName
)
Enable the specified group member. The member must currently be in the DISABLED state. If successful the member will transition to the IDLE state.
groupName
-
The name of the group containing the desired member. nodeName
-
The name of the node hosting the server with the desired member serverName
-
The name of the server hosting the member.
administrator
operator
public void disableMember(
com.ibm.wsspi.hamanager.GroupName groupName,
java.lang.String nodeName,
java.lang.String serverName
)
Disable the specified group member. Disabling an active member will result in it being deactivated. If successful the member will transition to the DISABLED state.
groupName
-
The name of the group containing the desired member. nodeName
-
The name of the node hosting the server with the desired member serverName
-
The name of the server hosting the member.
administrator
operator
public void activateMember(
com.ibm.wsspi.hamanager.GroupName groupName,
java.lang.String nodeName,
java.lang.String serverName
)
Activate the specified group member. The group containing the member must be managed by a No Operation policy, and the member must currently be in the IDLE state. If successful the member will transition to the ACTIVE state.
groupName
-
The name of the group containing the desired member. nodeName
-
The name of the node hosting the server with the desired member serverName
-
The name of the server hosting the member.
administrator
operator
public void deactivateMember(
com.ibm.wsspi.hamanager.GroupName groupName,
java.lang.String nodeName,
java.lang.String serverName
)
Deactivate the specified group member. The group containing the member must be managed by a No Operation policy, and the member must currently be in the ACTIVE state. If successful the member will transition to the IDLE state.
groupName
-
The name of the group containing the desired member. nodeName
-
The name of the node hosting the server with the desired member serverName
-
The name of the server hosting the member.
administrator
operator
public void enableGroup(
com.ibm.wsspi.hamanager.GroupName groupName
)
Enable all of the members of the specified group. The members must currently be in the DISABLED state. If successful the members will transition to the IDLE state.
groupName
-
The name of the group to enable.
administrator
operator
public void disableGroup(
com.ibm.wsspi.hamanager.GroupName groupName
)
Disable all of the members of the specified group. If successful the members will transition to the DISABLED state.
groupName
-
The name of the group to enable.
administrator
operator
public com.ibm.wsspi.hamanager.GroupName createGroupName(
java.lang.String groupNameCSV
)
Creates a group name from a comma separated String of Name=Value pairs
groupNameCSV
-
A comma delimited String of name=value pairs (e.g. a=x,b=y,d=z)
administrator
operator
public void migrateActiveMember(
com.ibm.wsspi.hamanager.GroupName groupName,
java.lang.String currMemberNodeName,
java.lang.String currMemberServerName,
java.lang.String futureMemberNodeName,
java.lang.String futureMemberServerName
)
Move the active state from one member of the group to another member of the group. The group containing the members must be managed by a One Of N or M Of N policy, and the policy must not have any preferred servers configured.
groupName
-
The name of the group containing the members. currMemberNodeName
-
The name of the node hosting the current active member. currMemberServerName
-
The name of the server hosting the current active member. futureMemberNodeName
-
The name of the node hosting the desired future active member futureMemberServerName
-
The name of the server hosting the desired future active member
administrator
operator
public java.lang.String[] resolvePolicyForGroup(
com.ibm.wsspi.hamanager.GroupName groupName
)
This returns the policy(s) matching the provided group name.
groupName
-
The name of the group for which you wish to determine the associated policy.
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public void runPolicy(
com.ibm.wsspi.hamanager.GroupName groupName
)
This runs the policy associated with the specified group.
groupName
-
The name of the group which the associated policy should be applied to.
administrator
operator
public void resetQuorumProviders()
Request that quorum providers refresh all information and recalculate quorum based on latest data.
administrator
operator
public Ljava.lang.String getConnectedMembers()
Get the list of core group members to which this member is connected to at the network layer.
administrator
operator
configurator
monitor
deployer
adminsecuritymanager
public void updateRuntimeConfig(
java.io.Serializable config
)
Internal use only!
config
-
New state data.
administrator
operator
public java.io.Serializable getCoreGroupConfig(
java.lang.String coreGroupName
)
Internal use only!
coreGroupName
-
Core group name/
administrator
operator