차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
fencing_history_cleanup [2022/01/19 01:41] – [fencing history cleanup] koov | fencing_history_cleanup [2022/01/19 01:44] (현재) – [fencing history cleanup] koov | ||
---|---|---|---|
줄 24: | 줄 24: | ||
그럼에도 불구하고 해당 내용을 없애고 싶은경우 아래와 같이 처리해줄수 있다. | 그럼에도 불구하고 해당 내용을 없애고 싶은경우 아래와 같이 처리해줄수 있다. | ||
- | * Red Hat Enterprise Linux 7 버전은 pcs 명령어로 초기화가 불가능하며 다른 방법을 사용하여야 한다. 참조: https:// | ||
+ | ==== 로그 조회 ==== | ||
+ | * RHEL7 | ||
+ | <WRAP prewrap> | ||
+ | <code bash> | ||
# stonith_admin --verbose --history " | # stonith_admin --verbose --history " | ||
stonith_admin at node1 wishes to reboot node node1 - 1 0 | stonith_admin at node1 wishes to reboot node node1 - 1 0 | ||
stonith_admin at node1 wishes to reboot node node2 - 1 0 | stonith_admin at node1 wishes to reboot node node2 - 1 0 | ||
+ | </ | ||
+ | </ | ||
- | + | | |
- | # stonith_admin --cleanup --history "*" | + | |
- | cleaning up fencing-history for node * | + | |
- | + | ||
- | ==== 로그 조회 ==== | + | |
'' | '' | ||
<WRAP prewrap> | <WRAP prewrap> | ||
줄 58: | 줄 58: | ||
==== 로그 삭제 ==== | ==== 로그 삭제 ==== | ||
+ | * RHEL7 | ||
+ | <WRAP prewrap> | ||
+ | <code bash> | ||
+ | # stonith_admin --cleanup --history " | ||
+ | cleaning up fencing-history for node * | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | * RHEL8 | ||
'' | '' | ||
줄 77: | 줄 86: | ||
===== 참조링크 ===== | ===== 참조링크 ===== | ||
* https:// | * https:// | ||
+ | * https:// | ||