Hi all, Our cluster has to change to new IP range in same VLAN: 10.0.7.0/24 -> 10.0.18.0/23, while IP address on private network for OSDs remains unchanged. I wonder if we can do that in either one following ways: =====================
1.
a.
Define static route for 10.0.18.0/23 on each node b.
Do it one by one: For each monitor/mgr:
-
remove from cluster
-
change IP address
-
add static route to original IP range 10.0.7.0/24
-
delete static route for 10.0.18.0/23
-
add back to cluster For each OSD:
-
stop OSD daemons
-
change IP address
-
add static route to original IP range 10.0.7.0/24
-
delete static route for 10.0.18.0/23
-
start OSD daemons c.
Clean up all static routes defined.
2.
a.
Export and update monmap using the messy way as described in
http://docs.ceph.com/docs/mimic/rados/operations/add-or-rm-mons/ ceph mon getmap –o {tmp}/{filename} monmaptool –rm node1 –rm node2 … --rm node n {tmp}/{filename} monmaptool –add node1 v2:10.0.18.1:3330,v1:10.0.18.1:6789 –add node2 v2:10.0.18.2:3330,v1:10.0.18.2:6789 … --add nodeN v2:10.0.18.N:3330,v1:10.0.18.N:6789 {tmp}/{filename} b.
stop entire cluster daemons and change IP addresses c.
For each mon node: ceph-mon –I {mon-id} –inject-monmap {tmp}/{filename} d.
Restart cluster daemons.
3.
Or any better method… ===================== Would anyone please help? Thanks a lot. Rgds /st wong |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com