User Tools

Site Tools


пакет_pacemaker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
пакет_pacemaker [2022/02/05 09:41]
val [Запуск после монтирования файловых систем]
пакет_pacemaker [2022/03/17 12:28]
val [Создание ресурсов]
Line 31: Line 31:
 primitive st-null stonith:​null params hostlist="​node1 node2" primitive st-null stonith:​null params hostlist="​node1 node2"
 clone fencing st-null clone fencing st-null
 +
 +op timeout=240s ​ #Для долго стартующих ресурсов
  
 show show
Line 57: Line 59:
  
 node1# less /​usr/​lib/​ocf/​resource.d/​heartbeat/​IPaddr2 node1# less /​usr/​lib/​ocf/​resource.d/​heartbeat/​IPaddr2
 +
 +node1# OCF_ROOT=/​usr/​lib/​ocf OCF_RESKEY_ip=192.168.X.10 OCF_RESKEY_nic=eth0 OCF_RESKEY_cidr_netmask=24 /​usr/​lib/​ocf/​resource.d/​heartbeat/​IPaddr2 start
 +
 +node1# OCF_ROOT=/​usr/​lib/​ocf OCF_RESKEY_ip=192.168.X.10 OCF_RESKEY_nic=eth0 OCF_RESKEY_cidr_netmask=24 /​usr/​lib/​ocf/​resource.d/​heartbeat/​IPaddr2 stop
  
 node1# crm configure ​ node1# crm configure ​
пакет_pacemaker.txt · Last modified: 2022/10/25 14:07 by val