Re: replace MON server keeping identity (Octopus)

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

 



Hi Nigel,


https://github.com/ceph/ceph-ansible/tree/master/infrastructure-playbooks


the shrink-mon.yml and add-mon.yml playbooks may give you some insights for such operations. (remember to check out the correct Ceph version first)
 
 
------------------ Original ------------------
From: &nbsp;"Nigel&nbsp;Williams"<nigel.williams@xxxxxxxxxxx&gt;;
Date: &nbsp;Wed, Mar 30, 2022 12:25 PM
To: &nbsp;"ceph-users"<ceph-users@xxxxxxx&gt;; 

Subject: &nbsp; replace MON server keeping identity (Octopus)

&nbsp;

This is a ceph-deploy setup.

I would welcome suggestions as to how to replace a server hosting a MON;
none of the following have worked for me:

This fails:
1. Setup new server and copy MONMAP/keys to new server.
2. Shutdown old server (cluster out of quorum)
2. Change new server identity(IP, hostname) to match old server, reboot
3. ceph-mon -i cnx-10 --mkfs --monmap MONMAP.out --keyring MON.keyring
4. reboot
5. Log fills up with cephx server client.admin:&nbsp; unexpected key

AND this fails:
1. add new server as new MON, joins quorum
2. shutdown old server
3. change identity of new server to match old, reboot
4. Log fills with mon.cnx-10@0(electing) e5 collect_metadata :&nbsp; no unique
device id for : fallback method has no model nor serial'
mon.cnx-10@0(electing) e5 handle_auth_request failed to assign global_id

AND this fails:
1. Shutdown old server
2. Change new server identity to match old server
3. ceph-deploy --overwrite-conf mon create cnx-10

New server never joins existing quorum.

Thanks for any ideas. I would like to retain identity (IP address) of the
original server as it is embedded in many client systems.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
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