Solaris 11.4 dump & swap devices fail when managed with Veritas DMP - dump:config: Method "/lib/svc/method/svc-dump-config" failed & swap:default: Method "/usr/sbin/swapadd" failed with exit status 2

book

Article ID: 100051682

calendar_today

Updated On:

Description

Error Message


Console snippet
 

NOTICE: VxVM vxdmp V-5-0-1990 driver version VxVM 7.4.1.2901 Multipathing Driver installed

NOTICE: VxVM vxio V-5-0-1990 driver version VxVM 7.4.1.2901 I/O driver installed
NOTICE: VxVM vxspec V-5-0-1990 driver version VxVM 7.4.1.2901 control/status driver installed

Sep 9 13:44:57 svc.startd[14]: svc:/system/dump:config: Method "/lib/svc/method/svc-dump-config" failed with exit status 96.
Sep 9 13:44:57 svc.startd[14]: system/dump:config misconfigured: transitioned to maintenance (see 'svcs -xv' for details)

VxVM sysboot INFO V-5-2-3409 starting in boot mode...
Sep 9 13:45:12 svc.startd[14]: svc:/system/swap:default: Method "/usr/sbin/swapadd" failed with exit status 2.
Sep 9 13:45:12 svc.startd[14]: svc:/system/swap:default: Method "/usr/sbin/swapadd" failed with exit status 2.
Sep 9 13:45:13 svc.startd[14]: svc:/system/swap:default: Method "/usr/sbin/swapadd" failed with exit status 2.
Sep 9 13:45:13 svc.startd[14]: system/swap:default failed: transitioned to maintenance (see 'svcs -xv' for details)
 

This is when Veritas DMP is discovering the enclosure:

Enter user name for system maintenance (control-d to bypass): root

NOTICE: VxVM vxdmp V-5-0-34 [Info] added disk array 0204204072ca, datype = StorwizeV7000

 

[VxVM][210827-000776][NORDEA]SOL 11.4 SRU 35: VxVM 7.4.1.2901: VxVM not started nor DMP enclosure discovered for swap & dump devices when Solaris 11.4 is trying to import zpools - svc:/system/dump:config: Method "/lib/svc/method/svc-dump-config" status 96

Additional customer:

210824-000899

Cause

 

The order of execution for the Solaris SMF services is subject to changes. It is complex for Oracle (Solaris) to maintain Third party software dependencies, and changes may be differ depending on the OS version & SRU release. Solaris SMF dependency rules can be created to maintain specific dependencies.

To ensure the correct order is maintained, Veritas is required to create a customized SMF profile at the site-profile layer, that includes a "require_all" dependency on the services that create the reqired Veritas DMP devices (e.g. vxvm-startup2) and place it in /etc/svc/profile/site directory indicating that the services depends on it.
 

Resolution


To overcome this Solaris 11.4 change, Veritas has implemented a dependency between the Veritas Services and the required Solaris SMF services for dump & swap.

Dependencies for both dump & swap svcs are now linked to vxvm-startup2, since the Veritas DMP devices are ready once the Veritas service is enabled.


# svccfg -s vxvm-startup2 listprop | head -3
dependents framework
dependents/vxvm-startup2_dump fmri svc:/system/dump:config
dependents/vxvm-startup2_swap fmri svc:/system/swap:default



VxVM Private hot-fixes are now available when containing Veritas Technical Support


Fixes available for VxVM Versions: 7.4.1 &  7.4.2
 

vm-sol11_sparc-HotFix-7.4.2.1504

vm-sol11_sparc-HotFix-7.4.1.2902
 

Issue/Introduction


The boot sequence between Solaris 11.3 and 11.4 has been changed.

With Solaris 11.3, the swap and dump device config are done via the dumpadm:default SMF service.
This is performed after the Veritas vxvm-startup2 process has completed. With Solaris 11.4, both dump & swap have been split into new SMF services including swap:default and dump:config, which are executed before the required Veritas DMP devices are created by vxvm-startup2.
Solaris 11.3: dmp devices build -> zpool import -> dump and swap device addition Solaris 11.4: zpool import -> dump and swap device addition -> dmp devices build
This will cause an issue, if VxVM DMP devices are used for managing swap and or dump.