notes:proxmox
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:proxmox [2024/04/04 06:16] – Nikita Kipriyanov | notes:proxmox [2024/06/26 06:33] (current) – [ECC error notifications] Nikita Kipriyanov | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Proxmox virtualization cluster ====== | ====== Proxmox virtualization cluster ====== | ||
| + | * LXC images collection: http:// | ||
| + | |||
| ===== Storage ===== | ===== Storage ===== | ||
| ===== Network structure ===== | ===== Network structure ===== | ||
| Line 39: | Line 41: | ||
| Other COM port is used with another speed here, just for illustration. Notice also, instead of separate '' | Other COM port is used with another speed here, just for illustration. Notice also, instead of separate '' | ||
| + | |||
| + | ==== Fast reboots with kexec ==== | ||
| + | FIXME this needs more work | ||
| + | * https:// | ||
| + | * https:// | ||
| ==== Time sync ==== | ==== Time sync ==== | ||
| Line 48: | Line 55: | ||
| chronyc reload sources | chronyc reload sources | ||
| </ | </ | ||
| + | |||
| + | ==== ECC error notifications ==== | ||
| + | |||
| + | Install `rasdaemon` utility to receive reports from hardware via EDAC interface and get them into logs. | ||
| + | |||
| + | See [[https:// | ||
| ==== Backup ==== | ==== Backup ==== | ||
| Line 59: | Line 72: | ||
| '' | '' | ||
| + | |||
| + | **Note:** it's possible to [[https:// | ||
| + | < | ||
| + | proxmox-backup-debug inspect file / | ||
| + | dd if=/ | ||
| + | </ | ||
| === Node backup === | === Node backup === | ||
| - | Hosts may need backup, too. Theoretically we need " | + | Hosts may need backup, too. Theoretically we need " |
| It is useful to create a simple shell script and run it, say, mounthly: | It is useful to create a simple shell script and run it, say, mounthly: | ||
| Line 70: | Line 89: | ||
| export PBS_REPOSITORY=< | export PBS_REPOSITORY=< | ||
| export PBS_PASSWORD=< | export PBS_PASSWORD=< | ||
| + | |||
| + | NS=< | ||
| + | NOTES=$(hostname -f) | ||
| + | |||
| + | TMP=$(mktemp -d -p /dev/shm) | ||
| if mountpoint -q / | if mountpoint -q / | ||
| then | then | ||
| # for modern UEFI boot | # for modern UEFI boot | ||
| - | proxmox-backup-client backup --ns < | + | proxmox-backup-client backup --ns ${NS} root.pxar:/ pve.pxar:/ |
| else | else | ||
| # for legacy BIOS boot | # for legacy BIOS boot | ||
| - | proxmox-backup-client backup --ns < | + | proxmox-backup-client backup --ns ${NS} root.pxar:/ pve.pxar:/ |
| fi | fi | ||
| + | |||
| + | SNAPSHOT=$(grep " | ||
| + | proxmox-backup-client snapshot upload-log --ns ${NS} ${SNAPSHOT} ${TMP}/ | ||
| + | rm -rf ${TMP} | ||
| + | proxmox-backup-client snapshot notes update --ns ${NS} ${SNAPSHOT} ${NOTES} | ||
| </ | </ | ||
notes/proxmox.1712211404.txt.gz · Last modified: by Nikita Kipriyanov
