Iustin Pop
unread,Aug 31, 2012, 1:29:47 PM8/31/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gan...@googlegroups.com
On Fri, Aug 31, 2012 at 05:51:15AM -0700, j b wrote:
> Howdy all,
>
> I am playing around with Ganeti and I would like to clarify the structure
> of Ganeti and it's terminology, to ensure I can use it as I wish,
> or change my design if I am mistaken.
>
> Imagine two physical nodes (node1 & node2) and two different virtual
> machines (guest1 & guest2). If I have understood the Ganeti docs correctly,
> I would like to set up two clusters (cluster1 & cluster2).
No, not really. Each node can be in only one cluster at any point in
time.
> Cluster1 has two nodes (node1 & node2) and I would like to then set up an
> instance of guest1 on this cluster so that it runs on node1 as the primary
> node1, and would spin up on node2 if node1 failed.
>
> I would like cluster2 to also consist of two nodes (the same node1 & node2)
> and on here bring up an instance of guest2 where node2 is the primary node,
> and in a failure of node2 guest2 would spin up on node1. So these two
> physical servers are failing over to each other.
>
> Can Ganeti run more than one cluster on the same node1? Or have I
> miss-understood and under one cluster comprising of these two nodes I can
> run two different instances and have different primary nodes per instance?
Yes, indeed, you only need one cluster. The "primary" setting is a
per-instance one, not a per-cluster.
thanks,
iustin