HP 3PAR RedHat and Oracle Linux Implementation Guide

1. This is a per-port setting. List the available ports by issuing the bcu port --list command:
# bcu port --list
-------------------------------------------------------------
Port# FN Type PWWN/MAC FC Addr/ Media State Spd
Eth dev
-------------------------------------------------------------
1/0 - fc 10:00:8c:7c:ff:30:41:60 036100 sw Linkup 4G
0 fc 10:00:8c:7c:ff:30:41:60 036100 sw Linkup 4G
1/1 - fc 10:00:8c:7c:ff:30:41:61 036000 sw Linkup 4G
1 fc 10:00:8c:7c:ff:30:41:61 036000 sw Linkup 4G
-------------------------------------------------------------
2. Set the path_tov value for each port by issuing the bcu fcpim --pathtov <pcifn>
<tov> command:
# bcu fcpim --pathtov 1/0 14
path timeout is set to 14
Setting the SCSI Timeout
The SCSI timeout needs to be set in order for the HP 3PAR StoreServ Storage to operate properly
with RHEL servers. Use the following guidelines depending on your version of RHEL:
RHEL 6: The SCSI timeout value is already set to the default value of 30 seconds and does
not need to be changed.
RHEL 5: The SCSI timeout value is already set to the default value of 60 seconds and does
not need to be changed.
RHEL 4: The SCSI timeout value is 30 seconds and needs to be changed to 60 seconds.
WARNING! For RHEL 4 and RHEL 5 only: If not set to 60 seconds, the SCSI timeout will result
in host disks being taken offline during HP 3PAR StoreServ Storage rolling upgrades. Furthermore,
Remote Copy requires the SCSI timeout value of 60 seconds, otherwise remote copy operations
will become stale with a node reboot.
Using UDEV Rules to Set the SCSI Timeout
For RHEL 4 configurations, change the timeout from 30 seconds to 60 seconds using the udev
rules or a SCSI timeout script so that the change will be effective only for HP 3PAR devices. The
udev rule method is preferable since it changes the SCSI timeout value dynamically whenever a
SCSI device instance is created (for example: /dev/sda).
If using the timeout script, then run the script manually whenever device instances are created and
the timeout value is lost on reboot or driver reload.
NOTE: The udev rules method has been tested on RHEL Update 5. For RHEL 6, use the default
setting (no modification is required). For RHEL 4 Update 4 and below, check and verify that the
udev rule method works. If it does not work, then use the ql_ch_scsi_timeout script method
in “Using QLogic Scripts to Set the SCSI Timeout” (page 47) to change the SCSI timeout value.
1. Make sure the udev package is installed on your server. If not, install it from the RHEL CD.
For example:
# rpm -qa | grep udev
udev-039-10.19.el4.x86_64.rpm
Setting the SCSI Timeout 45