Description
If I set alternate addresses for 3 of the 4 hosts in my cluster and then I use setting-alternate-address to list the configuration, it's not clear which alternate address maps to which node. Yes, this is a bad idea on the part of the user, but we should at least be clear.
E.g.
$ install/bin/couchbase-cli server-list -c localhost:9000 -u Administrator -p asdasd
|
n_0@127.0.0.1 [::1]:9000 healthy active
|
n_1@127.0.0.1 [::1]:9001 healthy active
|
n_2@127.0.0.1 [::1]:9002 healthy active
|
n_3@127.0.0.1 [::1]:9003 healthy active
|
$ install/bin/couchbase-cli setting-alternate-address -c localhost:9000 -u Administrator -p asdasd --list | jq .
|
[
|
{
|
"hostname": "192.168.1.208",
|
"ports": {
|
"mgmt": 9000,
|
"kv": 12000
|
}
|
},
|
{
|
"hostname": "10.100.172.89",
|
"ports": {
|
"mgmt": 9001,
|
"mgmtSSL": 19001,
|
"kv": 12002,
|
"kvSSL": 11994,
|
"capi": 9501,
|
"capiSSL": 19501,
|
"projector": 10001
|
}
|
},
|
{
|
"hostname": "192.168.1.208",
|
"ports": {
|
"mgmt": 9003
|
}
|
}
|
]
|
Attachments
Issue Links
- duplicates
-
MB-35235 CLI: setting-alternate-address is non-intuitive
- Closed