disablegossip — 고시프 비활성화

disablegossip — 고시프 비활성화

nodetool disablegossip 명령은 고시프(gossip)를 비활성화하는 명령이에요. 사실상 노드를 다운(down) 상태로 표시해요.

출처: nodetool disablegossip

본문

disablegossip은 노드의 고시프 통신을 끊어 다른 노드들이 이 노드를 내려간 것처럼 인식하게 하는 명령이에요. 유지보수로 노드를 잠시 클러스터 관점에서 격리하고 싶을 때 써요. 아래는 완전한 사용법이에요.

NAME
        nodetool disablegossip - Disable gossip (effectively marking the node
        down)

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>)] disablegossip

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

더 알아보기 (Learn more)