Running custom test procedures

This topic discusses the processes for launching a custom test procedure.

About this task

Before you start running custom tests, ensure that:

  • Your Test Plan is configured correctly.

    For information about setting up a Test Plan, see Creating a test plan.

  • You have specified values for test parameters.

    For information about parameter values, see Specifying parameters for tests.

  • You have logging for the tool configured to capture the information that you want to examine for your cluster.

    For information about customizing verbose logging for the Cluster Test Tool, see Error logging.

  • The cluster is not in service in a production environment.

To run custom testing:

Procedure

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

    Then select Cluster Test Tool.

  3. In the PowerHA® SystemMirror® Cluster Test Tool panel, select Execute Custom Test Procedure.
  4. In the Execute Custom Test Procedure panel, enter field values as follows:
    Table 1. Execute Custom Test Procedure fields
    Field Value
    Test Plan (Required) The full path to the Test Plan for the Cluster Test Tool. This file specifies the tests for the tool to execute.
    Variable File (Using a variables file is optional but recommended.) The full path to the variables file for the Cluster Test Tool. This file specifies the variable definitions used in processing the Test Plan.
    Verbose Logging When set to yes, includes additional information in the log file that may help to judge the success or failure of some tests. For more information about verbose logging, see Running automated tests. The default is yes.

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

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

    Select no to append messages to the current log file.

    For more information about cycling the log file, see Log files.

    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. The default is no.

    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.

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

Results

For information about evaluating test results, see Evaluating results.