Layer7 API Management

 View Only

 Appliance gateway cluster upgrade 10.0 to 10.1 with zero downtime (patch-) procedure.

Sebastian van Voorn's profile image
Sebastian van Voorn posted Aug 11, 2022 03:40 AM

In Standard Upgrade Procedure it is stated:
Only Appliance Gateway customers already running on 10.0 or higher can can upgrade to 10.x via the standard patching process.

But I don't see how this: Patch an Appliance Gateway can upgrade the gateway to 10.1, because you have to do a database upgrade also. And how do you do this on a cluster with zero downtime?

Best regards,

Sebastian van Voorn

Vince Baker's profile image
Broadcom Knight Vince Baker

Hi,

There are several ways of doing this, but as long as you have 2 gateways with Master Master replication then you can do it as follows (High level instructions).

  1. Ensure replication is in sync
  2. Point the 2nd Gateway at its own localhost DB  (To ensure no loss of requests temporarily take it out of the load balance pool to allow restart etc)
  3. Mask the 1st node from the load balancer and upgrade it along with it's local database.
  4. Bring the 1st node back into the load balance pool and mask the 2nd node.
  5. Upgrade the 2nd node
  6. Point the 2nd node back to the 1st Gateway with itself as failover (as originally set), restart
  7. Bring the 2nd node back to the pool again.
  8. Fix replication
Split - Upgrade - Join
You now have both nodes upgraded with zero downtime.

Apiida can help ensure this is done with zero downtime if neccessary. Feel free to get in touch.
Regards

Vince Baker
Principal Architect
Apiida AG