Does the "mon-host" configuration need to be exactly the same as the one in ceph.conf? #1049
Unanswered
dennis9352
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried connecting to a remote Ceph-mon server that is not in the same network, but it did not proceed from
rados.conn.Connect()
. Then, I tried running it from a server in the same network, and it worked.If I need to use a proxy in the middle, the mon-host will change, so is there a way to separately configure the address to connect to ceph-mon and the mon-host setting in
ceph.conf
? To illustrate the situation I tested:192.168.0.60 (my computer) -> 192.168.0.240:3300 -> 172.168.0.230:3300 (ceph)
In this case, I would have to set the
mon-host
to192.168.0.240:3300
, which wouldn't match theceph.conf
.However, if I set it to
172.168.0.231 -> 172.168.0.230:3300 (ceph)
, it seems to match theceph.conf
and the connection works. Is there an option to separate these configurations? Or is there a configuration mistake I might have made?Beta Was this translation helpful? Give feedback.
All reactions