How to create a new VM
The goal of this document is to explain how to create a new VM on our proxmox clusters.
Please make sure to follow the process for new services. Setting up a Docker container or VM is just the technical part but in order to make the FSFE's technical infrastructure clear and maintainable, we need roper communication and documentation.
After creating the new VM, please directly set up proper backups!
To create a new VM, you can use the command line (you can use the qemu tools) or the web interface. The access to the web interface is limited to the IP of the clusters, so to use the web interface you should use SSH forwarding or SSH tunnelling.
Use one of the following commands:
ssh -L 8006:localhost:8006 <a host withing the proxmox cluster: platinum, iridium, osmium, krypton>
Now you can browse https://localhost:8006 and that will take you to the web interface.
Choose where to put the VM?
We have three clusters:
- In Düsseldorf, Germany, with 3 physical servers
- 'krypton' in Vienna, Austria, with 1 physical server. In this datacenter it is not possible to do reverse DNS.
If the VM needs to be part of a High Availability group, or need to query the LDAP database without certificates it will need to be in Düsseldorf.
What network settings to use?
On the network configuration panel use 'network bridge' so the VM can access internet through the proxmox bridge interface.
There is no DHCP available or IPv6. Only IPv4.
Choose the number of virtual cpus for the new VM. As our physical servers have 4 CPUs, a number <= 4 vCPUs should be used. You probably want to choose the 'host' cpu type.
For storage, you can choose between the local storage or the remote one. The remote storage uses ceph.
Choose the image that will be used to boot the virtual machine. It is possible to upload boot images with HTTP.
Proxmox supports either BIOS or UEFI. Please choose a boot mechanism compatible with the operating system you want to install.
The virtual machine can be HA managed by the cluster. That means the cluster will ensure that the VM is always up. We only have one HA group, so if you need HA please include the VM to this group. Please select thr 'start on boot option if you do'nt use HA, so the VM will start on promox boot. ithing the proxmox cluster> }}}