Migrating and Converting Containers
The cases when you need to move your Containers from one physical server to another can be quite numerous. A migration can be performed to distribute the workload between physical servers, etc. On the Migrate Containers screen, you need to select the physical server you are going to move the Container to and select some additional options.
A Container can be migrated to:
- same platform physical server, i.e. Virtuozzo physical server with the same operating system as the Container has.
- Parallels Server Bare Metal physical server. If you migrate a Linux-based Container, you can choose whether to convert the Container to a virtual machine or not. If you migrate a Windows-based Container, the Container will be automatically converted into the virtual machine with the Windows operating system. This is done, because virtual machines, in contrast to Containers, can have an operating system different from the hosting physical server OS.
Note: The physical server must be registered in the 4.5 infrastructure. If you need to migrate the Containers to a physical server that has not been registered yet, this has to be done first.
Irrespective of the migration case, in the Migration Options section, consider the following:
- Perform live migration to avoid service interruption. By default, the Container, if running before the migration, is stopped. But you can leave it running even during the migration by selecting this option.
- Remove the private areas from the source Hardware Node after the migration. You can remove the Containers private areas (the directories to store the Containers files and other data) from the source physical server when the migration is finished, which lets you free some disk space. On the other hand, you might want to leave the private areas on the source physical server intact until you ascertain the migrated Container operates normally;
- Do not start the Container after the migration. If the Container was in a running state before the migration, it will automatically start after the migration is complete. But you can leave it stopped to perform some additional operations on it by choosing this option.
- Force the migration. Ignore possible conflicts in IP addresses applications. The Container migration happens even if its IP address might cause conflicts on the destination physical server or if the templates the Container uses are not installed there. Keep in mind that though it is possible to force the migration of such a Container, it might not be able to start on the destination physical server until the problems with IP addresses and/or templates are resolved.
Click the Migrate button if you are ready to initiate the Containers migration, otherwise click Cancel.
Migrating Container to Virtuozzo Physical Servers
If you migrate a Container to a Virtuozzo physical server, perform the following actions:
In the Migration From section, choose the physical server that will host the Container.
- Choose the Virtuozzo physical server that will host the Container from the To Hardware Node drop-down list. Depending on the Container's operating system, the list will display only Windows or only Linux Virtuozzo physical servers.
Note: If you choose a Parallels Server Bare Metal physical server, you will also be able to convert the Container to a virtual machine. See the information below.
- Specify the settings in the Migration Options section, if needed.
- Click Migrate to continue.
Migrating Container to Bare Metal Physical Server
The Migrate Containers page allows you to migrate a Windows- or a Linux-based Container to a Parallels Server Bare Metal physical server and to convert it into a virtual machine.
To migrate a Container to a PSBM physical server perform the following actions:
- Choose the Parallels Server Bare Metal physical server that will host the Container from the To Hardware Node drop-down list.
The Convert Containers to Parallels Virtual Machines option appears.
If you convert a Windows-based Container to a PSM physical server, the conversion to a virtual machine is obligatory, and the check box is automatically ticked off.
If you convert a Linux-based Container to a PSBM physical server, the conversion is not obligatory, and you can choose whether to convert the Container into a virtual machine or not.
- Specify other Migration Options if needed and click Migrate to continue.
The created virtual machine is an exact copy of the Container, i.e. it will have the same operating system and networking settings, memory size and CPU count, the whole scope of software programs and data stored in the Container, the same security and port redirection settings, etc. Moreover, the virtual machine will have the information on traffic, disk, CPU and memory usage recorded during the Containers activity.
Please send us your feedback on this help page