Veljko Radan

Language: SvenskaEN

← All articles

Field notes: Upgrading without internet

Firmware, ESXi and vCenter in an air-gapped factory environment. Seven obstacles and how they were solved.

Veljko Radan · · 3 min read

Upgrading virtualisation is routine in most places: download, run, done. In an air-gapped factory environment with no internet access, the same job becomes a small logistics project. These are the pitfalls from a coordinated upgrade – server firmware first, then ESXi and vCenter – carried out together with remote colleagues.

The order

Firmware, hypervisor, vCenter – in that order, and only in combinations that appear in the vendors' compatibility matrices. Upgrading one part without checking the others is the most common way to create a new problem while solving an old one.

Seven pitfalls on the way to an upgraded environment 1Files in2Full installer3EVC4Switch type5Storage policy6MAC rules7Virtual mediadone
Seven pitfalls, in the order they showed up. None of them appear in an upgrade guide written for an environment with internet.

Pitfall 1: the files have to get in

Without internet, every ISO and package has to enter the environment in a controlled way. We distributed them through the secure remote-access platform. Plan for it early – big files through narrow paths take longer than the upgrade itself.

Pitfall 2: the patch that wasn't a patch

A file that was supposed to be a patch turned out to be a full installer image. Always verify what a file actually is – name, size, checksum and release notes – before running it in a maintenance window.

Pitfall 3: vMotion between different CPUs

Hosts with different CPU models and EVC switched off can't live-migrate machines between them. The plan then has to include either shutting the machines down or turning EVC on first – which in itself may require the machines to be restarted.

Pitfall 4: distributed versus standard switch

When machines move between hosts with a distributed virtual switch and hosts with a standard switch, vMotion doesn't work in every direction. Map the network configuration of every host before planning the moves.

Pitfall 5: the storage policy comes along

A machine moved from vSAN to other storage keeps its vSAN policy, which can't be met on the new storage. Change the policy as part of the move.

Pitfall 6: rules tied to MAC addresses

If the network has rules tied to individual MAC addresses, a machine that moves or gets a new network adapter can be blocked. List those rules beforehand.

Pitfall 7: virtual media without internet

Mounting an ISO in iLO through the browser over a long link is slow and fragile. iLO can instead fetch the ISO from a URL. We ran a simple HTTP server on the jump host in the same network, so iLO fetched the file locally.

The lesson

In an air-gapped environment it is rarely the upgrade itself that takes time – it's everything around it. Write down every obstacle as it appears and turn the list into a checklist for the next site. The second time is faster, and the third time someone else can do it.