Proxmox
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:
- https://10.100.200.51:8006/#v1:0:=node%2Fvm01:4::::::
- https://10.100.200.52:8006/#v1:0:=node%2Fvm01:4::::::
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.
- Reboot the hypervisor, cleanly if possible. ctrl+alt+del works.
- while the machine is booting, watch from grub.
- when grub comes up press 'e'
- find the line that starts
linux ....
and at the end of it append
init=/bin/bash
- press F10 to boot
- When you get dumped to a prompt run
mount -o remount,rw /
- run
passwd
to reset the root password - 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.
- Select an appropriate storage location in the server view: e.g.: local (vm02)
- Press the "Content" tab
- Press "upload"
- Find your iso locally and press upload