Everything posted by SimonF
-
I would like to script a backup of a running VM that can never be turned off. Is this a workable strategy?
I dont have a secure boot machine to test. You may need to take a copy of the nvram in /etc/libvirt/qemu/nvram/ file name uses UUID as part of the name rather than VM. I have started looking at VM Backups that may be included in future releases. This is test code where it takes disks for a non running machine and create a tar file. For running VMs I plan to snapshot and save then commit changes. Also will be a different process if snapshots exist to create a new image from the backing file chain. So this option is ShutdownNS(No Snapshots) $vm = $argoptions['vm']; $backupName= "B" . date("YmdHis"); $backup = "shutdownNS"; $backup = $argoptions['type']; echo "VMBackup $backup\n"; switch($backup) { case "shutdownNS": $disks =$lv->get_disk_stats($vm) ; $cdrom = $lv->get_cdrom_stats($vm) ; #var_dump($disks,$cdrom); file_put_contents("/tmp/filelist","/tmp/filelist\n"); foreach ($disks as $disk) { echo "{$disk['device']} {$disk['file']}\n"; if (isset($disk['file'])) file_put_contents("/tmp/filelist","{$disk['file']}\n",FILE_APPEND); echo "{$disk['device']} {$disk['partition']}\n"; if (isset($disk['partition'])) file_put_contents("/tmp/filelist","{$disk['partition']}\n",FILE_APPEND); } if (is_file("/etc/libvirt/qemu/$vm.xml")) file_put_contents("/tmp/filelist","/etc/libvirt/qemu/$vm.xml\n",FILE_APPEND); $dom = $lv->get_domain_by_name($vm); $uuid = $lv->domain_get_uuid($dom); echo "UUID $uuid\n"; file_put_contents("/tmp/filelist","/etc/libvirt/qemu/nvram/{$uuid}_VARS-pure-efi.fd\n",FILE_APPEND); #file_put_contents("/tmp/filelist","/tmp/filelist\n",FILE_APPEND); shell_exec("tar -cvf - -T /tmp/filelist | pv -ptre -s $(du -bc $(cat filelist.txt) | grep total | awk '{print $1}') | zstd -o /mnt/user/VMbackup/\"$backupName\".tar.zst"); Other options will be. case "shutdownWS": #qemu-img info vdisk1.S20240929191534qcow2 | grep backing /* # qemu-img convert -O raw root@computenode:/mnt/user/domains2/EncDebian# qemu-img convert -f qcow2 -O raw vdisk1.S20240928215938qcow2 vdisk1.bu root@computenode:/mnt/user/domains2/EncDebian# ls -l total 104016275 -rw-r--r-- 1 root root 770834432 Sep 28 22:02 vdisk1.S20240928215938qcow2 -rw-r--r-- 1 root root 53687091200 Sep 28 22:04 vdisk1.bu -rwxrwxrwx 1 root users 53687091200 Sep 28 20:21 vdisk1.img* root@computenode:/mnt/user/domains2/EncDebian# */ break; case "activeNS": break; case "activeWS": break; case "Full": break; shutdown With active nosnaps Active With Full
-
[PLUGIN] IPMI for 6.11+
Happy to change what do you want it to say.
-
[PLUGIN] IPMI for 6.11+
What motherboard do you the plugin does not have support for all platforms.
-
[PLUGIN] IPMI for 6.11+
The plugin does not use ipmitool it uses freeimpi the commands are different https://www.gnu.org/software/freeipmi/manpages/man7/freeipmi.7.html
-
I would like to script a backup of a running VM that can never be turned off. Is this a workable strategy?
Do you have the guest agent installed, if so you may want to freeze the guest using --quiesce, As the VM is running will there be anything cached in ram that is not written to disk? As part of the v7 options I can copy the memory also. What is the guest OS.
-
Critical Security Vulnerabilies Discovered
The patch plugin will/could be used for other patches in the future, There are no any patches for the latest versions as the changes are included in the install package.
-
[PLUGIN] IPMI for 6.11+
Have you looked at the freeimpi commands to see if you can replace IPMI tool. I could look at options as we have added disk spindown secondary temp. Which motherboard are you using?
-
[PLUGIN] IPMI for 6.11+
I think the problem is finding a compatible package to put into extras. Ones I have found don't support the correct libraries in Unraid.
-
[PLUGIN] IPMI for 6.11+
It does look like ILO support IPMI. https://support.hpe.com/hpesc/public/docDisplay?docId=c04530505&docLocale=en_US Have you tried installing to see if the sensors populate in the GUI without enabling the network part. Fan control will not work as there is not any settings for HP currently. Could be added if IPMI command strings can be founded and tested.
-
Unraid OS version 7.0.0 available
I have a plugin that supports hot pluging via the VM tab or you can do dynamic by setting mapping. USB Manager.
-
CPU isolation reboot message
Can you change this in the syslinx label Unraid OS GUI Mode kernel /bzimage append isolcpus=11-15,27-31 initrd=/bzroot,/bzroot-gui label Unraid OS GUI Mode kernel /bzimage append initrd=/bzroot,/bzroot-gui isolcpus=11-15,27-31 To see if that makes a difference.
-
[PLUGIN] IPMI for 6.11+
I think idrac needs lanplus which is version 2.
-
[PLUGIN] IPMI for 6.11+
-
[PLUGIN] IPMI for 6.11+
It installed Package freeipmi-1.6.6-x86_64-1.txz installed other version is for different OS vers.
-
[PLUGIN] IPMI for 6.11+
Yeah found them will look to fix.
-
[PLUGIN] IPMI for 6.11+
Will look into it.
-
[PLUGIN] IPMI for 6.11+
Is that with the latest?
-
[PLUGIN] IPMI for 6.11+
They have add the degrees symbol for the gui, Will add a change to strip out the html from the log.
-
[PLUGIN] IPMI for 6.11+
Thanks will look into it.
-
[PLUGIN] IPMI for 6.11+
Release 2025.01.21
-
CPU isolation reboot message
I have run the code with values you provided and should not show up. cat you cat /tmp/reboot_notifications
-
[PLUGIN] GPU Statistics
Looks like the card has the coorect driver but logs are spammed with messages so difficult to see what is going on. I cannot see any i915 messages. Can you provide diags follow a fresh reboot.
-
[PLUGIN] LCD_Manager
I can look at your commits on your repo and copy them across if that is easier.
-
Wanted to store my new post as draft, so used "Hide topic" but now i cant find it.
Done
-
[PLUGIN] LCD_Manager
Feel free to create a PR and I will merge into the code and create a new package. @Miss_SissyBeta is just a flag so I can remove that. Plan at some point is to create a Unraid specific client but have been working on other projects i.e. Vers 7.