mirror of https://github.com/apache/cassandra
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
NAME
|
|
nodetool altertopology - Modify the datacenter and/or rack of one or
|
|
more nodes
|
|
|
|
SYNOPSIS
|
|
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
|
|
[(-pw <password> | --password <password>)]
|
|
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
|
|
[(-u <username> | --username <username>)] altertopology [--] <args>
|
|
|
|
OPTIONS
|
|
-h <host>, --host <host>
|
|
Node hostname or ip address
|
|
|
|
-p <port>, --port <port>
|
|
Remote jmx agent 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
|
|
|
|
<args>
|
|
One or more node identifiers, which may be either a node id, host
|
|
id or broadcast address, each with a target dc:rack
|