disablebinary — 네이티브 트랜스포트 비활성화
disablebinary — 네이티브 트랜스포트 비활성화
nodetool disablebinary 명령은 네이티브 트랜스포트(native transport, 바이너리 프로토콜)를 비활성화하는 명령이에요.
본문
disablebinary는 클라이언트가 접속하는 네이티브 CQL 바이너리 프로토콜 포트를 닫아 새 연결을 막는 명령이에요. 유지보수 중에 새 클라이언트 연결을 차단하고 싶을 때 유용해요. 아래는 완전한 사용법이에요.
NAME
nodetool disablebinary - Disable native transport (binary protocol)
SYNOPSIS
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
[(-pp | --print-port)] [(-pw <password> | --password <password>)]
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
[(-u <username> | --username <username>)] disablebinary [(-f | --force)]
OPTIONS
-f, --force
Use -f to interrupt client requests that have already started
-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
-f/--force 옵션은 이미 시작된 클라이언트 요청까지 중단시켜요.
더 알아보기 (Learn more)
- nodetool enablebinary — 네이티브 트랜스포트 활성화
- cqlsh — CQL 셸 사용