Parallels Server Bare Metal
5.0
Command-Line Reference Guide
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
Parallels Holdings, Ltd.
DOS are registered trademarks of Microsoft
c/o Parallels International GMbH.
Parallels International GmbH
Vordergasse 49
CH8200 Schaffhausen
Switzerland
Tel: + 41 526320 411
Fax: + 41 52672 2010
www.parallels.com
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
This product is protected by United States and international copyright laws. The product’s underlying technology,
patents, and trademarks are listed at http://www.parallels.com/trademarks.
Microsoft, Windows, Windows Server, Windows NT, Windows Vista, and MSCorporation.
Apple, Mac, the Mac logo, Mac OS, iPad, iPhone, iPod touch, FaceTime HD camera and iSight are trademarks of Apple
Inc., registered in the US and other countries.
Linux is a registered trademark of Linus Torvalds.
All other marks and names mentioned herein may be trademarks of their respective owners.
Contents
Introduction ............................................................................................................... 8
About Parallels Server Bare Metal 5.0 .............................................................................. 9
About This Guide .......................................................................................................... 10
Organization of This Guide .................................................................................................... 11
Documentation Conventions ................................................................................................. 11
Formatting Legend ........................................................................................................ 13
Getting Help .................................................................................................................. 14
Feedback ...................................................................................................................... 15
Managing Parallels Server Bare Metal 5.0.............................................................. 16
Parallels Server Bare Metal Configuration Files ............................................................... 17
Global Parallels Server Bare Metal Configuration File ............................................................. 19
Container Configuration File ................................................................................................... 26
Linux Distribution Configuration Files ..................................................................................... 34
Network Classes Definition File .............................................................................................. 36
vzup2date Configuration File ................................................................................................. 37
vzup2date-mirror Configuration File ....................................................................................... 38
vzvpn Configuration File ......................................................................................................... 41
vzreport Configuration File ..................................................................................................... 42
Kernel Parameters ................................................................................................................. 43
Offline Management Configuration Files ................................................................................. 44
vzlmond Configuration File ..................................................................................................... 45
vzstat Configuration File......................................................................................................... 47
vzrmond Configuration File .................................................................................................... 49
vzstatrep Configuration File ................................................................................................... 52
Backup Configuration File ...................................................................................................... 54
vzrhnproxy Configuration File ................................................................................................. 57
vzpkgproxy Configuration File ................................................................................................ 58
vztt Configuration File ............................................................................................................ 59
Parallels Server Bare Metal Scripts................................................................................. 59
Overview ............................................................................................................................... 60
Contents
Container Action Scripts ........................................................................................................ 61
Virtual Machine Action Scripts ............................................................................................... 63
Parallels Server Bare Metal Utilities ................................................................................ 63
prlsrvctl .................................................................................................................................. 64
vzup2date ............................................................................................................................. 81
vzup2date-mirror ................................................................................................................... 88
vzlicload ................................................................................................................................ 89
vzlicupdate ............................................................................................................................ 90
vzlicview ................................................................................................................................ 91
vznetcfg ................................................................................................................................. 92
vzreport ................................................................................................................................. 93
vzstatrep ............................................................................................................................... 94
pstat ...................................................................................................................................... 95
Managing Containers ............................................................................................ 102
Matrix of Parallels Server Bare Metal Command-Line Utilities ........................................ 103
pctl ............................................................................................................................. 105
pctl create ........................................................................................................................... 107
pctl delete and pctl destroy ................................................................................................. 108
pctl start, pctl stop, pctl restart, and pctl status ................................................................... 109
pctl mount and pctl umount ................................................................................................ 110
pctl set ................................................................................................................................ 111
pctl unset ............................................................................................................................ 120
pctl exec, pctl exec2, and pctl enter .................................................................................... 120
pctl recover and pctl reinstall ............................................................................................... 121
pctl quotaon, pctl quotaoff, and pctl quotainit ..................................................................... 122
pctl suspend and pctl resume ............................................................................................. 122
pctl runscript ....................................................................................................................... 123
vzlist ........................................................................................................................... 124
vzlist Output Parameters and Their Specifiers ...................................................................... 126
vzquota ....................................................................................................................... 130
vzquota init .......................................................................................................................... 131
vzquota drop ....................................................................................................................... 132
vzquota on and vzquota off ................................................................................................. 132
vzquota setlimit ................................................................................................................... 133
vzquota setlimit2 ................................................................................................................. 133
Contents
vzquota stat and vzquota show ........................................................................................... 134
Migration Utilities ......................................................................................................... 135
pmigrate .............................................................................................................................. 135
vzmigrate ............................................................................................................................. 139
vzmlocal .............................................................................................................................. 141
vzp2v................................................................................................................................... 142
Backing-Up Utilities ..................................................................................................... 143
pbackup .............................................................................................................................. 144
prestore ............................................................................................................................... 146
EZ Template Management Utilities ............................................................................... 148
vzpkg install template .......................................................................................................... 149
vzpkg update template ........................................................................................................ 149
vzpkg remove template ....................................................................................................... 150
vzpkg list ............................................................................................................................. 151
vzpkg info ............................................................................................................................ 153
vzpkg status ........................................................................................................................ 156
vzpkg install ......................................................................................................................... 157
vzpkg update ...................................................................................................................... 159
vzpkg remove ...................................................................................................................... 160
vzpkg link ............................................................................................................................ 161
vzpkg create cache ............................................................................................................. 162
vzpkg update cache ............................................................................................................ 163
vzpkg remove cache ........................................................................................................... 164
vzpkg localinstall .................................................................................................................. 165
vzpkg localupdate ............................................................................................................... 166
vzpkg upgrade .................................................................................................................... 167
vzpkg fetch .......................................................................................................................... 168
vzpkg clean ......................................................................................................................... 169
vzpkg update metadata ....................................................................................................... 170
vzmktmpl ............................................................................................................................. 171
vzpkgproxy .......................................................................................................................... 175
vzrhnproxy ........................................................................................................................... 176
Supplementary Tools................................................................................................... 178
vzfsutil ................................................................................................................................. 178
vzcache ............................................................................................................................... 180