Previous  |  Next  >  
Product: Storage Foundation Cluster File System Guides   
Manual: Cluster File System 4.1 Installation and Administration Guide   

CFSMount Agent

Description

Brings online, takes offline, and monitors a cluster file system mount point. The CFSMount agent executable is /opt/VRTSvcs/bin/CFSMount/CFSMountAgent. The type definition is in the file /etc/VRTSvcs/conf/config/CFSTypes.cf.

Entry Points
  • Online---Mounts a block device or file system snapshot in cluster mode.
  • Offline---Unmounts the file system (doing a forced unmount if necessary).
  • Monitor---Determines if the file system is mounted. Checks mount status using the fsclustadm command.
  • Clean---A null operation for a cluster file system mount.
  • attr_change---Remounts file system with new mount option; sets new primary for file system; sets fsclustadm policy on file system.
Required Attributes Type and
Dimension
Definition

BlockDevice

string-scalar

Block device for mount point.

MountPoint

string-scalar

Directory for mount point.

NodeList

string-keylist

List of nodes on which to mount.

Optional Attributes Type and
Dimension
Definition

Policy

string-scalar

Node list for the primary file system selection policy.

MountOpt

string-scalar

Options for the mount command. To create a valid MountOpt attribute string:

  • Use VxFS type-specific options only.
  • Do not use the –o flag to specify the VxFS-specific options.
  • Do not use the –F vxfs file system type option.
  • The cluster option is not required.
  • Specify options in a comma-separated list as in these examples:

  • ro
    ro,cluster
    blkclear,mincache=closesync
Internal Attributes

MountType, Primary, SetPrimary, RemountRes, ForceOff

Not user-configured---used only by system.

Type Definition


type CFSMount (
 static int RestartLimit = 2
 static str LogLevel
 static str ArgList[] = {MountPoint, BlockDevice, MountOpt}
 NameRule = resource.MountPoint
 str MountPoint
 str BlockDevice
 str MountOpt
)

Sample Configuration


CFSMount testdg_test01_fsetpri (
 Critical = 0
 mountPoint = "/mnt1"
 BlockDevice = "/dev/vx/dsk/testdg/test01"
 )
CFSMount testdg_test02_fsetpri (
 Critical = 0
 MountPoint = "/mnt2"
 BlockDevice = "/dev/vx/dsk/testdg/test02"
 MountOpt = "blkclear,mincache=closesync"
 )
 ^ Return to Top Previous  |  Next  >  
Product: Storage Foundation Cluster File System Guides  
Manual: Cluster File System 4.1 Installation and Administration Guide  
VERITAS Software Corporation
www.veritas.com