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

Received: by 10.180.95.2 with SMTP id dg2mr551004wib.2.1346434190812;
        Fri, 31 Aug 2012 10:29:50 -0700 (PDT)
X-BeenThere: ganeti@googlegroups.com
Received: by 10.180.82.231 with SMTP id l7ls1783359wiy.4.canary; Fri, 31 Aug
 2012 10:29:49 -0700 (PDT)
Received: by 10.216.84.129 with SMTP id s1mr430072wee.2.1346434189971;
        Fri, 31 Aug 2012 10:29:49 -0700 (PDT)
Received: by 10.216.84.129 with SMTP id s1mr430071wee.2.1346434189933;
        Fri, 31 Aug 2012 10:29:49 -0700 (PDT)
Return-Path: <iu...@k1024.org>
Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177])
        by gmr-mx.google.com with ESMTPS id e5si265804wiw.0.2012.08.31.10.29.49
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 31 Aug 2012 10:29:49 -0700 (PDT)
Received-SPF: pass (google.com: domain of iu...@k1024.org designates 209.85.212.177 as permitted sender) client-ip=209.85.212.177;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of iu...@k1024.org designates 209.85.212.177 as permitted sender) smtp.mail=iu...@k1024.org
Received: by wibhn17 with SMTP id hn17so1586624wib.6
        for <ganeti@googlegroups.com>; Fri, 31 Aug 2012 10:29:49 -0700 (PDT)
        d=google.com; s=20120113;
        h=date:from:to:subject:message-id:mail-followup-to:references
         :mime-version:content-type:content-disposition:in-reply-to:x-linux
         :x-header:user-agent:x-gm-message-state;
        bh=hccB3xffDHKeS531Al7Txy490AS1uqcCvueNM/lTwbI=;
        b=ZSPnQqIMFbVtXxpLxr9lBI4vbL49yO4aW/BGT0+SNNbgb1Avou75xgPETFEylQGZ+w
         D7F6cZiEhZ2p9YYCNa877MfI0KJuvNdNTjHfDTiNyxCtPAwC0hMvFIcaE+EmgQejVYPW
         tWy2S9NHiLW7PxAdmeZOEk7yNnnWIyLPtq3P5AjikutHPyb479BZxdB0afsavy+iv6XK
         mzFhEuoXtCCZ5QF2jAR8a1RMncQHR5UeGwW0/LuI3KGYivqiMQ7kPXMJx9WlcO5ehWZl
         EHWCBN0FanK2Rf/CliFCsP+Q8rj8djPoXAb1IEU3d2dprdf9gGLXUrLxtXnPsiT3hbEm
         1Oug==
Received: by 10.217.2.133 with SMTP id p5mr5333719wes.143.1346434189704;
        Fri, 31 Aug 2012 10:29:49 -0700 (PDT)
Return-Path: <iu...@k1024.org>
Received: from teal.hq.k1024.org (46-126-106-189.dynamic.hispeed.ch. [46.126.106.189])
        by mx.google.com with ESMTPS id cl8sm1893383wib.10.2012.08.31.10.29.48
        (version=TLSv1/SSLv3 cipher=AES128-SHA);
        Fri, 31 Aug 2012 10:29:48 -0700 (PDT)
Received: by teal.hq.k1024.org (Postfix, from userid 4004)
	id 5C1BB23934F; Fri, 31 Aug 2012 19:29:47 +0200 (CEST)
Date: Fri, 31 Aug 2012 19:29:47 +0200
From: Iustin Pop <iu...@k1024.org>
To: ganeti@googlegroups.com
Subject: Re: Ganeti Structure
Message-ID: <20120831172947.GB1...@teal.hq.k1024.org>
Mail-Followup-To: ganeti@googlegroups.com
References: <9baaa018-4c21-45c3-bf89-1be6d5ad4343@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <9baaa018-4c21-45c3-bf89-1be6d5ad4343@googlegroups.com>
X-Linux: This message was written on Linux
X-Header: /usr/include gives great headers
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Gm-Message-State: ALoCoQm2WJUvlQg2MtJ1EjjH6BrrYA0yzkU4pxxB+a7ERocczkpy1qBPUHWAmNisI4ktSMryUKDF

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