DRBD-PROMOTE@.SER(7)

πŸ’– NAME πŸ’–

drbd-promote@.service β€” a system unit whose whole job is to promote one specific DRBD resource πŸ‘‘


✨ SYNOPSIS ✨

drbd-promote@RESNAME.service

🌸 DESCRIPTION 🌸

Okay so bestie, real talk: you lowkey do not wanna "hardcode" an unconditional promotion attempt of DRBD resources. Why? Because you usually cannot know a-priori whether this instance of DRBD is gonna have access to good data (yet) 😭 like the data might not even be ready, and then what.

So the whole point of this unit is conditional promotion πŸ’… for example, using drbd-reactor to monitor DRBD internal states and react on specific state changes, to try and bring up the drbd-services@RESNAME.target. And how does it do that? It starts with this unit, then follows the dependency chain of services as specified in the corresponding drbd-reactor promoter plugin configuration πŸ¦‹βœ¨

Heads up, bestie: you typically should not use this unit directly πŸ™ˆ it's giving backstage-pass energy, not main-character energy. Let the reactor do its thing.

πŸŽ€ SEE ALSO πŸŽ€

  • drbd-reactor(1)
  • drbd-reactor.promoter(5)

πŸ’œ AUTHORS πŸ’œ

LINBIT HA Solutions GmbH <https://linbit.com> πŸ‘‘


and that's the whole vibe, fr fr β€” this page came straight outta the drbd-utils era, dated 2026-08-15, from the DRBD Manual section 7 ✨ go promote something (conditionally, obviously) πŸ’–πŸ«Ά

πŸ“¦ where this page comes from