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/04/14 18:58]
val [Удаление ресурсов]
пакет_pacemaker [2020/09/16 15:40]
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 111: Line 114:
  
 node1# crm configure delete gr_ftp_ip pr_ftp pr_ip node1# crm configure delete gr_ftp_ip pr_ftp pr_ip
 +
 +node1# crm resource stop st-ssh
 +
 +node1# crm configure delete st-ssh
 </​code>​ </​code>​
  
Line 116: Line 123:
 <​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