Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Online Diagnostics Administrator's Guide: HP-UX 11i v1, HP-UX 11i v2, HP-UX 11i v3 > Chapter 4 Administering the Support Tools Manager

Running Support Tools

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

You can run the support tools to obtain device-specific information, perform stress tests, and so on. This section addresses the following topics:

Running a Support Tool Using the xstm Interface

To run a support tool using the xstm interface, complete the following steps:

  1. Enter the following command at the HP-UX prompt:

    # /usr/sbin/xstm

    The system map is displayed, as shown in Figure 4-1.

    Figure 4-1 System Map (xstm Interface)

    System Map (xstm Interface)
  2. Select the device you want to test in the system map, as shown in Figure 4-2.

    Figure 4-2 Selecting a Device (xstm Interface)

    Selecting a Device (xstm Interface)
  3. Select Tools->Tool name->Run to run a test, as shown in Figure 4-3.

    Figure 4-3 Running a Test (xstm Interface)

    Running a Test (xstm Interface)
    NOTE: Some support tools do not support all devices on every operating system.

    For more information on the tools that support various devices, see the STM Online Help at:

    http://docs.hp.com/en/diag
  4. Select the type of test you want to run, as shown in the Figure 4-4.

    Figure 4-4 Selecting the Type of Test (xstm Interface)

    Selecting the Type of Test (xstm Interface)

    The color of the device on the device map changes to blue when the test begins. Figure 4-5 shows the progress indicator.

    CAUTION: Selecting a Read-Write Test option can destroy the information on the disk. You must select the Read-Write Test option to check if the writing operation is functioning properly on new, unused disks. However, a Read-Only Test option only reads the information on the disk. This test does not affect the information on the disk.
    NOTE: You are prompted to select the type of test only if you have unmounted the disk and mounted it again. If you have not unmounted the disk, the Read-Only Test option is selected by default.

    Figure 4-5 Monitoring Test Progress (xstm Interface)

    Monitoring Test Progress (xstm Interface)

    The color of the device on the device map changes when the test is complete. Table 4-1 describes the significance of each color.

    Table 4-1 Test Results (xstm Interface)

    Color

    Description

    Green

    Indicates that the test completed successfully and that the device is functioning properly.

    Yellow

    Indicates that the test is not complete and that the device might have problems.

    Red

    Indicates that the test is complete but that the device failed the test.

     

  5. If the device failed the test, select the device and select Tools->Tool name->Failure Log.

    The cause of the failure is displayed, as shown in Figure 4-6.

    Figure 4-6 Failure Log (xstm Interface)

    Failure Log (xstm Interface)
  6. Read the details in the Failure Log and take appropriate actions.

Running a Support Tool Using the mstm Interface

To run a support tool using the mstm interface, complete the following steps:

  1. Enter the following command at the HP-UX prompt:

    # /usr/sbin/mstm

    The system map is displayed, as shown in Figure 4-7.

    Figure 4-7 System Map (mstm Interface)

    System Map (mstm Interface)
  2. Select the device you want to test in the device map, and click Enter or Select/Deselect, as shown in Figure 4-8.

    Figure 4-8 Selecting a Device (mstm Interface)

    Selecting a Device (mstm Interface)
  3. Select Tools->Tool name->Run to run a test, as shown in Figure 4-9.

    Figure 4-9 Running a Test (mstm Interface)

    Running a Test (mstm Interface)
    NOTE: Some support tools do not support all devices on every operating system.

    For more information on the tools that support various devices, see the STM Online Help at:

    http://docs.hp.com/en/diag

  4. Select the type of test you want to run, as shown in Figure 4-10.

    Figure 4-10 Selecting the Type of Test (mstm Interface)

    Selecting the Type of Test (mstm Interface)
    CAUTION: Selecting a Read-Write Test option can destroy the information on the disk. You must select the Read-Write Test option to check if the writing operation is functioning properly on new, unused disks. However, a Read-Only Test option only reads the information on the disk. This test does not affect the information on the disk.

    The Last Op Status field displays the status of the test, as shown in Figure 4-11.

    Figure 4-11 Monitoring Test Progress (mstm Interface)

    Monitoring Test Progress (mstm Interface)

    Table 4-2 describes the significance of each state.

    Table 4-2 Test Results (mstm Interface)

    Status

    Description

    Successful

    Indicates that the test completed successfully and that the device is functioning properly.

    Incomplete

    Indicates that the test is not complete and that the device might have problems.

    Failed

    Indicates that the test is complete but that the device failed the test.

     

  5. If the device fails the test, select the device and select Tools->Tool name->Failure Log, as shown in Figure 4-12.

    Figure 4-12 Viewing the Failure Log (mstm Interface)

    Viewing the Failure Log (mstm Interface)

    The cause of the failure is displayed, as shown in Figure 4-13.

    Figure 4-13 Failure Log (mstm Interface)

    Failure Log (mstm Interface)
  6. Read the details in the Failure Log and take appropriate actions.

