Skip to main content

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​

StageWhenWhatVM downtimeWho
Organization1–2 weeks beforethe Internal Fabric network; access, consoles, consent of the VM owners — see the list belownoneengineer, network engineers, VM owners
Preparation1–3 days beforesteps 1–14noneengineer, Linux VM owners
Window A — nodesday 1steps 15–18: nodes one at a timethe VMs of each pool stop twice, while the pool moves; while the pool with the management VM moves, the web interface is unavailableengineer
Window B — Centeranother daysteps 19–34: Center, moving the nodes to the new Center, routersVMs 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 timeengineer; owners of external systems on call
Enabling Internal Fabricright after window Bsteps 35–36, then the announcement that the work is overnone; until step 35, VMs are started only with a node selectedengineer
Acceptance2–3 dayssteps 37–38noneengineer

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:

FileWhat it doesWhere it runs
vapi.shcalls the Center API: vm-list, vms-stop, vms-start, waiting for a VM stateworkstation
dupcheck.shfinds VMs that run in two copiesworkstation
vstackos.config-backup.shbacks up the node configuration — Back up the node configurationnode
edge-reimage.sh, edge-reimage.README.mdmoves routers to the v8 image without re-creating themthe node that runs the router's pool
mgmtvm-update.sh, mgmtvm-update-oldgen.shupgrades the earlier Center to 3.2.0management VM
SHA256SUMSchecksums 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.

Next​