Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Ganeti Structure
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Patrick Hahn  
View profile  
 More options Aug 31 2012, 1:12 pm
From: Patrick Hahn <ph...@janestreet.com>
Date: Fri, 31 Aug 2012 13:12:42 -0400
Local: Fri, Aug 31 2012 1:12 pm
Subject: Re: Ganeti Structure

A node can only belong to one cluster at a time. However this is fine since
the primary and secondary nodes are set on the per-instance (i.e. guest)
level. You would do something like (on node1)

gnt-cluster init cluster1.domain.com
gnt-node add node2.domain.com
gnt-instance add -t drbd --node=node1.domain.com:node2.domain.com
guest1.domain.com
gnt-instance add -t drbd --node=node2.domain.com:node1.domain.com
guest2.domain.com

And that should do what you're describing (assuming I understood properly).

Thanks,
Patrick

On Fri, Aug 31, 2012 at 8:51 AM, j b <jwbens...@gmail.com> 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).

> 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?

> Many thanks for your time all.

> P.s. Loving Ganeti so far, I hope it can do what I require as it seems
> very powerful!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.