A network of several servers
A network is several servers with the same network part of server.conf.
- On any server in the network, get the network key:
veydan-server join-token - On the new server, run the installer, answer
join, and paste the key. Or run the installer with--join <key>. - Enter a short word for the new server. The names are made from it:
m2→m2-relay.example.org. - Tell the existing servers about the new one: add its names to
MESH_RELAYSandMESH_MEDIAin their/opt/veydan/server.confand runveydan-server rerun. They don't learn the new names by themselves: their accept the new one, but their watch only the relays they know.
Caution. The network key contains the network's keys. Don't give it to anyone.
- Each relay is connected to every other and reconciles with it every few minutes. An event published on one relay reaches all of them.
- With a shared S3 bucket, any serves any file.
- When files are stored on disks, each server serves what it received itself and asks the next media server in
MESH_MEDIAfor the rest.