3.1. Upgrading with Spare Virtuozzo 6 Servers

  1. Update all servers in the cluster based on Virtuozzo 6 to the latest version. You can do this by running yum update on each server.
  2. Choose a server to upgrade in the cluster and migrate VMs and containers from it to other Virtuozzo 6 servers in the cluster.
  3. Remove chunk servers from the server:

    1. Find out which chunk servers are stored on the server by running pstorage -c <cluster_name> top on any cluster server.
    2. Initiate removal of chunk servers from the server by running pstorage -c <cluster_name> rm-cs --wait <CS_ID> for each chunk server on the server.
  4. Wait until the required chunk servers are removed and Virtuozzo Storage rebuilds. To monitor this process, run pstorage -c <cluster_name> top on any cluster server. The status of the chunk servers being removed will become releasing and the number of replicas on them will start dwindling. When the number of replicas on a CS reaches zero, the CS will be removed both from the server and the pstorage top output. Make sure that no chunk servers are left on the server to be upgraded.
  5. Perform a fresh install of Virtuozzo 7 on the server. During installation, choose to create a new Virtuozzo Storage cluster. For instructions, see the Virtuozzo 7 Installation Guide.
  6. Choose another Virtuozzo 6 server in the old cluster and migrate VMs and containers from it to the new Virtuozzo Storage cluster based on Virtuozzo 7. For details, see Chapter 4, Migrating VMs and Containers from Virtuozzo 6 to Virtuozzo 7.
  7. Perform a fresh install of Virtuozzo 7 on the second server. During installation, choose to join the new Virtuozzo Storage cluster based on Virtuozzo 7. For instructions, see the Virtuozzo 7 Installation Guide.
  8. Repeat steps 7 and 8 for the remaining servers in the old cluster until all Virtuozzo 6 servers are upgraded to Virtuozzo 7.
  9. If you store VM and container backups on a Virtuozzo 6 server, move them to a Virtuozzo 7 server as described in Chapter 5, Restoring Virtuozzo 6 Backups to Virtuozzo 7 Servers.

Note

Note: Virtuozzo Storage does not support mixed clusters of Virtuozzo 6 and 7 servers.