This section provides an example of Active/Standby for NFS v4. In this configuration, Server 1 is considered active because it is running NFS and exporting the file systems. Server 2 does other processing. If Server 1 fails, Server 2 gains access to the file systems and uses the LifeKeeper secondary hierarchy to make it available to clients.

Active/Standby Configuration Example for NFS v4

Configuration Notes:

  • The NFS software must be installed on both servers.
  • The underlying file systems (File Systems A, B and C) must be mounted and be on shared (or replicated) disks.
  • Bind mounts must be completed prior to creation (bind /usr/local/bin to /export/bin and bind /usr/local/opt to /export/opt).
  • The NFS export points are /export, /export/bin and /export/opt.
  • The exported file systems must have the same mount point on both the primary and backup servers.
  • Server 2 cannot access files and directories on the shared disk while Server 1 is active.

Creating a Resource Hierarchy to Server 1:

Server: Server1
Export Point: /export
IP Tag: ip-172.17.100.202
NFS Tag: nfs-/export

Extending a Resource Hierarchy to Server 2:

Template Server: Server1
Tag to Extend: nfs-/export
Target Server: Server2
Target Priority: 10

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment