3.1. Upgrading Virtuozzo 6 and Virtuozzo Hybrid Server 7 with Local Storage

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

Note

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 VHS 7.5 Update 4 to VHS 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 Hybrid 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.

    Note

    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 Hybrid Server 7. For instructions, see Installing with GUI Management and Managing Virtuozzo 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 Hybrid 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 Hybrid 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 Hybrid Server 7 server as described in Restoring Virtuozzo 6 Backups to Virtuozzo Hybrid Server 7

    • Backups of Virtuozzo Hybrid 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 Hybrid 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 Hybrid Server 7.