Parallels Virtuozzo Containers - 4.7 - Linux Installation Manual

Page 1
Parallels Virtuozzo Containers 4.7 for Linux
Installation Guide
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
Page 2
DOS are registered trademarks of Microsoft
c/o Parallels International GMbH. Parallels International GmbH Vordergasse 49 CH8200 Schaffhausen Switzerland Tel: + 41 526320 411 Fax: + 41 52672 2010 www.parallels.com
Copyright © 1999-2011 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­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.
Page 3
Contents
Introduction ............................................................................................................... 5
About Parallels Virtuozzo Containers ................................................................................ 6
About This Guide ............................................................................................................ 7
Organization of This Guide .......................................................................................................7
Documentation Conventions ....................................................................................................8
Getting Help .................................................................................................................... 9
Feedback ........................................................................................................................ 9
Preliminary Operations ............................................................................................ 10
Planning Your System ................................................................................................... 11
Installation Requirements ............................................................................................... 12
Hardware Requirements ........................................................................................................ 13
Software Requirements ......................................................................................................... 13
Network Requirements .......................................................................................................... 14
Installation Process Overview......................................................................................... 15
Installation Checklist .............................................................................................................. 16
Installing Parallels Virtuozzo Containers 4.7 .......................................................... 17
Installing and Configuring a Host Operating System ....................................................... 17
Partitioning Hard Drives ......................................................................................................... 18
Finishing Host OS Installation ................................................................................................ 20
Obtaining Parallels Virtuozzo Containers ........................................................................ 22
Configuring Parallels Virtuozzo Containers Repository Parameters ........................................ 23
Running vzinstall-linux.bin in 'Download only' Mode .............................................................. 24
Running vzinstall-linux.bin in 'Download and Install' Mode ..................................................... 27
Running the Installation Program ................................................................................... 29
Unattended Parallels Virtuozzo Containers Installation .................................................... 37
Verifying Parallels Virtuozzo Containers Installation ......................................................... 39
Installing OS Templates ................................................................................................. 40
Setting Parallels Virtuozzo Containers Tools to Work ........................................... 41
Setting Up Parallels Virtual Automation .......................................................................... 41
Logging In to Parallels Virtual Automation .............................................................................. 42
Page 4
Contents
Registering Hardware Nodes ................................................................................................. 42
Setting Up Parallels Management Console ..................................................................... 42
Installing the Graphical Client ................................................................................................. 43
Registering Hardware Nodes ................................................................................................. 44
Glossary ................................................................................................................... 47
Index ........................................................................................................................ 49
Page 5
C HAPTER 1

Introduction

This chapter provides basic information about Parallels Virtuozzo Containers 4.7 and this guide.
In This Chapter
About Parallels Virtuozzo Containers ....................................................................... 6
About This Guide ................................................................................................... 7
Getting Help ........................................................................................................... 9
Feedback ............................................................................................................... 9
Page 6
Introduction

About Parallels Virtuozzo Containers

Parallels Virtuozzo Containers is a patented OS virtualization solution. It creates isolated partitions or Containers on a single physical server and OS instance to utilize hardware, software, data center and management effort with maximum efficiency. The basic Parallels Virtuozzo Containers capabilities are:
Intelligent Partitioning—Division of a server into as many as hundreds of Containers with
full server functionality.
Complete Isolation—Containers are secure and have full functional, fault and performance
isolation.
Dynamic Resource Allocation—CPU, memory, network, disk and I/O can be changed
without rebooting.
Mass Management—Suite of tools and templates for automated, multi-Container and multi-
server administration.
The diagram below represents a typical model of the Parallels Virtuozzo Containers system structure:
6
Page 7
Introduction
The Parallels Virtuozzo Containers OS virtualization model is streamlined for the best performance, management, and efficiency. At the base resides a standard Host operating system which can be either Windows or Linux. Next is the virtualization layer with a proprietary file system and a kernel service abstraction layer that ensure the isolation and security of resources between different Containers. The virtualization layer makes each Container appear as a standalone server. Finally, the Container itself houses the application or workload.
The Parallels Virtuozzo Containers OS virtualization solution has the highest efficiency and manageability making it the best solution for organizations concerned with containing the IT infrastructure and maximizing the resource utilization. The Parallels Virtuozzo Containers complete set of management tools and unique architecture makes it the perfect solution for easily maintaining, monitoring, and managing virtualized server resources for consolidation and business continuity configurations.

