Table of Contents
Other notes
Enable/Disable Maintence Mode
#Enable ha-manager crm-command node-maintenance enable myServer #Disable ha-manager crm-command node-maintenance enable myServer
Create empty (dummy) VMs
qm create <new ID> Example: qm create 200
List VMs
qm list
Corosync
Very important to have a low latency connection. A bond would add 100ms per failure, so it would work. It is better to have two separate cluster links.
Windows VirtIO drivers
The Windows VirtIO drivers can be found at: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/ The version to be chosen depends on Windows installation. Older Windows versions need older driver packages.
Windows change disk type from SATA to SCSI
- Before you can change the disk type, the drivers must be installed.
- Add a small SCSI disk and reboot the server.
- Check if there is a triangle in the device manager
- shutdown the server
- detach and remove the small disk
- detach your OS disk
- add your OS disk and change the device type to SCSI
- also change the boot order
Now it should work, that you can boot from your disk attached as SCSI disk. SCSI is normally faster then VirtIO for Windows OS.
Enter a LXC container from the Proxmox shell:
pct enter <container ID> # Example: pct enter 101
Import disk to VM
qm disk import <VM-ID> </path/to/image.qcow2> <storage-name> # Example: qm disk import 103 /mnt/pve/samba/import/Rocky-10-GenericCloud-Base.latest.x86_64.qcow2 zpool
After the import is DONE the this is marked as unused disk at the VM. With an double click it could be added. Also the boot order must be adjusted.
Change the VM ID range
Ceph
Install Ceph per node.
Usage per disk and much more info
ceph osd df tree
Usage of Ceph
ceph df
OSD create on CLI
pveceph osd create /dev/sdX
OT takeaways from the training
https://www.turnkeylinux.org/ → Turnkey applications based on LXC
https://www.olivetin.app/ → Small and simple automater
https://cloudinit.readthedocs.io/en/latest/reference/examples.html → Cloud init examples
https://alerta.io/ → Monitoring - Notification

