Modifying logging and stopping processing in the cluster test tool

You can modify several different features in the cluster test tool.

About this task

You can also modify processing for automated test procedure to:

  • Turn off verbose logging
  • Turn off cycling of log files for the tool
  • Stop processing tests after the first test fails

To modify processing for an automated test:

Procedure

  1. From the command line, enter smit sysmirror
  2. In SMIT, select Problem Determination Tools.

    Then select PowerHA® SystemMirror® Cluster Test Tool.

  3. In the PowerHA SystemMirror Cluster Test Tool panel, select Execute Automated Test Procedure .
  4. In the Execute Automated Test Procedure panel, enter field values as follows:
    Table 1. Execute Automated Test Procedure fields
    Field Value
    Verbose Logging When set to yes, includes additional information in the log file. This information may help to judge the success or failure of some tests. For more information about verbose logging and how to modify it for your testing, see Error logging.

    Select no to decrease the amount of information logged by the Cluster Test Tool.

    The default is yes.

    Cycle Log File When set to yes, uses a new log file to store output from the Cluster Test Tool.

    Select no to append messages to the current log file.

    The default is yes.

    For more information about cycling the log file, see Error logging.

    Abort on Error When set to no, the Cluster Test Tool continues to run tests after some of the tests being run fail. This may cause subsequent tests to fail because the cluster state is different from the one expected by one of those tests.

    Select yes to stop processing after the first test fails.

    For information about the conditions under which the Cluster Test Tool stops running, see Cluster test tool stops running.

    The default is no.

    Note: The tool stops running and issues an error if a test fails and Abort on Error is selected.
  5. Press Enter to start running the automated tests.
  6. Evaluate the test results.