联系方式
关于我
-
乱七八糟的记录。
给我发邮件: admin@thris.me
那年今日
17 月前
ipmitool -I lan -U ADMIN -H 10.0.0.4 sensor thresh FAN1 lower 150 225 300Replacing:ADMIN with the IPMI username10.0.0.4 with your own IPMI addressFAN1 with the desired FAN (FANA, FAN1, FAN2, FAN3, FAN4)150 with the lower non-recoverable value225 with the lower critical value300 with the lower non-critical value
https://forum.proxmox.com/threads/feature-request-hibernate-vms-on-pve-host-reboot.65529/post-452817
让 PVE 在关机的时候 hibernat 容器,而不是直接停止,看评论说是在 roadmap 上了,但是目前还没看到。
Hi,
Here is my solution to hibernate all VMs at reboot or shutdown !
It works for me. Thanks to @davidand for his script example :)
Go in proxmox shell, you need to be root !
vi /etc/init.d/proxmox
Add this :
Bash:
chmod 755 /etc/init.d/proxmox
ln -s /etc/init.d/proxmox /etc/rc3.d/S99proxmox
ln -s /etc/init.d/proxmox /etc/rc0.d/K99proxmox
ln -s /etc/init.d/proxmox /etc/rc6.d/K99proxmox
systemctl daemon-reload
systemctl start proxmox
Don't forget to add autostart option in proxmox to the VMs that have to boot on start.
Enjoy ! :)
You can reboot or shutown your server from :