From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 537C069DF3 for ; Wed, 15 Sep 2021 15:36:30 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 4D03C1976D for ; Wed, 15 Sep 2021 15:36:30 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id D083D1974F for ; Wed, 15 Sep 2021 15:36:28 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id A4020448B6 for ; Wed, 15 Sep 2021 15:36:28 +0200 (CEST) From: Dylan Whyte To: pve-devel@lists.proxmox.com Date: Wed, 15 Sep 2021 15:36:15 +0200 Message-Id: <20210915133618.143859-3-d.whyte@proxmox.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210915133618.143859-1-d.whyte@proxmox.com> References: <20210915133618.143859-1-d.whyte@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.044 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_ASCII_DIVIDERS 0.8 Spam that uses ascii formatting tricks KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH pve-docs 3/6] pvecm: fix command output formatting X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2021 13:36:30 -0000 - Remove host name from commands, where it provided no value - Display new command output for pvecm status - Shorten command output where unneccessary - Change migration network example to use CIDR address rather than address + netmask Signed-off-by: Dylan Whyte --- pvecm.adoc | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/pvecm.adoc b/pvecm.adoc index 2d1c744..2908267 100644 --- a/pvecm.adoc +++ b/pvecm.adoc @@ -210,7 +210,7 @@ Join Node to Cluster via Command Line Log in to the node you want to join into an existing cluster via `ssh`. ---- - hp2# pvecm add IP-ADDRESS-CLUSTER + # pvecm add IP-ADDRESS-CLUSTER ---- For `IP-ADDRESS-CLUSTER`, use the IP or hostname of an existing cluster node. @@ -225,14 +225,21 @@ To check the state of the cluster use: .Cluster status after adding 4 nodes ---- -hp2# pvecm status + # pvecm status +Cluster information +~~~~~~~~~~~~~~~~~~~ +Name: prod-central +Config Version: 3 +Transport: knet +Secure auth: on + Quorum information ~~~~~~~~~~~~~~~~~~ -Date: Mon Apr 20 12:30:13 2015 +Date: Tue Sep 14 11:06:47 2021 Quorum provider: corosync_votequorum Nodes: 4 Node ID: 0x00000001 -Ring ID: 1/8 +Ring ID: 1.1a8 Quorate: Yes Votequorum information @@ -260,7 +267,7 @@ If you only want a list of all nodes, use: .List nodes in a cluster ---- -hp2# pvecm nodes + # pvecm nodes Membership information ~~~~~~~~~~~~~~~~~~~~~~ @@ -303,7 +310,7 @@ Log in to a *different* cluster node (not hp4), and issue a `pvecm nodes` command to identify the node ID to remove: ---- -hp1# pvecm nodes + hp1# pvecm nodes Membership information ~~~~~~~~~~~~~~~~~~~~~~ @@ -337,14 +344,7 @@ look something like: ---- hp1# pvecm status -Quorum information -~~~~~~~~~~~~~~~~~~ -Date: Mon Apr 20 12:44:28 2015 -Quorum provider: corosync_votequorum -Nodes: 3 -Node ID: 0x00000001 -Ring ID: 1/8 -Quorate: Yes +... Votequorum information ~~~~~~~~~~~~~~~~~~~~~~ @@ -1308,8 +1308,7 @@ iface eno1 inet manual # public network auto vmbr0 iface vmbr0 inet static - address 192.X.Y.57 - netmask 255.255.250.0 + address 192.X.Y.57/24 gateway 192.X.Y.1 bridge-ports eno1 bridge-stp off @@ -1318,14 +1317,12 @@ iface vmbr0 inet static # cluster network auto eno2 iface eno2 inet static - address 10.1.1.1 - netmask 255.255.255.0 + address 10.1.1.1/24 # fast network auto eno3 iface eno3 inet static - address 10.1.2.1 - netmask 255.255.255.0 + address 10.1.2.1/24 ---- Here, we will use the network 10.1.2.0/24 as a migration network. For -- 2.30.2