Hi all.
Without waste your time with my Proxmox version and configuration, I have a very little and simple question:
can I condition and program a startup of a kvm' virtual machine by a script, combining two or more events?!
That is, I have a VM Win2k3 srv which I set to start at the boot so it can run just after a crash of the Supervisor. But its virtual disk is stored on an i-node of an iscsi (QNAP) connected to the Host and when they (Host and QNAP) face against a power-failure, Proxmox restart this VM always before a complete boot of the QNAP. Obviously, this leads to an issue because the VM doesn't find its disk. And this becomes a big problem if it happens during a week-end.
So, coming back to my question: is there a way to run a script at the QEMU-KVM's VM startup so I can drives the startup of this Virtual Machine, making it wait the completly boot of the QNAP?!
B. Regards
PS: sorry for my ... english.
Without waste your time with my Proxmox version and configuration, I have a very little and simple question:
can I condition and program a startup of a kvm' virtual machine by a script, combining two or more events?!
That is, I have a VM Win2k3 srv which I set to start at the boot so it can run just after a crash of the Supervisor. But its virtual disk is stored on an i-node of an iscsi (QNAP) connected to the Host and when they (Host and QNAP) face against a power-failure, Proxmox restart this VM always before a complete boot of the QNAP. Obviously, this leads to an issue because the VM doesn't find its disk. And this becomes a big problem if it happens during a week-end.
So, coming back to my question: is there a way to run a script at the QEMU-KVM's VM startup so I can drives the startup of this Virtual Machine, making it wait the completly boot of the QNAP?!
B. Regards
PS: sorry for my ... english.