How can I manage cron jobs in an active/passive manner in a Pacemaker cluster?

Solution Verified - Updated -

Issue

  • I want to run certain cron jobs only on the active node of a Pacemaker cluster. How can I achieve this?

Environment

  • Red Hat Enterprise Linux 7 (with the High Availability Add-on)
  • Red Hat Enterprise Linux 8 (with the High Availability Add-on)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In