X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=pvecm.1-synopsis.adoc;fp=pvecm.1-synopsis.adoc;h=91da77a7d852e86ed9a241be75354e859bb6fc03;hp=0000000000000000000000000000000000000000;hb=d8742b0c9cbfbc0a2bac4b342657dc94db079a81;hpb=b0f56e112393cf9f5477ffaee8c55e96c0b56809 diff --git a/pvecm.1-synopsis.adoc b/pvecm.1-synopsis.adoc new file mode 100644 index 0000000..91da77a --- /dev/null +++ b/pvecm.1-synopsis.adoc @@ -0,0 +1,184 @@ +*pvecm* ` [ARGS] [OPTIONS]` + +*pvecm add* `` `[OPTIONS]` + +Adds the current node to an existing cluster. + + string + + Hostname (or IP) of an existing cluster member. + + -force boolean + + Do not throw error if node already exists. + + -nodeid integer (1 - N) + + Node id for this node. + + -ring0_addr string + + Hostname (or IP) of the corosync ring0 address of this node. + Defaults to nodes hostname. + + -ring1_addr string + + Hostname (or IP) of the corosync ring1 address, this needs an + valid configured ring 1 interface in the cluster. + + -votes integer (0 - N) + + Number of votes for this node + + + +*pvecm addnode* `` `[OPTIONS]` + +Adds a node to the cluster configuration. + + string + + The cluster node name. + + -force boolean + + Do not throw error if node already exists. + + -nodeid integer (1 - N) + + Node id for this node. + + -ring0_addr string + + Hostname (or IP) of the corosync ring0 address of this node. + Defaults to nodes hostname. + + -ring1_addr string + + Hostname (or IP) of the corosync ring1 address, this needs an + valid bindnet1_addr. + + -votes integer (0 - N) + + Number of votes for this node + + + +*pvecm create* `` `[OPTIONS]` + +Generate new cluster configuration. + + string + + The name of the cluster. + + -bindnet0_addr string + + This specifies the network address the corosync ring 0 + executive should bind to and defaults to the local IP address + of the node. + + -bindnet1_addr string + + This specifies the network address the corosync ring 1 + executive should bind to and is optional. + + -nodeid integer (1 - N) + + Node id for this node. + + -ring0_addr string + + Hostname (or IP) of the corosync ring0 address of this node. + Defaults to the hostname of the node. + + -ring1_addr string + + Hostname (or IP) of the corosync ring1 address, this needs an + valid bindnet1_addr. + + -rrp_mode (active | none | passive) (default=none) + + This specifies the mode of redundant ring, which may be none, + active or passive. Using multiple interfaces only allows + 'active' or 'passive'. + + -votes integer (1 - N) + + Number of votes for this node. + + + +*pvecm delnode* `` + +Removes a node to the cluster configuration. + + string + + The cluster node name. + + + +*pvecm expected* `` + +Tells corosync a new value of expected votes. + + integer (1 - N) + + Expected votes + + + + +*pvecm help* `[]` `[OPTIONS]` + +Get help about specified command. + + string + + Command name + + -verbose boolean + + Verbose output format. + + + + +*pvecm keygen* `` + +Generate new cryptographic key for corosync. + + string + + Output file name + + + +*pvecm nodes* + +Displays the local view of the cluster nodes. + + + +*pvecm status* + +Displays the local view of the cluster status. + + + +*pvecm updatecerts* `[OPTIONS]` + +Update node certificates (and generate all needed files/directories). + + -force boolean + + Force generation of new SSL certifate. + + -silent boolean + + Ignore errors (i.e. when cluster has no quorum). + + + +