nodetool setinterdcstreamthroughput — 데이터센터 간 스트리밍 처리량 설정

nodetool setinterdcstreamthroughput — 데이터센터 간 스트리밍 처리량 설정

이 명령은 데이터센터 간(inter-datacenter) 스트리밍을 위한 처리량 상한을 설정해요. 데이터센터 간 복제나 마이그레이션 시 대역폭을 제한해서 WAN 구간을 과도하게 점유하지 않도록 조절할 때 유용하답니다.

출처: nodetool setinterdcstreamthroughput — 데이터센터 간 스트리밍 처리량 설정

본문

실제 사용 구문은 아래와 같아요. 옵션 설명은 명령의 도움말(usage)을 그대로 옮긴 것이니, 실행 환경에 맞춰 필요한 옵션만 골라 사용하면 됩니다.

NAME
        nodetool setinterdcstreamthroughput - Set the throughput cap for
        inter-datacenter streaming and entire SSTable inter-datacenter streaming
        in the system, or 0 to disable throttling

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>)] setinterdcstreamthroughput
                [(-e | --entire-sstable-throughput)] [(-m | --mib)] [--] <value_in_mb>

OPTIONS
        -e, --entire-sstable-throughput
            Set entire SSTable streaming throughput in MiB/s

        -h <host>, --host <host>
            Node hostname or ip address

        -m, --mib
            Set streaming throughput in MiB/s

        -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

        --
            This option can be used to separate command-line options from the
            list of argument, (useful when arguments might be mistaken for
            command-line options

        <value_in_mb>
            Value in megabits, 0 to disable throttling

더 알아보기 (Learn more)