Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/cluster/cluster_ssh.diviner
@title Cluster: SSH Servers | @title Cluster: SSH Servers | ||||
@group cluster | @group cluster | ||||
Configuring Phabricator to use multiple SSH servers. | Configuring Phorge to use multiple SSH servers. | ||||
Overview | Overview | ||||
======== | ======== | ||||
You can run Phabricator on multiple SSH servers. The advantages of doing this | You can run Phorge on multiple SSH servers. The advantages of doing this | ||||
are: | are: | ||||
- you can completely survive the loss of multiple SSH hosts. | - you can completely survive the loss of multiple SSH hosts. | ||||
This configuration is simple, but you must configure repositories first. For | This configuration is simple, but you must configure repositories first. For | ||||
details, see @{article:Cluster: Repositories}. | details, see @{article:Cluster: Repositories}. | ||||
SSH servers accept SSH requests from commands like `git clone` and relay them | SSH servers accept SSH requests from commands like `git clone` and relay them | ||||
to hosts that can serve the requests. | to hosts that can serve the requests. | ||||
Adding SSH Hosts | Adding SSH Hosts | ||||
================ | ================ | ||||
After configuring repositories in cluster mode, you can add more web hosts | After configuring repositories in cluster mode, you can add more web hosts | ||||
at any time. | at any time. | ||||
First, deploy the Phabricator software and configuration to a host, then | 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 | register the host as a cluster device if it is not already registered (for | ||||
help, see @{article:Cluster: Devices}.) | help, see @{article:Cluster: Devices}.) | ||||
Once the host is registered, start the SSH server, and then add the host to the | Once the host is registered, start the SSH server, and then add the host to the | ||||
SSH load balancer pool. | SSH load balancer pool. | ||||
Phabricator SSH servers are stateless, so you can pull them in and out of | Phorge SSH servers are stateless, so you can pull them in and out of | ||||
production freely. | production freely. | ||||
You may also want to run web services on these hosts, since the service is very | 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 | similar to SSH, also stateless, and it may be simpler to load balance the | ||||
services together. For details, see @{article:Cluster: Web Servers}. | services together. For details, see @{article:Cluster: Web Servers}. | ||||
Next Steps | Next Steps | ||||
========== | ========== | ||||
Continue by: | Continue by: | ||||
- returning to @{article:Clustering Introduction}. | - returning to @{article:Clustering Introduction}. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0