GabrielBrascher commented on a change in pull request #4978:
URL: https://github.com/apache/cloudstack/pull/4978#discussion_r640094589
##########
File path:
plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/kvm/ha/KVMHAConfig.java
##########
@@ -53,4 +53,17 @@
public static final ConfigKey<Long> KvmHAFenceTimeout = new
ConfigKey<>("Advanced", Long.class, "kvm.ha.fence.timeout", "60",
"The maximum length of time, in seconds, expected for a fence
operation to complete.", true, ConfigKey.Scope.Cluster);
+ public static final ConfigKey<Integer> KvmHaWebservicePort = new
ConfigKey<Integer>("Advanced", Integer.class, "kvm.ha.webservice.port", "8080",
+ "It sets the port used to communicate with the KVM HA Agent
Microservice that is running on KVM nodes. Default value is 8080.",
+ true, ConfigKey.Scope.Cluster);
+
+ public static final ConfigKey<Boolean> IsKvmHaWebserviceEnabled = new
ConfigKey<Boolean>("Advanced", Boolean.class, "kvm.ha.webservice.enabled",
"false",
+ "The KVM HA Webservice is executed on the KVM node and checks the
amount of VMs running via libvirt. It serves as a HA health-check for KVM
nodes. "
+ + "One can enable (set to 'true') or disable it ('false').
If disabled then CloudStack ignores HA validation via this agent.",
+ true, ConfigKey.Scope.Cluster);
+
+ public static final ConfigKey<Double> KvmHaAcceptedProblematicHostsRatio =
new ConfigKey<Double>("Advanced", Double.class,
"kvm.ha.accepted.problematic.hosts.ratio", "0.3",
+ "The ratio of problematic Hosts accepted on a Cluster. If a
cluster has more than the accepted ratio, HA will not be Fence/Recover Hosts
and Admins will be notified to check the cluster healthy. "
Review comment:
```suggestion
"The ratio of problematic Hosts accepted on a Cluster. If a
cluster has more than the accepted ratio, HA will not Fence/Recover Hosts;
instead, it will notify Admins to check the cluster healthy. "
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]