@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1@title Cluster: Web Servers
2@group cluster
3
4Configuring Phorge to use multiple web servers.
5
6Overview
7========
8
9You can run Phorge on multiple web servers. The advantages of doing this
10are:
11
12 - you can completely survive the loss of multiple web hosts; and
13 - performance and capacity may improve.
14
15This configuration is simple, but you must configure repositories first. For
16details, see @{article:Cluster: Repositories}.
17
18
19Adding Web Hosts
20================
21
22After configuring repositories in cluster mode, you can add more web hosts
23at any time.
24
25First, deploy the Phorge software and configuration to a host, then
26register the host as a cluster device if it is not already registered (for
27help, see @{article:Cluster: Devices}.)
28
29Once the host is registered, start the web server, and then add the host to the
30load balancer pool.
31
32Phorge web servers are stateless, so you can pull them in and out of
33production freely.
34
35You may also want to run SSH services on these hosts, since the service is very
36similar to HTTP, also stateless, and it may be simpler to load balance the
37services together. For details, see @{article:Cluster: SSH Servers}.
38
39
40Next Steps
41==========
42
43Continue by:
44
45 - returning to @{article:Clustering Introduction}.