PlacementControllerMBean MBean

Partial ObjectName:
WebSphere:*,type=PlacementControllerMBean


MBean PlacementControllerMBean

PlacementController


Operation Summary
voidenable()
           Starts the PlacementController
voiddisable()
           Stops the PlacementController
voidenableNode(java.lang.String nodeName)
           Enables the management of a node
voiddisableNodeAfterReplacement(java.lang.String nodeName)
           Disables the management of a node after replacement
voiddisableNode(java.lang.String nodeName)
           Disables the management of a node
booleanisNodeInUse(java.lang.String nodeName)
           Tests whether node is in use
voiddisableNode(java.lang.String nodeGroupName, java.lang.String nodeName)
           Disables the management of a node
voidenableDynamicCluster(java.lang.String nodeGroupName, java.lang.String dynamicClusterName)
           Enables the management of a dynamic cluster
voidenableDynamicCluster(java.lang.String dynamicClusterName)
           Enables the management of a dynamic cluster
voiddisableDynamicCluster(java.lang.String nodeGroupName, java.lang.String dynamicClusterName)
           Disables the management of a dynamic cluster
voiddisableDynamicCluster(java.lang.String dynamicClusterName)
           Disables the management of a dynamic cluster
booleanisEnabled()
           Tests whether Placement Controller is enabled
booleanisPrimary()
           Tests whether Placement Controller is Primary or Backup
java.lang.StringgetNodeName()
           Gets Node Name where Placement Controller is runnning
java.lang.StringfindBestLocation(java.lang.String dynamicClusterName, java.lang.String oldNodeName)
           Finds the best new location for a DC
java.lang.StringfindBestLocation(java.lang.String cellName, java.lang.String nodeName, java.lang.String serverName)
           Finds the best new server instance to replace a specified server instance
java.lang.StringfindBestNodeToDisable(java.lang.String nodeGroupName)
           Finds the best node to disable
booleanisNodeInUse(java.lang.String nodeName)
           Determine if node is in use by placement controller.
voidrecomputePlacement()
           Recomputes the placement
voidsetMinTimeBetweenPlacementChange(int minTimeBetweenPlacementChange, int minTimeBetweenPlacementChangeUnits)
           Changes minTimeBetweenPlacementChange
voidsetServerOperationTimeOut(int serverOperationTimeout)
           Changes serverOperationTimeout
voidsetApprovalTimeOut(int approvalTimeout)
           Changes approvalTimeout
intgetMinTimeBetweenPlacementChangeInMin()
           Obtains minTimeBetweenPlacementChange
intgetServerOperationTimeOut()
           Obtains serverOperationTimeout
intgetApprovalTimeOut()
           Obtains approvalTimeout
voidexecute(com.ibm.ws.taskmanagement.task.TaskActionPlan actionPlan, long token, long id)
           Execute an action plan.
StringgetActiveControllerLocation()
           Returns the active controller location.
java.lang.StringanyFailedServerOperations()
           Reveals server APC was unable to start/stop
java.lang.StringhandleFailedServerOperations()
           Tell APC to take action on failed server operations
java.lang.StringdeferFailedServerOperations()
           Tell APC to defer action on failed server operations
booleanunlockMultiAPCGate(java.lang.String remoteAPCID)
           Unlock the multi-APC gate for the remote APC
booleanopenMultiAPCGate(java.lang.String remoteAPCID)
           Open the multi-APC gate for the remote APC.
booleancloseLockMultiAPCGate(java.lang.String remoteAPCID)
           Close and lock the multi-APC gate for the remote APC.

Operation Detail

enable

public void enable()
Starts the PlacementController

disable

public void disable()
Stops the PlacementController

enableNode

public void enableNode(java.lang.String nodeName)
Enables the management of a node
Parameters:
nodeName - node name

disableNodeAfterReplacement

public void disableNodeAfterReplacement(java.lang.String nodeName)
Disables the management of a node after replacement
Parameters:
nodeName - node name

disableNode

public void disableNode(java.lang.String nodeName)
Disables the management of a node
Parameters:
nodeName - node name

isNodeInUse

public boolean isNodeInUse(java.lang.String nodeName)
Tests whether node is in use
Parameters:
nodeName - node name

disableNode

