changing my cluster network ip

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

 



Hello all,
  I am buinding my testing cluster with public_network and cluster_network interface. For some reason, the testing cluster need to do peer connection with my colleague's machines so it's better I change my original cluster_network from 172.20.x.x to 10.32.67.x.

Now if I don't want to re-build the whole ceph cluster, I just want to change the interface ip/network setting like:
(it's a 6 nodes CentOS 7.5, 3 mons 3 osds)

1, (all 6) edit /etc/hosts to become

10.32.67.48     cephmon1
10.32.67.49     cephmon2
10.32.67.50     cephmon3
10.32.67.51     cephosd1
10.32.67.52     cephosd2
10.32.67.53     cephosd3


2,(all 6)  edit /etc/ceph/ceph.conf
  (deploy svr's)   /home/cephuser/pescadores/ceph.conf
                ,,,,
to be

mon_host = 10.32.67.48
cluster_network = 10.32.67.0/24

3, edit individual host's /etc/sysconfig/network-scripts/ifcfg-bond1
to be 10.32.67.x ip

4, reboot

(and forget about firewall and selinux, they are disabled)

what else should I do before the ceph cluster will run on new cluster_network setting?

Thanks in advance
Cheers

Joshua
_______________________________________________
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