10 tips to get the most out of your Proxmox server

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
here are some little proxmox tips that I like to use to get the most out of my proximox system and make my workflow better proxmox has a time equals on and ZFS which has a lot of unnecessary logging that keeps track of when files are being accessed for most uses you can turn this off and have a reasonable performance impact especially on slower drives like mechanical hard drives and it'll also reduce the amount of Rights going to a solid state drive you can do this by using this command here to flip it off you can turn your proximox server into a little network switch by adding it to the Bridge configuration so in this example I added the enp5s0 network card and when I update my network settings it'll be essential that those two ports on a network switch together and they're connected to all the VMS as well generally it's better to have a discrete switch but sometimes it's nice to just have another Port that works as a switch in order to save a little bit of time when creating new VMS I can create a template of an empty VM with all the settings that I normally like to change so that way I don't have to go change all those settings when I set up a new VM because it's already done that and saved it into the template for me all I need to do is change my ISO file and boot up into it if you have a virtual machine that doesn't have a GUI like this Debian VM I have right here you can save a little bit of CPU usage by going under options for the VM and then turning use tablet 4.0 off this makes the pointer work a lot better if you're using a GUI interface but uses a little bit of CPU and if you have a good amount of command handline only VMS you can save a moderate amount of CPU power by turning that off one way I can copy files to a virtual machine is by taking those files putting them in an ISO image and attaching as a CD DVD drive this is nice if you don't want to connect your VM to the internet in order to set this up or it can just be an easy way to copy files for like installers or files that you want to copy and read only from so in this case in my current directory I have this host file that I want to do and I can do make is offs o is my output name so I'm just going to call it host file.iso I'm going to put my input file as a host file and now I have a new file of host files.iso I can then copy that ISO file I created into an ISO storage that proximox can use and then I can edit a virtual machine and add it and then if I start this virtual machine up I'll have access to that host file I put in the iso image in my Debian virtual machine I can see it show up as an sr0 device which is a CD-ROM I've then mounted it to a test point and knows that host file that I made to ISO image with one thing that saves me a little bit of time in creating a VM is naming my most used storage the highest alphabetically so in this example I have an a dash in front of the local drive storage so that way it's at the top alphabetically so it just automatically shows up so when I go to things like disks it just automatically selects a dash drive by default and if I forget to change it it's on the drive that I want it to use here are some of the settings I used when creating a VM to get the maximum amount of performance and features that I like to use under bus stash device for disks I change this to the i o block it's normally the fastest and lowest overhead storage device I also enable discard which presents the trim operation to the VM and it lets you save space on the host if you want to do over provisioning with disks because then you only need the space that the actual VM is allocating not the full size of the disk under CPU I will pick host in almost all cases the only time I change that is if I'm doing something like a cluster and in that case I pick the lowest common denominator chip here so what they'd all support I also make sure that I O is selected when setting up networking for the VM here are some things you can do in proxbox to get a little bit more customizability than they allow a no UI and interface the Snippets folder allows you to run scripts at specific times doing a VM so you can have it run a script right after boot up or during different activities this is great for things like when I was doing my core pinning video it would automatically run the VM at vinode run my script that does depending of that VM I just started proxmox does not allow every KVM option to be used because there is a massive amount of options that can be used but if you want to use one of these other options you can edit a VMS config file type in args and then have the argument that you want to be used pass directly to KVM one interesting option I found is Dash snapshot this makes it so that all changes to a VM are lost once it's shut down and Rebooted this can be nice if you have like a user using a VM and they might be browsing a web or something and then when they go to reboot it and another user uses it all of their potentially saved info or history is deleted if you're using ZFS and proxbox and want to know how much space a VM is actually using on disk not just the size of the virtual disk ZFS list.o space will show that to you so if I take a look at a VM here I can see the amount of use space on disk that it's actually using and then I can see the amount of space that a snapshot's using so if I want to go which one's using all my space or which one snapshots are using on my face this is a nice little interface that lets me see all that information sometimes you need to shut down your proxmox VM or host and you want to be able to keep progress on whatever task a VM was running so that it doesn't have to be shut down and rebooted with the host and letting the VM hibernate can be one great way to do this so you hibernate all your VMS then you can reboot the host and then they will start back all up again if you have it set to start at boot and it will all continue from the exact same state they were in earlier I wish proximox would add this into interface by putting it under the bulk options or shut down and hibernate all VMS first thanks for watching this video and I hope you learned something if you have any other proxmox tips that you'd like to share please put them in the comments below
Info
Channel: ElectronicsWizardry
Views: 22,004
Rating: undefined out of 5
Keywords:
Id: IWp2eYg-M3k
Channel Id: undefined
Length: 5min 24sec (324 seconds)
Published: Mon Nov 21 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.