bootstrap — 부트스트랩 프로세스 모니터링·관리
bootstrap — 부트스트랩 프로세스 모니터링·관리
nodetool bootstrap 명령은 새 노드가 클러스터에 합류할 때 데이터를 스트리밍받는 부트스트랩(bootstrap) 과정을 모니터링하고 관리하는 명령이에요. 중단된 부트스트랩 스트리밍을 재개하는 데도 쓰여요.
본문
bootstrap은 노드의 부트스트랩 진행 상태를 확인하거나, 일시 중단된 부트스트랩 스트리밍을 resume 하위 명령으로 재개하는 데 사용해요. 아래는 완전한 사용법이에요.
NAME
nodetool bootstrap - Monitor/manage node's bootstrap process
SYNOPSIS
nodetool bootstrap
nodetool
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
[(-p <port> | --port <port>)] [(-pp | --print-port)]
[(-h <host> | --host <host>)] [(-u <username> | --username <username>)]
[(-pw <password> | --password <password>)] bootstrap resume
[(-f | --force)]
OPTIONS
-h <host>, --host <host>
Node hostname or ip address
-p <port>, --port <port>
Remote jmx agent port number
-pp, --print-port
Operate in 4.0 mode with hosts disambiguated by port number
-pw <password>, --password <password>
Remote jmx agent password
-pwf <passwordFilePath>, --password-file <passwordFilePath>
Path to the JMX password file
-u <username>, --username <username>
Remote jmx agent username
COMMANDS
With no arguments, Display help information
resume
Resume bootstrap streaming
With --force option, Use --force to resume bootstrap regardless of
cassandra.reset_bootstrap_progress environment variable. WARNING:
This is potentially dangerous, see CASSANDRA-17679
인자 없이 실행하면 도움말을 보여주고, resume 하위 명령으로 중단된 부트스트랩 스트리밍을 이어서 재개해요. --force 옵션을 쓰면 cassandra.reset_bootstrap_progress 환경 변수 설정과 무관하게 부트스트랩을 재개하는데, 이는 잠재적으로 위험하니 주의해야 해요(CASSANDRA-17679 참고).
더 알아보기 (Learn more)
- nodetool decommission — 노드 축출
- 탐색: 노드 부트스트랩 — 토폴로지 변경과 부트스트랩