The running of the sortdc data collector causes VCS group running on RedHat to fault

book

Article ID: 100049055

calendar_today

Updated On:

Description

Error Message

As per the VCS engine log:

2020/10/16 11:01:08 VCS ERROR V-16-2-13067 (ap-coco02p) Agent is calling clean for resource(cocop-ftp-app-RES) because the resource became OFFLINE unexpectedly, on its own.

2020/10/16 11:01:08 VCS ERROR V-16-2-13067 (ap-coco02p) Agent is calling clean for resource(cocop-ftps-app-RES) because the resource became OFFLINE unexpectedly, on its own.

Cause

The cause was sortdc not able to parse information in the cluster's main.cf correctly. The resource in question was:

Application cocop-ftp-app-RES ( StartProgram = "/bin/systemctl enable vsftpd ; /bin/systemctl start vsftpd" StopProgram = "/bin/systemctl disable vsftpd ; /bin/systemctl stop vsftpd" MonitorProcesses = { "/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf" } )

 

sortdc ended up actually running the "systemctl" commands mentioned instead of just capturing the VCS configuration. This had the effect of faulting the resource.

Resolution

The sortdc utility was amended to correctly parse information in main.cf. The latest sortdc utility is available here: 

https://docs.infoscale.com/data_collectors

Build 5.6.20201202 or later addresses the issue.

Issue/Introduction

The running of the sortdc data collector causes VCS group running on RedHat to fault

Error Message

As per the VCS engine log: 2020/10/16 11:01:08 VCS ERROR V-16-2-13067 (ap-coco02p) Agent is calling clean for resource(cocop-ftp-app-RES) because the resource became OFFLINE unexpectedly, on its own. 2020/10/16 11:01:08 VCS ERROR V-16-2-13067 (ap-coco02p) Agent is calling clean for resource(cocop-ftps-app-RES) because the resource became OFFLINE unexpectedly, on its own.