Choose a path to 3.2
The upgrade order depends on three factors: which Center runs on the management VM, which version the nodes run, and whether Internal Fabric is enabled. Internal Fabric is 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. Run the three checks in order. They change nothing.
This page describes the move to 3.2. The move from 3.2 to 3.3 includes upgrading the nodes to vStack OS 3.3.x and Center to 3.3.1: Center 3.3.1 works only with vStack OS 3.3.x nodes — Upgrade Center 3.2.0 to 3.3.
Before you begin
- You have SSH access with
rootprivileges to the management VM — the VM that runs Center — and to each node. - How to read the steps and what "stop" means — Upgrade a 3.0, 3.1 or 3.2.0 node to 3.2.6, "How to read the steps".
Center generations on the management VM
vStack clusters run the earlier Center or Center 3.0.3–3.2.0. They differ in the package installed on the management VM.
| Center | Package on the management VM | What it is |
|---|---|---|
| the earlier Center | vStack-control-pane | the previous generation of Center: vStack-control-pane 0.33, the management VM on FreeBSD 14.1, a PostgreSQL 14 database. Its web interface is not described in this documentation |
| Center 3.0.3–3.2.0 | vstack-center | Center 3.0.3–3.0.5, 3.1.0–3.1.1 and 3.2.0 |
There is also Center on the vstack-mgmtvm package. The upgrade order for it is not described.
1. Find out which Center runs on the management VM
- Where: management VM.
pkg info -e vStack-control-pane && echo vStack-control-pane
pkg info -e vstack-mgmtvm && echo vstack-mgmtvm
pkg info -e vstack-center && echo vstack-center
| Printed | Center | Next |
|---|---|---|
vStack-control-pane | the earlier Center | Move to 3.2 from the earlier Center: overview |
vstack-center | 3.0.3–3.2.0 | find the Center version below, then go to check 2 |
vstack-mgmtvm | Center on the vstack-mgmtvm package | stop: the order for it is not described; contact vStack support — Collect data for support |
| nothing, or more than one line | — | stop; contact vStack support |
If vstack-center is printed, note the Center version by the version of its dispatcher:
pkg query '%v' vstack-center-dispatcher
vstack-center-dispatcher version | Center | What to do |
|---|---|---|
0.0.96 | 3.2.0 | do not upgrade Center to move to 3.2; Internal Fabric is enabled with the nodes role — a set of Center tasks that configures the nodes. Center is upgraded to 3.3 after the move — Upgrade Center 3.2.0 to 3.3 |
from 0.0.92 to 0.0.95 | 3.1.0–3.1.1 | before you enable Internal Fabric, upgrade Center to 3.2.0 with the update kit |
from 0.0.47 to 0.0.91 | 3.0.3–3.0.5 | the same; until Center is upgraded, after each pool transfer wait until Center detects the new owner of the pool |
| another version, or no package | — | stop; contact vStack support |
Do not use the version of the vstack-center package for this: Center 3.1.1 and 3.2.0 have the same one.
2. Find out the node version
- Where: each node.
freebsd-version -k # node version — see the table below
sysctl -n kern.bootfile # /boot/kernel.GENERIC_PROD/kernel
pkg query '%v' FreeBSD-runtime # 14.2…
freebsd-version -k prints | Node |
|---|---|
14.2-RELEASE-p2 | 3.0, early releases |
14.2-RELEASE-vstack-3.0.… | 3.0 |
14.2-RELEASE-vstack-3.1.… | 3.1 |
14.2-RELEASE-vstack-3.2.0-… | 3.2.0 |
14.2-RELEASE-vstack-3.2.4-… | 3.2.4 |
14.2-RELEASE-vstack-3.2.5-… | 3.2.5 |
14.2-RELEASE-vstack-3.2.6-… | already 3.2.6 |
13.… | 2.x line |
| What you see | Next |
|---|---|
nodes 3.0, 3.1 or 3.2.0, the kernel.GENERIC_PROD kernel, FreeBSD-runtime is 14.2… | Move to 3.2 with Center 3.0.3–3.2.0 |
14.2-RELEASE-vstack-3.2.4-… or 14.2-RELEASE-vstack-3.2.5-… on all nodes | Update nodes to 3.2.6, then check 3 |
14.2-RELEASE-vstack-3.2.6-… on all nodes | check 3 |
13.… — nodes of the 2.x line | stop: this transition is performed together with vStack support |
anything else: the version is not in the table, another kernel, or an empty FreeBSD-runtime line (the node was installed from installation media) | stop: the order is not described; contact vStack support |
3. Check whether Internal Fabric is enabled
The nodes are on 3.2.4, 3.2.5 or 3.2.6. If the Center dispatcher version is not 0.0.96, that is, Center is below 3.2.0, first upgrade Center using the page Move to 3.2 with Center 3.0.3–3.2.0: preparation steps 2, 4, 8 and 9, then window B — the Center upgrade work. Then perform step 1 of the page Enable Internal Fabric.