Running a Support Tool Using the cstm Interface

To run a support tool using the cstm interface, complete the following steps:

  1. Enter the following command at the HP-UX prompt:

    # /usr/sbin/cstm

  2. Enter the following command at the cstm prompt:

    cstm>map

    The system map is displayed, as shown in Figure 4-14.

    Figure 4-14 System Map (cstm Interface)

    System Map (cstm Interface)
  3. Select the device that you want to test using the device number or the device path. For example, to select the SCSI Disk (SEAGATEST31200), enter the following command at the cstm prompt:

    cstm>sel dev 5

    or

    cstm>sel path 32.11.0

    An asterisk (*) sign to the left of the device number indicates the device you selected, as shown in Figure 4-15.

    Figure 4-15 Selecting a Device (cstm Interface)

    Selecting a Device (cstm Interface)
  4. Enter the following command at the cstm prompt for a list of commands to run various tools:

    cstm>help more

    The list of commands is displayed, as shown in Figure 4-16.

    Figure 4-16 Running a Test (cstm Interface)

    Running a Test (cstm Interface)
  5. Enter the name of the tool at the cstm prompt to run a test, as shown in the following example:

    cstm>verify

    NOTE: Some support tools do not support all devices on every operating system.

    For more information about the tools that support various devices, see the STM Online Help at:

    http://docs.hp.com/en/diag

  6. Select the type of test you want to run, as shown in Figure 4-17.

    Figure 4-17 Selecting the Type of Test (cstm Interface)

    Selecting the Type of Test (cstm Interface)
    CAUTION: Selecting a Read-Write Test option can destroy the information on the disk. You must select the Read-Write Test option to check if the writing operation is functioning properly on new, unused disks. However, a Read-Only Test option only reads the information on the disk. This test does not affect the information on the disk.
  7. Enter the following command at the cstm prompt to view the status of the test:

    cstm>map

    The Last Op Status field displays the status of the test, as shown in Figure 4-18.

    Figure 4-18 Monitoring Test Progress (cstm Interface)

    Monitoring Test Progress (cstm Interface)

    Table 4-3 describes the significance of each status.

    Table 4-3 Test Results (cstm Interface)

    Status

    Description

    Successful

    Indicates that the test completed successfully and that the device is functioning properly.

    Incomplete

    Indicates that the test is not complete and that the device might have problems.

    Failed

    Indicates that the test is complete but that the device failed the test.

     

  8. If a device fails a test, enter the following command at the cstm prompt to unselect all devices:

    cstm>unselall

  9. Select the device that failed the test. For example, enter the following command to select device 3:

    cstm>sel dev 3

  10. Enter the following command at the cstm prompt to view the Failure Log of the Information tool test:

    cstm>infofaillog

    The Failure Log is displayed, as shown in Figure 4-19.

    Figure 4-19 Failure Log (cstm Interface)

    Failure Log (cstm Interface)
  11. Enter the following command to view the test activity log available in the Failure Log:

    cstm>infoactlog

    The Information Tool Activity Log is displayed, as shown in Figure 4-20.

    Figure 4-20 Information Tool Activity Log (cstm Interface)

    Information Tool Activity Log (cstm Interface)
  12. Read the details in the Information Tool Activity Log and take appropriate actions.

Running a Support Tool in Special Modes

You can use the advanced features of STM to increase your control over the test processes. For example, if your system experiences intermittent problems at random intervals, you can run the Exercise tool on all devices of the system for about 20 hours to rectify the problem.

Running a Support Tool in Special Modes Using the xstm or mstm Interface

To run the Exercise tool for 20 hours, complete the following steps:

  1. Select Device->Select All to select all the devices, as shown in Figure 4-21.

    Figure 4-21 Selecting Devices in Special Mode (xstm or mstm Interface)

    Selecting Devices in Special Mode (xstm or mstm Interface)
  2. Select Options->Tool Options->Exercise to select the tool, as shown in Figure 4-22.

    Figure 4-22 Selecting the Tool in Special Mode (xstm or mstm Interface)

    Selecting the Tool in Special Mode (xstm or mstm Interface)

    The list of options is displayed.

  3. Enter the preferred settings.

    For information on how to run the tests and examine the results, see “Running Support Tools”.

Running a Support Tool in Special Modes Using the cstm Interface

To run the Exerciser tool for 20 hours using the cstm interface, complete the following steps:

  1. Enter the following command at the cstm prompt to select all the devices:

    cstm>selall

  2. Enter the following command at the cstm prompt to select the Exercise tool:

    cstm>exeroptions

    The list of options is displayed.

  3. Enter the preferred settings.

    For information on how to run the tests and examine the results, see “Running Support Tools”.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 - , Hewlett-Packard Development Company, L.P.