Hello.
I need some help with MONITORING_INTERVAL_HOST and HOST_HOOK.
I’m testing host_hook when one of my kvm-node is down.
I stop a libvirtd service and want that my VMs migrate to another kvm-node.
When i stop the libvirtd service my VMs go to the state: POWEROFF and after some time in the logs i see a massage that my KVM-node not available and then only hook started.
In the version 5.10 when one kvm-node was not avaliable, VMs at once migrate to another kvm-node, but in the version 5.12 host_hook works differently.
How can decide the problem and monitoring state my kvm-node every minute or more often?
Hello,
Did you check the monitord configuration variables in /etc/one/monitord.conf?
Best Regards,
Anton Todorov
Thank you for your reply.
I found MONITORING_INTERVAL in this configuration file.
Then i have one question where can i set interval to start a host_hook?
You should take a look at the Avoid Trensient("-p") argument in the host hook configuration on host failure
Best Regards,
Anton Todorov
Thank you so much