This article describes general recommendation how to migrate containers from Parallels Virtuozzo Containers (PVC) to Parallels Cloud Server (PCS) registered in PBA-S.
The instructions are valid for PBA-S version 4.3.4 or higher:
- Upgrade PBA-S to version 4.3.4 or higher
- Upgrade PVC 3.0 or 4.0 to version 4.7
- Upgrade PVA Agent on PVC 4.7 node to version 6.0
- Upgrade PVA Agent on PCS 6.0 node to version 6.0
- Register PCS 6.0 node in PBA-S according to "How to register PSBM/PCS server in PBA-S for container provisioning"
Verify settings of Hosting Plan which is assigned to the Virtuozzo Containers subscription you are going to migrate. Both source PVC 4.7 and destination PCS 6.0 nodes should be shown in the Hardware Nodes list (PCC > Top > Billing Director > Product Manager > Hosting Plans > %hosting_plan% > Hardware Nodes). Option "All of the available hardware nodes" is also possible.
Add destination node to the list if it's missing. Remember to synchronize subscription with the latest version of the hosting plan (PCC > Top > Billing Director > Product Manager > Hosting Plans > %hosting_plan% > Subscriptions > Upgrade Subscriptions).
Stop the container in PVC 4.7 and migrate it to PCS 6.0 with vzmigrate:
[root@pvcfl47 ~]# stop CTID
[root@pvcfl47 ~]# vzmigrate --convert-vzfs firstname.lastname@example.org CTID
10.10.10.10is IP Address of PCS node.
CTIDis ID of the container you are going to migrate.
In PBA-S run periodic task "Detected newly appeared Virtuozzo Container conflicts":
PCC > Top > Configuration Director > Logging and Errors > Action Log > Tasks Queue > Detected newly appeared Virtuozzo Container conflicts > Run now
The migrated container will be automatically assigned to the destination PCS 6.0 node. Important: the conflict will not be resolved automatically in PBA-S version older than 4.3.4.
Start the container through PBA-S:
PCC > Top > Service Director > Virtuozzo Manager > Containers > CTID > Start