WebSphere:*,type=PlacementControllerMBean
MBean PlacementControllerMBean
PlacementController
Operation Summary | |
---|---|
void | enable() Starts the PlacementController |
void | disable() Stops the PlacementController |
void | enableNode( Enables the management of a node |
void | enableNode( Enables the management of a node |
void | disableNodeAfterReplacement( Disables the management of a node after replacement |
void | disableNode( Disables the management of a node |
boolean | isNodeInUse( Tests whether node is in use |
void | disableNode( Disables the management of a node |
void | disableNode( Disables the management of a node |
void | enableDynamicCluster( Enables the management of a dynamic cluster |
void | enableDynamicCluster( Enables the management of a dynamic cluster |
void | enableDynamicCluster( Enables the management of a dynamic cluster |
void | enableDynamicCluster( Enables the management of a dynamic cluster |
void | disableDynamicCluster( Disables the management of a dynamic cluster |
void | disableDynamicCluster( Disables the management of a dynamic cluster |
void | disableDynamicCluster( Disables the management of a dynamic cluster |
boolean | isEnabled() Tests whether Placement Controller is enabled |
boolean | isPrimary() Tests whether Placement Controller is Primary or Backup |
java.lang.String | getNodeName() Gets Node Name where Placement Controller is runnning |
java.lang.String | findBestLocation( Finds the best new location for a DC |
java.lang.String | findBestLocation( Finds the best new server instance to replace a specified server instance |
java.lang.String | findBestNodeToDisable( Finds the best node to disable |
boolean | isNodeInUse( Determine if node is in use by placement controller. |
void | recomputePlacement() Recomputes the placement |
void | setMinTimeBetweenPlacementChange( Changes minTimeBetweenPlacementChange |
void | setServerOperationTimeOut( Changes serverOperationTimeout |
void | setApprovalTimeOut( Changes approvalTimeout |
int | getMinTimeBetweenPlacementChangeInMin() Obtains minTimeBetweenPlacementChange |
int | getServerOperationTimeOut() Obtains serverOperationTimeout |
int | getApprovalTimeOut() Obtains approvalTimeout |
void | execute( Execute an action plan. |
String | getActiveControllerLocation() Returns the active controller location. |
java.lang.String | anyFailedServerOperations() Reveals server APC was unable to start/stop |
void | handleFailedServerOperations() Tell APC to take action on failed server operations |
void | deferFailedServerOperations() Tell APC to defer action on failed server operations |
boolean | unlockMultiAPCGate( Unlock the multi-APC gate for the remote APC |
boolean | openMultiAPCGate( Open the multi-APC gate for the remote APC. |
boolean | closeLockMultiAPCGate( Close and lock the multi-APC gate for the remote APC. |
void | disableServer( Disables the management of a server or servers (server1 or server1,serverN) |
void | enableServer( Enables the management of a server or servers (server1 or server1,serverN) |
void | disableServer( Disables the management of a server or servers (server1 or server1,serverN) |
void | enableServer( Enables the management of a server or servers (server1 or server1,serverN) |
void | enableElasticity( Informs APC whether or not to be in elasticity mode |
boolean | isElasticityModeEnabled() Returns whether APC is in elasticity mode or not |
void | elasticityMode( Informs APC what mode elasticity is running in. |
int | getElasticityMode() Returns 0 or 1 for whether the elasticity mode is automatic or supervised respectively |
void | elasticityModeTimeOut( Sets the timeout value and the units associated with the value |
int | getElasticityTimeOutMins() Returns the timeout value in minutes for an operation executed by APC in elasticity mode |
Operation Detail |
---|
public void enable()
Starts the PlacementController
administrator
operator
public void disable()
Stops the PlacementController
administrator
operator
public void enableNode(
java.lang.String nodeName
)
Enables the management of a node
nodeName
-
node name
administrator
operator
public void enableNode(
java.lang.Integer cellID,
java.lang.String cellName,
java.lang.String nodeName
)
Enables the management of a node
cellID
-
cell id cellName
-
node key nodeName
-
node key
administrator
operator
public void disableNodeAfterReplacement(
java.lang.String nodeName
)
Disables the management of a node after replacement
nodeName
-
node name
administrator
operator
public void disableNode(
java.lang.String nodeName
)
Disables the management of a node
nodeName
-
node name
administrator
operator
public boolean isNodeInUse(
java.lang.String nodeName
)
Tests whether node is in use
nodeName
-
node name
administrator
operator
public void disableNode(
java.lang.String nodeGroupName,
java.lang.String nodeName
)
Disables the management of a node
nodeGroupName
-
node group name nodeName
-
node name
administrator
operator
public void disableNode(
java.lang.Integer cellID,
java.lang.String cellName,
java.lang.String nodeName
)
Disables the management of a node
cellID
-
cell id cellName
-
node key nodeName
-
node key
administrator
operator
public void enableDynamicCluster(
java.lang.String nodeGroupName,
java.lang.String dynamicClusterName
)
Enables the management of a dynamic cluster
nodeGroupName
-
node group name dynamicClusterName
-
DC name
administrator
operator
public void enableDynamicCluster(
com.ibm.ws.xd.admin.utils.CellKey cellKey,
java.lang.String dynamicClusterName,
java.lang.Object opMode
)
Enables the management of a dynamic cluster
cellKey
-
cell id dynamicClusterName
-
DC name opMode
-
Operation Mode of Dynamic Cluster
administrator
operator
public void enableDynamicCluster(
java.lang.String dynamicClusterName,
java.lang.Object opMode
)
Enables the management of a dynamic cluster
dynamicClusterName
-
DC name opMode
-
Operation Mode of Dynamic Cluster
administrator
operator
public void enableDynamicCluster(
java.lang.String dynamicClusterName
)
Enables the management of a dynamic cluster
dynamicClusterName
-
DC name
administrator
operator
public void disableDynamicCluster(
java.lang.String nodeGroupName,
java.lang.String dynamicClusterName
)
Disables the management of a dynamic cluster
nodeGroupName
-
node group name dynamicClusterName
-
DC name
administrator
operator
public void disableDynamicCluster(
java.lang.String dynamicClusterName
)
Disables the management of a dynamic cluster
dynamicClusterName
-
DC name
administrator
operator
public void disableDynamicCluster(
com.ibm.ws.xd.admin.utils.CellKey cellKey,
java.lang.String dynamicClusterName
)
Disables the management of a dynamic cluster
cellKey
-
cell id dynamicClusterName
-
DC name
administrator
operator
public boolean isEnabled()
Tests whether Placement Controller is enabled
administrator
operator
public boolean isPrimary()
Tests whether Placement Controller is Primary or Backup
administrator
operator
public java.lang.String getNodeName()
Gets Node Name where Placement Controller is runnning
administrator
operator
public java.lang.String findBestLocation(
java.lang.String dynamicClusterName,
java.lang.String oldNodeName
)
Finds the best new location for a DC
dynamicClusterName
-
DC name oldNodeName
-
old node name
administrator
operator
public java.lang.String findBestLocation(
java.lang.String cellName,
java.lang.String nodeName,
java.lang.String serverName
)
Finds the best new server instance to replace a specified server instance
cellName
-
cell name nodeName
-
node name serverName
-
server name
administrator
operator
public java.lang.String findBestNodeToDisable(
java.lang.String nodeGroupName
)
Finds the best node to disable
nodeGroupName
-
node group name
administrator
operator
public boolean isNodeInUse(
java.lang.String nodeName
)
Determine if node is in use by placement controller.
nodeName
-
Node name
administrator
operator
public void recomputePlacement()
Recomputes the placement
administrator
operator
public void setMinTimeBetweenPlacementChange(
int minTimeBetweenPlacementChange,
int minTimeBetweenPlacementChangeUnits
)
Changes minTimeBetweenPlacementChange
minTimeBetweenPlacementChange
-
new value minTimeBetweenPlacementChangeUnits
-
new value
administrator
operator
public void setServerOperationTimeOut(
int serverOperationTimeout
)
Changes serverOperationTimeout
serverOperationTimeout
-
new value
administrator
operator
public void setApprovalTimeOut(
int approvalTimeout
)
Changes approvalTimeout
approvalTimeout
-
new value
administrator
operator
public int getMinTimeBetweenPlacementChangeInMin()
Obtains minTimeBetweenPlacementChange
administrator
operator
public int getServerOperationTimeOut()
Obtains serverOperationTimeout
administrator
operator
public int getApprovalTimeOut()
Obtains approvalTimeout
administrator
operator
public void execute(
com.ibm.ws.taskmanagement.task.TaskActionPlan actionPlan,
long token,
long id
)
Execute an action plan.
actionPlan
-
The action plan to be executed. token
-
The execution token for this action plan. id
-
The global id of the task - the task identifier.
administrator
operator
public String getActiveControllerLocation()
Returns the active controller location.
administrator
operator
public java.lang.String anyFailedServerOperations()
Reveals server APC was unable to start/stop
administrator
operator
public void handleFailedServerOperations()
Tell APC to take action on failed server operations
administrator
operator
public void deferFailedServerOperations()
Tell APC to defer action on failed server operations
administrator
operator
public boolean unlockMultiAPCGate(
java.lang.String remoteAPCID
)
Unlock the multi-APC gate for the remote APC
remoteAPCID
-
Gate network ID of remote APC
administrator
operator
public boolean openMultiAPCGate(
java.lang.String remoteAPCID
)
Open the multi-APC gate for the remote APC.
remoteAPCID
-
Gate network ID of remote APC
administrator
operator
public boolean closeLockMultiAPCGate(
java.lang.String remoteAPCID
)
Close and lock the multi-APC gate for the remote APC.
remoteAPCID
-
Gate network ID of remote APC
administrator
operator
public void disableServer(
java.lang.String serverName
)
Disables the management of a server or servers (server1 or server1,serverN)
serverName
-
server name
administrator
operator
public void enableServer(
java.lang.String serverName
)
Enables the management of a server or servers (server1 or server1,serverN)
serverName
-
server name
administrator
operator
public void disableServer(
java.lang.String serverName
)
Disables the management of a server or servers (server1 or server1,serverN)
serverName
-
server name
administrator
operator
public void enableServer(
java.lang.String serverName
)
Enables the management of a server or servers (server1 or server1,serverN)
serverName
-
server name
administrator
operator
public void enableElasticity(
boolean toEnable
)
Informs APC whether or not to be in elasticity mode
toEnable
-
true or false
administrator
operator
public boolean isElasticityModeEnabled()
Returns whether APC is in elasticity mode or not
administrator
operator
public void elasticityMode(
int automaticOrSupervisedMode
)
Informs APC what mode elasticity is running in.
automaticOrSupervisedMode
-
elasticity mode automatic(0) or supervised(1)
administrator
operator
public int getElasticityMode()
Returns 0 or 1 for whether the elasticity mode is automatic or supervised respectively
administrator
operator
public void elasticityModeTimeOut(
int timeOutOfOperation,
int timeOutOfOperationUnits
)
Sets the timeout value and the units associated with the value
timeOutOfOperation
-
the numeric value of the timeout timeOutOfOperationUnits
-
the numbers presenting minutes(0) or hours(1)
administrator
operator
public int getElasticityTimeOutMins()
Returns the timeout value in minutes for an operation executed by APC in elasticity mode
administrator
operator