Difference between revisions of "Proxmox"

From Pumping Station One
Jump to navigation Jump to search
Line 64: Line 64:
 
* Open your Java Configuration.
 
* Open your Java Configuration.
 
** On Windows, just search for '''Configure Java''' in the start menu.
 
** On Windows, just search for '''Configure Java''' in the start menu.
** On Linux ?
+
** On Linux, with the Oracle JRE, run '''ControlPanel''' from the commandline
 
** On Mac ?
 
** On Mac ?
 
* Go to the security tab
 
* Go to the security tab

Revision as of 01:59, 8 September 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

The console window is some java applet with a self signed certificate. Java complains very loudly about this and won't actually let you run the console unless you add an exception. Here's how you do that:

  • Open your Java Configuration.
    • On Windows, just search for Configure Java in the start menu.
    • On Linux, with the Oracle JRE, run ControlPanel from the commandline
    • On Mac ?
  • Go to the security tab
  • Click Edit Site List...
  • Click the Add in the Exception Site List window.
  • Add https://10.100.200.51:8006 and click Ok.

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

Gotchas

  • If you delete an iso file while a vm is still pointing at it, that machine will not reboot successfully until you change the configured iso