mirror of https://github.com/apache/cloudstack.git
Per @weizhouapache's review on #13090, kvmsmpheartbeat.sh was still hard-coding the immediate-reboot fence action (echo b > /proc/sysrq-trigger) while kvmheartbeat.sh and kvmspheartbeat.sh delegate to kvmha-fence.sh. Source kvmha-fence.sh and call fence_action so this script picks up the same hard-reboot / graceful-reboot / restart-agent / log-only / custom behaviour from agent.properties. Default behaviour (no property set) remains hard-reboot via sysrq-trigger, so existing deployments are unaffected. |
||
|---|---|---|
| .. | ||
| imageserver | ||
| gpudiscovery.sh | ||
| kvmha-fence.sh | ||
| kvmheartbeat.sh | ||
| kvmsmpheartbeat.sh | ||
| kvmspheartbeat.sh | ||
| kvmvmactivity.sh | ||
| nasbackup.sh | ||
| nsrkvmbackup.sh | ||
| nsrkvmrestore.sh | ||
| patch.sh | ||
| setup_agent.sh | ||