public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] 2 host cluster, direct link: best configuration?
@ 2022-02-18 17:55 Marco Gaiarin
  2022-02-19 19:00 ` GM
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Gaiarin @ 2022-02-18 17:55 UTC (permalink / raw)
  To: pve-user


We have to setup a little 2 node cluster, with symmetrical nodes, using
replication.

For that, we have added a 10G interface, and setup a direct link between the
two server.

But how is better to setup the link? Some ideas:

1) another network, different from LAN

  pro: simple
  cons: replica happen only on cluster/corosync interface? So i have to
    setup corosync on direct link addresses?


2) ip override; eg LAN interfaces are 10.37.5.21/21 and 10.37.5.22/21;
 direct link interfaces are 10.37.5.21/32 and 10.37.5.22/32, and an
 explicitly route to  other host

 pro: if direct link go down, we can simple tear down interfaces
 cons: no auto, interfaces have to tear down manually


3) setup a bridge around LAN and direct link cable, setup STP and leave the
 switches all the work.

 This config suggested, more or less, by:
	https://pve.proxmox.com/wiki/Full_Mesh_Network_for_Ceph_Server


Thanks.

-- 
  Io chiedo quando sara` che l'uomo potra` imparare
  a vivere senza ammazzare e il vento si posera`	(F. Guccini)





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PVE-User] 2 host cluster, direct link: best configuration?
  2022-02-18 17:55 [PVE-User] 2 host cluster, direct link: best configuration? Marco Gaiarin
@ 2022-02-19 19:00 ` GM
  2022-02-21 12:14   ` Marco Gaiarin
  0 siblings, 1 reply; 3+ messages in thread
From: GM @ 2022-02-19 19:00 UTC (permalink / raw)
  To: Proxmox VE user list

I'd personally use option 1, dedicated nic(s) or vlans for LAN and Corosync
network.Then I'd use the dedicated 10G link only for storage replication.
All 3 networks would be setup on different network subnets. Storage
replication uses "migration network" for the replication, so you could
setup that on the dedicated 10G link, so that it does not interfere with
the corosync/lan traffic. Migration network can be setup either via the
datacenter.cfg or via the web gui (Datacenter -> Options -> Migration
settings).

On Sat, 19 Feb 2022 at 16:10, Marco Gaiarin <gaio@lilliput.linux.it> wrote:

>
> We have to setup a little 2 node cluster, with symmetrical nodes, using
> replication.
>
> For that, we have added a 10G interface, and setup a direct link between
> the
> two server.
>
> But how is better to setup the link? Some ideas:
>
> 1) another network, different from LAN
>
>   pro: simple
>   cons: replica happen only on cluster/corosync interface? So i have to
>     setup corosync on direct link addresses?
>
>
> 2) ip override; eg LAN interfaces are 10.37.5.21/21 and 10.37.5.22/21;
>  direct link interfaces are 10.37.5.21/32 and 10.37.5.22/32, and an
>  explicitly route to  other host
>
>  pro: if direct link go down, we can simple tear down interfaces
>  cons: no auto, interfaces have to tear down manually
>
>
> 3) setup a bridge around LAN and direct link cable, setup STP and leave the
>  switches all the work.
>
>  This config suggested, more or less, by:
>         https://pve.proxmox.com/wiki/Full_Mesh_Network_for_Ceph_Server
>
>
> Thanks.
>
> --
>   Io chiedo quando sara` che l'uomo potra` imparare
>   a vivere senza ammazzare e il vento si posera`        (F. Guccini)
>
>
>
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PVE-User] 2 host cluster, direct link: best configuration?
  2022-02-19 19:00 ` GM
@ 2022-02-21 12:14   ` Marco Gaiarin
  0 siblings, 0 replies; 3+ messages in thread
From: Marco Gaiarin @ 2022-02-21 12:14 UTC (permalink / raw)
  To: GM; +Cc: pve-user

Mandi! GM
  In chel di` si favelave...

> I'd personally use option 1, dedicated nic(s) or vlans for LAN and Corosync
> network.Then I'd use the dedicated 10G link only for storage replication.
> All 3 networks would be setup on different network subnets. Storage
> replication uses "migration network" for the replication, so you could
> setup that on the dedicated 10G link, so that it does not interfere with
> the corosync/lan traffic. Migration network can be setup either via the
> datacenter.cfg or via the web gui (Datacenter -> Options -> Migration
> settings).

Cool! Thanks for the hint!

-- 
  Non sara` il canto delle sirene che ci innamorera`
  noi lo conosciamo bene, l'abbiamo sentito gia`	(F. De Gregori)





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-21 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18 17:55 [PVE-User] 2 host cluster, direct link: best configuration? Marco Gaiarin
2022-02-19 19:00 ` GM
2022-02-21 12:14   ` Marco Gaiarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal