Collecting System Diagnostics (smo verifiers)

Diagnostic Tests

Description

Use the "smo verifiers" commands in Gaia gClish to run a specific set of diagnostic tests.

The full set of tests run by default, but you can manually select the tests to run.

The output shows the result of the test, Passed or Failed, and the location of the output log file.

Syntax

show smo verifiers list

      [id <TestId1>,<TestId2>,...]

      [section <SectionName>]

show smo verifiers report [except]

      [id <TestId1>,<TestId2>,...]

      [name <TestName>]

      [section <SectionName>]

show smo verifiers print [except]

      [id <TestId1>,<TestId2>,...]

      [name <TestName>]

      [section <SectionName>]

show smo verifiers

      periodic

      last-run report

      print

delete smo verifiers purge [save <Num_Logs>]

Parameters

Parameter

Description

list

Shows the list of tests to run.

report

Runs tests and shows a summary of the test results.

print

Runs tests and shows the full output and summary of the test results.

except

Runs all tests except the specified tests.

Shows the requested results.

id <TestId1>,<TestId2>,...

Specifies the tests by their IDs (comma separated list).

To see a list of test IDs, run:

show smo verifiers list

name <TestName>

Specifies the tests by their names.

Press the Tab key to see a full list of verifiers names.

section <SectionName>

Specifies the verifiers section by its name.

Press the Tab key to see a full list of the existing sections.

purge

Deletes the old "smo verifiers" logs.

Keeps the newest log.

save <Num_Logs>

Number of logs to save from the "smo verifiers" log files.

Default: 5.

periodic

Shows the latest periodic run results.

last-run

Shows the latest run results.

Showing the Tests

The "show smo verifiers list" command shows the full list of diagnostic tests.

The list shows the test "ID", test "Title" (name), and the "Command" the "smo verifiers" command runs.

Showing the Last Run Diagnostic Tests

The "show smo verifiers last-run report" command shows the default output for the last run diagnostic tests.

The "show smo verifiers last-run print" command shows verbose output for the last run diagnostic tests.

Running all Diagnostic Tests

The "show smo verifiers report" command runs all diagnostic tests and shows their summary output.

When a test fails, the reasons for failure show in the Reason column.

Running Specific Diagnostic Tests

These commands run the specified diagnostic tests only:

show smo verifiers report name

show smo verifiers report id

Syntax to run a test by its name

show smo verifiers report name <Test Name>

Note - Press the Tab key after the "name" parameter to see a full list of verifier names.

Syntax to run a test by its ID

show smo verifiers report id <TestID1>,<TestID2>,...,<TestIDn>

Note - To see a list of test IDs, run the "show smo verifiers list" command.

Collecting Diagnostic Information for a Report Specified Section

The "show smo verifiers report section" command runs all diagnostic tests in the specified section.

Syntax

show smo verifiers report section <Test Name>

Note - Press the Tab key after the "section" parameter to see a full list of verifier sections.

Error Types

The "smo verifiers" command detects these errors:

Error Type

Error

Description

System health

Chassis <X> error

The Security Group quality grade is less than the defined threshold.

We recommend that you correct this issue immediately.

Hardware

<Component> is missing

The component is not installed in the Chassis.

Note - This applies only to 60000 / 40000 Appliances.

 

<Component> is down

The component is installed in the Chassis, but is inactive.

Note - This applies only to 60000 / 40000 Appliances.

Resources

<Resource> capacity

The specified resource capacity is not sufficient.

You can change the defined resource capacity.

 

<Resource> exceed threshold

The resource usage is greater than the defined threshold.

CPU type

Non compliant CPU type

CPU type is not configured in the list of compliant CPUs on at least one Security Group Member.

You can define the compliant CPU types.

Security group

<Source> error

The information collected from this source is different between the Security Group Members.

 

<Sources> differ

The information collected from many sources is different.

Changing Compliance Thresholds

You can change some compliance thresholds that define a healthy, working system.

Change the threshold values in the $SMODIR/conf/asg_diag_config file.

These are the supported resources you can control:

Resource

Instructions

Memory

RAM memory capacity in GB.

HD: /

Disk capacity in GB for <disk> - the root (/) partition.

HD:/var/log

Disk capacity in GB for the /var/log partition.

HD: /boot

Disk capacity in GB for the /boot partition.

Skew

The maximum permissible clock difference, in seconds, between the SGMs and CMMs.

Note - This resource applies only to 60000 / 40000 Appliances.

Certified cpu

Each line represents one compliant CPU type.

Note - This resource applies only to 60000 / 40000 Appliances

Changing the Default Test Behavior of the 'asg diag resource verifier'

By default, the "asg diag resource verifier" command only shows a warning about resource mismatches between Security Group Members.

The verification test results show as "Passed" in the output and no further action is taken.

You can change the default test behavior:

Step

Instructions

1

Connect to the command line on the Security Group.

2

Log in to the Expert mode.

3

Edit the $FWDIR/conf/asg_diag_config file:

g_all vi $FWDIR/conf/asg_diag_config

4

Search for this parameter:

MismatchSeverity

5

Set the value of this parameter to one of these values:

  • fail

    Verification test result is set to "Failed"

  • warn

    Verification test result is set to "Passed", and a warning is shown

  • ignore

    Verification test result is set to "Ignore", and no errors are shown

6

Save the changes in the file and exit the editor.

Troubleshooting Failures

Use the "smo verifiers" command to troubleshoot a failed diagnostic test.