Step-By-Step Install Guide Linux CentOS-5 on Proxmox VE by krabah

VIEWS: 1,124 PAGES: 24

Introduction
In this Hands-on lab, you’re going to learn how to install and configure Proxmox Virtual Environment (VE) server – a professional virtualization platform used to make virtual machines based on KVM and OpenVZ technologies. Proxmox VE is an easy to use open source virtualization platform based on Linux and used for running virtual appliances, virtual machines and deploying complex virtualization technologies in the enterprises. It is a product aimed at companies and production environments, since it intends to be an easy deployment and management solution.

Hands-on Solution:
In this Hands-on Lab session, you’ll learn how to install and configure Proxmox VE. Next, you’ll learn how to build and deploy virtual machines on Proxmox VE. In this lab you have opportunity to deploy CentOS-5 server which you can use to deploy any application of your choice. You may also use Proxmox VE to build and deploy your own private cloud using OpenNebula, Eucalyptus Systems etc.

More Info
									Global Open Versity, ICT Labs                         Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0




                             Global Open Versity
                Cloud Computing Hands-on Labs Training Manual

                 Step-By-Step Install Guide Proxmox VE Server
                                         Kefa Rabah
                            Global Open Versity, Vancouver Canada
                                  krabah@globalopenversity.org
                                  www.globalopenversity.org

Table of Contents                                                                              Page No.


STEP-BY-STEP INSTALL GUIDE PROXMOX VE SERVER                                                            2

Introduction                                                                                            2

Part 1: Installing and Updating Proxmox VE Server                                                       2
  Step 1: Getting Started & Hardware Pre-requisites                                                     3
    1.1 System requirements                                                                             3
    1.2 Summary of Proxmox VE Installation                                                              3
  Step 2: Install Proxmox Virtual Environment (VE)                                                      4
  Step 3: Proxmox VE Configuration                                                                     11

Part 2: Installing Virtual Machines on Proxmox VE                                                      13
  Step 1: Downloading Appliance Templates                                                              13
  Step 2: Installing Linux CentOS-5 VM on Proxmox VE                                                   14

Part 3: Backups of Critical Enterprise Applications                                                    19
    Step 1: Install and Configure NFS Server                                                           19
    Step 2: Exporting Directories on the Server                                                        19
    Step 3: Creating Backup                                                                            20

Part 4: eed More Training on Linux:                                                                    23
  Ubuntu Enterprise Cloud Training:                                                                    23

Part 5: Hands-on Labs Assignments                                                                      23




A GOV Open Access Technical Academic Publications
Enhancing education & empowering people worldwide through eLearning in the 21st Century

                                                                                                        1
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org                             VCC301 – Building OpenNebula Cloud Computing
Global Open Versity, ICT Labs                        Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0




                             Global Open Versity
                Cloud Computing Hands-on Labs Training Manual

                   Step-By-Step Install Guide Proxmox VE Server
By Kefa Rabah, krabah@globalopenversity.org                   August, 2011              GTS Institute



Introduction
In this Hands-on lab, you’re going to learn how to install and configure Proxmox Virtual Environment (VE)
server – a professional virtualization platform used to make virtual machines based on KVM and OpenVZ
technologies. Proxmox VE is an easy to use open source virtualization platform based on Linux and used
for running virtual appliances and virtual machines. It is a product aimed at companies and production
environments, since it intends to be an easy deployment and management solution.

Hands-on Solution:
In this Hands-on Lab session, you’ll learn how to install and configure Proxmox VE. Next, you’ll learn how
to build and deploy virtual machines on Proxmox VE. In this lab you have opportunity to deploy CentOS-5
server which you can use to deploy any application of your choice. You’ll also learn how to install and
configure NFS shared storage and backup systems to backup your critical data. You may also use
Proxmox VE to build and deploy your own private cloud using eyeOS cloud, OpenNebula, Eucalyptus
Systems etc.