About This Guide

This guide provides exhaustive information on the process of installing, configuring, and deploying Parallels Virtuozzo Containers 4.7 on your system including the pre-requisites and the stages you shall pass.
The primary audience for this book is anyone interested in installing and putting Parallels Virtuozzo Containers 4.7 in operation on their servers. To fully understand the guide, you should have strong Linux system administration habits. Still, no more than superficial knowledge of Linux Server OS is required in order to learn to perform the basic installation operations.

Organization of This Guide

Chapter 2, Preliminary Operations, explains the fundamentals of planning your Parallels system, describes hardware and software requirements your system must meet, and sketches out the steps required to successfully install Parallels Virtuozzo Containers 4.7.
Chapter 3, Installing Parallels Virtuozzo Containers 4.7, focuses on setting up Parallels Virtuozzo Containers 4.7 on the Hardware Node including the installation and configuration of both the Host operating system and the Parallels Virtuozzo Containers software itself.
Chapter 4, Setting Parallels Tools to Work, provides information on how to set up Parallels Management Console and Parallels Virtual Automation—tools for managing Hardware Nodes and Containers residing on them.
7
Page 8
Introduction
Preformatted
Saved parameters for Container
Monospace Bold
# rpm –V virtuozzo-release

Documentation Conventions

Before you start using this guide, it is important to understand the documentation conventions used in it.
The table below presents the existing formatting conventions.
Formatting convention Type of Information Example
Special Bold
Italics
Monospace
Key+Key Key combinations for which the
Items you must select, such as menu options, command buttons, or items in a list.
Titles of chapters, sections, and subsections.
Used to emphasize the importance of a point, to introduce a term or to designate a command-line placeholder, which is to be replaced with a real name or value.
The names of commands, files, and directories.
On-screen computer output in your command-line sessions; source code in XML, C++, or other programming languages.
What you type, as contrasted with on-screen computer output.
user must press and hold down one key and then press another.
Go to the Resources tab.
Read the Basic Administration chapter.
These are the so-called EZ templates. To destroy a Container, type vzctl
destroy ctid.
Use vzctl start to start a Container.
101
Ctrl+P, Alt+F4
Besides the formatting conventions, you should also know about the document organization convention applied to Parallels documents: chapters in all guides are divided into sections, which, in their turn, are subdivided into subsections. For example, About This Guide is a section, and Documentation Conventions is a subsection.
8
Page 9
Introduction

Getting Help

In addition to this guide, there are a number of other resources shipped with Parallels Virtuozzo Containers 4.7 which can help you use the product more effectively.
Getting Started With Parallels Virtuozzo Containers 4.7 for Linux. This guide provides basic
information on how to install Parallels Virtuozzo Containers 4.7 on your server, create new Containers, and perform main operations on them. Unlike this guide, it does not contain detailed description of all the operations needed to install and set Parallels Virtuozzo Containers to work (e.g. planning the structure of your network or performing the Parallels Virtuozzo Containers unattended installation).
Parallels Virtuozzo Containers 4.7 for Linux User's Guide. This guide provides comprehensive
information on Parallels Virtuozzo Containers 4.7 covering the necessary theoretical conceptions as well as all practical aspects of working with Parallels Virtuozzo Containers. However, it does not deal with the process of installing and configuring your Parallels system.
Parallels Virtuozzo Containers 4.7 for Linux Templates Management Guide. This guide is meant
to provide complete information on Parallels templates—an exclusive Parallels Virtuozzo Containers technology allowing you to efficiently deploy standard Linux applications inside your Containers and to greatly save the Hardware Node resources (physical memory, disk space, and so on).
Parallels Virtuozzo Containers 4.7 for Linux Reference Guide. This guide is a complete reference
on all Parallels configuration files and Hardware Node command-line utilities.
Deploying Clusters in Parallels-Based Systems. This document provides information on creating
failover and data sharing clusters in Parallels Virtuozzo Containers-based systems.

Feedback

If you spot a typo in this guide, or if you have an opinion about how to make this guide more helpful, you can share your comments and suggestions with us by completing the Documentation Feedback form on our website (http://www.parallels.com/en/support/usersdoc/).
9
Loading...