Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/cluster/cluster_webservers.diviner
@title Cluster: Web Servers | @title Cluster: Web Servers | ||||
@group cluster | @group cluster | ||||
Configuring Phabricator to use multiple web servers. | Configuring Phabricator to use multiple web servers. | ||||
Overview | Overview | ||||
======== | ======== | ||||
WARNING: This feature is a very early prototype; the features this document | |||||
describes are mostly speculative fantasy. | |||||
You can run Phabricator on multiple web servers. The advantages of doing this | You can run Phabricator on multiple web servers. The advantages of doing this | ||||
are: | are: | ||||
- you can completely survive the loss of multiple web hosts; and | - you can completely survive the loss of multiple web hosts; and | ||||
- performance and capacity may improve. | - performance and capacity may improve. | ||||
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}. | ||||
Adding Web Hosts | Adding Web 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: simply deploy the Phabricator software and configuration to a | at any time. | ||||
host, start the web server, and then add the host to the load balancer pool. | |||||
First, deploy the Phabricator software and configuration to a host, then | |||||
register the host as a cluster device if it is not already registered (for | |||||
help, see @{article:Cluster: Devices}. | |||||
Once the host is registered, start the web server, and then add the host to the | |||||
load balancer pool. | |||||
Phabricator web servers are stateless, so you can pull them in and out of | Phabricator web servers are stateless, so you can pull them in and out of | ||||
production freely. | production freely. | ||||
You may also want to run SSH services on these hosts, since the service is very | You may also want to run SSH services on these hosts, since the service is very | ||||
similar to HTTP, also stateless, and it may be simpler to load balance the | similar to HTTP, also stateless, and it may be simpler to load balance the | ||||
services together. | services together. For details, see @{cluster:SSH Servers}. | ||||
Next Steps | Next Steps | ||||
========== | ========== | ||||
Continue by: | Continue by: | ||||
- returning to @{article:Clustering Introduction}. | - returning to @{article:Clustering Introduction}. |