To use the SFCache agent with CFS setup, you must configure the SFCache resource in a separate parallel service group with online local soft dependency between the SFCache service group and CFSMount service group.
The following is a sample configuration:
group cfssg ( SystemList = { sysA = 0, sysB = 1 } Parallel = 1 AutoStartList = { sysA, sysB } ) CFSMount cfsmount1 ( MountPoint = "/cfsmnt" BlockDevice = "/dev/vx/dsk/cfsdg01/cfsvol01" MountOpt @sysA = rw MountOpt @sysB = rw NodeList = { sysA, sysB } ) CVMVolDg cvmvoldg1 ( CVMDiskGroup = cfsdg01 CVMVolume = { cfsvol01 } CVMActivation @sysA = sw CVMActivation @sysB = sw ) requires group cvm online local firm cfsmount1 requires cvmvoldg1 group cfs_sfcache_sg ( SystemList = { sysA = 0, sysB = 1 } Parallel = 1 AutoStartList = { sysA, sysB } ) SFCache sfcache1 ( CacheMode = read CacheFaultPolicy = IGNORE CacheObjectName = "/cfsmnt" CacheArea @sysA = { Read = sfcachearea_11 } CacheArea @sysB = { Read = sfcachearea_21 } ) requires group cfssg online local soft