Thank you Gilles, I actually have other servers running on the same networks so 
can't I just set these particular 3 IPs ?


De : [email protected] 
[mailto:[email protected]] De la part de Gilles Mocellin
Envoyé : jeudi 17 octobre 2013 11:55
À : [email protected]
Objet : Re: [ceph-users] Public/Cluster addr how to

Le 17/10/2013 11:06, NEVEU Stephane a écrit :
Hi list,

I'm trying to figure out how can I set up 3 defined cluster IPs and 3 other 
public IPs on my 3 node cluster with ceph-deploy (Ubuntu raring, stable).
Here are my IPs for the public network : 172.23.5.101, 172.23.5.102, 
172.23.5.103
And my IPs for the cluster network : 172.200.255.21, 172.200.255.22, 
172.200.255.23
How can I set these parameters with ceph-deploy ?
Here is what I do :

Ceph-deploy install -no-adjust-repos host1 host2 host3
Ceph-deploy new host1: 172.23.5.101 host2: 172.23.5.102 host3: 172.23.5.103
(My /etc/hosts is actually filled with my cluster IPs ...)
Ceph-deploy mon create host1 host2 host3
Ceph-deploy gatherkeys host1 host2 host3
Etc etc...

Ceph-deploy -version = 1.2.7

Do I need to add in my ceph.conf after the new ?
Public network = 172.23.5.101/32, 172.23.5.102/32, 172.23.5.103/32
Cluster network = 172.200.255.21/32, 172.200.255.22/32, 172.200.255.23/32
Or this ?
Public addr = 172.23.5.101, 172.23.5.102, 172.23.5.103
Cluster addr = 172.200.255.21, 172.200.255.22, 172.200.255.23

Tried both and it doesn't seem to work for me...
Thank you for your help.

Hello,

You must define networks, not a list of adresses.
So you should have :
Public addr = 172.23.5.0/24
Cluster addr = 172.200.255.0/24

I assume you're on /24 wide networks.

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to