7.6.4 Determining the cause of a server slowdown
If one of the following types of a slowdown occurs, HA Monitor enables you to run a shell to collect information required for determining the cause of the slowdown:
-
Slowdown of a server-mode server
-
Slowdown of a server that uses the monitor-mode server monitoring function (enabled by using the ptrlcmd_ex operand in the server environment definition)
-
Slowdown of a UAP on a monitor-mode server
This subsection explains the name for the shell to be created and its run-time format. The shell explained here is executed asynchronously with HA Monitor processing.
- Organization of this subsection
(1) Shell to be run in the event of a server slowdown
This subsection explains the shell used for collecting information needed to determine the cause of a server slowdown. Run the shell if one of the following types of a slowdown occurs:
-
Slowdown of a server-mode server
-
Slowdown of a server that uses the monitor-mode server monitoring function (enabled by using the ptrlcmd_ex operand in the server environment definition)
The following shows the name of the shell to be created and the run-time format.
- Name of the shell to be created
-
/opt/hitachi/HAmon/etc/servdown.sh
Code the processing that you want to perform in this shell. Grant execution permissions to the shell.
- Run-time format of the shell
-
servdown.shΔserver-alias-name
- Legend:
-
Δ: Single-byte space
server-alias-name: Alias name of the active server on which slowdown was detected
(2) Shell to be run in the event of a UAP slowdown
This subsection explains the shell used for collecting information needed to determine the cause of a UAP slowdown. UAP slowdowns can be detected only when UAP operation reports are monitored. The following shows the name of the shell to be created and the run-time format.
- Name of the shell to be created
-
/opt/hitachi/HAmon/etc/uapslowdown.sh
Code the processing that you want to perform in this shell. Grant execution permissions to the shell.
- Shell run-time format
-
uapslowdown.shΔprogram-alias-nameΔprocess-ID
- Legend:
-
Δ: Single-byte space
program-alias-name: Program alias name of the UAP whose slowdown was detected on the active server
process-ID: Process ID of the UAP whose slowdown was detected
(3) Notes
-
You can detect a server slowdown only if TP1/Server Base or HiRDB is used as a server-mode server or if the monitor-mode server monitoring function (enabled by using the ptrlcmd_ex operand in the server environment definition) is used.
-
If a server slowdown is detected but there is no available standby server, HA Monitor continues to monitor the status of this server because hot standby processing cannot be performed. If the server slowdown is not resolved, this shell is run each time a slowdown is detected.
-
If there is a shortage of resources throughout the entire system, the shell might not run even when a slowdown is detected. In such a case, the information might not be collected because HA Monitor terminates abnormally the server or UAP whose slowdown was detected and then runs the shell.