Search for:

Available article translations:

How to migrate OpenVZ container to PSBM or PCS

Article ID: 116255, created on Jun 11, 2013, last review on Jun 17, 2015

  • Odin Business Automation Standard 4.5
  • Virtuozzo 6.0
  • Virtuozzo hypervisor
  • Virtual Automation 6.0


In order to migrate an OpenVZ container to PSBM or PCS, you need to take the following actions:

  1. Migrate the container folder to the destination, for instance if the destination node ip is

    # rsync -avz /vz/private/111 root@ --numeric-ids
  2. Copy the file /etc/vz/conf/111.conf from the source node to the same location on the destination.
  3. Move the container data folder to the correct place, for instance to "/vz/private":

    # mv /vz/tmp/111 /vz/private/
  4. Convert the configuration parameters inside /etc/vz/conf/111.conf:

    SWAPPAGES="0:2621440" -> SWAPPAGES="2621440"
    DISKSPACE="2G:2.2G" -> DISKSPACE="2.2G"
    DISKINODES="200000:200000" -> DISKINODES="200000"
  5. Fix VE_ROOT and VE_PRIVATE path in the /etc/vz/conf/111.conf to new location if needed:

  6. Run ovzconvert without options

    # ovzconvert

    it will convert your container automatically.

  7. Start the container.

Search words:

No any OpenVZ VEs found

Unknown packet 1315

PBA Container migration

Moving Virtuozzo Container Syntax

2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef c62e8726973f80975db0531f1ed5c6a2 a26b38f94253cdfbf1028d72cf3a498b 0889ab60fa6494de107aa7338c3c38b6 319940068c5fa20655215d590b7be29b 400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 624ca542e40215e6f1d39170d8e7ec75 70a5401e8b9354cd1d64d0346f2c4a3e

Was this article helpful?
Tell us how we may improve it.
Yes No
Server Virtualization
- Odin Cloud Server
- Odin Containers for Windows 6.0
- Odin Virtuozzo Containers
- Odin Automation
- Odin Automation for Cloud Infrastructure
- Odin Business Automation Standard
- Odin Virtual Automation
- Odin Plesk Panel Suite
- Web Presence Builder
- Odin Plesk Automation
- Odin Small Business Panel
- Value-added Services for Hosters
- Odin Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification