Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/cluster/cluster_devices.diviner
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | |||||
============================= | ============================= | ||||
For each host you plan to make part of a Phabricator cluster, go to the | For each host you plan to make part of a Phabricator cluster, go to the | ||||
{nav Almanac} application and create a **device** record. For guidance on this | {nav Almanac} application and create a **device** record. For guidance on this | ||||
application, see @{article:Almanac User Guide}. | application, see @{article:Almanac User Guide}. | ||||
Add **interfaces** to each device record so Phabricator can tell how to | Add **interfaces** to each device record so Phabricator can tell how to | ||||
connect to these hosts. Normally, you'll add one HTTP interface (usually on | connect to these hosts. Normally, you'll add one HTTP interface (usually on | ||||
port 80) and one SSH interface (often on port 22) to each device: | port 80) and one SSH interface (by default, on port 2222) to each device: | ||||
For example, if you are building a two-host repository cluster, you may end | For example, if you are building a two-host repository cluster, you may end | ||||
up with records that look like these: | up with records that look like these: | ||||
- Device: `repo001.mycompany.net` | - Device: `repo001.mycompany.net` | ||||
- Interface: `123.0.0.1:22` | - Interface: `123.0.0.1:2222` | ||||
- Interface: `123.0.0.1:80` | - Interface: `123.0.0.1:80` | ||||
- Device: `repo002.mycopmany.net` | - Device: `repo002.mycopmany.net` | ||||
- Interface: `123.0.0.2:22` | - Interface: `123.0.0.2:2222` | ||||
- Interface: `123.0.0.2:80` | - Interface: `123.0.0.2:80` | ||||
Note that these hosts will normally run two `sshd` ports: the standard `sshd` | Note that these hosts will normally run two `sshd` ports: the standard `sshd` | ||||
which you connect to to operate and administrate the host, and the special | which you connect to to operate and administrate the host, and the special | ||||
Phabricator `sshd` that you connect to to clone and push repositories. | Phabricator `sshd` that you connect to to clone and push repositories. | ||||
You should specify the Phabricator `sshd` port, **not** the standard `sshd` | You should specify the Phabricator `sshd` port, **not** the standard `sshd` | ||||
port. | port. | ||||
▲ Show 20 Lines • Show All 129 Lines • Show Last 20 Lines |