Linux command
pvecm 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Add
pvecm add [hostname_or_ip]
Example
pvecm addnode [node]
Example
pvecm apiver
Example
pvecm create [clustername]
Remove
pvecm delnode [node]
Example
pvecm nodes
Example
pvecm status
说明
pvecm manages Proxmox VE cluster membership. It handles creating clusters, joining nodes to existing clusters, and removing nodes. The cluster provides high availability, live migration, and shared storage capabilities. Proxmox clustering uses corosync for cluster communication and pmxcfs for distributed configuration storage. All cluster nodes share the same configuration.
参数
- add _host_
- Join this node to existing cluster
- addnode, addn _node_
- Add node to cluster config (internal use)
- apiver, ap
- Show cluster join API version
- create, c _name_
- Create new cluster with given name
- delnode, d _node_
- Remove node from cluster configuration
- nodes, n
- List cluster nodes
- status, s
- Show cluster status
- expected _votes_
- Set expected votes for quorum
FAQ
What is the pvecm command used for?
pvecm manages Proxmox VE cluster membership. It handles creating clusters, joining nodes to existing clusters, and removing nodes. The cluster provides high availability, live migration, and shared storage capabilities. Proxmox clustering uses corosync for cluster communication and pmxcfs for distributed configuration storage. All cluster nodes share the same configuration.
How do I run a basic pvecm example?
Run `pvecm add [hostname_or_ip]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does add _host_ do in pvecm?
Join this node to existing cluster