前端(北向)网络( a public (front-side) network):连接客户端和集群 The public network handles client traffic and communication with Ceph monitors.
后端/东西向网络 (a cluster (back-side) network):连接 Ceph 各存储节 The cluster (back-side) network handles OSD heartbeats, replication, backfilling and recovery traffic.
来自redHat的建议:
We recommend allocating bandwidth to the cluster (back-side) network such that it is a multiple of the front-side network usingosd pool default size as the basis for your multiple. We also recommend running the public and cluster networks on separateNICs. We recommend keeping the cluster network separate from the public network and not connected to the internet to prevent DDOS attacks from crippling heartbeats, replication, backfilling and recovery.
网络拓扑:
public network = {public-network/netmask}
cluster network = {cluster-network/netmask}
参考:具体可以参考:
Deploying Ceph with High Performance Networks, Architectures and benchmarks for Block Storage Solutions
Deploying Ceph with High Performance Networks
CHAPTER 2. NETWORKING RECOMMENDATIONS
Ceph with a cluster and public network on IPv6 谈到了 IPV6 的支持。
端口
Monitors use port 6789 by default. Ensure you have the port open for each monitor host. Each Ceph OSD Daemon on a Ceph Node may use up to three ports, beginning at port 6800:
One for talking to clients and monitors. (front-side)
One for sending data to other OSDs (replication, backfill and recovery). (back-side)
One for heartbeating. (back-side)
You need to open at least three ports per OSD beginning at port 6800 on a Ceph node to ensure that the OSDs can peer. The port for talking to monitors and clients must be open on the public (front-side) network. The ports for sending data to other OSDs and heartbeating must be open on the cluster (back-side) network.
If you want to use a different port range than 6800:7100 for Ceph daemons, you must adjust the following settings in your Ceph configuration file:
ms bind port min = {min-port-num}
ms bind port max = {max-port-num}
Ceph monitors bind on port 6789 by default. If you want to use a different port number than 6789, you may specify the the IP address and port in your Ceph configuration. For example: