How can I use static ports for the ocf:heartbeat:nfsserver cluster resource?

Solution Verified - Updated -

Issue

  • How can I use static ports for the ocf:heartbeat:nfsserver cluster resource?
  • How can I assign static ports for the HA nfsserver so we can create appropriate firewall rules?
  • Port configurations in /etc/sysconfig/nfs are not reliable for highly available NFS managed by Pacemaker.

Environment

  • Red Hat Enterprise Linux Server 6, 7 (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