此内容没有您所选择的语言版本。
Chapter 9. Ports
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.
- One for sending data to other OSDs (replication, backfill and recovery).
- One for heartbeating.
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}
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:
[mon.monname]
host = {hostname}
mon addr = {ip-address}:{port}
[mon.monname]
host = {hostname}
mon addr = {ip-address}:{port}