Cluster: SSH ServersPhorge User Documentation (Cluster Configuration)
Configuring Phorge to use multiple SSH servers.
You can run Phorge on multiple SSH servers. The advantages of doing this are:
- you can completely survive the loss of multiple SSH hosts.
This configuration is simple, but you must configure repositories first. For details, see Cluster: Repositories.
SSH servers accept SSH requests from commands like git clone and relay them to hosts that can serve the requests.
After configuring repositories in cluster mode, you can add more web hosts at any time.
First, deploy the Phorge software and configuration to a host, then register the host as a cluster device if it is not already registered (for help, see Cluster: Devices.)
Once the host is registered, start the SSH server, and then add the host to the SSH load balancer pool.
Phorge SSH servers are stateless, so you can pull them in and out of production freely.
You may also want to run web services on these hosts, since the service is very similar to SSH, also stateless, and it may be simpler to load balance the services together. For details, see Cluster: Web Servers.
- returning to Clustering Introduction.