HP-UX 11i v3 Native Multi-Pathing for Mass Storage (August 2012)
26
Total I/Os processed = 73880
Total I/Os processed = 73780
Configuring automatic path recovery
By default, failed lunpath automatic recovery uses the basic ping and immediate path recovery
policies. This section gives examples of how you can change the default configuration to meet
requirements for different use cases.
The following settable attributes control how automatic path recovery is performed. For more
information, see scsimgr_esdisk(7).
• ping_type — Path ping policy (none, basic, or extended)
• ping_recovery — Path recovery policy (immediate, count-based, or time-based)
• ping_count_threshold — Minimum number of successful pings before the path is considered
back online (if ping recover policy is count-based).
• ping_time_threshold — Minimum time in seconds pings must consistently succeed before the
path is considered back online.
Note
Valid for the HP-UX 11i v3 March 2008 release and later.
Disabling automatic path recovery
To disable automatic path recovery for disk16, enter the following command:
# scsimgr set_attr –D /dev/rdisk/disk16 -a ping_type=none
Value of attribute ping_type set successfully
Configuring extended path ping
The following example shows how to configure extended path ping for all disk devices with the same
vendor identifier as disk17. For that purpose, the user has registered a settable attribute scope for
disk devices with the appropriate vendor identifier and set the ping_type attribute for this scope.
1. Determine the settable attribute scope name as follows:
# scsimgr ddr_name -D /dev/rdisk/disk17 vid
SETTABLE ATTRIBUTE SCOPE
"/escsi/esdisk/0x0/COMPAQ "
2. Register the settable attribute scope name if it is not yet registered, as follows:
# scsimgr ddr_add -N "/escsi/esdisk/0x0/COMPAQ "
scsimgr:WARNING: Adding a settable attribute scope may impact system operation if some
attribute values are changed at this scope.
Do you really want to continue? (y/n)? y
scsimgr: DDR entry '/escsi/esdisk/0x0/COMPAQ ' added successfully
3. Change the value of the ping_type attribute to extended for
/escsi/esdisk/0x0/COMPAQ, as follows:
# scsimgr set_attr –N “/escsi/esdisk/0x0/COMPAQ " -a ping_type=extended
Value of attribute ping_type set successfully
Setting a count-based deferred path recovery policy
The following example shows how to consider failed lunpaths of disk17 to be back online only after
20 successful pings. The example assumes the ping_type attribute is already set to basic or
extended for disk17.