Re: [ClusterLabs Developers] [corosync][PATCH][needle] quorumtool: Add option to show all node addresses

2017-04-05 Thread Christine Caulfield
On 05/04/17 08:13, Jan Friesse wrote:
>>
>> Add a new -a option shows all of the names/ip address of nodes
>> in a multi-homed environment.
> 
> ACK, merged. Can you please also edit man page of quorumtool to reflect
> patch change (both master and needle)?

yes, excellent point. The attached patch should work for both branches

Chrissie

commit 1fa287bcd60f35db6c56c5c8d83fbcf84882efd9
Author: Christine Caulfield 
Date:   Wed Apr 5 09:26:49 2017 +0100

manpages: Document -a option to corosync-quorumtool

Signed-off-by: Christine Caulfield 

diff --git a/man/corosync-quorumtool.8 b/man/corosync-quorumtool.8
index 88264b0..4e7f3fe 100644
--- a/man/corosync-quorumtool.8
+++ b/man/corosync-quorumtool.8
@@ -35,7 +35,7 @@
 .SH NAME
 corosync-quorumtool \- Set and display quorum settings.
 .SH SYNOPSIS
-.B "corosync-quorumtool [\-s] [\-m] [\-l] [\-p] [\-v votes] [\-n nodeid] [\-e expected] [\-H] [\-i] [\-o ] [\-f] [\-h] [\-V]"
+.B "corosync-quorumtool [\-s] [\-m] [\-l] [\-p] [\-v votes] [\-n nodeid] [\-e expected] [\-H] [\-i] [\-o ] [\-a] [\-f] [\-h] [\-V]"
 .SH DESCRIPTION
 Display the current state of quorum in the cluster and set vote quorum options.
 .SH OPTIONS
@@ -75,6 +75,10 @@ Orders the output of the nodes list. By default or with -oa nodes are listed in
 order: as they come from corosync. -on will order the nodes based on their name,
 and -oi will order them based on their node ID.
 .TP
+.B -a
+Show the name or IP address (see -i above) of all interfaces in use on the nodes, rather than 
+just the first one.
+.TP
 .B -f
 forcefully unregister a quorum device *DANGEROUS* *
 .TP
___
Developers mailing list
Developers@clusterlabs.org
http://lists.clusterlabs.org/mailman/listinfo/developers


Re: [ClusterLabs Developers] [corosync][PATCH][needle] quorumtool: Add option to show all node addresses

2017-04-05 Thread Jan Friesse


Add a new -a option shows all of the names/ip address of nodes
in a multi-homed environment.


ACK, merged. Can you please also edit man page of quorumtool to reflect 
patch change (both master and needle)?


Regards,
  Honza



Signed-off-by: Christine Caulfield 



___
Developers mailing list
Developers@clusterlabs.org
http://lists.clusterlabs.org/mailman/listinfo/developers




___
Developers mailing list
Developers@clusterlabs.org
http://lists.clusterlabs.org/mailman/listinfo/developers