All of lore.kernel.org
 help / color / mirror / Atom feed
* running NFS in LXC
@ 2018-02-13  9:55 Harald Dunkel
  2018-02-13 18:28 ` Benjamin Coddington
  0 siblings, 1 reply; 9+ messages in thread
From: Harald Dunkel @ 2018-02-13  9:55 UTC (permalink / raw)
  To: linux-nfs

Hi folks,

to support a HA setup I have a block device mirrored via
drbd on 2 hosts (write-through). The drbd Primary runs
the NFS service, using a dedicated IP address. NFS is not
running on the drbd Secondary.

To make this work I have to move several system files and
/var directories to a file system on the mirrored block
device as well. This is pretty clumsy, it breaks system
updates, etc.

Question: What if I run the NFS service in a LXC container
instead?

The idea is to put the whole service as a container on the
same block device as the NFS export partitions. In case of
a hardware failure on the Primary I can stop the NFS service,
make the Secondary to the new Primary and start the NFS
service on the other hardware again.

Do you expect some serious problems here? Please share your
thoughts. Every helpful comment is highly appreciated.


Harri

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-03-20 13:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-13  9:55 running NFS in LXC Harald Dunkel
2018-02-13 18:28 ` Benjamin Coddington
2018-02-14  7:06   ` Harald Dunkel
2018-02-14 14:15     ` Benjamin Coddington
2018-02-15 15:45       ` J. Bruce Fields
2018-02-15 19:14         ` Benjamin Coddington
2018-03-20 11:09         ` Harald Dunkel
2018-03-20 12:01         ` Jeff Layton
2018-03-20 13:22           ` Scott Mayhew

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.