All of lore.kernel.org
 help / color / mirror / Atom feed
* what could go wrong with two clusters on the same network?
@ 2012-12-31 10:17 Xiaopong Tran
  2012-12-31 18:27 ` Wido den Hollander
  0 siblings, 1 reply; 3+ messages in thread
From: Xiaopong Tran @ 2012-12-31 10:17 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

Hi,

If I run two clusters on the same network, each with its own set of
monitors and config files (assuming that we didn't make any error
in the config files), would there be anything wrong with that?

Ceph seems to be quite chatty, so would they mess up their
messages?

Just want to make sure, and just want to know if anyone is
doing that.

Thanks

Xiaopong

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: what could go wrong with two clusters on the same network?
  2012-12-31 10:17 what could go wrong with two clusters on the same network? Xiaopong Tran
@ 2012-12-31 18:27 ` Wido den Hollander
  2013-01-08 17:25   ` Gregory Farnum
  0 siblings, 1 reply; 3+ messages in thread
From: Wido den Hollander @ 2012-12-31 18:27 UTC (permalink / raw)
  To: Xiaopong Tran; +Cc: ceph-devel@vger.kernel.org

Hi,

On 12/31/2012 11:17 AM, Xiaopong Tran wrote:
> Hi,
>
> If I run two clusters on the same network, each with its own set of
> monitors and config files (assuming that we didn't make any error
> in the config files), would there be anything wrong with that?
>
> Ceph seems to be quite chatty, so would they mess up their
> messages?
>

Ceph is chatty, but it doesn't "pollute" your network.

OSDs only talk to other OSDs they learn from the monitors.

Ceph doesn't use broadcast or multicast in your local network, so it's 
safe to run multiple Ceph clusters in one subnet/VLAN.

Just make sure you use cephx (enabled by default in 0.55) so that you 
don't accidentally connect to the wrong cluster.

Wido

> Just want to make sure, and just want to know if anyone is
> doing that.
>
> Thanks
>
> Xiaopong
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: what could go wrong with two clusters on the same network?
  2012-12-31 18:27 ` Wido den Hollander
@ 2013-01-08 17:25   ` Gregory Farnum
  0 siblings, 0 replies; 3+ messages in thread
From: Gregory Farnum @ 2013-01-08 17:25 UTC (permalink / raw)
  To: Wido den Hollander; +Cc: Xiaopong Tran, ceph-devel@vger.kernel.org

On Mon, Dec 31, 2012 at 10:27 AM, Wido den Hollander <wido@widodh.nl> wrote:
> Just make sure you use cephx (enabled by default in 0.55) so that you don't
> accidentally connect to the wrong cluster.

Use of cephx will provide an additional layer of protection for the
clients, but the OSDs and monitors (the only ones with disk state) do
record which cluster they belong to on first start-up, so if they end
up pointed to the wrong cluster they will refuse to connect. Just fyi!
:)
-Greg

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-08 17:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-31 10:17 what could go wrong with two clusters on the same network? Xiaopong Tran
2012-12-31 18:27 ` Wido den Hollander
2013-01-08 17:25   ` Gregory Farnum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.