WebSphere:*,type=HAManager
ResourceInstanceIdentifier:
MBean HAManager
Management interface for the HA Manager services.
Attribute Summary | |
boolean | supportsDynamicCGReload Internal use only. |
boolean | isInSingleServerMode Returns true if this process is running in single server mode. |
Operation Summary | |
com.ibm.websphere.hamanager.jmx.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. |
com.ibm.websphere.hamanager.jmx.GroupData[] | queryGroupState( Returns group information for each group that matches the query criteria. |
com.ibm.websphere.hamanager.jmx.GroupMemberData[] | retrieveGroupMembers( Retrieve group member data for a specified group |
com.ibm.websphere.hamanager.jmx.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
public boolean isInSingleServerMode
Operation Detail |
public com.ibm.websphere.hamanager.jmx.CoreGroupInfo getCoreGroupInfo()
public java.lang.String[] getCoordinators()
public com.ibm.websphere.hamanager.jmx.GroupData[] queryGroupState(java.lang.String groupNameProps,
java.lang.Integer maxGroupsPerCoordinator,
java.lang.Boolean includeMemberData
)
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.
public com.ibm.websphere.hamanager.jmx.GroupMemberData[] retrieveGroupMembers(com.ibm.wsspi.hamanager.GroupName groupName
)
groupName
-
GroupName of the group for which member data is desired.
public com.ibm.websphere.hamanager.jmx.ServerWithActiveGroups[] queryCountActiveGroupsOnServers(java.lang.String groupNameProps,
java.lang.Integer maxGroupsPerCoordinator
)
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.
public void enableMember(com.ibm.wsspi.hamanager.GroupName groupName,
java.lang.String nodeName,
java.lang.String serverName
)
groupName
-
The name of the group containing the desired member.nodeName
-
The name of the node hosting the server with the desired memberserverName
-
The name of the server hosting the member.
public void disableMember(com.ibm.wsspi.hamanager.GroupName groupName,
java.lang.String nodeName,
java.lang.String serverName
)
groupName
-
The name of the group containing the desired member.nodeName
-
The name of the node hosting the server with the desired memberserverName
-
The name of the server hosting the member.
public void activateMember(com.ibm.wsspi.hamanager.GroupName groupName,
java.lang.String nodeName,
java.lang.String serverName
)
groupName
-
The name of the group containing the desired member.nodeName
-
The name of the node hosting the server with the desired memberserverName
-
The name of the server hosting the member.
public void deactivateMember(com.ibm.wsspi.hamanager.GroupName groupName,
java.lang.String nodeName,
java.lang.String serverName
)
groupName
-
The name of the group containing the desired member.nodeName
-
The name of the node hosting the server with the desired memberserverName
-
The name of the server hosting the member.
public void enableGroup(com.ibm.wsspi.hamanager.GroupName groupName
)
groupName
-
The name of the group to enable.
public void disableGroup(com.ibm.wsspi.hamanager.GroupName groupName
)
groupName
-
The name of the group to enable.
public com.ibm.wsspi.hamanager.GroupName createGroupName(java.lang.String groupNameCSV
)
groupNameCSV
-
A comma delimited String of name=value pairs (e.g. a=x,b=y,d=z)
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
)
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 memberfutureMemberServerName
-
The name of the server hosting the desired future active member
public java.lang.String[] resolvePolicyForGroup(com.ibm.wsspi.hamanager.GroupName groupName
)
groupName
-
The name of the group for which you wish to determine the associated policy.
public void runPolicy(com.ibm.wsspi.hamanager.GroupName groupName
)
groupName
-
The name of the group which the associated policy should be applied to.
public void resetQuorumProviders()
public Ljava.lang.String getConnectedMembers()
public void updateRuntimeConfig(java.io.Serializable config
)
config
-
New state data.
public java.io.Serializable getCoreGroupConfig(java.lang.String coreGroupName
)
coreGroupName
-
Core group name/