corosync-quorumtool.8 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .\"/*
  2. .\" * Copyright (C) 2010,2014 Red Hat, Inc.
  3. .\" *
  4. .\" * All rights reserved.
  5. .\" *
  6. .\" * Author: Angus Salkeld <asalkeld@redhat.com>
  7. .\" *
  8. .\" * This software licensed under BSD license, the text of which follows:
  9. .\" *
  10. .\" * Redistribution and use in source and binary forms, with or without
  11. .\" * modification, are permitted provided that the following conditions are met:
  12. .\" *
  13. .\" * - Redistributions of source code must retain the above copyright notice,
  14. .\" * this list of conditions and the following disclaimer.
  15. .\" * - Redistributions in binary form must reproduce the above copyright notice,
  16. .\" * this list of conditions and the following disclaimer in the documentation
  17. .\" * and/or other materials provided with the distribution.
  18. .\" * - Neither the name of the MontaVista Software, Inc. nor the names of its
  19. .\" * contributors may be used to endorse or promote products derived from this
  20. .\" * software without specific prior written permission.
  21. .\" *
  22. .\" * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  23. .\" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  24. .\" * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  25. .\" * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  26. .\" * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  27. .\" * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  28. .\" * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  29. .\" * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  30. .\" * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  31. .\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  32. .\" * THE POSSIBILITY OF SUCH DAMAGE.
  33. .\" */
  34. .TH COROSYNC-QUORUMTOOL 8 2019-02-14
  35. .SH NAME
  36. corosync-quorumtool \- Set and display quorum settings.
  37. .SH SYNOPSIS
  38. .B "corosync-quorumtool [\-s] [\-m] [\-l] [\-p] [\-v votes] [\-n nodeid] [\-e expected] [\-H] [\-i] [\-o <a|n|i>] [\-a] [\-f] [\-h] [\-V]"
  39. .SH DESCRIPTION
  40. Display the current state of quorum in the cluster and set vote quorum options.
  41. .SH OPTIONS
  42. .TP
  43. .B -s
  44. show quorum status
  45. .TP
  46. .B -m
  47. constantly monitor quorum status
  48. .TP
  49. .B -l
  50. list nodes
  51. .TP
  52. .B -p
  53. when used with -s or -l, generates machine parsable output
  54. .TP
  55. .B -v <votes>
  56. change the number of votes for a node *
  57. .TP
  58. .B -n <nodeid>
  59. optional nodeid of node for -v
  60. .TP
  61. .B -e <expected>
  62. change expected votes for the cluster *
  63. .TP
  64. .B -H
  65. show nodeids in hexadecimal rather than decimal
  66. .TP
  67. .B -i
  68. show node IP addresses instead of the resolved name
  69. .TP
  70. .B -p
  71. when used with -s or -l, generates machine parsable output
  72. .TP
  73. .B -o <a|n|i>
  74. Orders the output of the nodes list. By default or with -oa nodes are listed in IP address
  75. order: as they come from corosync. -on will order the nodes based on their name,
  76. and -oi will order them based on their node ID.
  77. .TP
  78. .B -a
  79. Show the name or IP address (see -i above) of all interfaces in use on the nodes, rather than
  80. just the first one.
  81. .TP
  82. .B -f
  83. forcefully unregister a quorum device *DANGEROUS* *
  84. .TP
  85. .B -h (if no other argument)
  86. show this help text
  87. .TP
  88. .B -V
  89. show version and exit
  90. .PP
  91. * Starred items only work if votequorum is the quorum provider for corosync
  92. .SH EXIT STATUS
  93. corosync-quorumtool may return one of several error codes if it encounters problems.
  94. .TP
  95. 0
  96. No problems occurred (quorate for
  97. .B -s
  98. operation).
  99. .TP
  100. 1
  101. Generic error code.
  102. .TP
  103. 2
  104. Not quorate (returned only for
  105. .B -s
  106. operation).
  107. .SH SEE ALSO
  108. .BR corosync_overview (7),
  109. .BR votequorum_overview (3),
  110. .SH AUTHOR
  111. Angus Salkeld
  112. .PP