Hi Sunday,
~Brian
did you verify the contents of your monmap? In general, the procedure might look something like this:
- ceph-mon -i <id> --extract-monmap /tmp/monmap
- monmaptool --print /tmp/monmap
- monmaptool --rm <old_mon_id> --add <new_mon_id> <new_mon_ip_and_port> --clobber /tmp/monmap
- monmaptool --print /tmp/monmap
at this point, the monmap should look as you intend it to, with the old monitor removed and new monitor properly listed. Stop all ceph monitor daemons and inject the monmap to each one, then start them.
- stop ceph-mon
- ceph-mon -i <id> --inject-monmap /tmp/monmap
- start ceph-mon
On Thu, Feb 19, 2015 at 9:39 AM, SUNDAY A. OLUTAYO <olutayo@xxxxxxxxxx> wrote:
After the injection of the new monmap done. the monmap dump still reveal the old one. The old one is not overwritten to the new oneThanks,
Sunday Olutayo
Sadeeb Technologies Ltd
7 Mayegun Street, Ojo
Lagos State, Nigeria.
Tel: +234 1 7404524
D/L: +234 1 8169922
Cell: +234 8054600338, 234 8096441688
Fax: +234 8054895664
mail: olutayo@xxxxxxxxxx
From: "LOPEZ Jean-Charles" <jelopez@xxxxxxxxxx>
To: "SUNDAY A. OLUTAYO" <olutayo@xxxxxxxxxx>
Cc: "LOPEZ Jean-Charles" <jelopez@xxxxxxxxxx>, "ceph-users" <ceph-users@xxxxxxxxxxxxxx>, ceph-devel@xxxxxxxxxxxxxx
Sent: Wednesday, February 18, 2015 8:21:03 PM
Subject: Re: Updating monmap
Hi,use the following command line: ceph-mon -i {monitor_id} --inject-monmap {updated_monmap_file}JCOn 18 Feb 2015, at 11:15, SUNDAY A. OLUTAYO <olutayo@xxxxxxxxxx> wrote:_______________________________________________How do I update the ceph monmap after extracting and removing unwanted an ip in the monmap to the clean monmap?
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
~Brian
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com