WebSphere:*,type=NodeAgent
MBean NodeAgent
Management interface for the node agent functions.
Attributes inherited from MBean DiagnosticProvider |
diagnosticProviderName |
Operation Summary | |
java.lang.String | getProcessStatus( Gets the operating system level status for the specified process. |
java.lang.Boolean | terminate( kill a server process without waiting for process shutdown. |
int | stopProcess( stop a generic server process by invoking user provided command. |
java.lang.Boolean | launchProcess( launch a new server process and wait for process initialization to complete. |
java.lang.Boolean | launchProcess( launch a new server process and specify the timeout interval to wait for server initialization to complete. |
void | stopNode() stop all application servers running at the node as well as the node agent process. |
void | restart( 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 |
public java.lang.String getProcessStatus(java.lang.String serverName
)
serverName
-
Name of the server for which status is desired.
public java.lang.Boolean terminate(java.lang.String serverName
)
serverName
-
the name of the server to terminate
public int stopProcess(java.lang.String serverName
)
serverName
-
the name of the server to stop
public java.lang.Boolean launchProcess(java.lang.String processName
)
processName
-
the name of the process to launch
public java.lang.Boolean launchProcess(java.lang.String processName,
java.lang.Integer timeout
)
processName
-
the name of the process to launchtimeout
-
number of seconds to wait for the server initialization to complete
public void stopNode()
public void restart(java.lang.Boolean syncFirst,
java.lang.Boolean restartServers
)
syncFirst
-
option to do file sync before restarting the noderestartServers
-
option to restart all running servers while restarting the nodeNotification Detail |