vxattachd resource failed to come online eventhough the process is running

book

Article ID: 100058864

calendar_today

Updated On:

Description

Error Message

ProcessOnOnly resource log :

VxVM vxcommon INFO V-5-2-5998 Process already exists

VxVM vxattachd ERROR V-5-2-5991 Duplicate daemon instance check failed

..................................

{C}%3C!%2D%2Dstartindex%2D%2D%3E

2023/05/30 02:22:10 VCS DBG_AGDEBUG Process with pid is not running inside container VCSAgPrimitives.C:VCSAgIsPidInContainer[3168]

2023/05/30 02:22:10 VCS DBG_AGINFO Resource(vxattachd) - monitor entry point exited with a confidence value 0. VCSAgType.C:call_monitor[1586]

Cause

This issue happens whenever /proc is not mounted on the server

"vxattachd" process initially started (as root) by /etc/init.d/vxvm-recover script upon rebooting the host.
So, as long as 'vxattachd' is already running on the host (ie: in this case upon starting up the server), when cluster starts, ie, when 'cvm' service group starts, the agent would then detect this as online on first probe.

The issue could occur only if /proc is not mounted and VCS reports monitor failure, as mentioned in the above error message, for vxattachd resource though it is running. 

Resolution

Mount the /proc filesystem and ensure the /proc filesystem entry is present in respective OS filesystems file.

Issue/Introduction

The 'vxattachd' resource fails to come online via VCS though it can be brought online outside successfully. This is applicable for all Infoscale version and OS platforms.