Re: Manually add monitor to a running cluster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Am Do., 19. Aug. 2021 um 14:57 Uhr schrieb Francesco Piraneo G.
<fpiraneo@xxxxxxxxxxx>:
>
>
> >    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 running mon host, right? Then we have to send
> monmap and keyfiles on the new host?

if you not have copy the ceph-admin-key on the system so you can run
the commands on the target / new mon system

> >    ceph-mon -i $(hostname -s) --mkfs --monmap /tmp/mon-monmap --keyring
> > /tmp/mon-keyfile
> >    chown -R ceph: /var/lib/ceph/mon/ceph-$(hostname -s)
> >    systemctl start ceph-mon@$(hostname -s)
>
> Always on the new mon host I suppose.

Yes ;-)

> 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 joining the cluster

> F.
>
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux