Parallels VIRTUOZZO CONTAINERS 4.6 Templates Management Guide

Parallels
Parallels Virtuozzo Containers 4.6 for Linux
Templates Management Guide
Copyright © 1999-2010 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
Copyright © 1999-2010 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
This product is protected by United States and international copyright laws. The product’s underlying technology, patents, and trademarks are listed at http://www.parallels.com/trademarks.
Microsoft, Windows, Windows Server, Windows NT, Windows Vista, and MS-DOS are registered trademarks of Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. Mac is a registered trademark of Apple, Inc. All other marks and names mentioned herein may be trademarks of their respective owners.
3
Contents
Preface 4
About Parallels Virtuozzo Containers .......................................................................................................... 5
About This Guide ......................................................................................................................................... 6
Organizati on of This Gui de............................................................................................................... 6
Documentati on Conventions ............................................................................................................. 6
Getting Help ................................................................................................................................................. 8
Feedback ...................................................................................................................................................... 8
Parallels Virtuozzo Containers Templates Overview 9
Managing EZ Templates 10
Understanding EZ Templates ..................................................................................................................... 11
EZ Templates Overview ................................................................................................................. 11
EZ Templates Basics ....................................................................................................................... 12
EZ Template Directory Structure .................................................................................................... 14
Differences Between OS and Application EZ Templates ............................................................... 16
EZ Template Lifecycle ............................................................................................................................... 17
Creating an EZ Template ........................................................................................................................... 17
Creating Metafiles for EZ Templates .............................................................................................. 18
Creating the Template with vzmktmpl ............................................................................................ 21
Setting Up Repositories and Proxy Servers for EZ Templates................................................................... 22
Managing the Default Repository ................................................................................................... 23
Creating a Local Repository ........................................................................................................... 25
Managing Repositories for Commercial Linux Distributions ......................................................... 28
Creating Proxy Servers for EZ Templates ...................................................................................... 31
Preparing OS EZ Templates for Creating Containers ................................................................................ 36
Installing Application EZ Templates ......................................................................................................... 37
Downloading and Installing EZ T e mplates with vzup2date....................................................................... 38
Uploading and Installing EZ Templates in Parallels Management Console .............................................. 41
Listing EZ Templates ................................................................................................................................. 44
Adding Application EZ Templates to Containers ...................................................................................... 46
Keeping EZ Templates Up To Date ........................................................................................................... 47
Updating EZ Templates on Hardware Node ................................................................................... 48
Updating OS EZ Template Caches ................................................................................................. 55
Updating EZ Templates Packages In Containers ............................................................................ 57
Creating Historical Mirrors for Backed Up Containers .............................................................................. 59
Copying EZ Templates to Another Hardware Node .................................................................................. 61
Removing Application EZ Template s From Containers ............................................................................ 63
Removing EZ Templates From the Hardware Node .................................................................................. 64
Converting Containers Based on Standard Templates ............................................................................... 66
Index 68
Loading...
+ 5 hidden pages