digital-infrastructure:vmhost
Differences
This shows you the differences between two versions of the page.
| digital-infrastructure:vmhost [2026/02/08 15:08] – created jkm | digital-infrastructure:vmhost [2026/02/08 17:06] (current) – Add details about access to Proxmox and creating VMs jkm | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| We currently have a single Proxmox VE host in the space. This is used to run various hackerspace services and may be used by members to run VMs for experiments or projects. | We currently have a single Proxmox VE host in the space. This is used to run various hackerspace services and may be used by members to run VMs for experiments or projects. | ||
| + | |||
| + | ## Accessing Proxmox | ||
| + | Proxmox has a web interface which is available here: https:// | ||
| + | You can sign in using SSO - see: [[digital-infrastructure: | ||
| + | |||
| + | If this is your first time signing into Proxmox you'll likely see nothing as you need to be granted appropriate permissions by one of the Proxmox admins: | ||
| + | - Jonas | ||
| + | | ||
| + | |||
| + | Once you have the correct permissions you'll be able to see the main dashboard for our host: | ||
| + | {{ : | ||
| + | |||
| + | ## Creating VMs | ||
| + | |||
| + | ### Using a template | ||
| + | The easiest way to create a VM is to use a template. These can be seen on the left hand side and will start with a 9000 number, e.g. 9001 (debian-13-cloudinit-template). | ||
| + | |||
| + | Right click on the template and select Clone. Change the Mode to Full Clone and give the VM a name (this will become it's hostname). | ||
| + | |||
| + | Once the VM has been cloned (you can see a loading wheel in the bottom log bar) you can modify its settings to suit your requirements. The main things to look at are: | ||
| + | |||
| + | Hardware: | ||
| + | - Memory | ||
| + | - Processors | ||
| + | - Hard Disk | ||
| + | |||
| + | Cloud-Init: | ||
| + | - User (the default user that will be created with sudo privaleges) | ||
| + | - Password | ||
| + | - SSH public key | ||
| + | |||
| + | ## qemu-guest-agent | ||
| + | This agent should be installed on VMs whenever possible (https:// | ||
| + | - Proper shutdown/ | ||
| + | - Freezing filesystems: | ||
| + | - Memory statistics: Get accurate memory usage instead of estimates | ||
| + | - Network information: | ||
| + | - File operations: Execute file operations within the guest from the host | ||
| + | - VM backup: Improved backup consistency | ||
| + | |||
| + | |||
| + | On Debian based systems the following commands can be used: | ||
| + | ``` | ||
| + | sudo apt update | ||
| + | sudo apt install qemu-guest-agent | ||
| + | sudo systemctl enable qemu-guest-agent | ||
| + | sudo systemctl start qemu-guest-agent | ||
| + | ``` | ||
| + | |||
| + | \\\ | ||
| + | |||
| + | --- | ||
| + | |||
| + | ## Proxmox setup | ||
| The host PC has: | The host PC has: | ||
| Line 9: | Line 63: | ||
| - 64GB of DDR4 RAM (4 x 16GB @ 2400MT/s) | - 64GB of DDR4 RAM (4 x 16GB @ 2400MT/s) | ||
| - 2 x 6TB drives in a zpool (mirror) | - 2 x 6TB drives in a zpool (mirror) | ||
| - | |||
| - | ## Proxmox setup | ||
| Instructions for installing Proxmox can be found on the Proxmox website: https:// | Instructions for installing Proxmox can be found on the Proxmox website: https:// | ||
digital-infrastructure/vmhost.1770563307.txt.gz · Last modified: by jkm
