[PATCH] Convert udpu example to use nodelist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
---
 conf/corosync.conf.example.udpu |   74 ++++++++++++++-------------------------
 1 files changed, 26 insertions(+), 48 deletions(-)

diff --git a/conf/corosync.conf.example.udpu b/conf/corosync.conf.example.udpu
index d5be622..81ea8f5 100644
--- a/conf/corosync.conf.example.udpu
+++ b/conf/corosync.conf.example.udpu
@@ -1,57 +1,11 @@
 # Please read the corosync.conf.5 manual page
 totem {
 	version: 2
+
 	crypto_cipher: none
 	crypto_hash: none
+
 	interface {
-		member {
-			memberaddr: 10.16.35.101
-		}
-		member {
-			memberaddr: 10.16.35.102
-		}
-		member {
-			memberaddr: 10.16.35.103
-		}
-		member {
-			memberaddr: 10.16.35.104
-		}
-		member {
-			memberaddr: 10.16.35.105
-		}
-		member {
-			memberaddr: 10.16.35.106
-		}
-		member {
-			memberaddr: 10.16.35.107
-		}
-		member {
-			memberaddr: 10.16.35.108
-		}
-		member {
-			memberaddr: 10.16.35.109
-		}
-		member {
-			memberaddr: 10.16.35.110
-		}
-		member {
-			memberaddr: 10.16.35.111
-		}
-		member {
-			memberaddr: 10.16.35.112
-		}
-		member {
-			memberaddr: 10.16.35.113
-		}
-		member {
-			memberaddr: 10.16.35.114
-		}
-		member {
-			memberaddr: 10.16.35.115
-		}
-		member {
-			memberaddr: 10.16.35.116
-		}
 		ringnumber: 0
 		bindnetaddr: 10.16.35.0
 		mcastport: 5405
@@ -73,3 +27,27 @@ logging {
 		debug: off
 	}
 }
+
+nodelist {
+	node {
+		ring0_addr: 10.16.35.101
+		nodeid: 1
+	}
+
+	node {
+		ring0_addr: 10.16.35.102
+		nodeid: 2
+	}
+
+	node {
+		ring0_addr: 10.16.35.103
+	}
+
+	node {
+		ring0_addr: 10.16.35.104
+	}
+
+	node {
+		ring0_addr: 10.16.35.105
+	}
+}
-- 
1.7.1

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux