9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Two file servers sharing an auth server
@ 2022-11-02 19:18 Nathan Zimmen-Myers
  2022-11-02 20:23 ` ori
  0 siblings, 1 reply; 11+ messages in thread
From: Nathan Zimmen-Myers @ 2022-11-02 19:18 UTC (permalink / raw)
  To: 9front

Hello all,

I'm still somewhat new to getting 9 set up in a distributed way, and
am struggling to have two separate fileservers sharing an auth server.
Firstly, I want to confirm that this is feasible and (relatively)
common. If this is uncommon/incorrect, is it preferable to maintain
localized documents on a non-OS drive, while booting from an auth

The initial goal that I had started with, was to have a web server
installation that boots from disk, but obtains authentication
information from an authentication server with which it does not share
a disk.

To illustrate: fs1 hosts auth with its own fileserver, currently
nothing else. web1 hosts a fileserver and will host an httpd. These
VPSs are both hosted in the same Vultr datacenter, so the latency
between them is minimal.

As ori mentioned in IRC, keyfs is used to maintain the authentication
database which can be queried remotely (I believe? this might not be a
correct interpretation), is it correct to simply mount keyfs on web1
from fs1?

The other option which comes to mind, is to boot web1 from fs1, and
use web1's disk for documents to be connected to httpd, which may make
long-term maintenance easier. Would this be a more common

My assumption is that web1 should not get all of its web documents
from fs1, as this would duplicate traffic - and I am happy if I am

Thanks all!


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

end of thread, other threads:[~2022-11-04  8:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02 19:18 [9front] Two file servers sharing an auth server Nathan Zimmen-Myers
2022-11-02 20:23 ` ori
2022-11-02 23:53   ` william
2022-11-03  0:43     ` Nathan Zimmen-Myers
2022-11-03  9:28       ` Steve Simon
2022-11-03 10:33         ` sirjofri
2022-11-03 20:57           ` Steve Simon
2022-11-04  0:00             ` william
2022-11-04  6:58             ` sirjofri
2022-11-04  7:09               ` william
2022-11-04  8:29                 ` sirjofri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).