NodeAgent MBean

All Parent MBeans:
DiagnosticProvider

Partial ObjectName:
WebSphere:*,type=NodeAgent


MBean NodeAgent

Management interface for the node agent functions.


Attributes inherited from MBean DiagnosticProvider
diagnosticProviderName

Operation Summary
java.lang.StringgetProcessStatus(java.lang.String serverName)
           Gets the operating system level status for the specified process.
java.lang.Booleanterminate(java.lang.String serverName)
           kill a server process without waiting for process shutdown.
intstopProcess(java.lang.String serverName)
           stop a generic server process by invoking user provided command.
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

Operations inherited from MBean DiagnosticProvider
getDiagnosticProviderId, getRegisteredDiagnostics, configDump, stateDump, selfDiagnostic, localize

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

getProcessStatus

public java.lang.String getProcessStatus(java.lang.String serverName)
Gets the operating system level status for the specified process.
Parameters:
serverName - Name of the server for which status is desired.
ResourceInstanceIdentifier
The resource being modified for the MBean is of type Server
The instance is identified by the value of the parameter

Security Roles:
administrator
operator
configurator
monitor
deployer
adminsecuritymanager

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
ResourceInstanceIdentifier
The resource being modified for the MBean is of type Server
The instance is identified by the value of the parameter

Security Roles:
administrator
operator

stopProcess

public int stopProcess(java.lang.String serverName)
stop a generic server process by invoking user provided command.
Parameters:
serverName - the name of the server to stop
ResourceInstanceIdentifier
The resource being modified for the MBean is of type Server
The instance is identified by the value of the parameter

Security Roles:
administrator
operator

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
ResourceInstanceIdentifier
The resource being modified for the MBean is of type Server
The instance is identified by the value of the parameter

Security Roles:
administrator
operator

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
ResourceInstanceIdentifier
The resource being modified for the MBean is of type Server
The instance is identified by the value of the parameter

timeout - number of seconds to wait for the server initialization to complete
Security Roles:
administrator
operator

stopNode

public void stopNode()
stop all application servers running at the node as well as the node agent process.
Security Roles:
administrator
operator

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
Security Roles:
administrator
operator

Notification Detail

websphere.process.starting

A process is being started
Severity:
5  (Warning)

websphere.process.running

A process is now running
Severity:
5  (Warning)

websphere.process.stopping

A process is stopping
Severity:
5  (Warning)

websphere.process.stopped

A process is now stopped
Severity:
5  (Warning)

websphere.process.failed

A process is now failed
Severity:
5  (Warning)

Copyright IBM Corp. 1996-2005