Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class KVMHABase {
protected long _heartBeatUpdateTimeout = 60000;
protected long _heartBeatUpdateFreq = 60000;
protected long _heartBeatUpdateMaxTries = 5;
protected long _heartBeatUpdateRetrySleep = 15000;
protected long _heartBeatUpdateRetrySleep = 10000;

public static enum PoolType {
PrimaryStorage, SecondaryStorage
Expand Down
4 changes: 2 additions & 2 deletions 4 scripts/vm/hypervisor/kvm/kvmheartbeat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ then
exit 0
elif [ "$cflag" == "1" ]
then
/usr/bin/logger -t heartbeat "kvmheartbeat.sh stopped cloudstack-agent because it was unable to write the heartbeat to the storage."
/usr/bin/logger -t heartbeat "kvmheartbeat.sh will reboot system because it was unable to write the heartbeat to the storage."
sync &
sleep 5
service cloudstack-agent stop
echo b > /proc/sysrq-trigger
exit $?
else
write_hbLog
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.