Proxmox VE 2 Container Virtualization or Full Machine Virtualization installation and setup.

Home » Computer Articles » Linux » Proxmox VE 2 Container Virtualization or Full Machine Virtualization installation and setup.
May 22, 2012 Linux No Comments

I was testing out this virtual solution as I am always interested to see how other company's setup virtualization. I have been using VMware and VirtualBox for a long time.

Of course the setup below it just a test setup and you can take it a lot farther then I have.

 

Proxmox VE 2

http://www.proxmox.com

http://pve.proxmox.com/wiki/User_Management

 

Reasons I like this software in no specific order.

1. Free (Open Source), can purchase support.

2. Clustering is easy to setup.

3. Based on Debian x86_64 OS

4. Container Virtualization (OpenVZ) or Full Machine Virtualization (KVM Redhat)

5. Migrations works well, can be on local disk or SAN for Container Virtualization and on the SAN only for Full Machine Virtualization.

6. Tested on Virtualbox and the Container Virtuals worked well with two hosts(virtuals).

 

Download

Download from http://www.proxmox.com/downloads/proxmox-ve/17-iso-images and download current image.

 

Install Proxmox 2

Boot from CD

1. Click on I agree for the Proxmox License Agreement.

2. Click Next

3. Choose your Country, Time zone and keyboard Layout and click Next

4. Enter a password and enter your email address, click Next

5. Setup your hostname with domain, enter ip address information and click Next

It should be installing your new Proxmox 2 server.

6. Reboot

 

Login and try setting up first Container Virtual.

Load a web browser and go to https://ip_address:8006 and except SSL Certificate.

Since we don't have any templates we will want to setup this first.

In the web interface click on local disk, click on the Content tab, click on Templates , choose a Template to download. Download.

Once the Template is downloaded then you can start making Container Virtuals.

1. Click on Create CT in the top right corner.

2. Type in a hostname and enter a password twice. Leave the rest as defaults. Click Next

3. Choose the template you just downloaded. Click Next

4. Leave resources at default, Click Next

5. Give it a ip_address in routed mode, Click Next

6. Setup the domain name and setup your dns servers ip_addresses, Click Next

7. Confirm settings and Click Finish

Click on X on the dialog box. Then click on Server (Hostname you setup for the Proxmox server early)

You should see your new Container Virtual. Click on your new server and in the top right corner click on Start, You now have a server running. You can SSH to this new server. Update the server, add more services etc. Play around and have fun.

 

Time Setup on Client Servers

Login to your client server

# rm /etc/localtime

# ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime or whatever your time zone is.

 

 

More important information below

Update a Proxmox VE 2 Server from http://pve.proxmox.com/wiki/High_Availability_Cluster

# aptitude update && aptitude full-upgrade && aptitude install resource-agents-pve

 

Cluster Proxmox VE 2 Server from http://pve.proxmox.com/wiki/Proxmox_VE_2.0_Cluster

Create the Cluster on Proxmox1, make sure you don't have any virtuals created.

On your first server is the cluster.

# pveam create YOUR-CLUSTER-NAME

# pvecm status

 

On Proxmox2 and Proxmox3

# pvecm add IP-ADDRESS-CLUSTER

# pvecm status

 

Show clustered Nodes

# pvecm nodes

Node Sts Inc Joined Name
1 M 8 2012-05-22 12:20:58 proxmox1
2 M 4 2012-05-22 12:20:58 proxmox2

 

Delete one of the cluster Nodes

# pvecm delnode proxmox2

Need more information about clustering. Go to http://pve.proxmox.com/wiki/Proxmox_VE_2.0_Cluster#Adding_nodes_to_the_Cluster

 

High Availablity for disks

http://www.nedproductions.biz/wiki/configuring-a-proxmox-ve-2.x-cluster-running-over-an-openvpn-intranet/configuring-a-proxmox-ve-2.x-cluster-running-over-an-openvpn-intranet-part-3

 

http://www.youtube.com/user/ProxmoxVE

High Availablity needs to have the fencedevice setup or it will not work. Then add the server you want HA for.

http://pve.proxmox.com/wiki/Two-Node_High_Availability_Cluster

 

DRDB storage

http://pve.proxmox.com/wiki/DRBD

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.