Просмотр исходного кода

corosync.conf.example: add note about host addresses in bindnetaddr

https://lists.linux-foundation.org/pipermail/openais/2011-July/016563.html

Jan Friesse pointed out that bindnetaddr should be set to a host
address (as opposed to a network address) on hosts where multiple
NICs live on the same subnet. Add a comment to that effect to
the example configuration file.

Signed-off-by: Florian Haas <florian.haas@linbit.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Florian Haas 14 лет назад
Родитель
Сommit
1957865dd6
1 измененных файлов с 12 добавлено и 4 удалено
  1. 12 4
      conf/corosync.conf.example

+ 12 - 4
conf/corosync.conf.example

@@ -17,11 +17,19 @@ totem {
 	interface {
                 # Rings must be consecutively numbered, starting at 0.
 		ringnumber: 0
-		# This is the *network* address of the interface to
-		# bind to. This ensures that you can use identical
-		# instances of this configuration file across all your
-		# cluster nodes, without having to modify this option.
+		# This is normally the *network* address of the
+		# interface to bind to. This ensures that you can use
+		# identical instances of this configuration file
+		# across all your cluster nodes, without having to
+		# modify this option.
 		bindnetaddr: 192.168.1.0
+		# However, if you have multiple physical network
+		# interfaces configured for the same subnet, then the
+		# network address alone is not sufficient to identify
+		# the interface Corosync should bind to. In that case,
+		# configure the *host* address of the interface
+		# instead:
+		# bindnetaddr: 192.168.1.1
 		# When selecting a multicast address, consider RFC
 		# 2365 (which, among other things, specifies that
 		# 239.255.x.x addresses are left to the discretion of