Step 2. Create an installation
An installation is one customer’s install. It connects a topology to the customer’s real servers. This page shows how to create an installation. It also explains the installation card and its actions.
For the words used here, see Words you need to know. For the whole install, see Install the system at a customer site.
What an installation is
This section explains the difference between a topology and an installation.
-
A topology says which services to install, and which server each service runs on. See Step 1. Choose a topology.
-
An installation uses that topology for one customer. It holds a real address for each server, and the values that every service needs.
Several installations can use one topology. Each installation has its own values, its own SSH access and its own history. It does not depend on the others.
Each installation is a card on the Installations tab. The tool does not delete or replace it when its topology changes. See What "behind" means, and how to fix it.
To update an installation that already runs at a customer site, see Update an existing installation.
Before you create an installation
This section lists what you need before you create an installation.
-
An account with the
userrole or higher. -
The name of the topology to use. See Step 1. Choose a topology.
-
A short name for the installation, for example
acme-prod. -
The address that the customer’s users will type in their browser.
-
An address for each server in the topology. The servers must reach each other with these addresses.
Do not type SSH passwords in the wizard. The tool asks for them later, at deploy. See SSH access: which installations this tool can reach.
Steps to create an installation
This section shows how to create an installation on empty servers. You answer four questions on New installation. Then DM opens Plan.
-
Open the Installations tab.
-
Click + New Installation.
-
Type the Installation name, for example
acme-prod. Use lower-case letters, digits and hyphens. You cannot change the name later. -
Type the Customer, for example Acme Corp. This field is optional.
-
Under Is anything of ours already installed on these servers?, choose No, the servers are empty. For servers that already run our product, choose Yes, installed some other way. See Bring an existing installation under Deployment Manager and Update an existing installation.
-
Under How will the files reach the servers?, choose DM connects and installs or I’ll take the files to the site.
-
If you chose I’ll take the files to the site, answer From where will you run it?. The choices are On each server, From one Linux machine that reaches the others and From a Windows computer at the site.
-
Under Can the servers download our images?, choose Yes, No: include them in the download or No: the site packs them.
-
Read the list What happens next. It follows your answers.
-
Click Continue. DM saves the installation and opens Plan. If DM refuses an answer, the reason appears at that question.
-
In Plan, under Topology, pick the topology. The choice (pick a topology) means that none is picked. See Step 1. Choose a topology.
-
Under Release, choose a release and click Use release <name>. Or click Pick versions by hand instead.
-
Under Servers, type an address in the Address column for each server, for example
acs1.customer.net. The column Runs shows the services on that server. -
If users reach the installation through one address, type it in One address for the whole installation (optional). Otherwise leave it empty. See What to type in VIP.
-
If the topology has host groups behind a load balancer, type the load balancer’s address in the box Load balancer in front of <group> (optional). See the load balancer.
-
Under Certificate, choose The customer’s or The built-in one. If the customer has no certificate yet, for example the servers have only IP addresses, choose The built-in one. See Use the customer’s certificate.
-
Click Next: Settings. While DM checks Plan, the button reads Checking…. A list says what is left to do.
-
On Settings, fill in the values. See Step 3. Fill in the variables.
-
Go on through the other steps: Server check, Questions, Test install and Install. For a first install on empty servers, Server check is optional and Test install is on by default. See Install the system at a customer site.
Plan saves each change. The line Saved <time> next to the Next button shows the last save. To leave New installation without saving, click Cancel or ← Back to list.
An installation that was started in the older four-step wizard (Start, Instances, Variables and Review) shows as a draft above the list of installations. Click Continue to go on. Click Discard to delete the draft. A support_admin also sees Share. An unfinished import (DM reads the servers) is not saved.
In the older wizard, when you edit a saved installation, some answers on Start are locked. You cannot change Installation name, Topology, Where does it go? or Installation. The box Installation shows Over an existing installation when a version is set, and New - these servers are empty when it is not. You can still change the version in Version already installed. You can also change Which certificate do these servers use?. See Move a running installation.
The server addresses must work from the servers, not from your browser. To check a name, run this command on the server:
getent hosts acs1.customer.net
It prints the address. If the server cannot find the name, it prints nothing. An IP address needs no check.
What to type in VIP
This section explains the VIP box, and what to type when the installation runs on several servers. In Plan, the box is One address for the whole installation (optional) under Servers. In the older wizard, it is on the Instances step.
VIP is one address for the whole installation. It is the address a user types in their browser.
A service setting can use it as ${VIP}. No setting the tool ships uses it today. It is not one of
the server addresses below it in the wizard.
The box is optional. The tool offers no suggestion for it, so there is no default to keep. If you leave it empty, the installation still works: users open each server by its own address.
|
If VIP is left empty, the tool stores |
What to type, by case:
| Your installation | What to type in VIP |
|---|---|
One server |
That server’s own address. |
Several servers behind a load balancer, or behind one DNS name that answers for all of them |
That one address: the balancer’s address, or the DNS name. |
Several servers with neither a balancer nor a shared DNS name |
Leave it empty. Users open each server by its own address. There is no failover and no load split between the servers. |
Can I leave VIP empty, so that each server keeps its own address? Yes. Each server keeps the address you typed for it in its own box. Do not type one server’s address in VIP: that is not a single address for the whole installation.
A load balancer in front of only some of the servers goes in the optional Load balancers boxes under the server boxes, not here. For those servers that address replaces the VIP. See the load balancer.
Find an installation in the list
This section explains the controls above the list of installations on the Installations tab. They appear when the list has installations to order.
| Control | What it does |
|---|---|
Search |
Shows only installations whose name, customer or topology contains your text. The box says "name, customer or topology". DM does not remember the search. |
Order |
Sorts the list. The choices are Unfinished first, Newest activity, Oldest activity and Name A-Z. Unfinished first is the default. DM remembers your choice in this browser. |
Installed by |
Shows only installations that one person marked as installed. The choices are Anyone, Not installed yet and the names of the people. DM remembers your choice in this browser. |
Reset |
Clears Search, Order and Installed by. The button shows only when one of them is set. |
Drafts above the list
This section explains the unfinished installations that show above the list of installations. An unfinished installation from the older wizard is a draft. Each draft row has these buttons:
| Button | What it does |
|---|---|
Continue |
Opens the draft where you stopped. |
Share |
Opens the dialog to share the draft. Only a support_admin or higher sees this button. |
Discard |
Opens the question "Discard the draft <name>?". The text says: "The values typed into it are lost - nothing else holds them, and there is no undo." Click Discard to confirm. |
The size of a draft. The older wizard saves a draft by itself while you type. A draft holds about 1 MB of typed values at most. A pasted certificate, a key or a whole file can fill it. When a draft is too large, a red message appears once: "This request is too large to send (the limit is 1 MB). Remove unneeded content and try again." The draft keeps the last save that fit. Your typing stays on the page. Remove the largest value that you pasted. The next change saves again. You can also create the installation without a draft.
Your first deploy
This section explains the block Your first deploy above the list of installations. DM shows it to a
person with the user role or higher who has not delivered an installation of their own yet. The
training installation does not count.
The text under the title says: "Five steps from nothing to a running site. Ticks come from what you have actually done here." The five steps are:
| Step | What the step says | Button |
|---|---|---|
Save a topology |
A topology says which services run on how many servers. |
Open Topologies |
Create the installation |
Name it, pick the servers, fill the values. |
Create the installation |
Store SSH access |
Deploy over SSH needs a login for each server. Skip this if you will carry the bundle to the site. |
Set up SSH access |
Deliver the bundle |
Deploy installs it over SSH. Download gives you a bundle to carry. |
The main button of the installation |
Validate it |
Validate registers a test device on the customer’s ACS and removes it. |
Validate |
Each step shows Done, Next, Later or Not needed. A tick comes only from something you did in DM. The button under the step Next does what the same button on the installation card does. If that button is refused, the block shows the reason. Click Hide to hide the block. Then the button Show the first-deploy steps brings it back. When the last step is done, the title reads "Your first deploy is finished - <name> is delivered and validated." Click Close to remove it.
What you see on the Installations tab
This section describes the installation card and what it shows.
| DM draws the older card only when the server sends no card data. The older card has the five-step strip, the SSH count and the action row in The older card and its actions. Read The installation card: head, lines and buttons first. It describes the card that you normally see. |
The installation card: head, lines and buttons
This section describes the card that you normally see on the Installations tab. It has a head, a strip of seven steps and a row of buttons.
The head shows:
-
the installation name, and under it the customer and the topology;
-
the badge Read-only on the training installation;
-
one line about what runs, for example "Runs 7.1.2";
-
the line "Delivered <version> · not seen running", when DM sent a version and has not seen it run;
-
the job line, for example "Bring under DM: Server check". See The job line on the card.
A problem line can sit under the strip. It has a red mark. It names a problem that stops the next step: "Install failed" with the reason, "Test install failed", the sentence about a server slot, or "<n> settings to fill in". If there are more problems, the line ends with "and <n> more things to fix". Click that text to open the step. For the strip, see The strip on a running installation.
The main button of the card
The card has at most one solid button. DM uses the first rule in this table that fits. The same rule picks the main button on the installation page. The card in the Installations list knows fewer facts than the installation page, so on the card some rows look different:
-
A waiting question shows as Answer the question, without the question itself.
-
Fix <setting> and Fix it never show on the card. After a failed install the card shows Resume. Open the installation page to see Fix <setting> or Fix it.
-
The card says "Waiting for an admin to approve" without the name of the person who asked.
| Main button | When you see it |
|---|---|
Answer: <question> |
A running install waits for your answer. The button shows the question. |
Fix <setting> |
A setting caused a failure that blocks the install. |
Fix it |
The install failed and DM offers a repair. |
Resume |
The install failed and DM offers no repair. |
Run test install again |
The last test install failed. |
Bind servers |
A slot of the topology has no server, or a server has no slot. |
Fill in <n> settings |
Settings have no value. For one setting, the button reads "Fill in 1 setting". |
Approve |
An admin must approve the plan, and you may approve it. |
No button |
You wait for an admin. The card says "Waiting for an admin to approve". If DM knows who asked, it says "Waiting for <name>, asked <time>". |
Enter the version that runs |
DM does not know which version runs on the servers. A dialog asks "Which version runs now?". Type the version and click Save version. |
Yes, installed |
Files went out and nothing confirms the install. The button Not yet opens the Install step and records nothing. |
Install |
The current step is Install. |
Upload results |
You carry the files by hand, and the current step is Installed. |
Continue: <step> |
The job goes on at that step. |
Validate |
The installation runs, and its last validation did not pass or never ran. |
Update to <version> |
A newer release exists. The words "new line" follow the version when the release is on a higher line. |
A viewer sees one button, View plan. On the training installation, the card shows Open and the line "Training example: nothing can be changed."
The other buttons of the card
| Button | What it does |
|---|---|
Open |
Opens the installation page at the step where it stands. The card hides it when the main button already goes to the same place. |
Update |
Opens Plan with the question "What do you want to update?". See Steps: update an installation from its card. It shows on an installation that runs, or that was delivered, when the main button is not "Update to <version>". |
Already installed |
Shows when a bundle went out and nothing says that it runs. Opens the dialog Mark <name> installed. In it, choose or type the Version running now, then click Mark installed. The card then shows "Installed by" your email and "(not checked)" until results are uploaded. |
Change settings |
Opens the Settings step. |
Install again |
Runs the install on every server again. It shows after a delivery over SSH. |
Download again |
Builds the bundle again with the same versions and settings. It shows after a delivery of files that you carry. |
Health |
Asks every connected server what its containers do now. See Step 7. Check that it works. |
More |
Opens a menu: Diagnostics, Validate, Who can change this, Server login (SSH) and Delete. Validate is missing when it is the main button. Delete needs the support_admin role. |
A muted button or menu item shows its reason. See Why an action is muted. If a server has no stored SSH access, the card shows the button Set up SSH beside the reason.
The older card and its actions
This section lists the actions on the older installation card. DM draws this card only when the server sends no card data. For the card that you normally see, read The installation card: head, lines and buttons.
-
If your role does not allow an action, the action is hidden.
-
If your role allows it, but you have no write access to this installation, the action is greyed out. The card says how to ask for access. See Asking for access to an installation.
-
If an action needs something that the installation does not have yet, the action is muted. The card then shows the reason. See Why an action is muted.
| Action | What it does | Reaches a customer server? | Minimum role |
|---|---|---|---|
Deploy |
Sends the bundle to every connected server and installs it. It shows progress live. Setting up SSH access is the first step of a deploy. If a credential is missing, the panel opens the access step itself. See Step 6. Deploy. |
Yes |
user |
Download |
The bundle as a |
No |
user |
Edit |
Opens a choice. In Deployment Manager opens the settings that this tool stores. It opens the wizard on Start; click Next to reach Variables and Review. Nothing changes on any server until a Deploy follows. On the server edits the |
Only with On the server |
user |
Bind servers |
Opens the steps at Instances, so you can connect a server to each slot of the topology. |
No |
user |
Health |
Asks every connected server, live, what its containers are doing now. See Step 7. Check that it works. |
Yes |
user |
Diagnostics |
Collects one file for each server, to attach to a ticket. See Step 7. Check that it works. |
Yes |
user |
Test install |
Runs the whole install as a practice run on temporary servers. This tool creates and removes them. It never uses a customer’s servers, and never the servers of this installation. See Step 5. Test the bundle. |
No (servers of its own making) |
user |
Delete |
Removes the installation and everything recorded for it. See Deleting an installation. |
No |
support_admin |
One action on each card has the solid, primary style:
-
Bind servers, when a slot of the topology has no server, or a server has no slot.
-
Edit, when the installation is behind. Then Deploy and Download are refused, and only the Variables step can fix it. An installation with monitoring is also behind when it has no Grafana Stack release. See The Grafana Stack release.
-
Download, when no servers are connected.
-
Deploy in every other case.
The shared demo installation has no primary action.
The job line on the card
While work on an installation is open, the card shows one line. The line names the job and the stage where it is now. For example: "Bring under DM: Server check".
| The line starts with | The job |
|---|---|
Bring under DM |
DM starts to manage an installation that it did not create. See Bring an existing installation under Deployment Manager. |
New install |
A first install on the servers of this installation. |
Upgrade to <version> |
An installation set to a newer version than its servers run. See Update an existing installation. |
Change settings |
A change of settings, with no new version. |
After the colon, the line shows the name of the stage, or the reason the stage waits. For example: "Waiting for an admin to approve".
Install stages on the card
This section explains the five steps that the older card shows: Hosts bound · Variables · Bundle generated · Delivered · Installed. The card that you normally see shows the strip of seven steps. See The strip on a running installation.
The tool works out all five steps again each time it shows the list. You cannot set a step by hand. A step changes only when the data behind it changes. For example, if you remove every connected server, the first step opens again.
Each step checks something narrower than its name says:
| Step | What it actually checks |
|---|---|
Hosts bound |
At least one server is connected. If you save an installation with an empty server list, this step opens again without a message, and Deploy is muted. |
Variables |
At least one value is stored. It does not check that all values are present. A green Variables step does not mean that the tool can build the installation. The refusal at Download or Deploy is the real check. It names what is missing. |
Bundle generated |
A generation was recorded. This includes a generation that failed part-way. Do not read this step as "a good bundle exists". Read Delivered and the failure line. |
Delivered |
The bundle left this tool. A download counts the same as a successful deploy. A download of the offline archive also counts. So this step does not prove that the customer received anything. |
Installed |
Someone said so, or a deploy from here saw it. See below. |
Installed is a claim that an operator makes. The card offers Mark installed after a bundle is delivered. It records who made the claim and when. If you marked the wrong card, click Mark not installed on the older card. On the Installed step of the card that you normally see, click Withdraw. Both undo Mark installed. It removes the claim completely, including the name. An open step means "nobody has said so yet". It never means "not installed".
After a clean deploy from this tool, the claim is made for you. The tool records it as observed, not as a person’s statement. You do not need to press Mark installed after a green deploy. If a card shows no claim after such a deploy, this is a gap in the records. It is not a failed install.
The installed version moves up by itself. The field Version already installed holds the version that the customer runs. It changes in two cases:
-
A deploy over an existing installation finishes on every server. The field then shows the version you just deployed. For example, it changes from 7.1.2 to 7.1.3.
-
You confirm an offline install. The field then shows the version that the delivered bundle carried.
The next bundle then upgrades over the new version. It does not repeat the database changes that the servers already have. If one server failed, the version stays as it was. If the version is not a release number, the version also stays as it was.
About half of customer sites are installed from a bundle that someone carries to the site. This tool cannot reach those sites. That is why Installed is a claim.
The strip on a running installation
This section explains the strip of seven steps on the card: Plan · Settings · Server check · Questions · Test install · Install · Installed.
-
To update the installation, see Steps: update an installation from its card.
-
For the short label under a step, see What the card’s messages mean.
-
The Installed step reads "<version> runs". For example: "7.1.2 runs".
-
If DM checked the version on the servers, the step has a tick and a solid green bar.
-
If DM did not check it, the step has no tick and a light green bar. It is never grey.
-
While an update is planned, a line above the strip reads "Update to <version>".
-
Plan is the step you are on only when the Plan has a problem. The step then shows a short reason.
-
A step that is not reached yet shows one to three words about what awaits. For example: "2 to fill", "1 database step", "over SSH", "download" or "not checked yet". For Test install, the words are "required" or "optional".
If the files of the update went out, but nobody confirmed the install, Install is the step you are on. It asks "Installed it?" with two buttons.
| Button | What it does |
|---|---|
Yes, installed |
The new version counts as what runs. The step has no tick and a light green bar. |
Not yet |
Opens the Install step. It records nothing, so the question stays open. |
Withdraw is on the Installed step. It removes the claim Yes, installed with the name of the person. A later download does not undo Yes, installed.
What the colour of a step means
This section explains the colour of the bar above each step name. A step turns red only when its last try failed.
| Colour | What it means |
|---|---|
Green |
The step is done. The step name is grey, because a done step needs no attention. |
Light green |
The step is Installed, and DM did not check the version on the servers. You said it is installed, or you pressed Yes, installed. The bar has a pale green fill and a thin green edge. It has no tick. A solid green bar with a tick means that DM checked the version itself. See The strip on a running installation. |
Blue |
This is the step you are on: the first step that is not done yet. Only one step is blue. The step name is blue too. |
Grey |
The step is not done, and it is not the one you are on. It comes later. |
Dashed grey line |
The step is Skipped. |
Pale grey with a thin edge |
The step is done or not needed. The list alone does not say which. |
Amber |
The step waits for a person, or something happened after it. Questions turns amber when it waits for an admin to approve (Waiting for admin) or needs an answer (Needs an answer). Install turns amber when the install asks a question (Needs an answer). Under Installed, an amber line says Newer bundle not installed when a newer bundle or a changed topology came after the claim. The older card also turns Hosts bound amber when the topology no longer matches the connected servers. See Two ways an installation goes out of date. |
Red |
The last try of this step failed. Only two steps ever turn red. Test install turns red when the last test install did not finish without errors; the test install screen says what failed and offers Run install again. See Step 5. Test the bundle. When you change the settings after that, the step is grey or blue again, because the next test install is a new try. Install turns red when the last install on the customer’s servers did not finish; the deploy panel says which server stopped and why. See Step 6. Deploy. The step always says it in words too: Test install failed or Install failed. |
The colour never stands alone. An amber or red step always prints its reason in words, so you never have to read a colour to know what changed.
The word under a step comes from this list:
| Word | What it means |
|---|---|
Done |
The step is finished. |
Next |
This is the step you are on. While a job runs in it, the word is In progress. |
Skipped |
The step is not used for this installation. |
Not needed |
The step is not needed for this installation. |
Failed |
The last try of the step failed. |
Waiting for admin |
The step waits for an admin to approve. |
Needs an answer |
The step waits for your answer. |
Two ways an installation goes out of date
This section explains two signals on the card. The fix for both is the same: deliver again.
| Signal | What it means |
|---|---|
A newer bundle exists than the one that was installed |
Someone generated or delivered a bundle after the installation was marked installed. The card says Newer bundle not installed. Or someone changed the topology after that. The card says Topology changed since install. Either way, the site runs something older. The tool does not remove the claim. Only a person removes a claim. Generating a bundle without sending it also raises this signal. |
Edited here, not yet on the servers |
Someone changed a value, an image version or a load-balancer address in this tool after the last delivery. The servers still run the previous configuration. |
Two things do not raise the second signal:
-
renaming an installation or editing its notes;
-
saving the same values again.
One thing also does not raise it: changing which servers are bound. After you connect a different host, always deploy again, whatever the card says. The old host still runs the previous install. Nothing here removes it.
If the tool cannot read a date at all, it raises both signals.
The customer’s other database servers
This section explains what the card and the addresses panel show when the topology lists several customer database servers. See the customer’s database on several servers. You type the addresses on the Variables screen. See the customer’s database on several servers there.
The server that your services connect to uses DB_HOST. The other servers have an optional address. The tool uses these addresses for one check before the install. It never gives them to your services.
The addresses panel is in the Health dialog. See entry points. It lists each customer database server in one line:
| Server | Line |
|---|---|
The server that your services connect to |
"<id> (<role>) - our services connect here (DB_HOST)" |
Another server with an address |
"<id> (<role>) - checked before installing, warning only" |
Another server without an address |
"<id> (<role>) - not checked, no address given" |
A monitored server that your services connect to |
"<id> (<role>) - our services connect here (DB_HOST), monitored" |
A monitored server that your services do not connect to |
"<id> (<role>) - monitored" |
The tool checks a monitored server at the address of its host on the Servers step. You type no address for it. See Monitor this server.
The panel does not show the addresses.
The card shows a line when the topology changed after the last save. The line is one of six. Each line has the same text as the line on the Variables screen:
-
"Address for db-2 is no longer used - the topology no longer lists that server."
-
"The topology now connects to db-2, not db-1 - check DB_HOST."
-
"The topology no longer names the customer’s database servers - DB_HOST is the only database address now."
-
"The topology now uses Oracle servers, not MySQL - check DB_HOST; the other addresses entered for MySQL are no longer used."
-
"The topology now names the customer’s database servers and our services connect to db-1 - check DB_HOST."
-
"The address typed for db-2 is no longer used - db-2 is now monitored, so it is checked at its server address."
The line blocks nothing. In these examples, db-1 and db-2 stand for the real ids. Click
Edit, go to Variables and click Save to remove the line. The tool removes the stored addresses that no longer
apply. If the topology is deleted or cannot be read, the tool shows no line.
SSH access: which installations this tool can reach
This section explains SSH access. Deploy and Health work on a customer’s servers. Both need an
account on every connected server. Without stored access, this tool cannot reach the installation.
Then you use a bundle. Someone installs it at the site by hand, and deploy.sh does the work. See
Step 4. Create the bundle.
The card shows how many servers have stored access:
| Shown | Meaning |
|---|---|
|
Every connected server has stored access. Deploy and Health run normally. |
Partial, e.g. |
A warning, not a success. Health and Diagnostics are muted. Pressing either one opens the access panel instead. Deploy is not muted: it asks for the missing access as its first step. |
Not set |
No access is stored for any server. Health is muted. Deploy is not muted: it asks for access as its first step. Or someone carries the bundle to the site by hand. Validate and Diagnostics are not muted. They show you the command to run on the server. See Validate and Diagnostics when no access is stored. |
|
No servers are connected yet. Then Deploy, Health, Diagnostics and Test install are muted until you bind servers. Or the installation’s record is older than the SSH-coverage feature and has no count. Then nothing is muted. |
Validate and Diagnostics when no access is stored
If no server has stored access, this tool cannot run a check on the server. Validate and Diagnostics still work. They open a window with the command for you to run on the server.
-
On the card, press Validate or Diagnostics.
-
Read the window. It says where to run the command.
-
Copy the command. Use the install directory that
deploy.shprinted. -
Run it on the server.
-
Press Done.
The window for Validate is titled Check that it works. The command is
cd <install-dir> && ./validate.sh. Run it on the server with the portals. It signs in to the
portals and connects a test device. Then it removes the test device.
The window for Diagnostics is titled Collect diagnostics. The command is
<install-dir>/collect-diagnostics.sh. Run it on the server where something did not start. It writes
one file for support. The file has container states, recent logs and setting names. Secret values
become ***. Passwords do not leave the site.
To store access instead, press Set up SSH access in the same window.
The Install steps window shows the same two commands, always, under After the install. They are Check that it works and Something did not start?. You do not need stored access for them.
To add, change or remove the stored access (the role user or higher, with write access to this
installation):
-
On the installation card, click More, then Server login (SSH). On the older card, click the SSH count, for example
3/3orNot set. -
The access panel opens. It has one row per server.
-
On a server with stored access, click Change to replace it, or Remove to delete it. On a server without access, click Set up.
-
Type the login and the password or key, then click Save access.
To open the access panel, you need the user role and write access to this installation. You
have write access if you created it, if you hold a grant, or if you are a support_admin or higher.
The panel stores one username and one password or private key for each server.
-
The tool encrypts the secret before it saves it. The secret belongs to that installation and server only.
-
The tool never shows the secret again. To replace it, enter it again in full. The panel tells you this.
-
The login has at most 64 characters. It holds letters, digits, dot, dash, underscore and
@, and no spaces. It does not start with a dash. Digits alone, like 213, are a user id, not a login. The box says: "A login is at most 64 characters." when the login is too long. If a request still reaches DM with a longer login, DM refuses it with "is longer than 64 characters". The Windows launcher has the same limit of 64 characters. -
The tool never asks for credentials while you create an installation. The wizard saves drafts as plain text. A password typed there would end up in that draft.
What the firewall must allow
This section explains the firewall rules that a deploy needs. The access panel shows them next to the credentials. You can send the text to the customer’s security team as it is. The Copy button copies both directions in one press.
Inbound: to the customer’s servers, from this application. The servers must accept SSH (TCP 22) from this application. The panel shows this address at one of three levels of certainty:
| Certainty | What is shown |
|---|---|
Configured |
The address or addresses that an administrator set ( |
Observed |
No address is configured. But a server of this installation already saw this application connect. The panel shows that server and the date. The address can change after a restart or a move of this application. If the date is old, confirm the address first. |
Neither |
Nothing is configured and nothing is observed yet. The panel says so. It names this container’s own address, but only to tell you not to use it. Network address translation almost always replaces it before it reaches the customer’s firewall. |
Outbound: from the customer’s servers, to a registry. The servers must download every image that this installation uses. The panel lists those registry hosts, grouped by host and port. Each entry names the services that need it. Two installations can list different hosts.
-
Hosts of our own registry are marked vendor. Every other host is marked external. If no Harbor URL is set in Settings, no host is marked, and the panel says so.
-
A service built on
mysqlorejabberdalso needs its base image. Otherwise the build fails, and the error does not mention the registry. -
A Docker Hub entry has its own warning. Docker Hub uses a second hostname for sign-in, and a CDN for image layers. So allowing only the host named here is not enough.
Not needed. The customer’s servers never contact this application. A deploy only pushes, over SSH. No firewall rule is needed in that direction.
When the hosts cannot be listed yet. Some services may have no image version yet. Then the panel
says so. It gives the same reason that a Generate refusal would give. It does not show an empty
list.
No route to any registry. About half of customer sites have none. For those sites, use the
offline bundle. It carries its own images. Then the servers need no registry, and deploy.sh does
not ask about it. See
Offline installs.
Upload install results
This section explains the box Upload install results on the Install step. You use it after you ran
deploy.sh by hand on the servers. DM cannot see that install, so you send the results back.
-
On each server, let
deploy.shfinish. -
Take the file
returns/<name>-results-<date>.zip, or every file from the newestreturns/folder. -
In the box Drop the results here, drop the files. Or click Choose files. DM accepts
.json,.tsvand.zip. -
While DM uploads, the box says "Uploading <n> files… Keep this page open."
-
Check the count of servers that DM accepted.
If you have no results, click I have no results: mark installed. You choose the version. DM records it as installed, not checked. The note says: "You choose the version; DM records it as installed, not checked." To take the claim back, click Withdraw.
If DM refuses a file, the step says what to do. Examples: "Upload the file from this installation’s own returns/ folder.", "Download the bundle again, run it, then upload the new results.", "Run ./deploy.sh on that server again, then upload its returns/ folder." and "Let ./deploy.sh finish on that server, then upload its returns/ folder."
The server .env dialog
This section explains the dialog Server .env · <installation> → <server>. You open it with Edit, then
On the server. DM offers it after the installation was delivered and SSH access is stored. You need the
user role and write access to the installation. DM reads and writes the files over SSH.
The dialog is not a text editor. It lists the files and the variables of the .env files in the install
directory of that server. It shows what this tool holds beside what the server has.
-
If a value on the server differs from this tool, a line at the top counts the differences. The button Show only it or Show only those narrows the list to them. Show everything brings the list back.
-
The box Find a variable - MAIL_HOST, DB_, … filters the variables.
-
A chip shows the kind of each variable: yours, computed, undeclared or secret.
| Chip | What it means |
|---|---|
yours |
You were asked for this when the installation was set up. DM also keeps it, so the next deploy does not overwrite it. |
computed |
DM works this out from your topology. It lives on the server only. The next deploy from here writes it again. |
undeclared |
No service contract declares this variable. The installer writes it. DM cannot say what it is for. |
secret |
Set it here. DM does not store it and cannot read it back. |
To change values:
-
Type the new values. The button reads Nothing changed yet until you change one.
-
Click Review <n> changes.
-
Read the list. Click Back to the values to go back.
-
Click Write <n> values to <server>. The button reads Writing… while DM works. DM writes one file at a time.
-
The dialog Saved · <installation> → <server> says that the containers still run the old values. Click Run the install on <server> so they read the new file. Click Later to do it yourself.
If you close the dialog with unsaved changes, DM asks. Click Discard and close or Back to editing. If a value lives only on the server, the dialog warns you. In a full Deploy, answer keep when DM asks about the existing .env. replace writes a fresh file from this tool and the value goes back to what the bundle carries.
What this tool holds and what is on the server
This section explains how to compare what this tool stores with what is on the servers. There is no single screen and no "diff" to open. Use one of these four checks:
| To find out | Use |
|---|---|
What is running right now |
Health: the list of containers on each server. It shows what exists, not what is missing. See Health. |
What is already in the install directory before a deploy |
The deploy panel checks each server before the deploy. It shows whether the directory is empty, holds this installation, holds another installation, or could not be read. It also shows how many settings the existing environment file holds. If the number is not zero, the deploy changes a live configuration. |
Which settings a server’s environment files have |
The installation’s environment editor. It lists the files by name and the names of the settings in each file. It never shows a secret’s value. To be sure of a password, set it. |
Everything else, after the fact |
Diagnostics. See Diagnostics. |
If you edit a non-secret value directly on a server, the tool also saves it in its own records. So the next deploy does not undo your fix. Two kinds of value cannot be saved back: values that this tool computes, and values that no service declares. For those, the tool tells you. The next deploy will undo those fixes.
The new installation form: what each question and text means
The form opens from New installation on the list. DM asks four things. It writes a short What happens next list beside them that follows your answers. Continue saves the installation. Cancel and ← Back to list leave without saving.
| Text on the form | What it means |
|---|---|
Installation name |
The name of the installation. The text under it says: "The name can’t be changed later: server logins are saved under this name. Lower-case letters, digits and hyphens." The form says "Enter a name." when the box is empty. It says "Use lower-case letters, digits and hyphens, starting with a letter or a digit." when the name has another character. A name has at most 64 characters. DM refuses a longer name at the box. The name becomes a directory name on the customer’s servers. It is also part of every container name, unless Short container names is on. See Short container names. |
Customer |
The customer’s name. Optional. |
Is anything of ours already installed on these servers? |
Choose "No, the servers are empty" and DM installs everything from scratch. Choose "Yes, installed some other way" and DM reads the servers first and keeps what runs there. |
How will the files reach the servers? |
Choose "DM connects and installs" or "I’ll take the files to the site". The text above the choices says: "You can change this later from the top of the installation." |
From where will you run it? |
Asked only after "I’ll take the files to the site". You choose where the downloaded bundle runs: "On each server", "From one Linux machine that reaches the others" or "From a Windows computer at the site". |
Can the servers download our images? |
Choose Yes when the servers can reach the image registry. Choose No: include them in the download and the bundle carries the images. Choose No: the site packs them and the people at the site bring the images themselves. The text under the choices says: "You can change this later, before you download." |
What happens next |
The list beside the form. It shows the steps that your answers lead to. |
Short texts on the installation page and the card
| Text | What it means |
|---|---|
Not chosen yet |
The installation has no choice for this fact yet (for example how the files reach the servers). Click Change to choose. |
Current |
In the Change dialog: the choice the installation has now. |
Back to list |
The button with the arrow ← on the installation page and on the new installation form. It leaves the page and shows the list of installations. |
No stages to show yet. |
The installation page has no step to list for this installation yet. |
This step is not built yet. |
The page was asked for a step that this version of DM does not have. Go back to a step in the strip. |
This step could not be shown: |
The step failed to open. The rest of the sentence is the reason that DM gives. Reload the page; if it repeats, send the sentence to the team. |
This step is not known here. Reload the page. |
DM does not know the step that it was asked to open. Reload the page. |
Still to fill in: |
A line on the step screen. It lists the settings that still have no value. |
Fill in |
In the list of installations that are behind their topology: opens that installation so you can give the missing values. |
See it |
In the list of what DM checked: opens the new file of the release that the row speaks of. |
More |
On a card: opens the other actions of the card. |
Download archive |
On a card whose bundle is ready. It is grey when you cannot write to this installation. The reason shows when you hover over it. |
Installed at the customer site |
The band on a card. DM has the installation marked as installed. |
Delivered - not marked installed yet |
The band on a card. A bundle was delivered, and nobody has marked the installation as installed. |
"not seen running" |
In a line "Delivered <version> · not seen running". DM sent that version and has not seen it run. See Did you install it?. |
Could not load installations. The server did not answer - this says nothing about whether any exist. |
The list of installations did not load. It is not proof that the list is empty. Reload the page. |
Going with it: |
In the confirmation to delete an installation: how many servers, stored credentials, delivery records and answered values go with it. |
Good to know about installations
This section covers container names, access, deleting and changing server addresses.
Short container names
This section explains how to name the containers of an installation by their service.
By default a container is named <installation>_<service>. An example is acme-prod_mysql.
Short container names is a setting of one installation. It is off by default. An existing installation does not change.
When you turn it on, a container is named after its service. Examples are mysql and ui-backend.
A MySQL replica is named mysql-replica. The master stays mysql.
When to use it. Use it when the scripts of the customer call the short names. An example is docker exec mysql ….
Rules.
-
Only one installation on a server can use short names. Two cannot share a name.
-
An installation with the setting off and an installation with the setting on can share a server.
-
The name of the replica follows the topology. A typed value of
CLUSTER_ROLEdoes not rename the container.
Steps.
-
Open the installation wizard. You can do this when you create an installation or when you edit one.
-
On step 1, Start, tick Short container names.
-
Save. If you change the value of an existing installation, the page asks "Change container names?". Click Change names to save, or Cancel to go back without saving.
-
Deploy. The change applies at the next deploy.
What the next deploy does. Every container is recreated under its new name. For example, acme-prod_mysql becomes mysql.
The data is kept. Turning the setting off works the same way in the other direction.
The deploy does not ask anything about the rename.
The deploy prints one line for each container that is recreated under a new name.
Scripts and monitoring that call the old names must use the new names.
On an adopted installation, the change voids the earlier approvals of the administrator. The administrator approves again for the new bundle.
Name refusals. With the setting on, preflight checks that each name is free on the server. If another container holds a name, preflight stops the deploy and shows one of these sentences.
| Who holds the name | What the sentence says |
|---|---|
Another installation |
The container name mysql is already taken on db-1 by a container of the installation in compose project qa-old. Two installations with short container names cannot run on one server. Turn off Short container names for acme-prod, or remove that installation from db-1, then deploy again. |
A container that no installation started |
The container name mysql is already taken on db-1 by a container that no installation started. Deployment Manager did not start it and will not touch it. Find out what it is (docker inspect mysql): if nothing needs it any more, stop and rename it; otherwise turn off Short container names for acme-prod. Then deploy again. |
Another service of this installation |
The container name mysql is already taken on db-1 by this installation’s own service db. Two services cannot share a name; rename that service’s container or turn off Short container names for acme-prod, then deploy again. |
In the sentences, mysql, db-1, qa-old and acme-prod are examples. The deploy shows the real names.
If preflight cannot read the list of containers, it shows a warning: "container names not checked". It does not report OK.
For the adoption of an existing site, see Bring an existing installation under Deployment Manager.
Asking for access to an installation
This section explains who can change an installation.
-
Any signed-in user can open any installation. One exception: a colleague’s practice installation from training. Only a support_admin or higher sees it.
-
Without access, the installation opens read-only. Its addresses and settings are hidden. See An installation you cannot change.
-
To change an installation that you did not create, you need a grant. You do not need access to ask for access.
-
You can request a grant and add a reason. You can have one open request per installation at a time.
-
To grant a request, or to grant access directly, you need the support_admin role.
-
A person who holds a grant cannot give access to someone else.
-
A revoked grant stays on the record as revoked. The record shows who asked, who decided and when.
For roles, see People and roles.
A site that this tool did not create
This section explains what to do for a site that was installed by hand or by an earlier tool.
Use the import. It brings the site under Deployment Manager. Click + New Installation and, under Is anything of ours already installed on these servers?, choose Yes, installed some other way. You collect a server report from each server and upload it. See Bring an existing installation under Deployment Manager.
Without the import, a deploy over such a site is refused. Before it copies anything, the tool
checks the install directory. It refuses when the directory already holds an install without a
server-id file, or an install for a different server. Nothing is changed then.
For a record that has no owner, a support_admin sees Make this installation belong to and Set owner. This only gives an owner to that record. It does not take over a site. To let a colleague work on an installation, grant write access. See Asking for access to an installation.
Deleting an installation
This section explains what deleting does. You need the support_admin role. Deleting is the most destructive action on a card.
Deleting removes the installation and everything recorded for it:
-
its connected servers;
-
its stored variable values;
-
its deployment and delivery history;
-
its test-install runs;
-
its offline-bundle builds;
-
its encrypted SSH credentials.
There is no undo and no export. DM asks first. The dialog Delete <name>? says that nothing restores the installation, and it lists what goes with it. The confirm button reads Delete <name>. Two things stay:
-
the journal. It keeps the installation’s name. You can still see who had write access to that customer’s production, and what they did.
-
the write-access grants, for the same reason.
Deleting does not remove anything from the customer’s servers. The containers, the install directory and the databases keep running. The tool then has no record of that install. It will refuse to deploy over it (see A site that this tool did not create).
Nobody can delete the shared demo installation that the training course uses.
Changing the address of a server
This section explains what happens when you change a server’s address.
Each server slot of the topology is connected to one address. The slot is the identity, not the address. Stored SSH credentials, install directories and the deploy history belong to the slot.
So after you change an address, the next deploy, Health, Diagnostics and every retry go to the new machine. They use the credential stored for that slot. The old machine keeps running the installation. Nothing here mentions it again.
After you change an address:
-
Check the stored credential for that slot again.
-
Deploy again.
-
Decide what to do with the old host.
If the topology no longer uses a slot, its credential is hidden but not deleted. If you add a slot with the same name again, the old credential comes back. Remove it if you do not want that.
If an action is muted or an installation is behind
This section explains muted actions and installations that are behind.
Why an action is muted
This section lists the reasons why a card mutes an action. The card prints the reason. These are the sentences that the card shows:
The table shows the first words of each sentence, and what to do.
| Muted action | Reason shown | What to do |
|---|---|---|
Deploy, Health and Diagnostics |
No servers are bound to this installation yet |
Click Bind servers and connect a server to each slot. |
Test install |
No servers are bound to this installation yet - there is nothing to install on the test servers. |
Click Bind servers. |
Deploy and Download |
The topology has new services this installation has no values for. |
Open Settings and fill in what is missing. The older card has Edit for this. |
Health and Diagnostics |
Not every server has SSH access stored. |
Store SSH access for each server. Deploy asks for it as its first step. |
Health and Diagnostics |
No SSH access is stored for these servers. |
Set up SSH access, or carry the bundle to the site and install it there by hand. |
Deploy, Download and Test install |
The topology changed: a host here has no server, or a server here has no host. |
Click Bind servers. |
Every action |
This is the training installation everybody learns on, so it cannot be changed. |
Create an installation of your own to practise on. |
| Reason shown | What it mutes |
|---|---|
No servers are bound to this installation yet - Deploy, Health and Diagnostics have nowhere to run. Bind servers first. |
Deploy, Health and Diagnostics |
No servers are bound to this installation yet - there is nothing to install on the test servers. Bind servers first. |
Test install |
The topology has new services this installation has no values for. Deploy and Download are blocked until you press Edit and fill in what is missing. |
Deploy and Download |
Not every server has SSH access stored. Deploy and Health stop at the first server without it. |
Health and Diagnostics (Deploy opens the SSH panel as its first step instead) |
The topology changed: a host here has no server, or a server here has no host. Deploy, Download and Test install are blocked. |
Deploy, Download and Test install |
No SSH access is stored for these servers. Deploy and Health cannot reach them without it. Set up SSH access, or carry the bundle to site and install it there by hand. |
Health and Diagnostics (Deploy opens the SSH panel as its first step instead) |
Health and Diagnostics stay muted when SSH access is missing for some servers. Both only read a server. Deploy can set up access for you. Health and Diagnostics cannot. If no server has stored access, Diagnostics shows a command to run on the server. See Validate and Diagnostics when no access is stored.
What "behind" means, and how to fix it
This section explains what "behind" means and how to fix it. An installation is behind when both are true:
-
its topology changed after the installation was last saved;
-
the installation has no answer yet for something that the topology now needs.
Usually this is a variable or an image version for a new service. You did not cause this. It happens when someone changes a shared topology.
The fix is always the same:
-
On the card, click the main button Fill in <n> settings. If the card has no such button, click Change settings.
-
On the Settings step, fill in the values that are empty.
-
To choose the versions, click Change in Plan on the Settings step, and choose them on Plan.
A card that is behind shows the number of missing items. Deploy and Download are muted until you fix them (see Why an action is muted). Health, Diagnostics and Test install still work. None of them builds a bundle. So you can still check a live site. A service that the topology removed keeps its stored values. You can see them and remove them in one action.
A third answer: "the check could not run." The card shows this, and it blocks nothing. It happens when:
-
The topology of this installation is no longer stored, or cannot be read.
-
No service contract is stored for a service in the topology. Usually the service was added before the contracts were synced.
-
Two services in the topology claim the same role.
Right after the application restarts, every installation shows this answer for a few seconds. Then it goes away. Wait. Do not change any settings.
These five cases do not make an installation behind:
-
a service that is built on the target server, not downloaded from a registry;
-
a service whose values all have defaults;
-
a service that the customer runs themselves, which has no container here;
-
a new secret, which the tool never stores and always asks for at install time;
-
a variable for the other database vendor.
An installation that is not behind can still be refused at Download. The tool checks every required value only when it builds a bundle. The refusal names the values.
A second signal can appear next to it. It blocks nothing. It is a load-balancer address that no longer applies. Someone renamed the host group that the address was stored under. The addresses then change back to each server’s own address. See the load balancer.
For other problems, see When something goes wrong.