Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 4.7 Guide d'installation

Naviguer en ligne ou télécharger Guide d'installation pour Serveurs Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 4.7. Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 4.7 Installation guide Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer

Résumé du contenu

Page 1 - Containers 4.7 for Linux

Copyright © 1999-2012 Parallels IP Holdings GmbH and its affiliates. All rights reserved. Parallels Virtuozzo Containers 4.7 for L

Page 2

This chapter outlines the basics of EZ templates. In This Chapter Parallels Virtuozzo Containers Templates Overview ...

Page 3 - Contents

11 Templates Overview Parallels Virtuozzo Containers Templates Overview A template in Parallels Virtuozzo Containers is a set of application files a

Page 4

12 Templates Overview EZ Templates Overview EZ templates are part and parcel of the Parallels Virtuozzo Containers philosophy because they provide a

Page 5 - Introduction

13 Templates Overview EZ Templates Basics All OS and application EZ templates are defined by the following features: • EZ templates do not carry an

Page 6

14 Templates Overview Non-base OS EZ template sets should have their own names and are created by appending a random identifier to the base OS EZ te

Page 7 - About This Guide

15 Templates Overview EZ Template Directory Structure All EZ templates and the software packages included in them and installed on the Hardware Node

Page 8 - Documentation Conventions

16 Templates Overview • <name> is the package name • <epoch> denotes the package epoch • <version> indicates the package versio

Page 9 - Feedback

17 Templates Overview • Scripts: • pre-cache: this script is executed before installing the packages included in the EZ template on the Hardware N

Page 10 - Templates Overview

18 Templates Overview Differences Between OS and Application EZ Templates Actually, there are four major differences between OS EZ templates and app

Page 11 - Overview

19 Templates Overview EZ Template Lifecycle An EZ template has the following development stages: 1 Any EZ template should be first installed on the

Page 12 - EZ Templates Overview

Parallels IP Holdings GmbH. Vordergasse 59 CH8200 Schaffhausen Switzerland Tel: + 41 526320 411 Fax: + 41 52672 2010 www.parallels.com Copyright © 19

Page 13 - EZ Templates Basics

This chapter describes how to create and manage EZ OS and application templates in Parallels Virtuozzo Containers. In This Chapter Creating an EZ Te

Page 14

21 Managing EZ Templates Creating a Template from Official Templates The easiest way to create a template is to base it on one of the official templ

Page 15

22 Managing EZ Templates Installing vztt-build The first step in creating a template from scratch is to install the vztt-build package on your Node.

Page 16

23 Managing EZ Templates c %osarch. Provide the information about the microprocessor architecture where the OS EZ template is to be run: %osarch x8

Page 17

24 Managing EZ Templates • Add the %appname parameter to the file to specify a name for the application template, for example: %appname php-customi

Page 18 - Templates

25 Managing EZ Templates • rpm44x64: Red Hat Enterprise Linux 5 and CentOS 5 • rpm43x64: Red Hat Enterprise Linux 3 and 4, CentOS 3 and 4 • rpmzy

Page 19 - EZ Template Lifecycle

26 Managing EZ Templates # ls -l /vz/template/centos/5/x86_64/config/os/default ... -rwxr-xr-x 1 root root 453 Aug 13 22:12 post-cache -rwxr-xr-x 1

Page 20 - Managing EZ Templates

27 Managing EZ Templates Setting Up Repositories and Proxy Servers for EZ Templates If you are going to use OS and application EZ templates in Conta

Page 21

28 Managing EZ Templates Managing Default Repositories When you install an OS EZ template on the Node, it is preconfigured to use one or several pac

Page 22 - Creating Metafiles

29 Managing EZ Templates Notes: 1. You can use the vzpkg info OS_template_name mirrorlist repositories command to view the mirrors and repositories

Page 23

Contents Introduction ... 5 About Parall

Page 24 - Available Package Managers

30 Managing EZ Templates Creating a Local Repository Along with using pre-configured repositories, you can create local repositories and configure f

