Proxmox

From Pumping Station: One Wiki
Jump to: navigation, search

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

There are 4 servers 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

Follow these instructions to set static IP for your VM: DHCP

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 ....<code> and at the end of it append <code>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

Annoying Popup Windows

Edit the file /usr/share/pve-manager/ext4/pvemanagerlib.js <syntaxHighlight lang=javascript>

               /*if (data.status !== 'Active') {
                   Ext.Msg.show({
                       title: gettext('No valid subscription'),
                       icon: Ext.Msg.WARNING,
                       msg: PVE.Utils.noSubKeyHtml,
                       buttons: Ext.Msg.OK,
                       callback: function(btn) {
                           if (btn !== 'ok') {
                               return;
                           }
                           orig_cmd();
                       }
                   });
               } else */{
                   orig_cmd();
               }

</syntaxHighlight>

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