You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This peer discovery mechanism is sensitive to system configuration that
248
-
affects hostname resolution changes.
247
+
This peer discovery mechanism is sensitive to OS and RabbitMQ configuration that
248
+
[affects hostname resolution](./networking#dns).
249
249
250
250
For example, a deployment tool that modifies the [local host file](https://en.wikipedia.org/wiki/Hosts_(file))
251
251
can affect (break) this peer discovery mechanism.
@@ -495,6 +495,13 @@ In addition, since RabbitMQ nodes [resolve their own and peer hostnames during b
495
495
CoreDNS [caching timeout may need to be decreased](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id) from default 30 seconds
496
496
to a value in the 5-10 second range.
497
497
498
+
:::important
499
+
500
+
CoreDNS [caching timeout may need to be decreased](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id)
501
+
from default 30 seconds to a value in the 5-10 second range
502
+
503
+
:::
504
+
498
505
If a stateless set is used recreated nodes will not have their persisted data and will start as blank nodes.
499
506
This can lead to data loss and higher network traffic volume due to more frequent
500
507
data synchronisation of both [quorum queues](./quorum-queues)
## More Advanced Networking Settings {#advanced-settings}
956
-
957
-
### The inetrc File
958
-
959
-
The [Erlang runtime](./runtime/) allows for a number of hostname resolution-related settings to be tuned
960
-
using a file known as the [inetrc file](http://erlang.org/doc/apps/erts/inet_cfg.html).
961
-
962
-
The path to the file can be specified by adding an extra runtime argument using the [`RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS` environment variable](./configure/):
The file can be used to configure a number of settings related to hostname resolution on the node (not system-wide):
978
-
979
-
* Hostnames and host addresses (similarly to the [local host file](https://en.wikipedia.org/wiki/Hosts_(file)))
980
-
* Local domain name
981
-
* Nameservers
982
-
* Preferred hostname lookup method (e.g. local host file vs. DNS)
983
-
* Hostname caching interval
984
-
* Search domains
985
-
986
-
Please consult the [inetrc file documentation](http://erlang.org/doc/apps/erts/inet_cfg.html) to learn more.
987
-
988
-
989
-
### OS Level Tuning {#os-tuning}
955
+
## OS Level Tuning {#os-tuning}
990
956
991
957
Operating system settings can affect operation of RabbitMQ.
992
958
Some are directly related to networking (e.g. TCP settings), others
@@ -1237,9 +1203,9 @@ It should be pointed out that this is only necessary with very constrained
1237
1203
clients and networks. Handshake timeouts in other circumstances indicate
1238
1204
a problem elsewhere.
1239
1205
1240
-
### TLS (SSL) Handshake {#tls-handshake}
1206
+
### TLS Handshake {#tls-handshake}
1241
1207
1242
-
If TLS/SSL is enabled, it may be necessary to increase also the TLS/SSL
1208
+
If [TLS is enabled](./ssl), it may be necessary to increase also the TLS
1243
1209
handshake timeout. This can be done via
1244
1210
the `rabbit.ssl_handshake_timeout` (in milliseconds):
1245
1211
@@ -1300,10 +1266,41 @@ To deactivate reverse DNS lookups:
1300
1266
reverse_dns_lookups = false
1301
1267
```
1302
1268
1269
+
### The inetrc File
1270
+
1271
+
The [Erlang runtime](./runtime/) allows for a number of hostname resolution-related settings to be tuned
1272
+
using a file known as the [inetrc file](http://erlang.org/doc/apps/erts/inet_cfg.html).
1273
+
1274
+
The path to the file can be specified by adding an extra runtime argument using the [`RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS` environment variable](./configure/):
This peer discovery mechanism is sensitive to system configuration that
248
-
affects hostname resolution changes.
247
+
This peer discovery mechanism is sensitive to OS and RabbitMQ configuration that
248
+
[affects hostname resolution](./networking#dns).
249
249
250
250
For example, a deployment tool that modifies the [local host file](https://en.wikipedia.org/wiki/Hosts_(file))
251
251
can affect (break) this peer discovery mechanism.
@@ -495,10 +495,17 @@ In addition, since RabbitMQ nodes [resolve their own and peer hostnames during b
495
495
CoreDNS [caching timeout may need to be decreased](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id) from default 30 seconds
496
496
to a value in the 5-10 second range.
497
497
498
+
:::important
499
+
500
+
CoreDNS [caching timeout may need to be decreased](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id)
501
+
from default 30 seconds to a value in the 5-10 second range
502
+
503
+
:::
504
+
498
505
If a stateless set is used recreated nodes will not have their persisted data and will start as blank nodes.
499
506
This can lead to data loss and higher network traffic volume due to more frequent
500
507
data synchronisation of both [quorum queues](./quorum-queues)
501
-
and [classic queue mirrors](./ha) on newly joining nodes.
## More Advanced Networking Settings {#advanced-settings}
956
-
957
-
### The inetrc File
958
-
959
-
The [Erlang runtime](./runtime/) allows for a number of hostname resolution-related settings to be tuned
960
-
using a file known as the [inetrc file](http://erlang.org/doc/apps/erts/inet_cfg.html).
961
-
962
-
The path to the file can be specified by adding an extra runtime argument using the [`RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS` environment variable](./configure/):
The file can be used to configure a number of settings related to hostname resolution on the node (not system-wide):
978
-
979
-
* Hostnames and host addresses (similarly to the [local host file](https://en.wikipedia.org/wiki/Hosts_(file)))
980
-
* Local domain name
981
-
* Nameservers
982
-
* Preferred hostname lookup method (e.g. local host file vs. DNS)
983
-
* Hostname caching interval
984
-
* Search domains
985
-
986
-
Please consult the [inetrc file documentation](http://erlang.org/doc/apps/erts/inet_cfg.html) to learn more.
987
-
988
-
989
-
### OS Level Tuning {#os-tuning}
955
+
## OS Level Tuning {#os-tuning}
990
956
991
957
Operating system settings can affect operation of RabbitMQ.
992
958
Some are directly related to networking (e.g. TCP settings), others
@@ -1237,9 +1203,9 @@ It should be pointed out that this is only necessary with very constrained
1237
1203
clients and networks. Handshake timeouts in other circumstances indicate
1238
1204
a problem elsewhere.
1239
1205
1240
-
### TLS (SSL) Handshake {#tls-handshake}
1206
+
### TLS Handshake {#tls-handshake}
1241
1207
1242
-
If TLS/SSL is enabled, it may be necessary to increase also the TLS/SSL
1208
+
If [TLS is enabled](./ssl), it may be necessary to increase also the TLS
1243
1209
handshake timeout. This can be done via
1244
1210
the `rabbit.ssl_handshake_timeout` (in milliseconds):
1245
1211
@@ -1300,10 +1266,41 @@ To deactivate reverse DNS lookups:
1300
1266
reverse_dns_lookups = false
1301
1267
```
1302
1268
1269
+
### The inetrc File
1270
+
1271
+
The [Erlang runtime](./runtime/) allows for a number of hostname resolution-related settings to be tuned
1272
+
using a file known as the [inetrc file](http://erlang.org/doc/apps/erts/inet_cfg.html).
1273
+
1274
+
The path to the file can be specified by adding an extra runtime argument using the [`RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS` environment variable](./configure/):
0 commit comments