Search

Language:  
Search for:

Available article translations:

[how to] Upgrade operating system in container based on EZ templates

APPLIES TO:
  • Parallels Cloud Server
  • Parallels Virtuozzo Containers for Linux
  • Parallels Server

Symptoms

Is there any way to upgrade the operating system inside a container? (for example, from CentOS 4 to CentOS 5?)

Cause

When declaring end-of-maintenance or end-of-life for an OS release, it is necessary to upgrade the environment to the actual/most recent version. Virtuozzo provides the information about possible upgrades in EZ templates.

Resolution

Note: Before performing an actual upgrade, check with a clone of the container or create a full backup.

  1. Using vzpkg upgrade CTID command for some containers, it is possible to upgrade the OS EZ template the container is based on to a newer version.

  2. Check the version of the OS template on which the container is based:

    [root@benderbrau ~]# vzpkg list 222
    centos-5-x86_64                    2013-05-31 01:48:05
    
  3. Check the information about this OS template:

    [root@br ~]# vzpkg info centos-5-x86_64
    name:
            centos-5-x86_64
    osname:
            centos
    version:
            5
    arch:
            x86_64
    config_path:
            /vz/template/centos/5/x86_64/config/os/default
    summary:
            CentOS 5 (for AMD64/Intel EM64T) EZ OS Template
    description:
            CentOS 5 (for AMD64/Intel EM64T) packaged as a Virtuozzo EZ Template.
    packages:
            authconfig
            bash
    ...
            gcc
    repositories:
            http://mirror.yandex.ru/centos/5/os/x86_64
            http://mirror.yandex.ru/centos/5/updates/x86_64
    package_manager:
            rpm44x64
    package_manager_type:
            rpm
    distribution:
            redhat-el5
    technologies:
            x86_64 nptl sysfs
    upgradable_versions:
            4
    cached:
            yes
    
  4. If the upgradable_versions section is present, this means the upgrade is possible (in the provided example, this means that the 222 container could have been created based on the centos-4-x86_64 template and later upgraded to centos-5-x86_64 using the vzpkg upgrade 222 command).

  5. For a container running on Parallels Cloud Server:

    • If the container is ploop-based (#115479), the operating system can be upgraded manually from inside the container.
  6. If the container has application templates, then the same templates should be available for the resulting OS template.

    • For containers with Plesk, it is better to perform the migration using Plesk Migration Manager.

Search words:

os upgrade

upgrade operating system in container

vzpkg upgrade

container os upgrade

RootVPS-Debian-5.0-x86

upgrade centos




ca05eaf5b843fbd53589c90d7228a6df 2897d76d56d2010f4e3a28f864d69223 909d99074e442b52ce54cc7b31cf065d eb0ea3b827d18de2329b6477e24c1d59 bf1c3a170005eae151f49ba2720abde9

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Desktop Virtualization
- Parallels Desktop 8 for Mac
- Parallels Transporter
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac Enterprise Edition
- Parallels Management-Mac for Microsoft SCCM
Server Virtualization
- Parallels Cloud Server
- Parallels Containers for Windows 6.0 Beta
- Parallels Virtuozzo Containers
Automation
- Parallels Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Web Presence Builder
- Parallels Plesk Automation
- Parallels Small Business Panel
- Value-added Services for Hosters
- Parallels Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification