 |
» |
|
|
 |
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: Enter the following command at
the HP-UX prompt: # /usr/sbin/xstm The system map is displayed, as shown in Figure 4-1. Select the device you want to test
in the system map, as shown in Figure 4-2. Select Tools->Tool name->Run to
run a test, as shown in Figure 4-3.  |  |  |  |  | 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: Select the type of test you want
to run, as shown in the Figure 4-4. 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. |  |  |  |  |
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. |
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. 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: Enter the following command at
the HP-UX prompt: # /usr/sbin/mstm The system map is displayed, as shown in Figure 4-7. Select the device you want to test
in the device map, and click Enter or Select/Deselect, as shown in
Figure 4-8. Select Tools->Tool name->Run to
run a test, as shown in Figure 4-9.  |  |  |  |  | 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 Select the type of test you want
to run, as shown in Figure 4-10.  |  |  |  |  | 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. 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. |
If the device fails the test, select
the device and select Tools->Tool name->Failure Log, as shown in Figure 4-12. The cause of the failure is displayed, as shown in Figure 4-13. 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: Enter the following command at
the HP-UX prompt: # /usr/sbin/cstm Enter the following command at
the cstm prompt: cstm>map The system map is displayed, as shown in Figure 4-14. 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. 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. 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 Select the type of test you want
to run, as shown in Figure 4-17.  |  |  |  |  | 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. |  |  |  |  |
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. 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. |
If a device fails a test, enter
the following command at the cstm prompt to unselect all devices: cstm>unselall Select the device that failed the
test. For example, enter the following command to select device 3: cstm>sel dev 3 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. 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. 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
InterfaceTo run the Exercise tool for 20 hours, complete the following
steps: Select Device->Select All to select
all the devices, as shown in Figure 4-21. Select Options->Tool Options->Exercise
to select the tool, as shown in Figure 4-22. The list of options is displayed. 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 InterfaceTo run the Exerciser tool for 20 hours using the cstm interface,
complete the following steps: Enter the following command at
the cstm prompt to select all the devices: cstm>selall Enter the following command at
the cstm prompt to select the Exercise tool: cstm>exeroptions The list of options is displayed. Enter the preferred settings. For information on how to run the tests and examine the results,
see “Running Support Tools”.
|