NAME

pvecm - Proxmox VE cluster manager toolkit

SYNOPSIS

 pvecm <COMMAND> [ARGS] [OPTIONS]

 pvecm help [<cmd>] [OPTIONS]
 
   Get help about specified command.
 
   <cmd>      string
 
             Command name
 
   -verbose   boolean
 
             Verbose output format.
 
 


 pvecm add <hostname> [OPTIONS]
 
   Adds the current node to an existing cluster.
 
   <hostname> 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.
 
   -votes     integer (0 - N)
 
             Number of votes for this node
 
 

 pvecm addnode <node> [OPTIONS]
 
   Adds a node to the cluster configuration.
 
   <node>     string
 
             The cluster node name.
 
   -force     boolean
 
             Do not throw error if node already exists.
 
   -nodeid    integer (1 - N)
 
             Node id for this node.
 
   -votes     integer (0 - N)
 
             Number of votes for this node
 
 

 pvecm create <clustername> [OPTIONS]
 
   Generate new cluster configuration.
 
   <clustername> string
 
             The name of the cluster.
 
   -nodeid    integer (1 - N)
 
             Node id for this node.
 
   -votes     integer (1 - N)
 
             Number of votes for this node.
 
 

 pvecm delnode <node>
 
   Removes a node to the cluster configuration.
 
   <node>     string
 
             The cluster node name.
 
 

 pvecm expected <expected>
 
   Tells corosync a new value of expected votes.
 
   <expected> integer (1 - N)
 
             Expected votes
 
 

 pvecm keygen <filename>
 
   Generate new cryptographic key for corosync.
 
   <filename> 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).
 
 

DESCRIPTION

pvecm is a program to manage the cluster configuration. It can be used to create a new cluster, join nodes to a cluster, leave the cluster, get status information and do various other cluster related tasks.

COPYRIGHT AND DISCLAIMER

Copyright (C) 2007-2015 Proxmox Server Solutions GmbH

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.