5
0
mirror of git://git.proxmox.com/git/pve-ha-manager.git synced 2025-01-09 01:18:05 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Thomas Lamprecht
2fb6fcd318 lrm.service: do not timeout on stop
we must shut all services down when stopping the LRM for a host
shutdown, this can take longer than 95 seconds and should not
get interrupted to ensure a gracefull poweroff.

The watchdog is still active untill all services got stopped so we
still are safe from a freeze or equivalent failure.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-10-13 10:37:15 +02:00
Wolfgang Link
2f549281f2 Fix shutdown order of HA and storage services
It is important that all storages stop after pve-ha-lrm.

If the storages stop too early the vm loses disks and can not shutdown.

This can end in fencing the node.
2017-05-03 12:00:03 +02:00
Dietmar Maurer
9c042d0242 pve-ha-lrm.service: depend on lxc.service
lxc.service kills all containers at shutdown. So we need to deppend
on that, so that we can cleanly shutdown our containers.
2016-01-12 12:02:23 +01:00
Dietmar Maurer
6d09288cf9 use Wants instead of Requires inside systemd service definitions
To avoid unnecessary restarts of dependent services.
2015-06-09 09:32:15 +02:00
Dietmar Maurer
f55f4c3224 always start crm and lrm service
Even if there is no resources.cfg. That makes it easier to
enable HA, because we don't need to start services manually.
2015-06-05 10:00:48 +02:00
Dietmar Maurer
af3eccc0b8 lrm: reduce TimeoutStopSec
because systemd waits 2*TimeoutStopSec
2015-04-02 08:47:01 +02:00
Dietmar Maurer
3184ff8fb6 lrm: set systemd killmode to 'process'
We do not want to kill running VMs (for example during software update).
2015-04-02 08:43:28 +02:00
Dietmar Maurer
193d0c892b lrm: fix stop timeout 2015-03-26 10:46:02 +01:00
Dietmar Maurer
622cb56a0a fix service dependencies
So that we can shutdown without triggering the watchdog. It is also
important to depend on syslog.service (else logs gets lost)
2015-03-26 10:21:02 +01:00
Dietmar Maurer
b0bf08a9a9 use systemd condition to avoid daemon startup when ha is disabled 2015-03-13 16:16:06 +01:00
Dietmar Maurer
3d411a6b17 allow to shutdown CRM/LRM 2015-03-12 08:40:58 +01:00
Dietmar Maurer
df5743bdf9 add service description for pve-ha-lrm 2015-03-11 12:06:25 +01:00