[ceph-users] Re: Cephadm and Ceph.conf

2024-02-26 Thread Robert Sander
On 2/26/24 15:24, Michael Worsham wrote: So how would I be able to put in configurations like this into it? [global] fsid = 46620486-b8a6-11ee-bf23-6510c4d9efa7 mon_host = [v2:10.20.27.10:3300/0,v1:10.20.27.10:6789/0] [v2:10.20.27.11:3300/0,v1:10.20.27.11:6789/0] osd

[ceph-users] Re: Cephadm and Ceph.conf

2024-02-26 Thread Michael Worsham
--Original Message- From: Robert Sander Sent: Monday, February 26, 2024 8:29 AM To: ceph-users@ceph.io Subject: [ceph-users] Re: Cephadm and Ceph.conf This is an external email. Please take care when clicking links or opening attachments. When in doubt, check with the Help Desk or Security.

[ceph-users] Re: Cephadm and Ceph.conf

2024-02-26 Thread Robert Sander
On 2/26/24 14:24, Michael Worsham wrote: I deployed a Ceph reef cluster using cephadm. When it comes to the ceph.conf file, which file should I be editing for making changes to the cluster - the one running under the docker container or the local one on the Ceph monitors? None of both. You

[ceph-users] Re: cephadm vs ceph.conf

2023-11-23 Thread Zakhar Kirpichenko
Hi, Please note that there are cases where the use of ceph.conf inside a container is justified. For example, I was unable to set monitor's mon_rocksdb_options by any means except for providing them in monitor's own ceph.conf within the container, all other attempts to pass this settings were

[ceph-users] Re: cephadm vs ceph.conf

2023-11-23 Thread Albert Shih
Le 23/11/2023 à 15:35:25+0100, Michel Jouvin a écrit Hi, > > You should never edit any file in the containers, cephadm takes care of it. > Most of the parameters described in the doc you mentioned are better managed > with "ceph config" command in the Ceph configuration database. If you want >

[ceph-users] Re: cephadm vs ceph.conf

2023-11-23 Thread Anthony D'Atri
>>> >>> Should I modify the ceph.conf (vi/emacs) directly ? >> >> vi is never the answer. > > WTF ? You break my dream ;-) ;-) Let line editors die. >> > You're right. > > Currently I'm testing > > 17.2.7 quincy. > > So in my daily life how I would know if I should use ceph config or

[ceph-users] Re: cephadm vs ceph.conf

2023-11-23 Thread Albert Shih
Le 23/11/2023 à 09:32:49-0500, Anthony D'Atri a écrit > Hi, Thanks for your answer. > > > to change something in the /etc/ceph/ceph.conf. > > Central config was introduced with Mimic. Since both central config and > ceph.conf work and are supported, explicitly mentioning both in the docs

[ceph-users] Re: cephadm vs ceph.conf

2023-11-23 Thread Michel Jouvin
Hi Albert, You should never edit any file in the containers, cephadm takes care of it. Most of the parameters described in the doc you mentioned are better managed with "ceph config" command in the Ceph configuration database. If you want to run the ceph commnand on a Ceph machine outside a

[ceph-users] Re: cephadm vs ceph.conf

2023-11-23 Thread Anthony D'Atri
> to change something in the /etc/ceph/ceph.conf. Central config was introduced with Mimic. Since both central config and ceph.conf work and are supported, explicitly mentioning both in the docs every time is a lot of work (and awkward). One day we’ll sort out an effective means to