MBean

Partial ObjectName:
WebSphere:*,type=


MBean

HealthController


Operation Summary
enable()
           Starts the Health Controller
disable()
           Stops the Health Controller
isEnabled()
           Checks if the Health Controller is enabled
getActiveControllerLocation()
           Returns the active health controller location.
getMaxConsecutiveRestarts()
           Gets the maximum number of consecutive restarts allowed
setMaxConsecutiveRestarts( value)
           Sets the maximum number of consecutive restarts allowed
getControlCycleLength()
           Gets the length of the control cycle in minutes
setControlCycleLength( value)
           Sets the length of the control cycle in minutes
getMinRestartInterval()
           Gets the minimum length of time between restarts
setMinRestartInterval( value,  units)
           Sets the minimum length of time between restarts
getMinRestartIntervalUnits()
           Gets the unit value for the minimum restart interval
getRestartTimeout()
           Gets the timeout for restart events in minutes
setRestartTimeout( value)
           Sets the timeout for restart events
getProhibitedRestartTimes()
           Gets the list of prohibited restart times
setProhibitedRestartTimes( times)
           Sets the list of prohibited restart times
execute( actionPlan,  token,  id)
           Execute an action plan.
isNodeMaintenance( nodeName)
           Checks if HMM finds the node in maintenance mode
enableServer( nodeName,  serverName)
           Enables a server for restarts
disableServer( nodeName,  serverName)
           Disables a server for restarts
isServerEnabled( nodeName,  serverName)
           Checks if the server is enabled for restarts

Operation Detail

enable

public  enable()
Starts the Health Controller

disable

public  disable()
Stops the Health Controller

isEnabled

public  isEnabled()
Checks if the Health Controller is enabled

getActiveControllerLocation

public  getActiveControllerLocation()
Returns the active health controller location.

getMaxConsecutiveRestarts

public  getMaxConsecutiveRestarts()
Gets the maximum number of consecutive restarts allowed

setMaxConsecutiveRestarts

public  setMaxConsecutiveRestarts( value)
Sets the maximum number of consecutive restarts allowed
Parameters:
value - the maximum number of consecutive restarts allowed

getControlCycleLength

public  getControlCycleLength()
Gets the length of the control cycle in minutes

setControlCycleLength

public  setControlCycleLength( value)
Sets the length of the control cycle in minutes
Parameters:
value - length of control cycle in minutes

getMinRestartInterval

public  getMinRestartInterval()
Gets the minimum length of time between restarts

setMinRestartInterval

public  setMinRestartInterval( value,  units)
Sets the minimum length of time between restarts
Parameters:
value - minimum time between restarts
units - units for minimum time between restarts

getMinRestartIntervalUnits

public  getMinRestartIntervalUnits()
Gets the unit value for the minimum restart interval

getRestartTimeout

public  getRestartTimeout()
Gets the timeout for restart events in minutes

setRestartTimeout

public  setRestartTimeout( value)
Sets the timeout for restart events
Parameters:
value - restart timeout in minutes

getProhibitedRestartTimes

public  getProhibitedRestartTimes()
Gets the list of prohibited restart times

setProhibitedRestartTimes

public  setProhibitedRestartTimes( times)
Sets the list of prohibited restart times
Parameters:
times - prohibited restart times

execute

public  execute( actionPlan,  token,  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.

isNodeMaintenance

public  isNodeMaintenance( nodeName)
Checks if HMM finds the node in maintenance mode
Parameters:
nodeName - node name

enableServer

public  enableServer( nodeName,  serverName)
Enables a server for restarts
Parameters:
nodeName - node name
serverName - node name

disableServer

public  disableServer( nodeName,  serverName)
Disables a server for restarts
Parameters:
nodeName - node name
serverName - node name

isServerEnabled

public  isServerEnabled( nodeName,  serverName)
Checks if the server is enabled for restarts
Parameters:
nodeName - node name
serverName - node name

Copyright IBM Corp. 1996 - 2007