Part 1: Installing and Updating Proxmox VE Server
Proxmox VE supports three types of virtualization technologies:

    •   Container virtualization (OpenVZ): it allows that a physical server can run multiple insolated
        operating system instances as well known as containers. Its main problem is these containers or
        guests can just be Linux instances. However, the OpenVZ kernel provides better performance
        (penalty between 1% and 3% compared to a standalone server) in contradistinction to other
        alternatives.

    •   Full virtualization (KVM): it can run Linux and Windows guests but unlike OpenVZ, Intel VT or
        AMD-V CPU is needed.

    •   Paravirtualization (KVM): it presents a software interface similar to the underlying hardware in
        order to try to reduce the execution time of certain operations.

    Note: in our lab, we think that OpenVZ is a plus because it has got better performance than KVM and
    the containers idea is fantastic: the size of these templates is really small and you can get a ready
    virtual machine in few minutes.




                                                                                                        2
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org                            VCC301 – Building OpenNebula Cloud Computing
Global Open Versity, ICT Labs                        Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0



Step 1: Getting Started & Hardware Pre-requisites

1.1 System requirements

For production servers, high quality server equipment is needed. Keep in mind, if you run 10 Virtual
Servers on one machine and you got a hardware failure, 10 services are lost. Proxmox VE supports
clustering, means that multiple Proxmox VE installations can centrally managed via the included cluster
functionality.

    Note: Proxmox VE can also use local storage (DAS) and SAN.

Minimum requirements for evaluation:
   • CPU: 64bit (Intel EMT64 or AMD64), Intel VT/AMD-V capable CPU/Mainboard (for KVM Full
      Virtualization support)
   • Minimum 1 GB RAM
   • Hard drive
   • One NIC

Recommended system requirements:
   • CPU: 64bit (Intel EMT64 or AMD64), Multi core CPU recommended, Intel VT/AMD-V capable
     CPU/Mainboard (for KVM Full Virtualization support)
   • 4 GB is good, more is better
   • Hardware RAID with batteries protected write cache (BBU)
   • Fast hard drives, best results with 15k rpm SAS, Raid10
   • Two NIC


1.2 Summary of Proxmox VE Installation

Proxmox VE installs the complete operating system and management tools in 3 to 5 minutes (depends on
the used hardware).

"Bare-metal" means that you start from a empty server - there is no need to install a base operation
system.

Including the following:
    • Complete operating system (Debian Lenny 64)
    • Partition the hard drive with LVM2
    • Proxmox VE Kernel with OpenVZ and KVM support
    • Backup/Restore tools
    • Web based management interface
    • Proxmox uses LVM - See backup and restore of LVM data.

    Warning: the complete server is used and all existing data is removed.




                                                                                                       3
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org                            VCC301 – Building OpenNebula Cloud Computing
Global Open Versity, ICT Labs                        Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0



Step 2: Install Proxmox Virtual Environment (VE)

1. Hope over to http://www.proxmox.com/downloads/proxmox-ve/17-iso-images website and download
   the Proxmox VE 1.8 ISO which at the time of writing this lab manual was "Proxmox VE 1.8 ISO
   Installer"
2. Once you have downloaded the Ubuntu ISO specific to your distribution, you have the option burning
   it into CD or just by using the ISO package to install it from your virtual machine, in our case VMware.
3. Fire-up a new virtual machine and perform the initial configuration and setup to use ISO package.
4. Start the virtual machine, and you should be able to see the first Proxmox VE installation screen.
5. From Fig. 1, and hit Enter key to start installation.




Fig. 1


6. From Fig. 2, Proxmox Installer screen, wait for the system to complete the current process, it’ll
   continue after that.




                                                                                                         4
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org                            VCC301 – Building OpenNebula Cloud Computing
Global Open Versity, ICT Labs                        Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0




                                                                                                    Fig. 2


7. From Fig. 3, Proxmox License Agreement screen, read and accept the license and then hit Enter
   key to continue.




                                                                                                    Fig. 3



                                                                                                             5
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org                            VCC301 – Building OpenNebula Cloud Computing
Global Open Versity, ICT Labs                        Step-By-Step Install Guide CentOS-5 Proxmox VE v1.0



8. From Fig. 4, Proxmox Installer screen, choose the desired option use, and then hit Next key to
   continue.




                                                                                                     Fig. 4
9. From Fig. 5, Proxmox Installer screen, choose time location and keyboard language, and then hit
   Next key to continue.




                                                                     
								
To top