Page 25

31 Managing EZ Templates • Container 101 is started. It has the IP address of 123.145.145.123 and can be accessed from other networks. • The apach

Page 26

32 Managing EZ Templates 8 Create the mirror list files and set the path to your local repository. For example, you can do this as follows: • For

Page 27

33 Managing EZ Templates • To create the /vz/template/fedora/16/x86/config/os/default/repositories file on the Node and to make it point to the upd

Page 28

34 Managing EZ Templates Managing Repositories for Commercial Linux Distributions Commercial Linux distributions (e.g., Red Hat Enterprise Linux and

Page 29

35 Managing EZ Templates 4 Inside Container 111, create a directory where the RPM packages for Red Hat Enterprise Linux 4 will be stored: # mkdir -

Page 30 - Creating a Local Repository

36 Managing EZ Templates 3 Create the /vz/root/111/var/www/html/download/mirrors/updates-released-as4 mirror list file and make it point to the rep

Page 31

37 Managing EZ Templates Setting Up a Proxy Server for EZ Templates You can set up special caching proxy servers and use them to efficiently manage

Page 32

38 Managing EZ Templates Setting up a proxy server for managing EZ templates has the following advantages: 1 Your Internet bandwidth consumption is

Page 33

39 Managing EZ Templates Once you edit the /etc/httpd/conf.d/vzproxy.conf file, you need to tell the vzpkg tool to use the packages from the local r

Page 34

Contents Preparing OS EZ Templates for Creating Containers ... 43 Installing Application EZ Templ

Page 35 - Container

40 Managing EZ Templates Setting Up an RHN Proxy Server for RHEL OS EZ Templates If you plan to run Red Hat Enterprise Linux 4 (RHEL 4) or 5 (RHEL 5

Page 36

41 Managing EZ Templates • Create a pseudo-repository containing the repodata generated on the basis of the downloaded headers. • Grant the server

Page 37

42 Managing EZ Templates As you can see, three system profiles are currently registered with RHN: two for servers running the x86-64-bit version of

Page 38 - Setting Up a Proxy Server

43 Managing EZ Templates Preparing OS EZ Templates for Creating Containers OS EZ templates are used to create Containers on their basis. However, be

Page 39

44 Managing EZ Templates Installing Application EZ Templates The same way as you use an OS EZ template in a Parallels Virtuozzo Containers system to

Page 40

45 Managing EZ Templates Click Next to connect to the Parallels repository that stores EZ templates. If the connection is successful, the EZ Templat

Page 41

46 Managing EZ Templates In this window, do one of the following: • To download and install all available EZ templates for a certain Linux distribu

Page 42

47 Managing EZ Templates Once the EZ templates have been successfully downloaded to the Hardware Node, the Installing EZ templates window is display

Page 43 - Containers

48 Managing EZ Templates Uploading and Installing EZ Templates in Parallels Management Console If you have one or more new EZ templates that you wou

Page 44

49 Managing EZ Templates In this window, choose the EZ templates you want to deploy. To do this, click the Add button, and provide the path to the t

Page 45

This chapter provides basic information about Parallels Virtuozzo Containers 4.7 and this guide. In This Chapter About Parallels Virtuozzo Container

Page 46

50 Managing EZ Templates The last page of the wizard allows you to review the settings made in the previous steps of the wizard. It summarizes the

Page 47

51 Managing EZ Templates Listing EZ Templates The vzpkg list command allows you to list the EZ templates installed on the Node: # vzpkg list redhat-

Page 48 - Management Console

52 Managing EZ Templates The information on templates is presented in the table having the following columns: Column Name Descriptions Name The nam

Page 49

53 Managing EZ Templates Adding Application EZ Templates to Containers To add an application EZ template to an existing Container, you can use the v

Page 50

54 Managing EZ Templates 2 In the Parallels Management Console right pane, right-click the application EZ template to add to the Container, and ch

Page 51 - Listing EZ Templates

55 Managing EZ Templates If you are adding an EZ template to only one Container, you can as well do the following: 1 Open the list of Containers in

Page 52 - Column Name Descriptions

56 Managing EZ Templates Updating Templates with vzup2date The vzup2date utility allows you to update any of the EZ templates installed on the Node.

Page 53

57 Managing EZ Templates As soon as you press Next in the Welcome window, the utility will try to connect to the EZ templates repository (either the

Page 54

58 Managing EZ Templates This window allows you do one of the following: • If you wish to download and install all available EZ templates/template

Page 55

59 Managing EZ Templates After the EZ templates/template updates have been successfully downloaded to the Node, the Installing EZ template window is

Page 56

6 Introduction About Parallels Virtuozzo Containers 4.7 Parallels Virtuozzo Containers 4.7 is a patented OS virtualization solution. It creates isol

Page 57

60 Managing EZ Templates Updating Templates With vzpkg update template Another way of updating your EZ templates installed on the Node is to use the

Page 58

61 Managing EZ Templates Updating Templates in Parallels Management Console Parallels Management Console provides you with the Templates Update wiza

Page 59

62 Managing EZ Templates In this window, you can do one of the following: • To download and install all available EZ templates/template updates for

Page 60

63 Managing EZ Templates Updating OS EZ Template Caches With the release of new updates for the corresponding Linux distribution, the created OS EZ

Page 61

64 Managing EZ Templates

Page 62

65 Managing EZ Templates Updating EZ Templates Packages In Containers Parallels Virtuozzo Containers allows you to update software packages of the O

Page 63

66 Managing EZ Templates 2 Double-click the name of the Container where you want to add an EZ template. The Container Manager opens. 3 Click the T

Page 64

67 Managing EZ Templates On this screen, you can also select the Force templates installation check box to force the EZ template installation inside

Page 65

68 Managing EZ Templates Creating Historical Mirrors for Backed Up Containers If you have one or several Containers that are based on OS EZ template

Page 66

69 Managing EZ Templates # mkdir fed13mirror The fed13mirror subdirectory will store an archive of the Fedora 10 repository. 2 Change to the fed10m

Page 67

7 Introduction The Parallels Virtuozzo Containers OS virtualization model is streamlined for the best performance, management, and efficiency. At th

Page 68

70 Managing EZ Templates Copying EZ Templates to Another Hardware Node Parallels Virtuozzo Containers allows you to copy the installed OS and applic

Page 69 - # cd fed13mirror

71 Managing EZ Templates In the displayed window, you can view the list of Hardware Nodes currently registered in Parallels Management Console. You

Page 70

72 Managing EZ Templates Removing Application EZ Templates From Containers The vzpkg remove command allows you to remove one or several application

Page 71

73 Managing EZ Templates Removing EZ Templates From the Hardware Node The vzpkg remove template command allows you to remove from the Hardware Node

Page 72

74 Managing EZ Templates 2 In the right pane of the Parallels Management Console main window, do one of the following: • If you want to remove an

Page 73

75 Managing EZ Templates Converting Containers Based on Standard Templates You can use the vzveconvert utility to convert your existing Containers b

Page 74

76 Managing EZ Templates 5 The packages installed in the /vz/template/fedora-core/4/x86 directory on the Hardware Node (i.e. in the template area o

Page 75

Index A About Parallels Virtuozzo Containers 4.7 - 6 About This Guide - 7 Adding Application EZ Templates to Containers - 53 C Container creating -

Page 76

Index Managing EZ Templates - 20 Managing Repositories for Commercial Linux Distributions - 34 O Organization of This Guide - 7 P Parallels Virtuozz

Page 77

8 Introduction Documentation Conventions Before you start using this guide, it is important to understand the documentation conventions used in it.

Page 78

9 Introduction Getting Help In addition to this guide, there are a number of other resources available for Parallels Virtuozzo Containers which can

Commentaires sur ces manuels

Pas de commentaire