Difference between revisions of "Command line tools"

From Proxmox VE
Jump to navigation Jump to search
Line 15: Line 15:
 
=Cluster management=
 
=Cluster management=
 
==pveca==
 
==pveca==
 +
 +
USAGE: (man page)
 +
* pveca -l            # show cluster status
 +
* pveca -c            # create new cluster with localhost as master
 +
* pveca -s [-h IP]    # sync cluster configuration from master (or IP)
 +
* pveca -d ID          # delete a node
 +
* pveca -a [-h IP]    # add new node to cluster
 +
* pveca -m            # force local node to become master
 +
* pveca -i            # print node info (CID NAME IP ROLE)
 +
 
=Software version check=
 
=Software version check=
 
==pveversion -v==
 
==pveversion -v==

Revision as of 09:35, 15 March 2010

Introduction

This page lists the important Proxmox VE and Debian command line tools. All CLI tools have also manual pages.

KVM specific

qm

OpenVZ specific

vzctl

vztop

user_beancounters

cat /proc/user_beancounters

Backup

vzdump

vzrestore

qmrestore

Cluster management

pveca

USAGE: (man page)

  • pveca -l # show cluster status
  • pveca -c # create new cluster with localhost as master
  • pveca -s [-h IP] # sync cluster configuration from master (or IP)
  • pveca -d ID # delete a node
  • pveca -a [-h IP] # add new node to cluster
  • pveca -m # force local node to become master
  • pveca -i # print node info (CID NAME IP ROLE)

Software version check

pveversion -v

aptitude

Standard Debian package update tool

LVM

iSCSI

DRBD

See DRBD

Debian Appliance Builder

dab

See Debian_Appliance_Builder

Other useful tools

pveperf

Simple host performance test.