You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pvecm.1-synopsis.adoc 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. *pvecm* `<COMMAND> [ARGS] [OPTIONS]`
  2. *pvecm add* `<hostname>` `[OPTIONS]`
  3. Adds the current node to an existing cluster.
  4. `<hostname>`: `<string>` ::
  5. Hostname (or IP) of an existing cluster member.
  6. `--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
  7. Certificate SHA 256 fingerprint.
  8. `--force` `<boolean>` ::
  9. Do not throw error if node already exists.
  10. `--link[n]` `[address=]<IP> [,priority=<integer>]` ::
  11. Address and priority information of a single corosync link.
  12. `--nodeid` `<integer> (1 - N)` ::
  13. Node id for this node.
  14. `--use_ssh` `<boolean>` ::
  15. Always use SSH to join, even if peer may do it over API.
  16. `--votes` `<integer> (0 - N)` ::
  17. Number of votes for this node
  18. *pvecm addnode* `<node>` `[OPTIONS]`
  19. Adds a node to the cluster configuration. This call is for internal use.
  20. `<node>`: `<string>` ::
  21. The cluster node name.
  22. `--force` `<boolean>` ::
  23. Do not throw error if node already exists.
  24. `--link[n]` `[address=]<IP> [,priority=<integer>]` ::
  25. Address and priority information of a single corosync link.
  26. `--nodeid` `<integer> (1 - N)` ::
  27. Node id for this node.
  28. `--votes` `<integer> (0 - N)` ::
  29. Number of votes for this node
  30. *pvecm create* `<clustername>` `[OPTIONS]`
  31. Generate new cluster configuration.
  32. `<clustername>`: `<string>` ::
  33. The name of the cluster.
  34. `--link[n]` `[address=]<IP> [,priority=<integer>]` ::
  35. Address and priority information of a single corosync link.
  36. `--nodeid` `<integer> (1 - N)` ::
  37. Node id for this node.
  38. `--votes` `<integer> (1 - N)` ::
  39. Number of votes for this node.
  40. *pvecm delnode* `<node>`
  41. Removes a node from the cluster configuration.
  42. `<node>`: `<string>` ::
  43. The cluster node name.
  44. *pvecm expected* `<expected>`
  45. Tells corosync a new value of expected votes.
  46. `<expected>`: `<integer> (1 - N)` ::
  47. Expected votes
  48. *pvecm help* `[OPTIONS]`
  49. Get help about specified command.
  50. `--extra-args` `<array>` ::
  51. Shows help for a specific command
  52. `--verbose` `<boolean>` ::
  53. Verbose output format.
  54. *pvecm keygen* `<filename>`
  55. Generate new cryptographic key for corosync.
  56. `<filename>`: `<string>` ::
  57. Output file name
  58. *pvecm mtunnel* `[<extra-args>]` `[OPTIONS]`
  59. Used by VM/CT migration - do not use manually.
  60. `<extra-args>`: `<array>` ::
  61. Extra arguments as array
  62. `--get_migration_ip` `<boolean>` ('default =' `0`)::
  63. return the migration IP, if configured
  64. `--migration_network` `<string>` ::
  65. the migration network used to detect the local migration IP
  66. `--run-command` `<boolean>` ::
  67. Run a command with a tcp socket as standard input. The IP address and port are printed via this command's stdandard output first, each on a separate line.
  68. *pvecm nodes*
  69. Displays the local view of the cluster nodes.
  70. *pvecm qdevice remove*
  71. Remove a configured QDevice
  72. *pvecm qdevice setup* `<address>` `[OPTIONS]`
  73. Setup the use of a QDevice
  74. `<address>`: `<string>` ::
  75. Specifies the network address of an external corosync QDevice
  76. `--force` `<boolean>` ::
  77. Do not throw error on possible dangerous operations.
  78. `--network` `<string>` ::
  79. The network which should be used to connect to the external qdevice
  80. *pvecm status*
  81. Displays the local view of the cluster status.
  82. *pvecm updatecerts* `[OPTIONS]`
  83. Update node certificates (and generate all needed files/directories).
  84. `--force` `<boolean>` ::
  85. Force generation of new SSL certifate.
  86. `--silent` `<boolean>` ::
  87. Ignore errors (i.e. when cluster has no quorum).