corosync-qnetd-tool.8 3.9 KB

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