Have 2 different public networks

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

 



Hi,

Is it possible to have 2 different public networks in a Ceph cluster?
I explain my question below.

Currently, I have 3 identical nodes in my Ceph cluster. Each node has:

- only 1 monitor;
- n osds (we don't care about the value n here);
- and 3 interfaces.

One interface for the "cluster" network (10.0.0.0/24):
- node1 -> 10.0.0.1
- node2 -> 10.0.0.2
- node3 -> 10.0.0.3

One interface for the "public" network (10.0.1.0/24):
- node1 -> [mon.1] mon addr = 10.0.1.1
- node2 -> [mon.2] mon addr = 10.0.1.2
- node3 -> [mon.3] mon addr = 10.0.1.3

And one interface not used yet (see below).

With this configuration, if I have a Ceph client in the
"public" network, I can use rbd images etc. No problem,
it works.

But now I would like to use the third interface of the
nodes for a *different* plublic network -> 10.0.2.0/24.
The Ceph clients in this network will not really use the
storage but will create and delete rbd images in a pool.
In fact it's just a network for *Ceph management*.

So, I want to have 2 different public networks:
- 10.0.1.0/24 (already exists)
- *and* 10.0.2.0/24

Am I wrong if I say that mon.1, mon.2 and mon.3
must have one more IP address? Is it possible to
have a monitor that listens on 2 addresses? Something
like that:

- node1 -> [mon.1] mon addr = 10.0.1.1 *and* 10.0.2.1
- node2 -> [mon.2] mon addr = 10.0.1.2 *and* 10.0.2.2
- node3 -> [mon.3] mon addr = 10.0.1.3 *and* 10.0.2.3

My environment is not a production environment, just a
lab. So, if necessary I can reinstall everything, no
problem.

Thanks for your help.

-- 
François Lafont
_______________________________________________
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