Skip Navigation

Proxmox

Members
0
Posts
33
Created
3 yr. ago

Proxmox VE is a complete, open-source server management platform for enterprise virtualization. It tightly integrates the KVM hypervisor and Linux Containers (LXC), software-defined storage and networking functionality, on a single platform. With the integrated web-based user interface you can manage VMs and containers, high availability for clusters, or the integrated disaster recovery tools with ease.

Proxmox VE Official site

K3S on Proxmox LXC

🌉 bridged from !proxmox@lemmy.world by Tidepool

Access to backup (trigger/restore) from inside the VM

I'm running a fediverse instance in a Cloud VM. I would like to migrate the instance into my homelab, but there's another admin involved who needs to be able to create and restore from backups/snapshots. I would keep a cloud VM to tunnel to my local VM so I don't need to use my resident IP for the instance and some other reasons. That would also allow to give the other admin ssh from the cloud vm into the local vm without being able to touch my other stuff.

My initial thougt was to create some wrapper tool that can be triggered from inside the VM, just create a snapshot and restore from the latest, but I'd have to develop and run that one somewhere. Maybe there's a better solution like creating an actual Proxmox user for the other admin with permissions just for that vm? I don't want to expose Proxmox publicly of course, but there could be a solution via the cloud vm.

Looking for ideas here, keeping the hassle for the other admin low, while minimizing security risks.

Force host internet traffic through an lxc

I have an lxc running a VPN, and where the host needs to access the internet (e.g. doing updates) I want to force that through the lxc VPN.

I dont want to interfere with local lan or cluster traffic - so just setting a default route isn't appropriate. Likewise I'm not sure just installing the VPN on the host is the right idea.

I'm pretty sure there is a way of doing it... its just not coming to me 😅

PVE Service Reset

This little code snip can help you out in a pinch. Try this if you have an unstable server with running guests and reboot is not an option. service pve-cluster restart && service pvedaemon restart && service pvestatd restart && service pveproxy restart If you do it in the shell window, it will disconnect the shell, but seems to complete the command just fine. You should see the nodes briefly grey out and come back. I've read that you need to reset all of those, in that order. See the linked wiki article for more info.

pve.proxmox.com

Understanding Proxmox ZFS Disk IO stats

Hello fellow Proxmox enjoyers! I have questions regarding the ZFS disk IO stats and hope you all may be able to help me understand. Setup (hardware, software) I have Proxmox VE installed on a ZFS mirror (2x 500 GB M.2 PCIe SSD) rpool . The data (VMs, disks) resides on a seperate ZFS RAID-Z1 (3x 4TB SATA SSD) data_raid. I use ~2 TB of all that, 1.6 TB being data (movies, videos, music, old data + game setup files, ...). I have 6 VMs, all for my use alone, so there's not much going on there. Question 1 - costant disk write going on? I have a monitoring setup (CheckMK) to monitor my server and VMs. This monitoring reports a constant write IO operation for the disks, ongoing, without any interruption, of 20+ MB/s. image I think the monitoring gets the data from zpool iostat, so I watched it with watch -n 1 'sudo zpool iostat', but the numbers didn't seem to change. It has been the exact same operations and bandwidth read / write for the last minute or so (after taking a while for writing this, it now lists 543 read ops instead of 545).

 bash
Every 1.0s: sudo zpool iostat

              capacity     operations     bandwidth
pool        alloc   free   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
data_raid   2.29T  8.61T    545    350  17.2M  21.5M
rpool       4.16G   456G      0     54  8.69K  2.21M
----------  -----  -----  -----  -----  -----  -----

The same happens if I use -lv or -w flags for zpool iostat. So, are there really constantly 350 write operations going on? Or does it just not update the IO stats all too often? Question 2 - what about disk longevity? This isn't my first homelab-setup, but it is my first own ZFS- and RAID-setup. If somebody has any SSD-RAID or SSD-ZFS experiences to share, I'd like to hear them. The disks I'm using are: • 3x Samsung SSD 870 EVO 4TB for data_raid • 2x Samsung SSD 980 500GB M.2 for rpool Best regards from a fellow rabbit-hole-enjoyer.

