Re: [RFC] quorum module configuration bits

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

 



On 01/13/2012 12:10 PM, Steven Dake wrote:
> nodelist {
> 	node X {
> 		ring0_interface: 192.168.1.1
> 		ring1_interface: 192.168.2.1
> 		nodeid: 1
> 		quorum_votes: 1
> 	}
> 	node Y {
> 		ring0_interface: 192.168.1.2
> 		ring1_interface: 192.168.2.2
> 		nodeid: 2
> 		quorum_votes: 2
> 	}
> }

+1, I like this config style.

At the risk of getting all Inception on this; If you might ever want to
add more options than just an IP for the rings though, like a specific
port, perhaps:

nodelist {
	node X {
		nodeid: 1
		quorum_votes: 1
		ring 0 {
			interface: 192.168.1.1
			port: 5555
		}
		ring 1 {
			interface: 192.168.2.1
			port: 5556
		}
	}
	node Y {
		nodeid: 1
		quorum_votes: 1
		ring 0 {
			interface: 192.168.1.2
			port: 5555
		}
		ring 1 {
			interface: 192.168.2.2
			port: 5556
		}
	}
}


-- 
Digimer
E-Mail:              digimer@xxxxxxxxxxx
Freenode handle:     digimer
Papers and Projects: http://alteeve.com
Node Assassin:       http://nodeassassin.org
"omg my singularity battery is dead again.
stupid hawking radiation." - epitron
_______________________________________________
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