Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Change Management IP's

Hello

First I want congrats to the team make petasan. As far I see (and i check a lot -more than 5 similar ceph cases- ) this is the best ceph distro.

On my case,

I need to know if is possible to change management IPS (for hole cluster).

I'm already change  cluster_info,  node_info , interfaces, hosts , ceph.conf but it is not enough. 

I'm wondering if the only one solution is to recreate all cluster structure from zero ? (3 monitors , 3 smb , 2 iscsi , 4 host for osds )

Of course, this is just a lab environment (until now) but if there is a way to avoid recreation will be perfect.

Thank you !

 

 

 

 

 

 

Thanks for the feedback 🙂  next version 2.6 (scalable NFS) will also be really good.

Yes you can change the management ips,

edit:

cluster_info.json

node_info.json

/etc/network/interfaces

To change /etc/hosts, you need to work through more steps as this file is synced automatically by a background sync service

# stop auto sync service
systemctl stop petasan-file-sync
# manual change hosts file
nano /etc/hosts
# sync the hosts file to all nodes:
/opt/petasan/scripts/util/sync_file.py /etc/hosts
# restart the sync service on current node
systemctl start petasan-file-sync

Grade !

Appreciate for your help.

Have a nice day.