Skip to main content

Upgrading the HCU Gateway

How to move a running HCU Gateway from one 3.0.x release to a later one, check it, and roll back if you need to.

What changed​

Each HCU Gateway release is a new image version in Biza's Biza_Marketplace Shared Image Gallery, under the image HCU_Gateway, with a semantic version such as 3.0.4 or 3.0.6. A published version never changes. Azure's latest alias always points to the most recently published version.

Each release's notes are on the page of the HCU release it was published with. See Release Notes. They cover any behaviour or user data change you need to make before you upgrade.

Who is affected​

Every customer that runs the HCU Gateway in its own Azure environment. You perform HCU Gateway upgrades yourself: Biza doesn't upgrade the appliance for you. If you still run the A2U Gateway (HCU Proxy), follow Converting from A2U Gateway (HCU Proxy) to HCU Gateway instead.

How Biza tells you about a release​

Biza tells you about each HCU Gateway release by email, with its Release Notes. Because you upgrade the HCU Gateway yourself, Biza gives you the notice the Release Management Process sets for releases that need you to change your systems, except for Security Updates. There is no self-service subscription.

Choosing a version​

A scale set built against Biza_Marketplace/HCU_Gateway/latest picks up the newest published version at its next upgrade. To control which version you run, reference a version directly instead, for example Biza_Marketplace/HCU_Gateway/3.0.6, when you create or update the scale set. Pinning also gives you a known version to roll back to.

info

To request access to the image, contact us through our support desk.

Required actions​

1. Read the Release Notes of every HCU Gateway release between your current version and the target version. If any of them changes the user data, update the scale set's user data first. For the move from 3.0.3 or earlier, see HCU Gateway 3.0.3 or earlier to 3.0.4 or later.

2. Note the image version your instances run now, so that you can roll back to it.

3. If you pin versions, update the scale set's image reference to the target version. If the scale set uses latest, there is nothing to change. For how to change a scale set's image reference, see the Azure documentation.

4. Upgrade the instances:

  1. Search for VMSS in Azure.
  2. Open the HCU Gateway scale set.
  3. Select Instances from the settings list on the left.
  4. Select all virtual machine instances.
  5. Click Upgrade.

5. Check that every instance upgrades successfully to the target version.

For Azure's guidance on manual upgrades of virtual machine scale sets, see the Azure documentation.

Verification​

  • The monitor page loads through the load balancer at http://<load-balancer-ip>:11000/monitor (or your configured haproxy.port).

  • Biza confirms that the HCU in your HaaS Space still reaches your UniVerse database through the HCU Gateway.

  • From a host that can reach the gateway, the Magic Link endpoint returns a token:

    curl -X POST -u <basic-auth-username>:<basic-auth-password> \
    -H "Content-Type: application/json" \
    -d '{"principalId": "test-principal", "userId": "test-user"}' \
    http://<hcu-gateway-dns>:8080/dio-au/v0/dashboard/sso/request

    From 3.0.4, the response is a JWT whose header has "alg": "HS512".

Rollback​

1. Update the scale set's image reference back to the version you noted in step 2, for example Biza_Marketplace/HCU_Gateway/3.0.4.

2. If you changed the user data for the new version, restore the user data that the previous version needs.

3. Upgrade all instances again, as in step 4, and repeat the verification checks.