Mixed single-homed/multi-homed configuration

20 views
Skip to first unread message

Gianfilippo

unread,
Sep 22, 2012, 11:09:24 AM9/22/12
to gan...@googlegroups.com
Hi all,
we're using ganeti 2.6 on a single-homed cluster of four machines.
Recently we have connected two of those machines with a dedicated
crossover cable, and we have assigned to the eth1 of these two servers
the IPs 10.0.0.1 and 10.0.0.2 .
Is there a sane way (or some decent hack) to configure ganeti in order
to make use of this secondary interface only for those two nodes? Please
note that the master node is not able to reach this secondary network.
I would like to use this dedicated connection for drbd data replication
between these two nodes, since it's a 1gbit connection instead of the
"public" 100 mbit/s interface.

Thanks for your help. I hope that somebody had my same issue.

--
Gianfilippo Giannini
System administration for the masses
mail me: gianfilipp...@kelyon.it - call me: +39 08651945490
"I love deadlines. I love the whooshing noise they make as they pass" -
Douglas Adams

Matteo Bigoi

unread,
Sep 23, 2012, 2:26:04 PM9/23/12
to gan...@googlegroups.com

If I am right you can recreate the cluster passing a parameter ( see gnt-cluster man page and search for --secondary-ip in init section).
I don't know if you can use gnt-cluster modify to change this param into a running cluster.

Cheers
     Matteo

Il giorno 22/set/2012 18:15, "Gianfilippo" <gia...@gmail.com> ha scritto:

Gianfilippo

unread,
Sep 24, 2012, 5:47:45 AM9/24/12
to gan...@googlegroups.com
Hello,

On 23/09/2012 20:26, Matteo Bigoi wrote:
> If I am right you can recreate the cluster passing a parameter ( see
> gnt-cluster man page and search for --secondary-ip in init section).
> I don't know if you can use gnt-cluster modify to change this param into
> a running cluster.

this will change the whole cluster into a multi-homed configuration, and
it requires the master node to access all the nodes on the secondary
network. It's not my scenario, in which the secondary network is present
only in two of the nodes (thus, the mixed single-homed/multi-homed
configuration).
Anyway, i found a solution forcing the route between the two nodes on
the secondary ethernet card using the common route commands. Dirty hack,
but it works.
Cheers


>
> Cheers
> Matteo
>
> Il giorno 22/set/2012 18:15, "Gianfilippo" <gia...@gmail.com
> <mailto:gia...@gmail.com>> ha scritto:

Iustin Pop

unread,
Sep 25, 2012, 3:18:58 AM9/25/12
to gan...@googlegroups.com
On Mon, Sep 24, 2012 at 11:47:45AM +0200, Gianfilippo wrote:
> Hello,
>
> On 23/09/2012 20:26, Matteo Bigoi wrote:
> >If I am right you can recreate the cluster passing a parameter ( see
> >gnt-cluster man page and search for --secondary-ip in init section).
> >I don't know if you can use gnt-cluster modify to change this param into
> >a running cluster.
>
> this will change the whole cluster into a multi-homed configuration,
> and it requires the master node to access all the nodes on the
> secondary network. It's not my scenario, in which the secondary
> network is present only in two of the nodes (thus, the mixed
> single-homed/multi-homed configuration).
> Anyway, i found a solution forcing the route between the two nodes
> on the secondary ethernet card using the common route commands.
> Dirty hack, but it works.

Yes, that's the only way to make it work - Ganeti by itself requires
full-mesh connectivity.

regards,
iustin
Reply all
Reply to author
Forward
0 new messages