Cluster volume resources do not fail over when running McAfee LinuxShield

  • 3003523
  • 15-Jun-2006
  • 27-Apr-2012

Environment

Novell Open Enterprise Server (Linux based)
Novell Cluster Services
McAfee LinuxShield (Anti-Virus)

Situation

Cluster volume resources do not properly fail over when running McAfee LinuxShield.

Resolution

Exclude the ._NETWARE directory from the virus scan. This is located at the root of the NSS volume which by default is:
/media/nss/<volumeName>/._NETWARE/

Reference McAfee product documentation on  how to make these exclusions.  
Example from documentation.
/media/nss/\..*  (This will exclude all hidden files and folders under /media/nss/)

Cause

When the volume resource is loaded on the target node, NCP must mount the volume before it becomes available to clients.  The .trustee_database.xml file is being locked by the anti-virus software which causes the NCP mount to fail.

Additional Information

Error from /var/opt/novell/log/ncpserv.log 
AddVolumeToDirCache opening volume trustee file failed rc=13  (13 == EACCES)
ChangeVolumeStatus volume <volumename> not mounted dircache rc=-5