FF_ANALYSIS_DIR
Top-level directory for baselines and failed health checks.
opahostsmanalysis [{-b | -e}]
[-s]
[-d
dir]
--help
Produces full help text.
-b
Specifies the baseline mode. Default is the compare/check mode.
-e
Evaluates health only. Default is the compare/check mode.
-s
Saves history of failures (errors/differences).
-d dir
Specifies the top-level directory for saving baseline and history of failed checks. Default is /var/usr/lib/opa/analysis
opahostsmanalysis
The following environment variables are also used by this command:
FF_ANALYSIS_DIR
Top-level directory for baselines and failed health checks.
FF_CURTIME
Timestamp to use on the directory created in FF_DIFF_CMD.
FF_DIFF_CMD
Linux* command to use to compare baseline to latest snapshot.
All files generated by opahostsmanalysis start with hostsm in the file name.
The opahostsmanalysis tool generates files such as the following within FF_ANALYSIS_DIR. The actual file names reflect the individual chassis commands that have been configured using the FF_CHASSIS_HEALTH and FF_CHASSIS_CMDS parameters:
Health Check
latest/hostsm.smstatus - Output of the sm_query smShowStatus command.
Baseline
•
|
baseline/hostsm.smver - Host SM version. |
|---|---|
•
|
baseline/hostsm.smconfig - Copy of opafm.xml. |
During a baseline run, the files are also created in FF_ANALYSIS_DIR/latest.
Full Analysis
latest/hostsm.smstatus - Output of the sm_query smShowStatus command.
latest/hostsm.smver - Host SM version. latest/hostsm.smver.diff - diff of the baseline and latest host SM version.
latest/hostsm.smconfig - Copy of opafm.xml.
latest/hostsm.smconfig.diff - diff of the baseline and the latest opafm.xml.
The .diff files are only created if differences are detected.
If the -s option is used and failures are detected, files related to the checks that failed are also copied to a time-stamped directory name under FF_ANALYSIS_DIR.
•
|
SM configuration file. |
|---|---|
•
|
Version of the SM rpm installed on the system. |
The SM is in the running state.
4 releases since Debian 10 (Buster); the text changed 1 time.