My first steps into serious virtualization, necessitated because my current, and only, physical server runs CentOS 6, which will be end-of-life 2020-11-30.
VMware ESXi refused to play nicely with my lab-server, so looked to Proxmox for further endeavours into virtualization at home.
Notes are in no particular order, but usually noted down as they arise.
2.1. Proxmox host
6x 2 TB SAS Seagate Constellation, RAID5, 12 GB total; 9 TB usable
24 GB RAM
- The filesystem used upon Proxmox install was XFS.
- Proxmox was installed on the raid array, as I wasn't able to install it to the internal USB-stick.
- The swap partition was 2 GB.
2.2. Extra configs on proxmox host
- # apt install ntp htop ncdu lsb-release
- # nano /etc/ntp.conf
- server 192.168.0.1 iburst
- pool 0.se.pool.ntp.org iburst
- pool 1.se.pool.ntp.org iburst
- pool 2.se.pool.ntp.org iburst
- pool 3.se.pool.ntp.org iburst
- See reference .
- Monitoring PERC raids; see Using perccli with Dell PE R710 and Perc 6/i.
2.3. No guest agent configured
See ref's [4,5].
2.4. Check Proxmox repos
Specifically that the no-subscription repo is active.
See reference .
2.5. Template LAMP-Ubuntu-18.04
1024 MB RAM
32 GB disk
2.5.1. Upload Ubuntu Server-ISO to Proxmox repository
Upload via web-GUI is possible too, but I encountered a problem with ISO's uploaded this way - the ISO wasn't bootable for some reason after upload.
The ISO is visible in the web-GUI; Folder view/Storage/local/Content.
root@dragonborn:~# cd /var/lib/vz/template/iso/
root@dragonborn:/var/lib/vz/template/iso# wget http://cdimage.ubuntu.com/releases/18.04.4/release/ubuntu-18.04.4-server-amd64.iso
2.5.2. Installed stuff and general settings
- LAMP (Ubuntu Server 18.04.4 LTS, Apache 2.4.29, MySQL 5.7.29, Php 7.2)
- Tasksel at install: choose LAMP server and OpenSSH server.
- After install: apt install qemu-guest-agent htop ncdu
- UFW config:
# ufw default deny incoming
# ufw default allow outgoing
# ufw allow ssh
# ufw allow http
# ufw allow https
# ufw allow from 192.168.0.0/24
# ufw enable
# ufw status
2.6. Uninstall ceph
Follow the instructions very carefully, or you may end up with a broken system!
See reference .
2.7. Config for root-user on Proxmox host
- Edit /root/.bashrc and enable aliases as needed.
3. Errors and problems and how to resolve them
3.1. Can't shutdown or stop a VM
3.2. VM is locked (snapshot-delete)