OCF.RA@.SERVICE(7) DRBD Manual OCF.RA@.SERVICE(7)

ocf.ra@.service - System unit template for using ocf resource agents

ocf.ra@OCF_RESOURCE_INSTANCE.service

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" ocf.ra@.service instances with a drop-in for the template unit.

the DRBD User’s Guide[1], drbd-reactor(1), drbd-reactor.promoter(5)

LINBIT HA Solutions GmbH https://linbit.com

1.
the DRBD User’s Guide
https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/
2021-06-11 drbd-utils