---
name: "ocf_heartbeat_nfsnotify"
section: "7"
platform: "linux"
package: "resource-agents"
version: "1:4.16.0-3+deb13u2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ocf_heartbeat_nfsnotify"
---

# ocf\_heartbeat\_nfsnotify(7)

sm-notify reboot notifications

## NAME

ocf\_heartbeat\_nfsnotify - sm-notify reboot notifications

## SYNOPSIS

**nfsnotify** \[start \| stop \| monitor \| meta-data \| validate-all\]

## DESCRIPTION

This agent sends NFSv3 reboot notifications to clients which informs clients to reclaim locks.

## SUPPORTED PARAMETERS

**source\_host**

Comma separated list of floating IP addresses or host names that clients use to access the nfs service. This will be used to set the source address and mon\_name of the SN\_NOTIFY reboot notifications.

(optional, string, no default)

**notify\_args**

Additional arguments to send to the sm-notify command. By default this agent will always set sm-notify's '-f' option. When the source\_host option is set, the '-v' option will be used automatically to set the proper source address. Any additional sm-notify arguments set with this option will be used in addition to the previous default arguments.

(optional, string, no default)

## SUPPORTED ACTIONS

This resource agent supports the following actions (operations):

**start**

Starts the resource. Suggested minimum timeout: 90s.

**stop**

Stops the resource. Suggested minimum timeout: 90s.

**monitor**

Performs a detailed status check. Suggested minimum timeout: 90s. Suggested interval: 30s.

**reload**

Suggested minimum timeout: 90s.

**meta-data**

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 10s.

**validate-all**

Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

## EXAMPLE CRM SHELL

The following is an example configuration for a nfsnotify resource using the [**crm**(8)](/crm/8.md) shell:

```
primitive p_nfsnotify ocf:heartbeat:nfsnotify \
  op monitor timeout="90s" interval="30s" depth="0"
```

## EXAMPLE PCS

The following is an example configuration for a nfsnotify resource using [**pcs**(8)](/pcs/8.md)

```
pcs resource create p_nfsnotify ocf:heartbeat:nfsnotify \
  op monitor timeout="90s" interval="30s" OCF_CHECK_LEVEL="0"
```

## SEE ALSO

**http://clusterlabs.org/**

## AUTHOR

**ClusterLabs contributors (see the resource agent source for information about individual authors)**
