Product:
Search Type:

How do I (re)create Service VE?

Article ID: 1089 
Last Review: Jun,26 2008
APPLIES TO:
  • Virtuozzo for Linux

RESOLUTION

You may create Service VE on a Virtuozzo hardware node using 'vzsveinstall' utility:
#vzsveinstall -D DISTRIB_DIR -s SERVICE_VE_IP

where
- DISTRIB_DIR - path to Virtuozzo distribution directory hierarchy on a server. F.e. if you have the Virtuozzo distrib on your server in /root/Rel300 dir then DISTRIB_DIR should be /root/Rel300/;
- SERVICE_VE_IP - IP address to be assigned to Service VE;

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 VE 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 'HW/SVE' dir inside Virtuozzo distrib;
- create OS template cache using 'vzpkgcache' command on a node.

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 VE as well. Updates downloaded by 'vzup2date' utility are usually located under /vz/vzup2date/3.0.0/TU-3.0.0-* dirs. You may apply them to the Service VE using 'vzsveupgrade' utility using this simple script:
# for i in `find /vz/vzup2date/$(awk '{print $NF}' </etc/virtuozzo-release)/ -type d -name TU* | sort -t- -k3 -n`; do vzsveupgrade -d $i; done


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

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.
*Please type the code you can see.
* - required fields