public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Marco Gaiarin <gaio@lilliput.linux.it>
To: pve-user@lists.proxmox.com
Subject: [PVE-User] 2 host cluster, direct link: best configuration?
Date: Fri, 18 Feb 2022 18:55:18 +0100	[thread overview]
Message-ID: <4535ei-8j11.ln1@hermione.lilliput.linux.it> (raw)


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)





             reply	other threads:[~2022-02-19 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-18 17:55 Marco Gaiarin [this message]
2022-02-19 19:00 ` GM
2022-02-21 12:14   ` Marco Gaiarin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4535ei-8j11.ln1@hermione.lilliput.linux.it \
    --to=gaio@lilliput.linux.it \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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