Introduction
Proxmox is the default operating system for Campus Stations
Versions
Minimum Supported: Proxmox VE 9.1
Proxmox is the default operating system for Campus Stations
Minimum Supported: Proxmox VE 9.1
Ubuntu LXD and Proxmox LXC are both popular compute hosts for trust assets. Migrating between them is easy.
Original host:
lxc exec haproxyct -- bash -c "cd / && tar --exclude=run --exclude=dev --exclude=sys --exclude=proc -czf /haproxy.tar.gz ./*"
lxc file pull "haproxyct/haproxyct.tar.gz" /home/
scp /home/haproxyct.tar.gz user@furious-new-dedicated-server:/
Destination Host:
pct create 100 /haproxyct.tar.gz -hostname haproxyct --rootfs lv_thin:10 --net0 name=eth0,ip=10.10.10.10/24,bridge=vmbr0,gw=10.10.10.254
Reference:
Rebooting an LXC container using a hardware watchdog in a virtualization environment like Proxmox VE involves setting up a virtual watchdog device that triggers a container restart or a host reboot when the container becomes unresponsive. While LXC containers typically run in user space, they can be configured with virtual hardware watchdogs that are monitored by the host system.
i6300esb allows the host to monitor the container.RuntimeWatchdogSec in /etc/systemd/system.conf to automatically trigger a reboot if the container's systemd manager freezes.echo c > /proc/sysrq-trigger (assuming the watchdog is properly configured to act on kernel panics).watchdog: model=i6300esb,action=reset to the container configuration file located at /etc/pve/lxc/[VMID].conf.i6300esb) are loaded on the host.dmesg | grep watchdog on the host.softdog kernel module.poweroff or reset (reboot) the container.