corosync-qdevice-tool.8 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .\"/*
  2. .\" * Copyright (C) 2016 Red Hat, Inc.
  3. .\" *
  4. .\" * All rights reserved.
  5. .\" *
  6. .\" * Author: Jan Friesse <jfriesse@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 Red Hat, 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-QDEVICE-TOOL 8 2016-06-24
  35. .SH NAME
  36. corosync-qdevice-tool \- corosync-qdevice control interface.
  37. .SH SYNOPSIS
  38. .B "corosync-qdevice-tool [-Hhsv] [-p qdevice_ipc_socket_path]"
  39. .SH DESCRIPTION
  40. .B corosync-qdevice-tool
  41. is frontend to internal corosync-qdevice IPC. It's main purpose is to show important
  42. information about current
  43. .B corosync-qdevice
  44. internal state.
  45. .SH OPTIONS
  46. .TP
  47. .B -H
  48. Properly shutdown
  49. .B corosync-qdevice
  50. process
  51. .TP
  52. .B -h
  53. Display short usage
  54. .TP
  55. .B -s
  56. Display status of
  57. .B corosync-qdevice
  58. process. Output is described in it's own section.
  59. .TP
  60. .B -v
  61. Display more verbose output for
  62. .B -s
  63. option.
  64. .TP
  65. .B -p
  66. Path to
  67. .B corosync-qdevice
  68. communication socket.
  69. .SH STATUS COMMAND OUTPUT
  70. .nf
  71. Qdevice information
  72. -------------------
  73. Model: Net
  74. Node ID: 1
  75. HB interval: 10000ms
  76. Sync HB interval: 30000ms
  77. Configured node list:
  78. 0 Node ID = 1
  79. Ring ID: 1.a00000000021b48
  80. Membership node list: 1
  81. Quorate: Yes
  82. Quorum node list:
  83. 0 Node ID = 1, State = member
  84. Expected votes: 2
  85. Last poll call: 2016-06-24T17:05:20 (cast vote)
  86. Qdevice-net information
  87. ----------------------
  88. Cluster name: Cluster
  89. QNetd host: localhost:5403
  90. Connect timeout: 8000ms
  91. HB interval: 8000ms
  92. VQ vote timer interval: 5000ms
  93. TLS: Supported
  94. Algorithm: Fifty-Fifty split
  95. Tie-breaker: Node with lowest node ID
  96. Poll timer running: Yes (cast vote)
  97. State: Connected
  98. TLS active: Yes (client certificate sent)
  99. Connected since: 2016-06-24T17:02:35
  100. Echo reply received: 2016-06-24T17:05:15
  101. .fi
  102. Output is split into generic qdevice section and model specific section.
  103. Most of the items are just taken from corosync.conf file. It's good to note
  104. .I Membership node list
  105. what is list of nodes in same membership with current node and
  106. .I Last poll call
  107. what is timestamp (iso format) of last call of votequorum_qdevice_poll
  108. function.
  109. For model net, it's good to note
  110. .I Poll timer running
  111. item. Internally, model net supports 3 states. Not voting (then
  112. .I Poll timer running
  113. is No and it means
  114. .B corosync-qnetd
  115. algorithm decides that current node shouldn't get vote),
  116. voting but not cast vote and voting with cast vote.
  117. .SH SEE ALSO
  118. .BR corosync-qnetd (8)
  119. .BR corosync-qdevice (8)
  120. .SH AUTHOR
  121. Jan Friesse
  122. .PP