Hi Eugen,

Thanks for the advice. That helps me a lot :)

Eugen Block <ebl...@nde.ag> 于2019年2月25日周一 下午8:22写道:

> I just moved a (virtual lab) cluster to a different network, it worked
> like a charm.
>
> In an offline method - you need to:
>
> - set osd noout, ensure there are no OSDs up
> - Change the MONs IP, See the bottom of [1] "CHANGING A MONITOR’S IP
> ADDRESS", MONs are the only ones really
> sticky with the IP
> - Ensure ceph.conf has the new MON IPs and network IPs
> - Start MONs with new monmap, then start OSDs
>
> > No, certain ips will be visible in the databases, and those will not
> change.
>
> I'm not sure where old IPs will be still visible, could you clarify
> that, please?
>
> Regards,
> Eugen
>
>
> [1] http://docs.ceph.com/docs/luminous/rados/operations/add-or-rm-mons/
>
>
> Zitat von Janne Johansson <icepic...@gmail.com>:
>
> > Den mån 25 feb. 2019 kl 12:33 skrev Zhenshi Zhou <deader...@gmail.com>:
> >> I deployed a new cluster(mimic). Now I have to move all servers
> >> in this cluster to another place, with new IP.
> >> I'm not sure if the cluster will run well or not after I modify config
> >> files, include /etc/hosts and /etc/ceph/ceph.conf.
> >
> > No, certain ips will be visible in the databases, and those will not
> change.
> >
> >> Fortunately, the cluster has no data at present. I never encounter
> >> such an issue like this. Is there any suggestion for me?
> >
> > If you recently created the cluster, it should be easy to just
> > recreate it again,
> > using the same scripts so you don't have to repeat yourself as an admin
> since
> > computers are very good at repetitive tasks.
> >
> > --
> > May the most significant bit of your life be positive.
> > _______________________________________________
> > ceph-users mailing list
> > 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
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to