User Tools

Site Tools


unraid_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
unraid_notes [2024/12/26 08:54] – mikeunraid_notes [2026/08/25 08:57] (current) – mike
Line 1: Line 1:
 ====== Unraid Information ====== ====== Unraid Information ======
----- 
  
 ==== LetsEncrypt docker - redirect of http to HTTPS ==== ==== LetsEncrypt docker - redirect of http to HTTPS ====
Line 16: Line 15:
     vioserial     vioserial
     viostor     viostor
 +
 +==== Helpful notes from a user group ====
 +I didn't realise snapshotting virtual machines on unRAID was so easy with SSH.
 +
 +After spending too much time over the weekend testing GUI options for KVM management with unRAID and being disappointed, I learnt that it's super easy using SSH if you have configured your VM correctly.
 +Configuration
 +
 +Machine: Q35-6.2
 +
 +BIOS: SeaBIOS (OVMF cannot create snapshots when the VM is running.)
 +
 +Primary vDisk Type: qcow2
 +Commands
 +List Virtual Machines
 +
 +virsh list --all
 +List Snapshots
 +
 +virsh snapshot-list <vm-name>
 +Create Snapshot
 +
 +virsh snapshot-create <vm-name>
 +Create Snapshot With Name
 +
 +virsh snapshot-create-as <vm-name> --name <snapshot-name>
 +Shutdown Virtual Machine
 +
 +virsh shutdown <vm-name>
 +
 +Shutting down the virtual machine before snapshotting is recommended, but not required.
 +Revert Snapshot
 +
 +virsh snapshot-revert <vm-name> <snapshot-name>
 +Delete Snapshot
 +
 +virsh snapshot-delete <vm-name> <snapshot-name>
 +
 +You must delete all snapshots before removing the VM through unRAID as it throws an error and wont let you delete the VM.
 +Snapshot Info
 +
 +virsh snapshot-info <vm-name> <snapshot-name>
 +
 +==== Monitoring Unraid with Prometheus and Grafana ====
 +Reference [[https://www.godwin.org/dokuwiki/lib/exe/fetch.php?media=monitoring_unraid_with_prometheus_and_grafana.pdf|this pdf file]] (the information will be integrated into this page in the future)
 +
 +==== Add Ubuntu Systems to Prometheus/Grafana Monitoring ====
 +On each system where monitoring is desired, install the Prometheus Node Exporter:
 +  sudo apt update
 +  sudo apt install prometheus-node-exporter -y
 +
 +Verify it is running:
 +  sudo systemctl status prometheus-node-exporter
 +
 +Test the metrics (optional):
 +  curl http://localhost:9100/metrics
 +  
 +Update the scrape_configs section in /mnt/user/appdata/prometheus/etc/prometheus.yaml:
 +  scrape_configs:
 +    - job_name: 'node'
 +      static_configs:
 +        - targets: ["localhost:9090"]
 +        - targets: ["192.168.1.xxx:9100"]
 +        - targets: ["192.168.1.xxx:9100"]
 +        - targets: ["192.168.1.xxx:9100"]
 +        - targets: ["192.168.1.xxx:9100"]
 +        - targets: ["192.168.1.xxx:9100"]
 +        - targets: ["192.168.1.xxx:9100"]
 +        - targets: ["192.168.1.xxx:9100"]
 +        - targets: ["192.168.1.xxx:9100"]
 +        - targets: ["192.168.1.xxx:9100"]
 +        - targets: ["192.168.1.xxx:9100"]
 +
 +Restart Prometheus
  
unraid_notes.1735232053.txt.gz · Last modified: by mike

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki