Prior to the panics occurring it was observed that VxVM commands (such as 'vxdisk list', 'vxprint -ht') were slow to respond and 'open failure' messages were reported for the PureStorage luns in the /var/adm/vx/dmpevents.log file
eg
Jul 9 08:35:46 systemA vxdmp: [ID 808364 kern.notice] NOTICE: VxVM vxdmp V-5-3-0 dmp_open_path: Open failed with 5 for path 173/0x770
Jul 9 08:35:46 systemA vxdmp: [ID 808364 kern.notice] NOTICE: VxVM vxdmp V-5-3-0 dmp_open_path: Open failed with 5 for path 173/0x7a8
Jul 9 08:35:46 systemA vxdmp: [ID 381736 kern.notice] NOTICE: VxVM vxdmp V-5-0-111 [Warn] disabled dmpnode 268/0x1e08
Jul 9 08:35:46 systemA vxdmp: [ID 381736 kern.notice] NOTICE: VxVM vxdmp V-5-0-111 [Warn] disabled dmpnode 268/0x1ea8
Jul 9 08:35:51 systemA vxdmp: [ID 275047 kern.notice] NOTICE: VxVM vxdmp V-5-3-1062 dmp_restore_node: Unstable path 173/0x770 will not be available for I/O until 300 seconds
and the /var/adm/messages file showed the DiskGroup monitor failing to complete within the expected time for each of the VCS DiskGroup resources before the system was panicked:
Jul 9 09:47:08 systemA AgentFramework[3198]: [ID 702911 daemon.notice] VCS ERROR V-16-2-13027 Thread(140) Resource(admin_dg_res) - monitor procedure did not complete within the expected time.
Jul 9 10:05:08 systemA AgentFramework[3198]: [ID 702911 daemon.notice] VCS ERROR V-16-2-13210 Thread(145) Agent is calling clean for resource(admin_dg_res) because 4 successive invocations of the monitor procedure did not complete within the expected time.
Jul 9 10:05:08 systemA Had[3127]: [ID 702911 daemon.notice] VCS ERROR V-16-2-13210 (systemA) Agent is calling clean for resource(admin_dg_res) because 4 successive invocations of the monitor procedure did not complete within the expected time.
Jul 9 10:05:15 systemA AgentFramework[3198]: [ID 702911 daemon.notice] VCS CRITICAL V-16-10001-1089 DiskGroup:admin_dg_res:clean:Monitor hung for diskgroup (admin_dg_res) on system systemA. System will panic to migrate all service groups to another system in system list
Jul 9 10:05:20 systemA unix: [ID 836849 kern.notice]
Jul 9 10:05:20 systemA ^Mpanic[cpu142]/thread=1840361f30e80:
Jul 9 10:05:20 systemA unix: [ID 156897 kern.notice] forced crash dump initiated at user request
Jul 9 10:05:20 systemA unix: [ID 100000 kern.notice]
Jul 9 10:05:20 systemA genunix: [ID 723222 kern.notice] 000002a122bbb900 genunix:kadmin+688 (1, 0, 0, 10, 18405fdd12c10, 0)
Jul 9 10:05:20 systemA genunix: [ID 179002 kern.notice] %l0-3: 0000000000000004 00000000208d9400 00018400e2083e18 0000000000000004
Jul 9 10:05:20 systemA %l4-7: 0000000000000004 00000000000005d8 0000000000000004 00000000000000f8
Jul 9 10:05:20 systemA genunix: [ID 723222 kern.notice] 000002a122bbb9c0 genunix:uadmin+1bc (5, 0, 0, 203d1000, 1840900ff6348, 4)
Jul 9 10:05:20 systemA genunix: [ID 179002 kern.notice] %l0-3: 000184087f92e338 00018400e2094e00 000000003506b46b 0000000000000000
Jul 9 10:05:20 systemA %l4-7: 000000003506b46b 000000003506b46a 0000000000000000 0000000000000000
Jul 9 10:05:20 systemA unix: [ID 100000 kern.notice]
Jul 9 10:05:20 systemA genunix: [ID 672855 kern.notice] syncing file systems...
Jul 9 10:05:22 systemA genunix: [ID 733762 kern.notice] 94
Jul 9 10:06:01 systemA last message repeated 20 times
The system panics were expected as the PanicSystemOnDGLoss attribute was set to '1' for each of the VCS DiskGroup resources.
For example in the /etc/VRTSvcs/conf/config/main.cf file
DiskGroup admin_dg_res (
Critical = 0
DiskGroup = admin_dg_res
PanicSystemOnDGLoss = 1
)
In the 'vxdisk -o alldgs list' output the PureStorage luns were seen with 'auto:none' state:
eg
purestorage0_000125da auto:none - - online invalid thinrclm
Once the 'Open failed with 5 for path' error is encountered, DMP tries to analyze the failure for each of the affected disks and their paths which causes dmp to be busy.
Initially it was found that setting the dmp probe_idle_lun tunable to 'off' (using the vxdmpadm settune dmp_probe_idle_lun=off command ) helped to avoid the system panics when the BigFix Inventory Scan was run. When the PureStorage luns were initialized under VxVM (using the vxdisksetup command) the VRTSexplorer outputs could be captured successfully without any system panics occurring and no further 'Open failed with 5 for path' errors were observed. However it was later observed on another VCS 7.4/1/Sol11.4 cluster that device discovery would kick-in as soon as the PureStorage luns were presented to that environment and so vxconfigd would become unresponsive before the PureStorage luns could be formatted, labelled and initialized using vxdisksetup. On that environment it was found that if the systems were rebooted straight after the PureStorage luns were presented to the systems, then the vxconfigd unresponsiveness issue could be avoided and the disks could be successfully formatted, labelled and initialized under VxVM.
So the recommended workaround was:
- set dmp_probe_idle_lun tunable to 'off'
- reboot the system(s) as soon as the PureStorage luns are presented
- format, label and initialize the PureStorage luns under VxVM using vxdisksetup.
System panics were encountered whilst running the BigFix Inventory scan or capturing the VRTSexplorer on a two node VCS 7.4.1/Sol11.4 cluster when both EMC and PureStorage luns were present as part of on-going SAN migration from EMC to PureStorage.
Feedback submitted!