Project

General

Profile

Actions

Documentation #46279

open

various matters related to ceph mon and orch cephadm -- this is several issues

Added by Zac Dover almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

<andyg5> Hi, I am trying to move the MONitors over tothe public network, and I'm not sure how to do it. I have setup the public network (bond1). Do I just update ceph.conf to use the bond1 network, do I need to reboot ?
<andyg5> Im on Octopus uwing Cephadm
<SebastianW> andyg5: would it work for you to deploy new MONs with the new network config?
  • Salsa has quit (Remote host closed the connection)
    <andyg5> i have 3x dedicated master servr, that run the mons and mgr etc. so i would like to keep the mons on them.
    <SebastianW> dcapone2004: `ceph orch host add $(hostname) $IP` shoudl work
    <llnu_> andyg5: https://docs.ceph.com/docs/master/rados/operations/add-or-rm-mons/#changing-a-monitor-s-ip-address
    <andyg5> thnaks, I will take a read
    <andyg5> will that guide work if Im using cephadm and everything is containers?
    <dcapone2004> sebastianW, I have added hosts using IP before, not as concerned about that as much as if cephadm turns the IP input into a hostname and then the cluster becomes dependent on the hostname
    <SebastianW> andyg5: reading
    <SebastianW> dcapone2004: cephadm will use the IP to connect to teh hosts
    <dcapone2004> sebastianW: also wondering if things like ceph orch device zap or ceph orch daemon add osd work with IP addresses
    <SebastianW> dcapone2004: nothing more nothing less
    <SebastianW> dcapone2004: also: when generating configs (e.g. grafana) it will also use the IP
    <SebastianW> andyg5: you must go with the messy way?
    <mrf> andyg5 you can have multiple public / private ranges in your ceph.conf
    <mrf> its supported
    <SebastianW> andyg5: for the messy way, I'd strongly suggest to run `ceph orch pause` to prevent cephadm from doing anything while injecting any monmaps
    <SebastianW> andyg5: but yeah, it's stil the same ceph-mon.
    <SebastianW> andyg5: and you probably should use `ceph config ...` for cephadm
    <SebastianW> zdover: ^^
    <dcapone2004> SebastianW: Not sure if you saw my question on the other orch cephadm commands and their capability with using IPs using hostnames (as before, beyond the command itself... how it reconfigures things for behind the scenes communications)
    <andyg5> thnaks, i will give it a go
    <SebastianW> dcapone2004: should use the IP. the hostname is mainly used only for makeing sure the deployment is sane
    SebastianW sep sebastian-k sepa serg_k_ seyeongkim
    <zdover> SebastianW, I'll add this.
    <zdover> I'll get a PR to you by your morning.
    <dirtwash> I have 5 bucks on andyg5 coming back saying it all went foobar

No data to display

Actions

Also available in: Atom PDF