corosync-cfgtool.8 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .\"
  2. .\" * Copyright (C) 2010 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-CFGTOOL" "8" "2010-05-30" "" ""
  35. .SH "NAME"
  36. corosync-cfgtool \- An administrative tool for corosync.
  37. .SH "SYNOPSIS"
  38. .B corosync\-cfgtool [[\-i IP_address] [\-b] \-s] [\-R] [\-k nodeid] [\-a nodeid] [\-h] [\-H]
  39. .SH "DESCRIPTION"
  40. .B corosync\-cfgtool
  41. A tool for displaying and configuring active parameters within corosync.
  42. .SH "OPTIONS"
  43. .TP
  44. .B -i
  45. Finds only information about the specified interface IP address with -s.
  46. .TP
  47. .B -s
  48. Displays the status of the current links on this node for UDP/UDPU, while extended status
  49. for KNET. If any interfaces are faulty, 1 is returned by the binary. If all interfaces are
  50. active 0 is returned to the shell.
  51. After each link, the nodes on that link are displayed in order with their status,
  52. for example there are 3 nodes with KNET transportation:
  53. LINK ID 0:
  54. id = 192.168.100.80
  55. status:
  56. node 0: link enabled: 1 link connected: 1
  57. node 1: link enabled: 1 link connected: 1
  58. node 2: link enabled: 1 link connected: 1
  59. .TP
  60. .B -b
  61. Displays the brief status of the current links on this node (KNET only) when used
  62. with "-s". If any interfaces are faulty, 1 is returned by the binary. If all interfaces
  63. are active 0 is returned to the shell.
  64. After each link, the nodes on that link are displayed in order with their status
  65. encoded into a single digit. 1=link enabled, 2=link connected, So a 3 in
  66. a node position indicates that the link is both enabled and connected.
  67. The local link (which will only ever be enabled on link 0) shows as enabled but
  68. not connected for internal reasons.
  69. The output will be:
  70. LINK ID 0:
  71. id = 192.168.100.80
  72. status = 333
  73. .TP
  74. .B -R
  75. Tell all instances of corosync in this cluster to reload corosync.conf.
  76. .TP
  77. .B -k
  78. Kill a node identified by node id.
  79. .TP
  80. .B -a
  81. Display the IP address(es) of a node.
  82. .TP
  83. .B -h
  84. Print basic usage.
  85. .TP
  86. .B -H
  87. Shutdown corosync cleanly on this node.
  88. .SH "SEE ALSO"
  89. .BR corosync_overview (7),
  90. .SH "AUTHOR"
  91. Angus Salkeld
  92. .PP