---
name: "OCF_ReturnCodes"
section: "3pm"
platform: "linux"
package: "resource-agents-paf"
version: "2.3.0-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/OCF_ReturnCodes"
---

# OCF\_ReturnCodes(3pm)

Common varibales for the OCF Resource Agents supplied by heartbeat.

## NAME

OCF\_ReturnCodes - Common varibales for the OCF Resource Agents supplied by heartbeat.

## SYNOPSIS

```
  use FindBin;
  use lib "$FindBin::RealBin/../../lib/heartbeat/";

  use OCF_ReturnCodes;
```

## DESCRIPTION

This module has been ported from the ocf-retrurncodes shell script of the resource-agents project. See \<https://github.com/ClusterLabs/resource-agents/\>.

## VARIABLES

Here are the variables exported by this module:

- $OCF\_SUCCESS

  - $OCF\_ERR\_GENERIC

  - $OCF\_ERR\_ARGS

  - $OCF\_ERR\_UNIMPLEMENTED

  - $OCF\_ERR\_PERM

  - $OCF\_ERR\_INSTALLED

  - $OCF\_ERR\_CONFIGURED

  - $OCF\_NOT\_RUNNING

  - $OCF\_RUNNING\_MASTER

  - $OCF\_FAILED\_MASTER

  ## COPYRIGHT AND LICENSE

Copyright (C) 2016: Jehan-Guillaume de Rorthais and Mael Rimbault.

Licensed under the PostgreSQL License.
