From: Roman Alekseev <rs.alekseev@gmail.com>
To: ceph-devel@vger.kernel.org
Subject: cluster and public network configuration.
Date: Fri, 26 Apr 2013 15:32:23 +0400 [thread overview]
Message-ID: <517A65C7.9090502@gmail.com> (raw)
Hi,
I've configured my ceph cluster to use cluster and public networks, but
looks like this configuration doesn't work correctly because when rados
bench returns the following test's result:
Maintaining 16 concurrent writes of 4194304 bytes for at least 10 seconds.
Object prefix: benchmark_data_srv64_4661
sec Cur ops started finished avg MB/s cur MB/s last lat avg lat
0 0 0 0 0 0 - 0
1 16 16 0 0 0 - 0
2 16 17 1 1.99975 2 1.17015 1.17015
3 16 17 1 1.33317 0 - 1.17015
4 16 17 1 0.999894 0 - 1.17015
5 16 17 1 0.799913 0 - 1.17015
------------------------------------------------------------------------------------
eth0 - public network
eth1 - cluster network
ceph.conf:
[global]
public network = 10.8.0.0/24
cluster network = 192.168.102.0/24
[osd.0]
host = srv95
cluster addr = 192.168.102.95
public addr = 10.8.0.95
devs = /dev/sdb
[osd.1]
host = srv115
cluster addr = 192.168.102.115
public addr = 10.8.0.115
devs = /dev/sda6
[osd.2]
host = srv6
cluster addr = 192.168.102.6
public addr = 10.8.0.6
devs = /dev/sda6
[osd.3]
host = srv140
cluster addr = 192.168.102.140
public addr = 10.8.0.140
devs = /dev/sda6
[osd.4]
host = srv140
cluster addr = 192.168.102.140
public addr = 10.8.0.140
devs = /dev/sdb6
[osd.5]
host = srv6
cluster addr = 192.168.102.6
public addr = 10.8.0.6
devs = /dev/sdb6
[osd.6]
host = srv115
cluster addr = 192.168.102.115
public addr = 10.8.0.115
devs = /dev/sdb6
# id weight type name up/down reweight
-1 7 root default
-3 7 rack unknownrack
-2 1 host srv95
0 1 osd.0 up 1
-4 2 host srv115
1 1 osd.1 up 1
6 1 osd.6 up 1
-5 2 host srv6
2 1 osd.2 up 1
5 1 osd.5 up 1
-6 2 host srv140
3 1 osd.3 up 1
4 1 osd.4 up 1
------------------------------------------------------------------------------------
My question is: How to set up cluster network correctly?
Thanks
--
Kind regards,
R. Alekseev
reply other threads:[~2013-04-26 11:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=517A65C7.9090502@gmail.com \
--to=rs.alekseev@gmail.com \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.