This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
пакет_pacemaker [2022/05/24 14:26] val [Управление конфигурацией] |
пакет_pacemaker [2025/04/06 11:12] (current) val [Пакет Pacemaker] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Пакет Pacemaker ====== | ====== Пакет Pacemaker ====== | ||
+ | |||
+ | * [[https://youtu.be/U-LOU6dkBqs|Отказоустойчивая конфигурация на примере Asterisk]] | ||
* [[https://habrahabr.ru/post/107837/|Linux HA на основе Pacemaker]] | * [[https://habrahabr.ru/post/107837/|Linux HA на основе Pacemaker]] | ||
+ | * [[https://habr.com/ru/companies/postgrespro/articles/359230/|Кластер pacemaker/corosync без валидола Postgres Professional]] | ||
* [[http://wiki.525.su/doku.php?id=pacemaker_theory|Pacemaker, теория]] | * [[http://wiki.525.su/doku.php?id=pacemaker_theory|Pacemaker, теория]] | ||
* [[https://wiki.clusterlabs.org/wiki/Example_configurations|Example configurations]] | * [[https://wiki.clusterlabs.org/wiki/Example_configurations|Example configurations]] | ||
Line 26: | Line 29: | ||
node1# crm configure | node1# crm configure | ||
</code><code> | </code><code> | ||
- | property dc-deadtime=120 # Для уменьшения вероятности split-brain | + | property dc-deadtime=120 # Для уменьшения вероятности split-brain (НЕ помогает) |
property no-quorum-policy=ignore | property no-quorum-policy=ignore | ||
Line 70: | Line 73: | ||
crm(live)configure# primitive pr_ip ocf:heartbeat:IPaddr2 params ip=192.168.X.10 cidr_netmask=32 nic=eth0 | crm(live)configure# primitive pr_ip ocf:heartbeat:IPaddr2 params ip=192.168.X.10 cidr_netmask=32 nic=eth0 | ||
crm(live)configure# group gr_ftp_ip pr_ftp pr_ip | crm(live)configure# group gr_ftp_ip pr_ftp pr_ip | ||
+ | |||
+ | node1# export EDITOR=nano | ||
+ | |||
+ | crm(live)configure# edit pr_ip | ||
crm(live)configure# edit gr_ftp_ip | crm(live)configure# edit gr_ftp_ip |