GitHub user slavkap added a comment to the discussion: KVMHAMonitor getting 
initialized without host ha enabled

Hi all, 
KVMHAMonitor is initialized when the agent host is started (without knowing if 
HA is enabled/disabled). It is used either when Host HA is enabled to check the 
host. If there is a primary storage that supports Host HA (even if the HA is 
disabled) and some issue with the storage the script 
`kvmheartbeat.sh/kvmspheartbeat.sh` will be executed.
Probably the fastest and easiest solution before a redesign we should set the 
agent property 
[reboot.host.and.alert.management.on.heartbeat.timeout](https://github.com/apache/cloudstack/blob/3fd5680d9a1a6591e9aa209abc44e3b40a3d9e54/agent/src/main/java/com/cloud/agent/properties/AgentProperties.java#L561)
 to be disabled by default.


GitHub link: 
https://github.com/apache/cloudstack/discussions/8953#discussioncomment-9174432

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to