Proxmox: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
| |||
| |||
= Links = | = Links = | ||
Line 10: | Line 10: | ||
*[https://www.zabbix.com/integrations/proxmox Monitoring Proxmox with Zabbix] | *[https://www.zabbix.com/integrations/proxmox Monitoring Proxmox with Zabbix] | ||
*[https://www.proxmox.com/en/proxmox-backup-server Proxmox Backup Server] | *[https://www.proxmox.com/en/proxmox-backup-server Proxmox Backup Server] | ||
*[https://pve.proxmox.com/wiki/Backup_and_Restore Backup and Restore] | *[https://pve.proxmox.com/wiki/Backup_and_Restore Backup and Restore] | ||
| | ||
=Documentation= | = Documentation = | ||
== Directory structure == | == Directory structure == | ||
=== /etc/pve === | |||
===/var/lib/vz=== | === /var/lib/vz === | ||
/var/lib/vz/template/iso | /var/lib/vz/template/iso | ||
| |||
| |||
| |||
=Monitoring proxmox with zabbix= | |||
==https://github.com/takala-jp/zabbix-proxmox== | |||
===FAQ=== | |||
====Proxmox API call failed: Couldn't authenticate user: zabbix@pve==== | |||
= FAQ = | = FAQ = | ||
Line 119: | Line 125: | ||
== TASK ERROR: Can't use string ("keep-all=0,keep-last=3") as a HASH ref while "strict refs" in use at /usr/share/perl5/PVE/VZDump.pm line 502. == | == TASK ERROR: Can't use string ("keep-all=0,keep-last=3") as a HASH ref while "strict refs" in use at /usr/share/perl5/PVE/VZDump.pm line 502. == | ||
Classic, means incorrect syntax in your /etc/pve/storage.cfg | Classic, means incorrect syntax in your /etc/pve/storage.cfg |
Revision as of 09:15, 1 June 2021
Links
- Proxmox VE Administration Guide
- https://pve.proxmox.com/wiki Wiki
- Monitoring Proxmox with Zabbix
- Proxmox Backup Server
- Backup and Restore
Documentation
Directory structure
/etc/pve
/var/lib/vz
/var/lib/vz/template/iso
Monitoring proxmox with zabbix
https://github.com/takala-jp/zabbix-proxmox
FAQ
Proxmox API call failed: Couldn't authenticate user: zabbix@pve
FAQ
switch to community repository
cat /etc/apt/sources.list.d/pve-enterprise.list #deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
apt update
Error: VM quit/powerdown failed - got timeout
qm stop VMID
if that complains about lock, remove the lock and try again
serial console from command line
qm terminal <id}
enable serial console in guest
looks like this is not needed:
systemctl enable serial-getty@ttyS0.service
in /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0 console=tty0"
ttyS0 is for qm terminal, tty0 is for the "console" buttion in UI
- debian based
update-grub
- redhat based
grub2-mkconfig --output=/boot/grub2/grub.cfg
add
serial0: socket
to /etc/pve/qemu-server/[vmid].conf and restart
agetty: /dev/ttyS0: not a device
systemctl status useless again, means the serial bit is missing from <vmid>.conf
TASK ERROR: command 'apt-get update' failed: exit code 100
subtle way of telling you to get subscription of at least change the sources list
Import vmdk to lvm
https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines#_importing_virtual_machines_and_disk_images
Can't apply changes to memory allocation
Maybe try enabling NUMA in CPU settings
Adding hardware shows orange
something is not supported (Options->Hotplug)
"Connection error 401: no ticket"
Login session expired?
can't lock file '/var/lock/qemu-server/lock-102.conf' - got timeout (500)
Maybe someone else has/had webui open
== TASK ERROR: Can't use string ("keep-all=0,keep-last=3") as a HASH ref while "strict refs" in use at /usr/share/perl5/PVE/VZDump.pm line 502. ==
Classic, means incorrect syntax in your /etc/pve/storage.cfg