Previous  |  Next  >  
Product: Storage Foundation for Oracle RAC Guides   
Manual: Storage Foundation 4.1 for Oracle RAC Installation and Configuration   

CFSMount Agent: Entry Points

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

Entry Point Description

Online

Mounts a block device in cluster mode.

Offline

Unmounts the file system, forcing the process if necessary, and sets primary to secondary if necessary.

Monitor

Determines whether the file system is mounted. Checks mount status using the fsclustadm command.

Clean

Generates a null operation for a cluster file system mount.

CFSMount Agent Type: Attribute Descriptions

The table lists modifiable attributes of the CFSMount Agent resource type.

Attribute Dimension Description

MountPoint

string-scalar

Directory for the mount point.

BlockDevice

string-scalar

Block device for the mount point.

NodeList (optional)

string-keylist

List of nodes on which to mount. If NodeList is NULL, the agent uses the service group system list.

MountOpt

(optional)

string-scalar

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

  • Use the 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.
  • Be aware the cluster option is not required.
  • Specify options in comma-separated list as in these examples:
  •  ro
  •  ro,cluster
  •  blkclear,mincache=closesync

Policy (optional)

string-scalar

List of nodes to assume primaryship of the cluster file system if the primary node fails. If set to NULL or if none of the hosts specified in the list is active when the primary node fails, a node is randomly selected from the set of active nodes to assume primaryship.

Primary (Not set by user)

string-scalar

Information only. Stores the primary node name for a VxFS file system. The value is automatically modified in the configuration file when an unmounted file system is mounted or another node becomes the primary node. The user does not set this attribute and user programs do not rely on this attribute.

CFSMount Agent: Type Definition

The CFSTypes.cf file includes the CFSMount agent type definition.


type CFSMount (
        static keylist RegList = { MountOpt, Policy, NodeList }
        static int FaultOnMonitorTimeouts = 1
        static int OnlineWaitLimit = 0
        static str ArgList[] = { MountPoint, BlockDevice, 
            MountOpt }
        NameRule = resource.MountPoint
        str MountPoint
        str MountType
        str BlockDevice
        str MountOpt
        str Primary
        keylist NodeList
        keylist Policy
)
 ^ Return to Top Previous  |  Next  >  
Product: Storage Foundation for Oracle RAC Guides  
Manual: Storage Foundation 4.1 for Oracle RAC Installation and Configuration  
VERITAS Software Corporation
www.veritas.com