Product

Product Features How to Compare Docs Screenshots Why

Start here

Getting started Download Guides Frequently asked questions

More

Security Support Roadmap About
Everyday 10 minutes of care, plus however long the work takes

Take a server out for maintenance

You need to reboot one of the load balancers, patch it, or move it. This is how to do that without anybody noticing. It is short, and doing it in this order is the whole point.

Before you touch anything

  1. Open the Cluster page and check both nodes are online. If the other one is not healthy, stop. You are about to be running on one node and it needs to be a good one.
  2. Open the Changes page and check nothing is saved but not applied. Applying somebody else's half finished work in the middle of maintenance is a bad afternoon.

Take it out of the DNS answer

If you use DNS failover, do this first and give it time.

  1. DNS Failover, edit the name, turn off the answer for the node you are about to work on.
  2. Save.
  3. Wait at least twice the TTL. With a TTL of 30 seconds, wait two minutes.

That is not the software being slow. It is the time for computers elsewhere to forget the old answer. Skipping it is the difference between nobody noticing and a few people getting errors.

Hand over being in charge

If the node you are working on is the active one, use the failover button on the Cluster page to hand over to the other. Doing it yourself is calmer than pulling the plug and letting the software work it out, and you can confirm the other node took over before you go any further.

Stop it coming back too early

Turn on forced standby for the node you are working on. That stops it becoming active again halfway through your work, for example after a reboot you did not expect to change anything.

Do the work

Reboot it, patch it, whatever you came to do. The other node is carrying all of the traffic. Nothing about this is urgent, which is the point of doing it in this order.

If the work is rebuilding nginx, do it from the NGINX Build page and run the check button first. The new binary is built while the old one carries on serving, your config is tested against it, and only if that passes is the running nginx replaced.

Putting it back

  1. Wait for it to come back and check the Cluster page shows it online.
  2. Turn off forced standby.
  3. Turn the DNS answer back on. It returns to the answer within a few seconds.
  4. Watch it for a few minutes before you go home.

The order going back in is the reverse

Health first, then being allowed to be in charge, then traffic. Turning the DNS answer back on before the node is actually well sends people to something that is not ready.

A checklist you can print

OrderComing outGoing back in
1Check both nodes healthyCheck it is online again
2Check nothing unappliedTurn off forced standby
3Turn off its DNS answer, waitTurn its DNS answer on
4Hand over if it is activeWatch for a few minutes
5Turn on forced standby
6Do the work

The thing people forget

Turning forced standby back off. A fleet where one node can never take over is a fleet with no failover, and nothing will remind you. It is the single most common thing left switched on after maintenance.

Doing the same for a backend

Retiring an application server is simpler and the principle is identical. Set its state to Draining and apply. It finishes what it is doing and takes nothing new. Watch the connection count fall to zero, then touch the machine.

Turning it off outright drops whatever it was in the middle of, which for a file upload or a long report is somebody's afternoon.

Two fresh servers is all it takes

Ubuntu 22.04 or newer, root access, and about twenty minutes. The installer does the rest and it is safe to run twice.