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