1
2opahostsmanalysis(8)   Master map: IFSFFCLIRG (Man Page)  opahostsmanalysis(8)
3
4
5

NAME

7       opahostsmanalysis
8
9
10
11       (All)  Performs  analysis  against the local server only. It is assumed
12       that both the host SM and the FastFabric are installed on the same sys‐
13       tem.
14
15       The host SM analysis tool checks the following:
16
17       ·      Host SM software version
18
19       ·      Host   SM   configuration   file   (simple  text  compare  using
20              FF_DIFF_CMD)
21
22       ·      Host SM health (for example, is it running?)
23

Syntax

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

Options

28       --help    Produces full help text.
29
30       -b        Specifies the baseline mode.  Default  is  the  compare/check
31                 mode.
32
33       -e        Evaluates health only. Default is the compare/check mode.
34
35       -s        Saves history of failures (errors/differences).
36
37       -d dir    Specifies  the  top-level  directory  for saving baseline and
38                 history of failed checks. Default = /var/usr/lib/opa/analysis
39

Example

41       opahostsmanalysis
42

Environment Variables

44       The following environment variables are also used by this command:
45
46       FF_ANALYSIS_DIR
47                 Top-level directory for baselines and failed health checks.
48
49       FF_CURTIME
50                 Timestamp to use on the directory created in FF_DIFF_CMD.
51
52       FF_DIFF_CMD
53                 Linux* command to use to compare baseline to latest snapshot.
54

Details

56       All files generated by opahostsmanalysis start with hostsm in the  file
57       name.
58
59       The opahostsmanalysis tool generates files such as the following within
60       FF_ANALYSIS_DIR. The actual file names reflect the  individual  chassis
61       commands  that  have  been  configured  using the FF_CHASSIS_HEALTH and
62       FF_CHASSIS_CMDS parameters:
63
64       Health Check
65
66
67       ·      latest/hostsm.smstatus - Output  of  the  sm_query  smShowStatus
68              command.
69
70       Baseline
71
72
73       ·      baseline/hostsm.smver - Host SM version.
74
75       ·      baseline/hostsm.smconfig - Copy of opafm.xml.
76
77       During  a  baseline  run,  the  files  are  also  created  in FF_ANALY‐
78       SIS_DIR/latest.
79
80       Full Analysis
81
82
83       ·      latest/hostsm.smstatus - Output  of  the  sm_query  smShowStatus
84              command.
85
86       ·      latest/hostsm.smver  - Host SM version. latest/hostsm.smver.diff
87              - diff of the baseline and latest host SM version.
88
89
90       ·      latest/hostsm.smconfig - Copy of opafm.xml.
91
92       ·      latest/hostsm.smconfig.diff - diff of the baseline and the  lat‐
93              est opafm.xml.
94
95       The .diff files are only created if differences are detected.
96
97       If  the  -s  option is used and failures are detected, files related to
98       the checks that failed are also copied to a time-stamped directory name
99       under FF_ANALYSIS_DIR.
100

Host SM Items Checked Against the Baseline

102       ·      SM configuration file.
103
104       ·      Version of the SM rpm installed on the system.
105

Host SM Items Also Checked During Health Check

107       ·      The SM is in the running state.
108
109
110
111Copyright(C) 2015-2018         Intel Corporation          opahostsmanalysis(8)
Impressum