카테고리 없음
[Command]Pacemaker 기본 명령어
중랑거북이
2021. 1. 7. 09:52
[상태 조회명령어]
- 설정 조회
# pcs config
- 클러스터 서비스 정상여부 조회
# pcs cluster status
- 리소스 조회
# pcs resource show [resource_id]
- 펜싱(Stonith) 조회
# pcs stonith show
[클러스터 시작명령어]
- 시작
# pcs cluster start [node명]
- 중지
# pcs cluster stop [node명]
- 클러스터 대기 모드
# pcs standby [node 명]
- 클러스터 대기모드 비활성화
# pcs unstandby [node명]
[클러스터 리소스 명령어]
- 리소스 이동
# pcs resource move [resource_id] [destination node명]
- 리소스 재배치
# pcs resource relocate run [resource1] [reousrce2]
728x90