What does the methods operation do in a Pacemaker cluster resource?

Solution Verified - Updated -

Issue

  • Some cluster resource agents offer a methods operation.
  • The LVM resource agent has an operation called methods that is not found in most other resource agents.
  Resource: test_lvm (class=ocf provider=heartbeat type=LVM)
   Attributes: exclusive=true volgrpname=test_vg
   Operations: methods interval=0s timeout=5 (test_lvm-methods-interval-0s)
               monitor interval=120s timeout=180s (test_lvm-monitor-interval-120s)
               start interval=0s timeout=180s (test_lvm-start-interval-0s)
               stop interval=0s timeout=180s (test_lvm-stop-interval-0s)

Environment

  • Red Hat Enterprise Linux 6, 7, 8, or 9 with the High Availability Add-on
  • Pacemaker

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content