Skip to contentSkip to conversation

RBD using problem

DISCUSSION Chuanyu Tsai 3 participants 4 messages Dec 11, 2012 – Dec 13, 2012

lore
Share & tools
lore
#0 lore raw

Hi cephers,

I know that we can setup cluster addr and public addr to let OSDs listen on different subnet for different purpose, however, I don't have so much public IPs to give all my OSDs an IP per OSD.

So my question is, if I follow the link:
http://www.spinics.net/lists/ceph-devel/msg10941.html
to set all my pools using the ssd-primary rule or something like that, than I bind public IP on every ceph-osd-ssd-server-*
(it means all my primary osd have public IP, right?), can this method make me using RBD correctly?

Or do we have some method to let public network clients use RBD and no need to let all OSDs have public IP?

Regards,
Chuanyu.

#1 lore raw

Hi Chuanyu,

Quoted 6 lines · Chuanyu Tsai

Hi cephers,

I know that we can setup cluster addr and public addr to let OSDs listen on different subnet for different purpose, however, I don't have so much public IPs to give all my OSDs an IP per OSD.

Don't confuse "public" with actually route-able IP's on the internet. In most cases you'll use 192.168.X.X or 10.X.X.X for your Ceph cluster and let your clients communicate over that.

The "cluster network" is there to let the OSDs do their inter-OSD-traffic over a different interface so you can gain more bandwith in certain cases.

Note that you can also use IPv6 for your Ceph cluster, which I assume is available in Taiwan.

I've been using Ceph with IPv6 for about 3 years now and works like a charm.

Wido

Quoted 18 lines

So my question is, if I follow the link:
http://www.spinics.net/lists/ceph-devel/msg10941.html
to set all my pools using the ssd-primary rule or something like that, than I bind public IP on every ceph-osd-ssd-server-*
(it means all my primary osd have public IP, right?), can this method make me using RBD correctly?

Or do we have some method to let public network clients use RBD and no need to let all OSDs have public IP?

Regards,
Chuanyu.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

I've often wondered if "cluster" and "client" would have been better choices of name for those nets.

Quoted 47 lines · Wido den Hollander

Hi Chuanyu,

Quoted 6 lines · Chuanyu Tsai

Hi cephers,

I know that we can setup cluster addr and public addr to let OSDs listen on different subnet for different purpose, however, I don't have so much public IPs to give all my OSDs an IP per OSD.

Don't confuse "public" with actually route-able IP's on the internet. In most cases you'll use 192.168.X.X or 10.X.X.X for your Ceph cluster and let your clients communicate over that.

The "cluster network" is there to let the OSDs do their inter-OSD-traffic over a different interface so you can gain more bandwith in certain cases.

Note that you can also use IPv6 for your Ceph cluster, which I assume is available in Taiwan.

I've been using Ceph with IPv6 for about 3 years now and works like a charm.

Wido

Quoted 11 lines

So my question is, if I follow the link:
http://www.spinics.net/lists/ceph-devel/msg10941.html
to set all my pools using the ssd-primary rule or something like that, than I bind public IP on every ceph-osd-ssd-server-*
(it means all my primary osd have public IP, right?), can this method make me using RBD correctly?

Or do we have some method to let public network clients use RBD and no need to let all OSDs have public IP?

Quoted 7 lines

Regards,
Chuanyu.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#3 lore raw

2012/12/13 Dan Mick <[email protected]>

Quoted 2 lines

I've often wondered if "cluster" and "client" would have been better choices of name for those nets.

it looks good!

Quoted 9 lines · Wido den Hollander
Quoted 6 lines

Hi Chuanyu,

Quoted 2 lines · Chuanyu Tsai

Hi cephers,

Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

I know that we can setup cluster addr and public addr to let OSDs listen on different subnet for different purpose, however, I don't have so much public IPs to give all my OSDs an IP per OSD.

Don't confuse "public" with actually route-able IP's on the internet. In most cases you'll use 192.168.X.X or 10.X.X.X for your Ceph cluster and let your clients communicate over that.

OK, I got it!
Another question,
Is MDS the client of OSDs?

Quoted 5 lines
Quoted 5 lines

The "cluster network" is there to let the OSDs do their inter-OSD-traffic over a different interface so you can gain more bandwith in certain cases.

So, MON and MDS is no need to bind an IP belong "cluster network", right? or, do I need some MON live in "public network", and some in "cluster network"?

Quoted 4 lines
Quoted 4 lines

Note that you can also use IPv6 for your Ceph cluster, which I assume is available in Taiwan.

OK, I almost forget this option.

Quoted 3 lines
Quoted 3 lines

I've been using Ceph with IPv6 for about 3 years now and works like a charm.

I'll give it a try.

Thanks.

Chuanyu

Quoted 30 lines
Quoted 22 lines

Wido

Quoted 11 lines

So my question is, if I follow the link:
http://www.spinics.net/lists/ceph-devel/msg10941.html
to set all my pools using the ssd-primary rule or something like that, than I bind public IP on every ceph-osd-ssd-server-*
(it means all my primary osd have public IP, right?), can this method make me using RBD correctly?

Or do we have some method to let public network clients use RBD and no need to let all OSDs have public IP?

Quoted 7 lines

Regards,
Chuanyu.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html