Assume that multiple arrays of the same type are attached to the system. When querying the value of recoveryoption for this array type (EMC), it does not give the description of the value.
# vxdmpadm listenclosure all output
ENCLR_NAME ENCLR_TYPE ENCLR_SNO STATUS ARRAY_TYPE
============================================================================
Disk Disk DISKS CONNECTED Disk
23F EMC 104465 CONNECTED A/A
14F EMC 104615 CONNECTED A/A
28F EMC 105882 CONNECTED A/A
13F EMC 105624 CONNECTED A/A
#
# vxdmpadm getattr arrayname EMC recoveryoption
ENCLR-NAME RECOVERY-OPTION DEFAULT[VAL] CURRENT[VAL]
==============================================================================
23F Throttle Timebound[10] Queuedepth[40]
23F Error-Retry Fixed-Retry[30] Fixed-Retry[30]
14F Throttle [10] [40]
14F Error-Retry [30] [30]
28F Throttle [10] Timebound[40]
28F Error-Retry [30] Fixed-Retry[30]
13F Throttle [10] [40]
13F Error-Retry [30] [30]
#
The problem is caused due the incident mentioned in the "Supplemental Materials" section. When multiple arrays are connected to the system, VxVM code does not correctly show the description of the values in the output. Instead it only shows the equivalent values defined in the code.
Necessary code changes have been made to honour the recoveryoption attribute in /etc/vx/dmppolicy.info file.
This problem will be fixed in upcoming VxVM 5.0MP2RP3P2 for HP-UX 11.23.
Workaround
Until the fix is developed / installed, use the following workaround to run this command separately for each enclosure to get the correct description.
# vxdmpadm listenclosure all | awk '/ CONNECTED/{print $1}' | xargs -i vxdmpadm getattr enclosure {} recoveryoption | egrep -v 'ENCLR|==='
Disk Throttle Timebound[10] Queuedepth[40]
Disk Error-Retry Fixed-Retry[30] Fixed-Retry[30]
23F Throttle Timebound[10] Queuedepth[40]
23F Error-Retry Fixed-Retry[30] Fixed-Retry[30]
14F Throttle Timebound[10] Queuedepth[40]
14F Error-Retry Fixed-Retry[30] Fixed-Retry[30]
28F Throttle Timebound[10] Queuedepth[40]
28F Error-Retry Fixed-Retry[30] Fixed-Retry[30]
13F Throttle Timebound[10] Queuedepth[40]
13F Error-Retry Fixed-Retry[30] Fixed-Retry[30]
#
Applies To
This issue is noticed in the following Veritas Volume Manager (VxVM) releases:
HP-UX 11.23 (11i v2) - 5.0GA until 5.0MP2RP3
HP-UX 11.31 (11i v3) - 5.0GA until 5.0GARP8