QuestionQ100

VerifiedStarting and Stopping Servers

You use the Java-based Node Manager to start your managed servers. You want Node Manager to:

"¢ Stop servers by using your custom stop script: mystopit.sh

"¢ Restart servers when the hardware crashes

"¢ Use SSL communication

"¢ Check server heath once per second

Below are portions of the nodemanager.properties file. Select the one that configures Node Manager as described.

Explanation

StopScriptEnabled=true together with StopScriptName=mystopit.sh makes the Java Node Manager execute the custom script when stopping a server. CrashRecoveryEnabled=true is the property that allows Node Manager to restart managed servers after a machine crash. SecureListener=true configures the Node Manager listener to use SSL (the property is a boolean, not the literal value SSL), and StateCheckInterval=1000 sets the server health-check polling interval in milliseconds, i.e., once per second. Options using the nonexistent properties CrashRestartEnabled or StopScript, the value SecureListener=SSL, or StateCheckInterval=1 (one millisecond) do not satisfy the requirements.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!