Problem
vxconfigd をsystemd 管理外( systemctl コマンドを使わない)にて再起動している環境にて
DiskGroup リソースがオンラインとなっている状態で、システムを停止またはリブートを
実施した場合、 DiskGroup リソースが正しくオフライン出来ず、フェールオーバーされません。
Error Message
下記のメッセージが /var/VRTSvcs/log/DiskGroup_A.log に出力されます。
VCS WARNING V-16-10031-1560 DiskGroup: <group-name> :monitor:Veritas Volume Manager configuration daemon (vxconfigd) is not in enabled mode, status of DiskGroup <group-name> cannot be known.
;
VCS WARNING V-16-10031-1521 DiskGroup: <group-name> :offline:The command *vxvol -g <group-name> stopall* failed. Doing a forced stop.
VCS ERROR V-16-10031-1522 DiskGroup: <group-name>:offline:Could not deport the disk group <group-name>.
VCS INFO V-16-2-13716 Thread(140081213277952) Resource(resource-name): Output of the completed operation (offline)
==============================================
VxVM vxvol ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible
VxVM vxvol ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible
VxVM vxdg ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible
VxVM vxdg ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible
==============================================
Cause
本問題は、vxconfigd をsystemd 管理外( systemctl コマンドを使わない)にて、vxconfigd を再起動
する事により、下記の通り、vxconfigd が user-0.slice 直下となる為、システム停止時に、
VCSの停止よりも先に、vxdonfigd が停止してしまう事が原因となります。
# systemctl status
;
│├─user-0.slice
│ │ └─session-2.scope
│ │ ├─ 6990 sshd: root@pts/0
│ │ ├─ 7000 -bash
│ │ ├─17395 vxconfigd -k -x syslog <<<<
Solution
vxconfigd を再起動する際には、下記をコマンドにて実施してください。