Entry points for CFSMount agent

Table: CFSMount agent entry points provides the entry points for the CFSMount agent.

Table: CFSMount agent entry points

Entry Point

Description

Online

Mounts a block device in cluster mode.

Offline

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

Monitor

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

Clean

Generates a null operation for a cluster file system mount.

imf_init

Initializes the agent to interface with the AMF kernel driver, which is the IMF notification module for the agent. This function runs when the agent starts up.

imf_​getnotification

Gets notification about resource state changes. This function runs after the agent initializes with the AMF kernel module. This function continuously waits for notification and takes action on the resource upon notification.

imf_register

Registers or unregisters resource entities with the AMF kernel module. This function runs for each resource after the resource goes into steady state (online or offline).