Installing proxmox

  1. Ensure hostname is present in /etc/hosts file !

  2. apt-get update

  3. apt-get upgrade

  4. Add pve repo

    /etc/apt/source.list.d/pve.list

    # PVE packages provided by proxmox.com
    deb http://download.proxmox.com/debian wheezy pve
    
  5. update and upgrade

  6. Add repo ssh-key

    wget -O- "http://download.proxmox.com/debian/key.asc" | apt-key add -
    
  7. Install Proxmox VE Kernel

    apt-get install pve-firmware pve-kernel-2.6.32-22-pve
    
  8. Install kernel headers

    apt-get install pve-headers-2.6.32-22-pve
    
  9. Install PVE packages

    apt-get remove linux-image-amd64 linux-image-3.2.0-4-amd64
    
    apt-get install proxmox-ve-2.6.32 ntp ssh lvm2 postfix ksm-control-daemon vzprocps open-iscsi bootlogd
    
  10. Update grub - ensure grub is updated :

    update-grub
    
  11. Creating cluster

    Choose a name for your cluster : myclustername

    pvecm create myclustername
    
  12. Get IP of the 1st machine in the cluster : $IP

    ifconfig
    

Just keep this IP address !

  1. Add a new host into the cluster

    pvecm add $IP
    
  2. Add bonding to increase net performance

    /etc/network/interfaces

    auto bond0
    
    iface bond0 inet manual
        slaves eth0 eth1
        bond_mode balance-rr
        bond_miimon 100
        bond_downdelay 200
        bond_updelay 200
    
  3. Add a bridge for guest hosts

    /etc/network/interfaces

    auto vmbr0
    
    iface vmbr0 inet static
        address 10.31.1.5
        netmask 255.255.255.0
        network 10.31.1.0
        gateway 10.31.1.254
        bridge_ports bond0
        bridge_stp off
        bridge_fd 0
    

Now you can point yout browser to https://$IP:8006/ and create and configure your storage and vlans.

Comments !