Upgrading Virtuozzo 6 and Virtuozzo Server 7 with Local Storage

This section describes how to upgrade Virtuozzo 6 or Virtuozzo Server 7 servers with local storage to Virtuozzo Storage with GUI management based on Virtuozzo Server 7. To do this you will need spare servers to deploy a new Virtuozzo Storage cluster with GUI management.

After upgrading a node in a mixed cluster, you cannot migrate VEs (virtual machines and containers) created in datastores with encoding EC 3+2, 5+2, 7+2, or 17+3 from Virtuozzo Server 7.5 Update 4 to Virtuozzo Server 7.5 Update 3. However, the migration of VEs created in local datastores and datastores with a 3-replica and 2-replica data redundancy mode is available. A mixed cluster is not supported and exists during the upgrade only.

To upgrade your Virtuozzo Server servers with local storage, follow the steps below:

  1. If you are upgrading a Virtuozzo 6 server, update it to the latest version. You can do this by running yum update.

    The oldest Virtuozzo 6 build eligible for upgrade is 6.0.11-3466.
  2. On a set of spare servers, create and configure a new Virtuozzo Storage cluster with GUI management based on Virtuozzo Server 7. For instructions, see Installing with GUI Management and Managing Storage.

  3. Create datastores for VMs, containers, and backups as described in Managing Datastores.

  4. Log in to Virtuozzo Automator and choose to place VMs, containers, and backups in the created datastores for all servers from the cluster. For instructions, see Configuring Virtual Environments Host Settings.

  5. Choose a Virtuozzo Server server with local storage to upgrade and migrate VMs and containers from it to the new cluster. For more details, see Migrating VMs and Containers from Virtuozzo 6 to Virtuozzo Server 7 and Migrating Virtual Machines and Containers.

  6. If you store VM and container backups on the server with local storage, move them to a server from the new cluster:

    • Backups of Virtuozzo 6 VMs or containers can be restored on a Virtuozzo Server 7 server as described in Restoring Virtuozzo 6 Backups to Virtuozzo Server 7
    • Backups of Virtuozzo Server 7 VMs or containers can be placed in a new Virtuozzo Storage datastore by moving their files to /mnt/vstorage/vols/datastores/<datastore_name>
  7. Reinstall Virtuozzo Server 7 on the server to upgrade. During installation, choose to install these components:

  8. In the Virtuozzo Storage management panel, assign the network roles to the server’s network interfaces (see Configuring Node Network Interfaces) and add the server to the cluster (see Adding Nodes to the Cluster).

  9. In Virtuozzo Automator, choose datastores for the node as you did in step 4.

  10. Repeat steps 7-9 for the remaining servers with local storage until all of them are upgraded and joined to Virtuozzo Storage cluster with GUI management based on Virtuozzo Server 7.