3.1. Upgrading Virtuozzo 6 and 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.

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 the Virtuozzo Hybrid Server 7 Installation Guide and Virtuozzo Storage Administrator’s Guide.

  3. Create datastores for VMs, containers, and backups as described in the Virtuozzo Storage Administrator’s Guide.

  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 the Virtuozzo Automator Administrator’s Guide.

  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 the Virtuozzo Hybrid Server 7 User’s Guide.

  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 the Storage and Compute components for Virtuozzo Storage and Virtuozzo Automator, respectively.

  8. In the Virtuozzo Storage management panel, assign the network roles to the server’s network interfaces and add the server 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.