public void disableNode(java.lang.String nodeGroupName, java.lang.String nodeName)
Disables the management of a node
Parameters:
nodeGroupName - node group name
nodeName - node name

enableDynamicCluster

public void enableDynamicCluster(java.lang.String nodeGroupName, java.lang.String dynamicClusterName)
Enables the management of a dynamic cluster
Parameters:
nodeGroupName - node group name
dynamicClusterName - DC name

enableDynamicCluster

public void enableDynamicCluster(java.lang.String dynamicClusterName)
Enables the management of a dynamic cluster
Parameters:
dynamicClusterName - DC name

disableDynamicCluster

public void disableDynamicCluster(java.lang.String nodeGroupName, java.lang.String dynamicClusterName)
Disables the management of a dynamic cluster
Parameters:
nodeGroupName - node group name
dynamicClusterName - DC name

disableDynamicCluster

public void disableDynamicCluster(java.lang.String dynamicClusterName)
Disables the management of a dynamic cluster
Parameters:
dynamicClusterName - DC name

isEnabled

public boolean isEnabled()
Tests whether Placement Controller is enabled

isPrimary

public boolean isPrimary()
Tests whether Placement Controller is Primary or Backup

getNodeName

public java.lang.String getNodeName()
Gets Node Name where Placement Controller is runnning

findBestLocation

public java.lang.String findBestLocation(java.lang.String dynamicClusterName, java.lang.String oldNodeName)
Finds the best new location for a DC
Parameters:
dynamicClusterName - DC name
oldNodeName - old node name

findBestLocation

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
Parameters:
cellName - cell name
nodeName - node name
serverName - server name

findBestNodeToDisable

public java.lang.String findBestNodeToDisable(java.lang.String nodeGroupName)
Finds the best node to disable
Parameters:
nodeGroupName - node group name

isNodeInUse

public boolean isNodeInUse(java.lang.String nodeName)
Determine if node is in use by placement controller.
Parameters:
nodeName - Node name

recomputePlacement

public void recomputePlacement()
Recomputes the placement

setMinTimeBetweenPlacementChange

public void setMinTimeBetweenPlacementChange(int minTimeBetweenPlacementChange, int minTimeBetweenPlacementChangeUnits)
Changes minTimeBetweenPlacementChange
Parameters:
minTimeBetweenPlacementChange - new value
minTimeBetweenPlacementChangeUnits - new value

setServerOperationTimeOut

public void setServerOperationTimeOut(int serverOperationTimeout)
Changes serverOperationTimeout
Parameters:
serverOperationTimeout - new value

setApprovalTimeOut

public void setApprovalTimeOut(int approvalTimeout)
Changes approvalTimeout
Parameters:
approvalTimeout - new value

getMinTimeBetweenPlacementChangeInMin

public int getMinTimeBetweenPlacementChangeInMin()
Obtains minTimeBetweenPlacementChange

getServerOperationTimeOut

public int getServerOperationTimeOut()
Obtains serverOperationTimeout

getApprovalTimeOut

public int getApprovalTimeOut()
Obtains approvalTimeout

execute

public void execute(com.ibm.ws.taskmanagement.task.TaskActionPlan actionPlan, long token, long id)
Execute an action plan.
Parameters:
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.

getActiveControllerLocation

public String getActiveControllerLocation()
Returns the active controller location.

anyFailedServerOperations

public java.lang.String anyFailedServerOperations()
Reveals server APC was unable to start/stop

handleFailedServerOperations

public java.lang.String handleFailedServerOperations()
Tell APC to take action on failed server operations

deferFailedServerOperations

public java.lang.String deferFailedServerOperations()
Tell APC to defer action on failed server operations

unlockMultiAPCGate

public boolean unlockMultiAPCGate(java.lang.String remoteAPCID)
Unlock the multi-APC gate for the remote APC
Parameters:
remoteAPCID - Gate network ID of remote APC

openMultiAPCGate

public boolean openMultiAPCGate(java.lang.String remoteAPCID)
Open the multi-APC gate for the remote APC.
Parameters:
remoteAPCID - Gate network ID of remote APC

closeLockMultiAPCGate

public boolean closeLockMultiAPCGate(java.lang.String remoteAPCID)
Close and lock the multi-APC gate for the remote APC.
Parameters:
remoteAPCID - Gate network ID of remote APC

Copyright IBM Corp. 1996 - 2007