Re-run ansible to add monitor and RGWs
Hi, I've installed my ceph cluster with ceph-ansible a few months ago. I've just added one monitor and one rgw at that time. So I have 3 nodes, from which one is monitor and rgw and two others only OSD. Now I want to add the other two nodes as monitor and rgw. Can I just modify the ansible host file and re-run the site.yml? I've done some modification in Storage classes, I've added some OSD and uploaded a lot of data up to now. Is it safe to re-run ansible site.yml playbook? I don't want to end with a fresh new cluster! :D Thanks a lot, Khodayar
Any ideas on this? ---------- Forwarded message --------- From: Khodayar Doustar <doustar@rayanexon.ir> Date: Sun, Jun 14, 2020 at 6:07 PM Subject: Re-run ansible to add monitor and RGWs To: ceph-users <ceph-users@ceph.io> Hi, I've installed my ceph cluster with ceph-ansible a few months ago. I've just added one monitor and one rgw at that time. So I have 3 nodes, from which one is monitor and rgw and two others only OSD. Now I want to add the other two nodes as monitor and rgw. Can I just modify the ansible host file and re-run the site.yml? I've done some modification in Storage classes, I've added some OSD and uploaded a lot of data up to now. Is it safe to re-run ansible site.yml playbook? I don't want to end with a fresh new cluster! :D Thanks a lot, Khodayar
Just do manual install that is faster. -----Original Message----- To: ceph-users Subject: [ceph-users] Fwd: Re-run ansible to add monitor and RGWs Any ideas on this? ---------- Forwarded message --------- From: Khodayar Doustar <doustar@rayanexon.ir> Date: Sun, Jun 14, 2020 at 6:07 PM Subject: Re-run ansible to add monitor and RGWs To: ceph-users <ceph-users@ceph.io> Hi, I've installed my ceph cluster with ceph-ansible a few months ago. I've just added one monitor and one rgw at that time. So I have 3 nodes, from which one is monitor and rgw and two others only OSD. Now I want to add the other two nodes as monitor and rgw. Can I just modify the ansible host file and re-run the site.yml? I've done some modification in Storage classes, I've added some OSD and uploaded a lot of data up to now. Is it safe to re-run ansible site.yml playbook? I don't want to end with a fresh new cluster! :D Thanks a lot, Khodayar _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
On 14/06/2020 17:07, Khodayar Doustar wrote:
Now I want to add the other two nodes as monitor and rgw.
Can I just modify the ansible host file and re-run the site.yml?
Yes.
I've done some modification in Storage classes, I've added some OSD and uploaded a lot of data up to now. Is it safe to re-run ansible site.yml playbook?
It's worth checking what OSDs you configured in inventory, but IME ceph-ansible won't remove existing OSDs. HTH, Matthew -- The Wellcome Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
Thanks a lot, I've run that and that was perfectly ok :) On Mon, Jun 15, 2020 at 5:24 PM Matthew Vernon <mv3@sanger.ac.uk> wrote:
On 14/06/2020 17:07, Khodayar Doustar wrote:
Now I want to add the other two nodes as monitor and rgw.
Can I just modify the ansible host file and re-run the site.yml?
Yes.
I've done some modification in Storage classes, I've added some OSD and uploaded a lot of data up to now. Is it safe to re-run ansible site.yml playbook?
It's worth checking what OSDs you configured in inventory, but IME ceph-ansible won't remove existing OSDs.
HTH,
Matthew
-- The Wellcome Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
participants (3)
-
Khodayar Doustar
-
Marc Roos
-
Matthew Vernon