Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

How do I (re)create Service Container?

Article ID: 1089 
Last Review: Oct,24 2009
Author: Maxim Sudyin
Last updated by: Maxim Sudyin APPLIES TO:
  • Virtuozzo for Linux 3.x
  • Virtuozzo Containers for Linux 4.0

Resolution

In case you are using Parallels Infrastructure Manager (PIM) please make sure that you have the recent backup of your PIM infrastructure, as described in the article How to backup and restore Parallels Infrastructure Manager.

You may create Service Container on a Parallels Virtuozzo Containers hardware node using 'vzsveinstall' utility:
# vzsveinstall -D DISTRIB_DIR -s SERVICE_CT_IP

where
- DISTRIB_DIR - path to Virtuozzo distribution directory hierarchy on a server. F.e. if you have the Virtuozzo distributive on your server in the directory /root/Rel400 then DISTRIB_DIR should be /root/Rel400/;
- SERVICE_CT_IP - IP address to be assigned to Service Container;

In case you have downloaded Virtuozzo distributive already (example for 64-bit PVC 4.0) as file "virtuozzo-4.0.0-${build_version}-x86_64.sfx", please extract it in the following way:
# mkdir -p /vz/full_distr
# bash /path/to/virtuozzo-4.0.0-${build_version}-x86_64.sfx -d /vz/full_distr --extract

You may create Service Container then using this command  (make sure old Service Container #1 does not exist):
# vzsveinstall -v -D /vz/full_distr -s SERVICE_CT_IP

Please refer to man page on 'vzsveinstall' utility for additional information.

Please note - OS template 'redhat-as3-minimal' must be installed on a hardware node and cached before Service Container may be created. If you have no that template on a node please do the following:
- install OS template 'redhat-as3-minimal', corresponding RPM package is located in the folder 'virtuozzo/SVE' inside Virtuozzo distrib (in Virtuozzo 3.x it is the folder 'HW/SVE');
- create OS template cache using 'vzpkgcache' command on a node.

Please make sure you have the latest version of OS template 'redhat-as3-minimal'  installed on hardware node before Service Container re-creation. The latest versions of the 'minimal' OS template are the following:

Virtuozzo 3.0: 20050622
Parallels Virtuozzo Containers 4.0: 20080630


You may run 'vzup2date', and update your node. For manual update please find 'minimal' template in /vz/vzup2date directory and install it using 'rpm -Uhv path_to_minimal_template_rpm_package' command, e.g. for 64-bit PVC 4.0:
# rpm -Uhv /vz/vzup2date/4.0.0/TU-4.0.0-438/redhat-as3-minimal-x86_64-p5nfs-tmpl-4.0.1-3.swsoft.x86_64.rpm
# vzpkgcache

If Virtuozzo server has been updated since the very first release (using 'vzup2date' utility or manually) then you need to apply all needed updates to the Service Container as well. Updates downloaded by 'vzup2date' utility are usually located under /vz/vzup2date/3.0.0/TU-3.0.0-* dirs on a Virtuozzo server. You may apply them to the Service Container using 'vzsveupgrade' utility using this simple script:
# find /vz/vzup2date -path "*/$(awk '{print $NF}' /etc/virtuozzo-release)/*/virtuozzo-tools*$(uname -i)*" -printf "%h\n" |sort -u |xargs -rn1 vzsveupgrade -d

If you need to re-create Service Container then you may destroy the existing one using 'vzctl destroy 1' command (container must be stopped first), then create it from the scratches and apply available updates as it is described above.
Keywords: Service container, create, recreate, vzsveinstall, vzsveupgrade, redhat-as3-minimal svps sve serviceve servicevps


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products