This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
пакет_pacemaker [2022/02/08 12:09] val [Создание ресурсов] |
пакет_pacemaker [2022/02/10 11:02] 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 58: | Line 60: | ||
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.13.10 OCF_RESKEY_nic=eth0 OCF_RESKEY_cidr_netmask=255.255.255.0 /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=255.255.255.0 /usr/lib/ocf/resource.d/heartbeat/IPaddr2 start |
- | node1# OCF_ROOT=/usr/lib/ocf OCF_RESKEY_ip=192.168.13.10 OCF_RESKEY_nic=eth0 OCF_RESKEY_cidr_netmask=255.255.255.0 /usr/lib/ocf/resource.d/heartbeat/IPaddr2 stop | + | node1# OCF_ROOT=/usr/lib/ocf OCF_RESKEY_ip=192.168.X.10 OCF_RESKEY_nic=eth0 OCF_RESKEY_cidr_netmask=255.255.255.0 /usr/lib/ocf/resource.d/heartbeat/IPaddr2 stop |
node1# crm configure | node1# crm configure |