opahostsmanalysis

(All) Performs analysis against the local server only. It is assumed that both the host SM and the FastFabric are installed on the same system.

The host SM analysis tool checks the following:

Syntax

opahostsmanalysis [-b|-e] [-s] [-d dir]

Options

--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 = /var/usr/lib/opa/analysis

Example

opahostsmanalysis

Environment Variables

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.

Details

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

Baseline

During a baseline run, the files are also created in FF_ANALYSIS_DIR/latest.

Full Analysis

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.

Host SM Items Checked Against the Baseline

Host SM Items Also Checked During Health Check