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 [2020/06/19 17:43]
val [Удаление ресурсов]
пакет_pacemaker [2020/09/16 16:08]
val [Создание ресурсов]
Line 1: Line 1:
 ====== Пакет Pacemaker ====== ====== Пакет Pacemaker ======
  
-  * [[http://​clusterlabs.org/​doc/​en-US/​Pacemaker/​1.1-plugin/​html/​Clusters_from_Scratch/​|Pacemaker 1.1 Clusters from Scratch]] 
   * [[https://​habrahabr.ru/​post/​107837/​|Linux HA на основе Pacemaker]]   * [[https://​habrahabr.ru/​post/​107837/​|Linux HA на основе Pacemaker]]
   * [[http://​wiki.525.su/​doku.php?​id=pacemaker_theory|Pacemaker,​ теория]]   * [[http://​wiki.525.su/​doku.php?​id=pacemaker_theory|Pacemaker,​ теория]]
Line 29: Line 28:
 property no-quorum-policy=ignore property no-quorum-policy=ignore
  
-# pacemaker 2.X, need cross ssh key access+# pacemaker 2.X, need stonith 
 +# попробовать:​ 
 +# primitive st-null stonith:​null params hostlist="​node1 node2"​ 
 +# clone fencing st-null 
 primitive st-ssh stonith:​external/​ssh params hostlist="​node1.corpX.un node2.corpX.un"​ primitive st-ssh stonith:​external/​ssh params hostlist="​node1.corpX.un node2.corpX.un"​
 clone fencing st-ssh clone fencing st-ssh
Line 65: Line 68:
  
 crm(live)configure#​ edit gr_ftp_ip crm(live)configure#​ edit gr_ftp_ip
 +crm(live)configure#​ location cli-prefer-pr_fs_r0 pr_fs_r0 role=Started inf: node1.corp13.un
  
 crm(live)configure#​ show crm(live)configure#​ show
Line 120: Line 124:
 <​code>​ <​code>​
 # crm resource cleanup pr_fs_r0 # crm resource cleanup pr_fs_r0
 +
 +# stonith_admin -c -H node2.corpX.un
  
 pacemaker# crm_resource -C pacemaker# crm_resource -C
пакет_pacemaker.txt · Last modified: 2022/10/25 14:07 by val