Using the Terminal Interface
Page not available in that version
The current page Using the Terminal Interface doesn't exist in version 1.6.2 of the documentation for this product.
Overview
Run acd-deploy with no arguments and it opens a full-screen terminal interface. It edits the same files in /etc/acd/deploy that the Quickstart edits by hand, and checks every setting as you enter it. This page shows what each screen looks like and how to move through them, in the order you use them on a first installation. For every key, command and option, see Running acd-deploy and the acd-deploy reference.
First prepare the machines, as the Prerequisites describe, and mount the ISO: see Step 3 of the Quickstart. Then run it as root on the first server, from the mounted ISO:
/mnt/esb3027/acd-deploy
The screenshots use the documentation addresses 192.0.2.11 to 192.0.2.14. They come from several example setups, and are drawn in a different font and palette from yours. The Helm values screen shows a small sample chart and the Backup screen two sample backups. Your screens show your own machines and settings. Press ? on any screen for the keys that work there.
The First Launch

The first screen is the Inventory tab. From the top:
- The header has four lines. Config is the configuration folder, Cluster says whether a cluster is installed, Draft says whether you have changes that are not applied yet, and Task says what
acd-deployis going to do, and what to do next. On the right, it lists the keys that work on the tab you are on. Badges such asDRY RUNare explained in Running acd-deploy. - The body is the tab. Here it is a table of machines, with a pane for external CDN Directors under it, and a pane that says more about the selected machine.
- The tabs are along the bottom, in the order you need them. Each marks its errors, its warnings, and changes in your draft that are not applied yet.
- The footer, on the last line, names the keys that walk the tabs.
On the first launch acd-deploy changes nothing on disk. It reads your machines, asks them which release the cluster runs, and works out the task. The configuration folder is created by the first apply.
Moving Around
There are four ways to move, and they work the same on every tab.
Between tabs. Press 1 to 6 to jump to a tab, in the order they are listed: Inventory, Settings, Helm values, Apply, Backup, Run. Press > or < to go to the next or previous tab, as the footer says, or Shift-L and Shift-H. In a text box, the keys are letters, so none of these switch tabs while you type. While a form for a machine is open, leave it with Esc first: it takes every key.
Between panes. Some tabs have more than one pane. The Inventory tab has the machines and the directors, and the Settings tab has its groups. Press Tab to go to the next pane and Shift-Tab to go back. The pane that has the focus has a heavier border:

Inside a pane. The arrow keys, and h, j, k and l, move the selected row. They never leave the pane. Press ⏎ to edit or open the selected row, Esc to go back or cancel, and q to quit. Quitting keeps your draft.
Through a long view. In a view that scrolls, such as the plan on the Apply tab or a run’s output, Ctrl-D and Ctrl-U, or J and K, scroll a page down and up. The other keys are in the key table.
In a form, Tab and Shift-Tab move to the next and previous field.
Adding and Editing Machines
On the Inventory tab, press a to add a machine, or select one and press ⏎ to edit it. The form asks for a name, an address and the machine’s roles. See Inventory for what the roles mean, and for how many servers to list.

Press s to put the machine into your draft, or Esc to leave the form. Press v to show the machine’s more advanced settings, such as its SSH port and key. Most machines need none of them. The external CDN Directors listed in external_directors are in the pane under the machines: press Tab to move there, and a to add one.
Nothing is written to /etc/acd/deploy yet. Your changes are in the draft, which the ● marks.
Setting Up SSH Keys
acd-deploy logs in to every machine over SSH as root, without a password, so every machine needs your key. The SSH column says how each machine stands: key ok, password only, login denied or unreachable. Anything but key ok blocks the apply.

For a machine that accepts only a password, press S. acd-deploy asks first, and shows the command it will run:

It makes a key pair in ~/.ssh if you have none, then installs the public key on the machine. Answer y, and type the password for the login the question names. The password is typed once, shown as dots, and never stored:

This action takes effect at once, not through Apply. When it works, the machine shows key ok.
When it fails, a dialog says why. It names the user, host and port that acd-deploy tried, what ssh answered, and which login methods the server offers. It then says what to check, and shows the command so you can run it by hand:

A server that offers password and still refuses the login usually means a wrong password, or that the machine does not let root log in with a password. If the server does not offer password, copy the key by hand, or allow root to log in with a password on the machine for now. A machine that does not answer at all is shown as unreachable: check its address, and that its firewall allows SSH.
Settings

The Settings tab holds the settings of the site in groups, one pane each. Press Tab to move between the groups, and ⏎ to edit the selected setting. Every setting is checked as you enter it, and the About pane under them explains the selected one.
- Environment is the preset the installation starts from: Production, for three or more servers, or Lab, for one. It follows the number of servers until you choose, and it is fixed once the cluster is installed.
- Cluster address is how people reach the cluster. It is the host part of every URL, and the name the certificate is made for. A DNS name is better than an IP address, and
acd-deploywarns about an IP address on the Apply tab. - Backplane network is the network the machines use to talk to each other. Choose one of the networks the first server is on, or a custom range within one of them. Leave it as
(none - single network)if you have no backplane: the machines then talk to each other over the public network. It is fixed once the cluster is installed. - MaxMind and TLS choose the GeoIP databases and the certificate. The certificate is checked against the cluster address here, before any run.
Press v to show the advanced settings of a group. See Site Settings, TLS Certificates and MaxMind GeoIP Databases for every setting.
Helm Values

The Helm values tab lists every application setting of the platform, in folders. The screenshot shows a small example: yours lists the settings of the platform’s own chart. Press ⏎ on a folder to unfold it, and on a setting to change it. A setting you have changed is marked ●, and shows what it was before. Press d to delete your override, t to see the file your overrides make, and / to filter.
Only your overrides are written, to values.override.yaml. A value of the wrong type is refused as you enter it, and a value that the deployment sets itself is shown as locked. See Application Settings.
Applying

The Apply tab is the checklist. It shows every file the apply will write, with each change, then the problems on every tab, each with a few words on how to fix it and the tab to fix it on, and then the command it will run. Read it from the top, and use Ctrl-D and Ctrl-U if it is longer than the screen.
- Errors block the apply:
Arefuses, and says so. - Warnings do not block, but read them. The one above says the cluster address is an IP address.
Fix each error on the tab it names, and come back. When there are none, press A:

The confirmation says how many changes in how many files it will write. Answer y, and acd-deploy writes every file, or none if one cannot be written, and starts the run. Nothing changes on disk until you answer. ⏎ never confirms, so a stray key cannot start a run. d discards the draft, after asking. See Changes, the Draft and Apply for a file changed outside acd-deploy.
To check a change without making it, start with acd-deploy --dry-run: see Dry Runs.
Following a Run

When the run starts, the interface switches to the Run tab. It shows the stage, a progress bar and the counts of tasks that were ok, changed and failed. The bar is an estimate. A run takes a while, depending on what it does: a typical install of a three-node cluster takes about 30 minutes, so wait for it to end before you use the cluster. The run’s four views, and the keys to stop it and run it again, are in Following a Run. The other tabs stay usable while it runs. The run goes on as a system service, so closing the terminal does not stop it: open acd-deploy again, and it offers to follow the run. See Runs Survive a Lost Connection.
Backups

Every run takes a backup before it changes anything. The Backup tab lists them, newest first, and the About pane says what the selected one holds. Press ⏎ to restore a machine from it, b to take a backup now, p to dump the PostgreSQL databases, and d to delete it. Each of these asks first, and takes effect at once, not through Apply. See Backups before you rely on one.
Without Color
Set NO_COLOR to turn color off: see Colors. The interface then uses bold, dim, underline and reverse video instead, on every tab, the Run tab included:

After the Run
The run ends with a health check. Then finish the installation with the last steps of the Quickstart, which are the same for both ways of working:
Next Steps
- Running acd-deploy: every key, dry runs, and what to send support.
- Backups and Restores: what a backup holds, and restoring a machine.
- Installation Troubleshooting: what each failure code means.
- Next Steps: securing the administrator account and adding users.