@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
at upstream/main 47 lines 1.3 kB view raw
1@title Cluster: SSH Servers 2@group cluster 3 4Configuring Phorge to use multiple SSH servers. 5 6Overview 7======== 8 9You can run Phorge on multiple SSH servers. The advantages of doing this 10are: 11 12 - you can completely survive the loss of multiple SSH hosts. 13 14This configuration is simple, but you must configure repositories first. For 15details, see @{article:Cluster: Repositories}. 16 17SSH servers accept SSH requests from commands like `git clone` and relay them 18to hosts that can serve the requests. 19 20 21Adding SSH Hosts 22================ 23 24After configuring repositories in cluster mode, you can add more web hosts 25at any time. 26 27First, deploy the Phorge software and configuration to a host, then 28register the host as a cluster device if it is not already registered (for 29help, see @{article:Cluster: Devices}.) 30 31Once the host is registered, start the SSH server, and then add the host to the 32SSH load balancer pool. 33 34Phorge SSH servers are stateless, so you can pull them in and out of 35production freely. 36 37You may also want to run web services on these hosts, since the service is very 38similar to SSH, also stateless, and it may be simpler to load balance the 39services together. For details, see @{article:Cluster: Web Servers}. 40 41 42Next Steps 43========== 44 45Continue by: 46 47 - returning to @{article:Clustering Introduction}.