Agenda
Different ways of starting/stopping Application Server in a
stand alone node.
Different ways of starting/stopping Application Server in a
Network Deployment.
Application Server monitoring policy.
Server start/stop issues , its trouble shooting techniques and
debugging tips.
Questions and answers.
Section
Section
11
Operating System
Window Services/
Unix daemons
Standalone Node
Operating System Windows Service or UNIX
daemon
Deployment Manager
Application Servers in a
Managed Node
Monitors
Monitors
v6
V6
Application
Server
(Standalone)
Ex
pr
es
s
12
14
rc.was
Unix
Machine
numRetries=3
launchScript=start_server1.sh
15
17
18
19
!
"
#
$
& '
(
#"
)
NOTE: In the context of this article, both RAS and FFDC are
components and thus are not fully initialized until the last bullet above.
This means that for some period of time, we are "flying blind". Failures
during this early critical region can be challenging to debug.
20
21
22
23
The Example below shows logging entries in nodeagent trace.log file when the
application server is started from deployment manager adminconsole :
[11/18/08 17:52:10:250 EST] 00000023 NodeAgent
[11/18/08 17:52:10:250 EST] 00000023 NodeAgent
websphere.process.starting
server1
24
true
25
26
27
28
Configuration Files
The monitoring policy configuration settings are stored in each application
server'
s server.xml file. Example path for server1 would be:
install_root/config/MyCell/nodes/MyNode/servers/server1/server.xml
The monitoring policy configuration settings appear as follows:
<monitoringPolicy xmi:id="MonitoringPolicy_1141403412562"
maximumStartupAttempts="3" pingInterval="60" pingTimeout="180"
autoRestart="true" nodeRestartState="STOPPED"/>
Example Startup Trace:
Nodeagent Trace: The nodeagent reads the monitoring policy settings for the
application server during its startup time.
29
30
31
32
Summary
Application server can be started from from command line ,
adminconsole or from services.
startServer launcher is a separate JVM from application server JVM.
Make sure synchronization and discovery are working fine when
starting/stopping application server from adminconsole.
Nodeagent monitors application server so if application server
crashes or does not respond then it will get re-started automatically.
33
34
35