[ceph-users] Re: Manually add monitor to a running cluster

2021-08-19 Thread Francesco Piraneo G.
Question: You don't have to add the new monitor (i.e. mon2) on the monitor map of the running monitor to allow to join the cluster? Because these are the instruction I followed but the mon2 doesn't start because it was not mapped on the cluster. This will be done automatically when the mon is j

[ceph-users] Re: Manually add monitor to a running cluster

2021-08-19 Thread Francesco Piraneo G.
mkdir /var/lib/ceph/mon/ceph-$(hostname -s) This has to be done on new host, right? ceph auth get mon. -o /tmp/mon-keyfile ceph mon getmap -o /tmp/mon-monmap This has to be done on the running mon host, right? Then we have to send monmap and keyfiles on the new host? ceph-

[ceph-users] Re: Manually add monitor to a running cluster

2021-08-19 Thread Ansgar Jazdzewski
Hi, so yes I was assuming that the new mon is a member of the cluster, so packages are installed and ceph.conf in place! You also need to add the IP of the new mon to the ceph.conf when you are done and redistribute it to all members of the cluster. Ansgar Am Do., 19. Aug. 2021 um 15:30 Uhr schr

[ceph-users] Re: Manually add monitor to a running cluster

2021-08-19 Thread Ansgar Jazdzewski
Hi, Am Do., 19. Aug. 2021 um 14:57 Uhr schrieb Francesco Piraneo G. : > > > >mkdir /var/lib/ceph/mon/ceph-$(hostname -s) > > This has to be done on new host, right? Yes > >ceph auth get mon. -o /tmp/mon-keyfile > >ceph mon getmap -o /tmp/mon-monmap > This has to be done on the runni

[ceph-users] Re: Manually add monitor to a running cluster

2021-08-19 Thread Ansgar Jazdzewski
Hi Francesco, in short you need to do this: mkdir /var/lib/ceph/mon/ceph-$(hostname -s) ceph auth get mon. -o /tmp/mon-keyfile ceph mon getmap -o /tmp/mon-monmap ceph-mon -i $(hostname -s) --mkfs --monmap /tmp/mon-monmap --keyring /tmp/mon-keyfile chown -R ceph: /var/lib/ceph/mon/ceph-$