차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
fencing_history_cleanup [2022/01/19 01:41] – [fencing history cleanup] koovfencing_history_cleanup [2022/01/19 01:44] (현재) – [fencing history cleanup] koov
줄 24: 줄 24:
 그럼에도 불구하고 해당 내용을 없애고 싶은경우 아래와 같이 처리해줄수 있다. 그럼에도 불구하고 해당 내용을 없애고 싶은경우 아래와 같이 처리해줄수 있다.
  
-  * Red Hat Enterprise Linux 7 버전은 pcs 명령어로 초기화가 불가능하며 다른 방법을 사용하여야 한다. 참조: https://access.redhat.com/solutions/4378481 
  
 +==== 로그 조회 ====
 +  * 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
 +</code>
 +</WRAP>
  
- +  RHEL8
-# stonith_admin --cleanup --history "*+
-cleaning up fencing-history for node * +
- +
-==== 로그 조회 ==== +
 ''pcs stonith history [show [<node>]]'' 명령어로 로그 조회 할 수 있다. ''pcs stonith history [show [<node>]]'' 명령어로 로그 조회 할 수 있다.
 <WRAP prewrap> <WRAP prewrap>
줄 58: 줄 58:
  
 ==== 로그 삭제 ==== ==== 로그 삭제 ====
 +  * RHEL7
 +<WRAP prewrap>
 +<code bash>
 +# stonith_admin --cleanup --history "*"
 +cleaning up fencing-history for node *
 +</code>
 +</WRAP>
 +
 +  * RHEL8
 ''pcs stonith history cleanup [<node>]'' 명령어로 로그 삭제 가능하다. ''pcs stonith history cleanup [<node>]'' 명령어로 로그 삭제 가능하다.
  
줄 77: 줄 86:
 ===== 참조링크 ===== ===== 참조링크 =====
   * https://access.redhat.com/solutions/3761361   * https://access.redhat.com/solutions/3761361
 +  * https://access.redhat.com/solutions/4378481
  
  • fencing_history_cleanup.1642556514.txt.gz
  • 마지막으로 수정됨: 2022/01/19 01:41
  • 저자 koov