Network configuration options
Understand the various network configuration options for Ceph.
Common options
These are the common network configuration options for Ceph.
-
public_network -
Description: The IP address and netmask of the public (front-side) network (for example,
192.168.0.0/24). Set in[global]. You can specify comma-delimited subnets. -
public_addr -
Description: The IP address for the public (front-side) network. Set for each daemon.
-
cluster_network -
Description: The IP address and netmask of the cluster network (for example,
10.0.0.0/24). Set in[global]. You can specify comma-delimited subnets. -
cluster_addr -
Description: The IP address for the cluster network. Set for each daemon.
-
ms_type -
Description: The messenger type for the network transport layer. IBM supports the
simpleand theasyncmessenger type usingposixsemantics. -
ms_public_type -
Description: The messenger type for the network transport layer of the public network. It operates identically to
ms_type, but is applicable only to the public or front-side network. This setting enables Ceph to use a different messenger type for the public or front-side and cluster or back-side networks. -
ms_cluster_type -
Description: The messenger type for the network transport layer of the cluster network. It operates identically to
ms_type, but is applicable only to the cluster or back-side network. This setting enables Ceph to use a different messenger type for the public or front-side and cluster or back-side networks.
Host options
mon addr setting under each declared monitor. Ceph expects a host setting under each declared monitor, metadata server and OSD in the Ceph configuration file.
localhost. Use the short name of the node, not the fully-qualified domain name (FQDN). Do not specify any value for host when using a third party deployment system that retrieves the node name for you.-
mon_addr -
Description: A list of
<hostname>:<port>entries that clients can use to connect to a Ceph monitor. If not set, Ceph searches[mon.*]sections. -
host -
Description: The host name. Use this setting for specific daemon instances (for example,
[osd.0]).
TCP options
-
ms_tcp_nodelay -
Description: Ceph enables
ms_tcp_nodelayso that each request is sent immediately (no buffering). Disabling Nagle’s algorithm increases network traffic, which can introduce congestion. If you experience large numbers of small packets, you may try disablingms_tcp_nodelay, but be aware that disabling it will generally increase latency. -
ms_tcp_rcvbuf -
Description: The size of the socket buffer on the receiving end of a network connection. Disabled by default.
Bind options
6800:7100. You can also enable Ceph daemons to bind to IPv6 addresses.
-
ms_bind_port_min -
Description: The minimum port number to which an OSD daemon will bind.
-
ms_bind_ipv6 -
Description: Enables Ceph daemons to bind to IPv6 addresses.
Asynchronous messenger options
AsyncMessenger.
-
ms_async_op_threads -
Description: Initial number of worker threads used by each
AsyncMessengerinstance. This configuration setting SHOULD equal the number of replicas or erasure code chunks, but it may be set lower if the CPU core count is low or the number of OSDs on a single server is high.