9 Mart 2022 Çarşamba

Linux cluster - fence hatalarını temizlemek

 Linux clusterda fence ile ilgili aksaklıkları temizlemek için 

# pcs stonith history cleanup resource-name

veya tüm hataları temizlemek için

# pcs stonith history cleanup

[root@pgsql-01 ~]# pcs stonith history cleanup
cleaning up fencing-history for node *
[root@pgsql-01 ~]# 

[root@pgsql-02 ~]# pcs stonith cleanup fence_pgsql01
Cleaned up fence_pgsql01 on pgsql-02
Cleaned up fence_pgsql01 on pgsql-01
[root@pgsql-02 ~]#

 


 

stonith servisi durmus (stopped) ise  refresh ile yeniden baslatabiliriz.

# pcs resource refresh  stonith_name

 

Aksaklik oldugunda,  pacamaker 10 sefer  (var sayilan olarak) baslatmayı dener.

Bu süre içinde failed durumundadır. 10 seferde başlatılamazsa, stopped durumuna düşer. Bu aşamada elle müdahale gerekir.


# pcs property config --all |grep -i ston
 stonith-action: reboot
 stonith-enabled: true
 stonith-max-attempts: 10
 stonith-timeout: 60s
 stonith-watchdog-timeout: 0
#
 



Hiç yorum yok:

Yorum Gönder

Büyük hacimli diskleri niye 512 sector ile kullanalım 4096 byte lık sector kullanabilirken !

 Günümüzde güncel linux dağıtımlarının hepsi 4096byte sector ile sorunsuz çalışmaktadır.  Yukarıda görüldüğü gibi diskler 512/4096 byte şekl...