Who's using Proxmox?

I was a VMware admin. I drank the freakin koolaid. Got the certs. I was planning on a career as an architect. Did ok.

Then Broadcom. Fukers.

My boss said screw em, we go Proxmox. So now I live and breathe Proxmox. PVE is a heap of janky hax, so you gotta get expert real fast. PBS is cutting edge software that breaks twice a week, so ya gotta get expert real fast. And now I'm an expert. Especially at PBS. DR. Site-to-site. I can do that shit.

Now that I have this new skillset, where can I use it? Who's using Proxmox?

Advice needed for working with GPU's in an HA Cluster

I have a 3 node HA cluster of enterprise hardware which runs a small home business and a bunch of personal VM's backed by iSCSI ZFS LUNS. It's extremely underutilized at this point, but I'm looking to expand my usage. I have a bit of money to spend on upgrades, and I am looking into the feasibility of procuring some GPU's. My budget is in the neighborhood of $600-1000. The main factor is I have 3 hosts. Because I have HA (and have experimented with ProxLB, which I am not using right now) all of my VM's are built as if they can freely migrate, and that's been fine so far, but all my reading about adding GPU's has left me more confused than when I started. As for starting goals, I want to add GPU transcoding to my Jellyfin instance, dedicate a GPU to immich for doing ML on my library, add a GPU to a VDI VM I use as a virtual workspace, and potentially use local language models for some development which is not yet defined. I've read a ton on using nvidia GPU's with vGPU's, but I have a lot of concerns. I do not have the funds to buy an actual vgpu license, and doing the fastapi-dls thing feels a little too unreliable to justify a large spend. A P40 would be in the budget range, but without tensor cores and with the licensing complexity I'm not sure it's a good investment. Additionally, the documentation on how that would work with HA hasn't clicked; I don't even see HA mentioned here: https://pve.proxmox.com/wiki/NVIDIA_vGPU_on_Proxmox_VE . Most threads on using non-nvidia GPU's has led me to believe it isn't really worth it. Another option I though of was using multiple lower-cost GPU's (like a Tesla P4) and just assign full cards to the VM's; my reading though is I'm going to break things with HA, and I'll have to use resource mapping which is more complex and outside my comfort zone: https://pve.proxmox.com/wiki/QEMU/KVM_Virtual_Machines#resource_mapping I also don't have the tensor cores with this option. It seems like I have a lot of options, but at this point I'm not sure what's the best way to proceed. I don't want to spend $600 and end up with something causing more headaches than it's bringing value. I'd like to hear people's advice, experience, and recommendations especially if there's something I'm missing here that my reading hasn't uncovered.

Solved: NFS share visible in container but not in vm

Can someone help me understand why I can't see one of my NFS shares when installing a VM.

If I choose to install a container it ends up in the proper location on my nas with all the others, but if I choose a VM then it wants to install in another share that is used for other purposes. In the 'node' view I can access the console and see both NFS shares.

I'm sure I'm doing something wrong, but I don't know what.

new to proxmox - docker best practices?

I recently installed proxmox on two 7050 micro pcs, and set up a third box with PBS.

Within proxmox is it best to run docker in a LXC or a VM ?

Should I run one docker image per instance, or all in the same instance ?

I would like to back this stuff up to PBS. Is this a factor in this decision?

I have plex, node-red, influxdb, mosquitto and grafana dockers on an old pc that I wish to rehost to proxmox.

Passthrough iGPU

OK, this is really annoying...

I have an intel based PC that I use as a server that is sitting under the lounge TV that I was using to drive the TV with a linux VM using pci pass-through of the iGPU.

Every thing was working well, then all of a sudden there was no output to the TV. The iGPU still works fine during boot.

I have just updated proxmox to the latest, and no better results.

I sometimes will get it to work on a new install of a vm, but on reboot of the vm it all stops.

Any thoughts on where/what to look at?