차이

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

차이 보기로 링크

다음 판
이전 판
fencing_history_cleanup [2022/01/19 01:40] – 만듦 koovfencing_history_cleanup [2022/01/19 01:44] (현재) – [fencing history cleanup] koov
줄 24: 줄 24:
 그럼에도 불구하고 해당 내용을 없애고 싶은경우 아래와 같이 처리해줄수 있다. 그럼에도 불구하고 해당 내용을 없애고 싶은경우 아래와 같이 처리해줄수 있다.
  
-  * Red Hat Enterprise Linux 7 버전은 해당 로그를 초기화 시키는 방법을 제공하지 않는다. 
  
 ==== 로그 조회 ==== ==== 로그 조회 ====
 +  * RHEL7
 +<WRAP prewrap>
 +<code bash>
 +# stonith_admin --verbose --history "*"
 +stonith_admin at node1 wishes to reboot node node1 - 1 0
 +stonith_admin at node1 wishes to reboot node node2 - 1 0
 +</code>
 +</WRAP>
  
 +  * RHEL8
 ''pcs stonith history [show [<node>]]'' 명령어로 로그 조회 할 수 있다. ''pcs stonith history [show [<node>]]'' 명령어로 로그 조회 할 수 있다.
 <WRAP prewrap> <WRAP prewrap>
줄 50: 줄 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>]'' 명령어로 로그 삭제 가능하다.
  
줄 69: 줄 86:
 ===== 참조링크 ===== ===== 참조링크 =====
   * https://access.redhat.com/solutions/3761361   * https://access.redhat.com/solutions/3761361
 +  * https://access.redhat.com/solutions/4378481
  
  • fencing_history_cleanup.1642556431.txt.gz
  • 마지막으로 수정됨: 2022/01/19 01:40
  • 저자 koov