Move to 3.2 from the earlier Center: overview
The earlier Center is the previous generation of Center: the management VM (the VM that runs Center) has the vStack-control-pane 0.33 package, the management VM OS is FreeBSD 14.1, and the database is PostgreSQL 14. To tell it apart from Center 3.0.3–3.2.0 (the vstack-center package), see Choose a path to 3.2.
The move from it is performed as a single piece of work in three stages:
- vStack OS 3.0 and 3.1 nodes → 3.2.6;
- the earlier Center → Center 3.2.0;
- enabling Internal Fabric — the network between the cluster nodes over which a virtual machine (VM) on another node gets its disks from the node of its pool; with it, Center starts VMs on any node.
The procedure is on the Steps page; perform the steps in order. Failures, codes and rollback are in the Reference.
When this scenario applies
The management VM runs the earlier Center (vStack-control-pane 0.33, FreeBSD 14.1), and the nodes run 3.0 or 3.1: freebsd-version -k prints 14.2-RELEASE-p2, 14.2-RELEASE-vstack-3.0.… or 14.2-RELEASE-vstack-3.1.…. To check, see Choose a path to 3.2 and step 1 on the Steps page.
2.x nodes or a management VM on FreeBSD 13 require a different plan, which is carried out together with vStack support.
Start condition: the Internal Fabric network
Do not start the move until the network engineers provide the Internal Fabric network: its own VLAN on lagg20 and a separate /24 subnet for the cluster nodes only — Enable Internal Fabric.
Result of the move
- The nodes run 3.2.6 and Center runs 3.2.0: the version numbers differ, which is expected.
- Linux VMs run on NVMe disks. In Linux guests without the NVMe driver, the driver is added in advance — step 6.
- Routers — service VMs with the vStack Edge OS — move to the v8 image, step 33.
- Internal Fabric is enabled: Center starts Linux VMs on any node of the cluster.
- Windows VMs and Linux VMs without the NVMe driver start only on the node of their pool.
- Each node has less memory left for VMs: part of it is reserved for SPDK, step 7.
Special cases
- The 3.0 nodes already serve disks over NVMe-oF — some VMs run on a node other than the node of their pool. The order is the same, with the caveat in step 2. Agree on the work plan with vStack support before window A.
- The cluster was installed from 3.x installation media — the fabric pre-configuration replaces the previous fabric addresses of the pools, step 7.
Work plan
| Stage | When | What | VM downtime | Who |
|---|---|---|---|---|
| Organization | 1–2 weeks before | the Internal Fabric network; access, consoles, consent of the VM owners — see the list below | none | engineer, network engineers, VM owners |
| Preparation | 1–3 days before | steps 1–14 | none | engineer, Linux VM owners |
| Window A — nodes | day 1 | steps 15–18: nodes one at a time | the VMs of each pool stop twice, while the pool moves; while the pool with the management VM moves, the web interface is unavailable | engineer |
| Window B — Center | another day | steps 19–34: Center, moving the nodes to the new Center, routers | VMs keep running; the web interface, the API and VM management are unavailable during the upgrade; each router restarts, and the network behind it is unavailable for that time | engineer; owners of external systems on call |
| Enabling Internal Fabric | right after window B | steps 35–36, then the announcement that the work is over | none; until step 35, VMs are started only with a node selected | engineer |
| Acceptance | 2–3 days | steps 37–38 | none | engineer |
In advance, 1–2 weeks before
- The Internal Fabric network from the network engineers — without it, do not start the move.
- Outbound HTTPS from the nodes and the management VM to
repo.vstack.com, and DNS on the management VM — you check this in step 3. - The BMC console of each node.
- Consent of the owners of Linux VMs from the image list to adding the NVMe driver (step 6); notice to the VM owners about the work windows (step 14).
- Contact with the owners of external systems — self-service portals and automation that create VMs through the Center API (steps 13 and 26).
- The state of the NVMe-oF target on the nodes — step 2 and step 8: a check of whether the cluster is a special case.
Irreversible changes
- Node upgrade. You can return a node to 3.0 only by reinstalling it and restoring it from the configuration copy taken in step 8, together with vStack support.
- A pool that has run on a 3.2.6 node returns only to 3.2.6 nodes.
- Never run
zpool upgrade. - After step 28, the nodes are configured for the new Center: you can return their configuration only together with support; by default, errors are fixed without a rollback.
- After cleanup (step 38), you can roll back Center only with the snapshots from step 22.
- After step 35, rolling back Internal Fabric requires returning all VMs to the nodes of their pools.
Rollback
The rollback procedure depends on the step at which the work stopped — Reference, "Rollback".
Files
All scripts come in one archive, upgrade-3.0-to-3.2-tools.tar.gz; to download and verify it, see step 2. What it contains for this work:
| File | What it does | Where it runs |
|---|---|---|
vapi.sh | calls the Center API: vm-list, vms-stop, vms-start, waiting for a VM state | workstation |
dupcheck.sh | finds VMs that run in two copies | workstation |
vstackos.config-backup.sh | backs up the node configuration — Back up the node configuration | node |
edge-reimage.sh, edge-reimage.README.md | moves routers to the v8 image without re-creating them | the node that runs the router's pool |
mgmtvm-update.sh, mgmtvm-update-oldgen.sh | upgrades the earlier Center to 3.2.0 | management VM |
SHA256SUMS | checksums of all files | — |
The node update script update.sh and the v8 router image come from the repo.vstack.com release repository — steps 8 and 12.