corosync-qnetd-tool.8 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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-QNETD-TOOL 8 2016-06-23
  35. .SH NAME
  36. corosync-qnetd-tool \- corosync-qnetd control interface.
  37. .SH SYNOPSIS
  38. .B "corosync-qnetd-tool [-Hhlsv] [-c cluster_name] [-p qnetd_ipc_socket_path]"
  39. .SH DESCRIPTION
  40. .B corosync-qnetd-tool
  41. is a frontend to the internal corosync-qnetd IPC. Its main purpose is to show important
  42. information about the current internal state of
  43. .B corosync-qnetd.
  44. .SH OPTIONS
  45. .TP
  46. .B -H
  47. Properly shutdown the
  48. .B corosync-qnetd
  49. process
  50. .TP
  51. .B -h
  52. Display a short usage text
  53. .TP
  54. .B -l
  55. List all clients connected to the
  56. .B corosync-qnetd
  57. process. The output is described in its own section below.
  58. .TP
  59. .B -s
  60. Display status of the
  61. .B corosync-qnetd
  62. process.
  63. .TP
  64. .B -v
  65. Display more verbose output for options
  66. .B -l
  67. and
  68. .B -s
  69. .TP
  70. .B -c
  71. Used only with the
  72. .B -l
  73. option. By default, information about all clients from all clusters is displayed, with
  74. this option it's possible to filter information from a single cluster given the
  75. .I cluster_name.
  76. .TP
  77. .B -p
  78. Path to the
  79. .B corosync-qnetd
  80. communication socket.
  81. .SH LIST COMMAND OUTPUT
  82. .nf
  83. Cluster "Cluster":
  84. Algorithm: Fifty-Fifty split
  85. Tie-breaker: Node with lowest node ID
  86. Node ID 1:
  87. Client address: ::ffff:127.0.0.1:52000
  88. HB interval: 8000ms
  89. Configured node list: 1, 2
  90. Ring ID: 1.a00000000021b40
  91. Membership node list: 1, 2
  92. TLS active: Yes (client certificate verified)
  93. Vote: No change (ACK)
  94. ...
  95. .fi
  96. The output contains a list of clusters. Each cluster has the cluster common options
  97. .I Algorithm
  98. and
  99. .I Tie-breaker
  100. as configured in the corosync.conf file. Information about nodes follows.
  101. .I Client address
  102. is the IP address and port of the client.
  103. .I HB interval
  104. is the heartbeat interval between
  105. .B corosync-qnetd
  106. and
  107. .B corosync-qdevice
  108. client. This option can be configured in corosync.conf.
  109. .I Configured node list
  110. is the list of nodes configured in corosync.conf.
  111. .I Ring ID
  112. and
  113. .I Membership node list
  114. are self-explanatory.
  115. .I TLS active
  116. describes if an encrypted transport is used between server and client.
  117. .I Vote
  118. is last vote sent to
  119. .B corosync-qdevice
  120. client. The last ACK/NACK vote (if it exists) is in parentheses.
  121. .SH SEE ALSO
  122. .BR corosync-qnetd (8)
  123. .BR corosync-qdevice (8)
  124. .SH AUTHOR
  125. Jan Friesse
  126. .PP