Re: change of dns names and IP addresses of cluster members

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

 



> Op 22 juli 2016 om 15:26 schreef Andrei Mikhailovsky <andrei@xxxxxxxxxx>:
> 
> 
> Hi Henrik, 
> 
> Many thanks for your answer. 
> 
> What settings in the ceph.conf are you referring to? These: 
> 
> mon_initial_members = 
> mon_host = 
> 

only mon_host is required.

> I was under the impression that mon_initial_members are only used when the cluster is being setup and are not used by the live cluster. Is this the case? If so, should I simply change the mon_host values? Is this value used by ceph clients to find ceph monitors? 
> 

Keep in mind, any running librados/librbd clients will obtain the new monitormaps live and do not require a restart.

You just have to modify they configuration so that when you start them again they start with the proper information.

You can change all IPs in your Ceph cluster without the need to restart a client. As long ad the clients can reach both the old and new IPs.

Wido

> thanks 
> 
> Andrei 
> 
> > From: "Henrik Korkuc" <lists@xxxxxxxxx>
> > To: "ceph-users" <ceph-users@xxxxxxxxxxxxxx>
> > Sent: Friday, 22 July, 2016 13:04:36
> > Subject: Re:  change of dns names and IP addresses of cluster
> > members
> 
> > On 16-07-22 13:33, Andrei Mikhailovsky wrote:
> 
> >> Hello
> 
> >> We are planning to make changes to our IT infrastructure and as a result the
> >> fqdn and IPs of the ceph cluster will change. Could someone suggest the best
> >> way of dealing with this to make sure we have a minimal ceph downtime?
> 
> > Can old and new network reach each other? If yes, then you can do it without
> > cluster downtime. You can change OSDs IP on server by server basis - stop OSDs,
> > rename host, change IP, start OSDs. They should connect to cluster with new IP.
> > Rinse and repeat for all.
> 
> > As for mons you'll need to remove mon out of the cluster, then readd with new
> > name and IP, redistribute configs with new mons. Rinse and repeat.
> 
> > Depending on your use case it is possible that you may have client downtime as
> > sometimes it is not possible to change client's config without a restart (e.g.
> > qemu machine config)
> 
> >> Many thanks
> 
> >> Andrei
> 
> >> _______________________________________________
> >> 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
> _______________________________________________
> 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



[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