Difference between revisions of "Proxmox"

From Pumping Station One
Jump to navigation Jump to search
Line 82: Line 82:
 
== Uploading new iso images ==
 
== Uploading new iso images ==
  
iso images are uploaded to a storage location.
+
iso images are uploaded to a storage location.  Iso's only work from local disks, not lvm or san drives.  This also means that iso are only available to virtual machines on that host that has the iso locally.
  
# Select an appropriate storage location in the server view: e.g.: vm-storage2-lvm
+
# Select an appropriate storage location in the server view: e.g.: local (vm02)
 
# Press the "Content" tab
 
# Press the "Content" tab
 
# Press "upload"
 
# Press "upload"
 +
# Find your iso locally and press upload

Revision as of 04:59, 6 August 2014

Proxmox is the name of the software running the vm hosting software.

There are 4 server in the rack running proxmox, 2 of them are turned on.

Management Interface

The management interface is are:

User creation is not automatic, but password are checked against ldap, so member credentials work.

Quick setup guides

VM Creation

Press the "Create VM" Button and use the following settings. Don't use the defaults, bad things happen.

Section Name Value
General Name ${name}
OS Linux/Other Linux 3.X/2.6 Kernel (l26)
CD/DVD ISO image Select your iso from the dropdown
Hard Disk Bus/Device VIRTIO
Hard Disk Bus/Device vm-storage-lvm
Hard Disk Cache Write Back
Network Network Model VirtIO (paravirtualized)

Double click the VM >> Hardware >> Display >> Standard VGA (std) The default works, but on my many monitors, the VNC client window is large enough that the terminal goes past the bottom of the monitor.

  • Press Start
  • Press Console

Configure ip addresses

  • Log into the router
  • go to IP > DHCP Server > Leases
  • Find the leases corresponding to the new box and hit "Make Static"
  • Set the ip address to be 10.100.0.id where id is the proxmox id of the vm

Resetting the Root Password

Sometimes something goes wrong with ldap auth and logging in as a pam user becomes necessary.

  1. Reboot the hypervisor, cleanly if possible. ctrl+alt+del works.
  2. while the machine is booting, watch from grub.
    1. when grub comes up press 'e'
  3. find the line that starts linux .... and at the end of it append init=/bin/bash
  4. press F10 to boot
  5. When you get dumped to a prompt run mount -o remount,rw /
  6. run passwd to reset the root password
  7. reboot

Uploading new iso images

iso images are uploaded to a storage location. Iso's only work from local disks, not lvm or san drives. This also means that iso are only available to virtual machines on that host that has the iso locally.

  1. Select an appropriate storage location in the server view: e.g.: local (vm02)
  2. Press the "Content" tab
  3. Press "upload"
  4. Find your iso locally and press upload