Please help.
I tried to change my CEPH IP's from 192.168.10.0/24 to 192.168.11.0/24, but it wen't horribly wrong. My initital setup is / was as follows:
3 servers:
SRV1 - 192.168.10.241
SRV2 - 192.168.10.242
SRV3 - 192.168.10.243
I wanted to move CEPH to a 2nd IP subnet, with different network cards,
Storage1 - 192.168.11.241
Storage2 - 192.168.11.242
Storage3 - 192.168.11.243
Both IP subnets work and all hosts are in /etc/hosts.
So I ran this code on each node, with the hostname and IP changed as necessary.
All 6 monitors showed up, so I started removing the SRV1-SRV3 monitors, and then they all dissipated. Now I am trying to re-add some monitors but keep getting this error:
Could not connect to ceph cluster despite configured monitors (500)
I tried to change my CEPH IP's from 192.168.10.0/24 to 192.168.11.0/24, but it wen't horribly wrong. My initital setup is / was as follows:
3 servers:
SRV1 - 192.168.10.241
SRV2 - 192.168.10.242
SRV3 - 192.168.10.243
I wanted to move CEPH to a 2nd IP subnet, with different network cards,
Storage1 - 192.168.11.241
Storage2 - 192.168.11.242
Storage3 - 192.168.11.243
Both IP subnets work and all hosts are in /etc/hosts.
So I ran this code on each node, with the hostname and IP changed as necessary.
Code:
cd /home
mkdir tmp
ceph auth get mon. -o tmp/key-ceph-Storage1
ceph mon getmap -o tmp/map-ceph-Storage1
ceph-mon -i Storage1 --mkfs --monmap tmp/map-ceph-Storage1 --keyring tmp/key-ceph-Storage1
chown ceph:ceph -Rf /var/lib/ceph/mon/ceph-Storage1/
ceph-mon -i Storage1 --public-addr 192.168.11.241:6789
All 6 monitors showed up, so I started removing the SRV1-SRV3 monitors, and then they all dissipated. Now I am trying to re-add some monitors but keep getting this error:
Could not connect to ceph cluster despite configured monitors (500)