ocf.ra@.service7
System unit template for using ocf resource agents
Usage
ocf.ra@OCF_RESOURCE_INSTANCE.service
Overview
While it could also be used in other contexts, this is intended to be used by the drbd-reactor promoter plugin when defining simple linear service dependency chains on a specific DRBD resource.
The parameterization of the ocf resource agents is done via environment definitions in systemd drop-in configuration, which are generated by the drbd-reactor promoter plugin.
The implementation uses ocf.ra.wrapper.sh to start the ocf resource agent, then keeps monitoring it every monitor_interval seconds (default: 30s). You could override some settings (like the monitor_interval) for "all" [email protected] instances with a drop-in for the template unit.
Notes
- 1.
-
the DRBD User’s Guide
https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.