on Linux server, if NFS resource configed in VCS, need to make nfsserver service no-auto-start when OS booting

book

Article ID: 100024280

calendar_today

Updated On:

Description

Error Message

node1 engine_A.log:
2011/04/23 15:48:46 VCS INFO V-16-1-10304 Resource dNFS_IP (Owner: Unspecified, Group: ClusterService) is offline on fileserver1 (First probe)
2011/04/23 15:48:46 VCS INFO V-16-1-10297 Resource dNFS_share (Owner: Unspecified, Group: ClusterService) is online on fileserver1 (First probe)
...............
2011/04/23 15:48:46 VCS INFO V-16-1-10304 Resource dNFS_Mount (Owner: Unspecified, Group: ClusterService) is offline on fileserver1 (First probe)
...............
2011/04/23 15:48:47 VCS INFO V-16-1-10297 Resource dNFS_NFS (Owner: Unspecified, Group: ClusterService) is online on fileserver1 (First probe)
2011/04/23 15:48:47 VCS INFO V-16-1-10304 Resource smbshare (Owner: Unspecified, Group: ClusterService) is offline on fileserver1 (First probe)
2011/04/23 15:48:47 VCS INFO V-16-1-10304 Resource sync_control (Owner: Unspecified, Group: ClusterService) is offline on fileserver1 (First probe)
2011/04/23 15:48:47 VCS INFO V-16-1-10304 Resource App (Owner: Unspecified, Group: ClusterService) is offline on fileserver1 (First probe)
2011/04/23 15:48:47 VCS INFO V-16-1-10304 Resource smb_server (Owner: Unspecified, Group: ClusterService) is offline on fileserver1 (First probe)
2011/04/23 15:48:47 VCS NOTICE V-16-1-10438 Group ClusterService has been probed on system fileserver1

node2 engine_A.log:
2011/04/23 15:48:46 VCS INFO V-16-1-10304 Resource dNFS_IP (Owner: Unspecified, Group: ClusterService) is offline on fileserver2 (First probe)
2011/04/23 15:48:47 VCS INFO V-16-1-10304 Resource dNFS_Mount (Owner: Unspecified, Group: ClusterService) is offline on fileserver2 (First probe)
2011/04/23 15:48:47 VCS INFO V-16-1-10297 Resource dNFS_share (Owner: Unspecified, Group: ClusterService) is online on fileserver2 (First probe)
2011/04/23 15:48:47 VCS ERROR V-16-1-10214 Concurrency Violation:CurrentCount increased above 1 for failover group ClusterService
2011/04/23 15:48:47 VCS NOTICE V-16-1-10233 Clearing Restart attribute for group ClusterService on all nodes
2011/04/23 15:48:47 VCS INFO V-16-1-10306 Resource dNFS_IP (Owner: Unspecified, Group: ClusterService) is offline on fileserver2 (Previous State = OFFLINE)
................
2011/04/23 15:48:47 VCS INFO V-16-1-10306 Resource dNFS_Mount (Owner: Unspecified, Group: ClusterService) is offline on fileserver2 (Previous State = OFFLINE)
2011/04/23 15:48:47 VCS WARNING V-16-6-15034 (fileserver2) violation:Offlining group ClusterService on system fileserver2
2011/04/23 15:48:47 VCS NOTICE V-16-1-10167 Initiating manual offline of group ClusterService on system fileserver2
2011/04/23 15:48:47 VCS NOTICE V-16-1-10300 Initiating Offline of Resource dNFS_share (Owner: Unspecified, Group: ClusterService) on System fileserver2
2011/04/23 15:48:47 VCS INFO V-16-6-15002 (fileserver2) hatrigger:hatrigger executed /opt/VRTSvcs/bin/triggers/violation fileserver2 ClusterService   successfully
................
2011/04/23 15:48:48 VCS INFO V-16-1-10304 Resource smbshare (Owner: Unspecified, Group: ClusterService) is offline on fileserver2 (First probe)
2011/04/23 15:48:48 VCS INFO V-16-1-10304 Resource sync_control (Owner: Unspecified, Group: ClusterService) is offline on fileserver2 (First probe)
2011/04/23 15:48:48 VCS INFO V-16-1-10304 Resource App (Owner: Unspecified, Group: ClusterService) is offline on fileserver2 (First probe)
2011/04/23 15:48:48 VCS INFO V-16-1-10304 Resource smb_server (Owner: Unspecified, Group: ClusterService) is offline on fileserver2 (First probe)
2011/04/23 15:48:48 VCS INFO V-16-1-10297 Resource dNFS_NFS (Owner: Unspecified, Group: ClusterService) is online on fileserver2 (First probe)
2011/04/23 15:48:48 VCS NOTICE V-16-1-10438 Group ClusterService has been probed on system fileserver2
.................
2011/04/23 15:48:53 VCS INFO V-16-1-10305 Resource dNFS_share (Owner: Unspecified, Group: ClusterService) is offline on fileserver2 (VCS initiated)
2011/04/23 15:48:53 VCS NOTICE V-16-1-10446 Group ClusterService is offline on system fileserver2

Resolution

make nfsserver service no-auto-start when OS booting

#chkconfig nfsserver off

 # chkconfig -l |grep nfsserver
nfsserver                 0:off  1:off  2:off  3:off  4:off  5:off  6:off


Applies To

Linux platform

VCS 5.0  5.1

Issue/Introduction

on Linux server, if NFS resource configed in VCS, need to make nfsserver service no-auto-start when OS booting two nodes in VCS,in main.cf: Share resource dependent on NFS resource  // resource dependency tree
 //
 // group ClusterService
 // {
 // IP dNFS_IP
 //     {
 //     NIC dNFS_NIC
 //     Share dNFS_share
 //         {
 //         Mount dNFS_Mount
 //             {
 //             Application App
 //             }
 //         NFS dNFS_NFS
 //         }
 //     }
 // SambaShare smbshare
 //     {
 //     SambaServer smb_server
 //     }
 // Application sync_control
 //     {
 //     Mount dNFS_Mount
 //         {
 //         Application App
 //         }
 //     }
 // } if auto-start is ON of nfsserver service :
#chkconfig -l
nfsserver                 0:off  1:off  2:off  3:on   4:off  5:on   6:off after rebooting two nodes at same time, "First Probe" entry will detect NFS & Share resource both online on two nodes, then it cause service group "Concurrency Violation" and lead service group working abnormally