Case 2

This case is applicable to HP-UX 11i v3 operating systems.

When HP-UX is used, you change the timeout setting of a LUN instead of an HBA.

Collecting Timeout Parameters

  1. Run the command to obtain the H/W Path values of the disks in online state (such as 64000/0xfa00/0x1).

  2. Run the scsimgr lun_map -H 64000/0xfa00/0x20 | grep 'SCSI transport protocol' command to check whether SCSI transport protocol is fibre_channel. If two records are displayed, it indicates that there are two paths.

    NOTE:

    If SCSI transport protocol is sas, it is a DVD-ROM or other kind of SAS interface device; if SCSI transport protocol is sata, it is a local disk.

  3. Run the command to obtain the current value for each disk whose SCSI transport protocol is fibre_channel. The value is the timeout threshold of the LUN mapped to the HBA.

Error When Querying HBA Timeout Settings

If the timeout setting of an HBA does not pass the check, the error information is as follows:

(Disk path:  dev/rdisk/disk2)(Timeout:120);
(Disk path : dev/rdisk/disk3)(Timeout:15);

Modifying HBA Timeout Settings

Run the scsimgr set_attr -H 64000/0xfa00/0x20 -a path_fail_secs=X command to modify the timeout setting of an HBA. X indicates the timeout threshold that you want to set. The value of current in the command output is the timeout threshold. Check whether the modification is successful.

# scsimgr set_attr -H 64000/0xfa00/0x20 -a path_fail_secs=5
Value of attribute path_fail_secs set successfully
# scsimgr get_attr -H 64000/0xfa00/0x20 -a path_fail_secs

        SCSI ATTRIBUTES FOR LUN : 64000/0xfa00/0x20

name = path_fail_secs
current = 5
default = 120
saved =

Verifying the Modification of HBA Timeout Settings

The modification takes effect immediately but will become invalid after a restart. You can collect timeout parameters again for verification.

Recommended Actions

If you have any questions or any other exceptions exist, contact Huawei technical support.


Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.