NodeAgent MBean

Management interface for the node agent functions.


Operation Summary
java.lang.Booleanterminate(java.lang.String serverName)
           kill a server process without waiting for process shutdown.
java.lang.BooleanlaunchProcess(java.lang.String processName)
           launch a new server process and wait for process initialization to complete.
java.lang.BooleanlaunchProcess(java.lang.String processName, java.lang.Integer timeout)
           launch a new server process and specify the timeout interval to wait for server initialization to complete.
voidstopNode()
           stop all application servers running at the node as well as the node agent process.
voidrestart(java.lang.Boolean syncFirst, java.lang.Boolean restartServers)
           recycle the node with file sync option

Notification Summary
websphere.process.starting
           A process is being started
websphere.process.running
           A process is now running
websphere.process.stopping
           A process is stopping
websphere.process.stopped
           A process is now stopped
websphere.process.failed
           A process is now failed

Operation Detail

terminate

public java.lang.Boolean terminate(java.lang.String serverName)
kill a server process without waiting for process shutdown.
Parameters:
serverName - the name of the server to terminate

launchProcess

public java.lang.Boolean launchProcess(java.lang.String processName)
launch a new server process and wait for process initialization to complete.
Parameters:
processName - the name of the process to launch

launchProcess

public java.lang.Boolean launchProcess(java.lang.String processName, java.lang.Integer timeout)
launch a new server process and specify the timeout interval to wait for server initialization to complete.
Parameters:
processName - the name of the process to launch
timeout - number of seconds to wait for the server initialization to complete

stopNode

public void stopNode()
stop all application servers running at the node as well as the node agent process.

restart

public void restart(java.lang.Boolean syncFirst, java.lang.Boolean restartServers)
recycle the node with file sync option
Parameters:
syncFirst - option to do file sync before restarting the node
restartServers - option to restart all running servers while restarting the node

Notification Detail

websphere.process.starting

A process is being started
Severity:
6  (Normal, Cleared, or Informative)

websphere.process.running

A process is now running
Severity:
6  (Normal, Cleared, or Informative)

websphere.process.stopping

A process is stopping
Severity:
6  (Normal, Cleared, or Informative)

websphere.process.stopped

A process is now stopped
Severity:
6  (Normal, Cleared, or Informative)

websphere.process.failed

A process is now failed
Severity:
6  (Normal, Cleared, or Informative)

Copyright IBM Corp. 1996-2003