D
D
Denis Grigorov2020-08-13 04:42:09
linux
Denis Grigorov, 2020-08-13 04:42:09

How to failover nfs with single SAN and GFS2?

Hello!
A cluster of three nodes under Proxmox 6.2-10.
There is a SAN shared storage MSA 2040 via FibreChannel, two HP DL380s are connected.
They are given LUNs to one shared Volume. Each HP has dlm-controld and lvmlockd installed. Through locks and gfs2, shared real-time access to a single partition (on storage) is configured.
This section is shared via NFS from one of the HP servers.
The third Node does not have access to the storage system.

Task: to make a switchover in case of failure of one of the servers to the second HP server of the NFS service.
Tell me please.

UPD. Assumes Active/Passive configuration

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Grigorov, 2020-08-15
@Glow_Fisch

Solved the keepalived problem.
It was necessary to build an active / passive failover cluster with a floating IP address. Keepalived approached successfully. HeartBeat was buggy and wouldn't connect to nodes.
Shared storage over FC.
lvmlockd+dlm+sanlock
FS -> gfs2
keepalived to reserve IP address

V
Vitaly Karasik, 2020-08-13
@vitaly_il1

You need a cluster, for example https://www.linuxtechi.com/configure-nfs-server-cl...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question