You are on page 1of 2

Application server It is a cluster resource used to control an application that must be kept highly available.

It includes start and stop scripts. Output from these scripts will b e logged in the hacmp.out file, if "set -x" is defined within the script. The ex it code from the script will be monitored by PowerHA. ----------------------------------------Application Monitor Once the application is started, there is a stabilization period, where appl. mo nitoring does not attempt to determine if the appl. is alive or not. This is cal led the stabilization period. Once the stabilization period has expired the appl . monitor is executed. In long running mode, the monitor periodically checks that the application is ru nning successfully. In startup mode only at startup. If the appl. detected as failed, the retry counter is examined. If it is not zer o, it is decremented and an appl. cleanup and restart is attempted. This process continnues until the retry counter is zero. If retry counter reached 0 and the appl. failed again the failover action is exa mined. As a protection mechanism, prior to invoking the application server start script , the cluster manager uses an application monitor to determine the status of the application

Application Monitoring Config: Ext. Conf. -> Ext. Resources ->Conf. HACMP Appl. Servers -> Conf. HACMP Appl. Mo n. ... Process Monitor:(the values are in seconds) * Monitor Name * Application Server(s) to Monitor * Monitor Mode * Processes to Monitor * Process Owner Instance Count * Stabilization Interval * Restart Count Restart Interval * Action on Application Failure Notify Method Cleanup Method /B02_stop.ksh] Restart Method /B02_start.ksh] [B02_APPL]

[Long-running monitoring] [xxx] [root] [1] [30] [3] [66] [fallover] [] [/usr/local/scripts/cluster [/usr/local/scripts/cluster

Processes to Monitor: give th name of the process from the output of ps -el (not ps -ef) Stabilization Interval: The length of time the monitor will wait before resuming monitoring Restart Count: The maximum times the application will be (re)started (the Failur e Counter is connected with it), if it is not successful, then Action on Applica tion Failure will be. Restart Interval: the elapsed time the application must run before the Failure C ounter is reset. If the Restart Interval time is reached the Failure Count is reset t o 0. (is the time during which attempts will be made to restart the appli cation) Monitor Inetrval: (this is only at custom monitor) time between execution of the monitor event to see if the appl. is running. ----------------------------------------Suspend/Resume Application monitoring: to suspend: smitty hacmp -> System Management (C-SPOC) -> HACMP Resource Group and Applicati on Management -> Suspend/Resume Application Monitoring - > Suspend Application M onitoring to resume: smitty hacmp -> System Management (C-SPOC) -> HACMP Resource Group and Applicati on Management -> Suspend/Resume Application Monitoring - > Resume Application Mo nitoring

You might also like