I recently changed IP and hostname of an osd node running dumpling and had no problems.
You do need to have your ceph.conf file built correctly or your osds won't start. Make sure the new IPs and new hostname are in there before you change the IP. The crushmap showed a new bucket (host name) containing the osds that were moved and the original bucket remained in the crushmap, but with no children. I was able to unlink the original bucket with no problem. Jake On Friday, June 13, 2014, Fred Yang <frederic.y...@gmail.com> wrote: > Wido, > So the cluster reference osd based on the hostname, or the > GUID(hopefully)? Note that I mentioned in original email the hostname > associated to the IP will also be changed as well, it will be as simple as > changing IP and restart osd? I remembered I tested in Dumpling a while ago > and it didn't work, this cluster is running on Emperor and not sure whether > that will make any difference. > > Fred > On Jun 13, 2014 7:51 AM, "Wido den Hollander" <w...@42on.com > <javascript:_e(%7B%7D,'cvml','w...@42on.com');>> wrote: > >> On 06/13/2014 01:41 PM, Fred Yang wrote: >> >>> Thanks, John. >>> >>> That seems will take care of monitors, how about osd? Any idea how to >>> change IP addresses without triggering a resync? >>> >>> >> IPs of OSDs are dynamic. Their IP is no part of the data distribution. >> Simply renumber them and restart the daemon. >> >> I suggest: >> >> 1. Stop OSD(s) >> 2. Renumber machine >> 3. Start OSD(s) >> >> That should be all. There will be some recovery due to I/Os which >> occurred between 1 and 3. >> >> Wido >> >> Fred >>> >>> Sent from my Samsung Galaxy S3 >>> >>> On Jun 12, 2014 1:21 PM, "John Wilkins" <john.wilk...@inktank.com >>> <javascript:_e(%7B%7D,'cvml','john.wilk...@inktank.com');> >>> <mailto:john.wilk...@inktank.com >>> <javascript:_e(%7B%7D,'cvml','john.wilk...@inktank.com');>>> wrote: >>> >>> Fred, >>> >>> I'm not sure it will completely answer your question, but I would >>> definitely have a look at: >>> http://ceph.com/docs/master/rados/operations/add-or-rm- >>> mons/#changing-a-monitor-s-ip-address >>> >>> There are some important steps in there for monitors. >>> >>> >>> On Wed, Jun 11, 2014 at 12:08 PM, Fred Yang <frederic.y...@gmail.com >>> <javascript:_e(%7B%7D,'cvml','frederic.y...@gmail.com');> >>> <mailto:frederic.y...@gmail.com >>> <javascript:_e(%7B%7D,'cvml','frederic.y...@gmail.com');>>> wrote: >>> >>> We need to move Ceph cluster to different network segment for >>> interconnectivity between mon and osc, anybody has the procedure >>> regarding how that can be done? Note that the host name >>> reference will be changed, so originally the osd host referenced >>> as cephnode1, in the new segment it will be cephnode1-n. >>> >>> Thanks, >>> Fred >>> >>> Sent from my Samsung Galaxy S3 >>> >>> >>> _______________________________________________ >>> ceph-users mailing list >>> ceph-users@lists.ceph.com >>> <javascript:_e(%7B%7D,'cvml','ceph-users@lists.ceph.com');> <mailto: >>> ceph-users@lists.ceph.com >>> <javascript:_e(%7B%7D,'cvml','ceph-users@lists.ceph.com');>> >>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >>> >>> >>> >>> >>> -- >>> John Wilkins >>> Senior Technical Writer >>> Intank >>> john.wilk...@inktank.com >>> <javascript:_e(%7B%7D,'cvml','john.wilk...@inktank.com');> <mailto: >>> john.wilk...@inktank.com >>> <javascript:_e(%7B%7D,'cvml','john.wilk...@inktank.com');>> >>> (415) 425-9599 <tel:%28415%29%20425-9599> >>> http://inktank.com >>> >>> >>> >>> _______________________________________________ >>> ceph-users mailing list >>> ceph-users@lists.ceph.com >>> <javascript:_e(%7B%7D,'cvml','ceph-users@lists.ceph.com');> >>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >>> >>> >> >> -- >> Wido den Hollander >> 42on B.V. >> Ceph trainer and consultant >> >> Phone: +31 (0)20 700 9902 >> Skype: contact42on >> _______________________________________________ >> ceph-users mailing list >> ceph-users@lists.ceph.com >> <javascript:_e(%7B%7D,'cvml','ceph-users@lists.ceph.com');> >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com