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.
To upgrade your Virtuozzo Server servers with local storage, follow the steps below:
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.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.
Create datastores for VMs, containers, and backups as described in Managing Datastores.
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.
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.
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>
Reinstall Virtuozzo Server 7 on the server to upgrade. During installation, choose to install these components:
- Storage for Virtuozzo Storage, see Installing Storage on the Second and Other Servers, and
- Compute for Virtuozzo Automator, see Installing Compute on the Second and Other Servers
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).
In Virtuozzo Automator, choose datastores for the node as you did in step 4.
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.