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

ansible ile yerel quay sunucusu üzerinden execution environment kullanımı

 Yerel quay veya registry sunucularımızdaki ee leri ansible ile kullanabiliyoruz. Bunun için kendi yaptığımız ee leri veya hazır ee leri yük...