This commit is contained in:
patvdv
2017-09-02 23:27:01 +02:00
parent b23126799b
commit 2775da5f44
175 changed files with 17098 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
*** MESSAGE ***
<## @_HC_BODY ##>
@@ -0,0 +1,13 @@
*** MESSAGE ***
<## @_HC_BODY ##>
*** RECOMMENDATION ***
File system is mounted with incorrect options. Remount the file system with the correct options.
* Check /etc/fstab
* Check /etc/cmcluster/<PKG_NAME>/<PKG_NAME>.conf files (directive "fs_mount_opt")
Keep in mind that special mount options may apply for:
* NFS file systems
* SAP file systems
* Oracle data/redo files
@@ -0,0 +1,10 @@
*** MESSAGE ***
<## @_HC_BODY ##>
*** RECOMMENDATION ***
Check any faulty devices or error messages:
* ioscan -P health (look for 'offline' devices)
* ioscan -fnN (look for 'NO_HW' devices)
* dmesg
* /var/adm/syslog/syslog.log
@@ -0,0 +1,10 @@
*** MESSAGE ***
<## @_HC_BODY ##>
*** RECOMMENDATION ***
Execute:
* mwa start all
* /sbin/init.d/ovpa start
Verify:
* perfstat -p
@@ -0,0 +1,7 @@
*** MESSAGE ***
<## @_HC_BODY ##>
*** RECOMMMENDATION ***
Check the root crontab for any wrongly commented lines and fix:
* crontab -l | grep '^#'
@@ -0,0 +1,12 @@
*** MESSAGE ***
<## @_HC_BODY ##>
*** RECOMMENDATION ***
Check current cluster status:
* cmviewcl [-v]
If the cluster is down:
* cmruncl
Check for possible errors in:
* /var/adm/cmcluster/log/*
* /var/adm/syslog/syslog.log (cmcld)
@@ -0,0 +1,15 @@
*** MESSAGE ***
<## @_HC_BODY ##>
*** RECOMMENDATION ***
Check current package status:
* cmviewcl [-v] -p <PKG_NAME>
If the package is down:
* cmrunpkg <PKG_NAME> (on the primary node)
- or -
* cmmodpkg -e <PKG_NAME>
* cmmodpkg -e -n <PRIMARY_NODE> <PKG_NAME>
Check for possible errors in:
* /var/adm/cmcluster/log/*
* /var/adm/syslog/syslog.log (cmcld)
@@ -0,0 +1,11 @@
*** MESSAGE ***
<## @_HC_BODY ##>
*** RECOMMENDATION ***
If this host is part of Serviceguard cluster and the affected volume group
is cluster aware, then major/minor numbers must be unique AND identical on
all cluster nodes.
View the current major/minor:
* vgs
@@ -0,0 +1,12 @@
*** MESSAGE ***
<## @_HC_BODY ##>
*** RECOMMENDATION ***
File system is mounted with incorrect options. Remount the file system with the correct options.
* Check /etc/fstab
Keep in mind that special mount options may apply for:
* NFS file systems
* SAP file systems
* Oracle data/redo files
@@ -0,0 +1,7 @@
*** MESSAGE ***
<## @_HC_BODY ##>
*** RECOMMMENDATION ***
Check the root crontab for any wrongly commented lines and fix:
* crontab -l | grep '^#'
@@ -0,0 +1,11 @@
*** LOGS ***
Please check the corresponding log file(s) for more details. At <## @HOST_NAME ##>:<## @LOG_DIR ##>)
You can also run /opt/hc/bin/check_health.sh --report --id=<## @_MAIL_FAIL_ID ##> (--detail) on <## @HOST_NAME ##>
Following log files have been attached to this e-mail:
STDOUT : <## @_MAIL_STDOUT_MSG ##>
STDERR : <## @_MAIL_STDERR_MSG ##>
******* END OF MAIL. DO NOT REPLY TO THIS E-MAIL. NOBODY WILL SEE IT! ********
@@ -0,0 +1,4 @@
*** ID ***
HC NAME : <## @_MAIL_HC ##>
FAIL ID : <## @_MAIL_FAIL_ID ##>
+3
View File
@@ -0,0 +1,3 @@
To: <## @ARG_MAIL_TO ##>
Subject: <## @_SUBJ_MSG ##>
From: <## @_FROM_MSG ##>