Download/vzctl/4.1

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search

vzctl is a tool to control OpenVZ containers.

Warning.svg Warning: this is an old version of vzctl. For the latest version, see Download/vzctl/4.9.4.

Changes[edit]

Since 4.0:

New features

  • etc/init.d/vz: restore running containers after reboot (#781)
  • etc/init.d/vz: faster restart by doing CT suspend instead of stop (#2325)
  • vzctl start: try to restore CT first if default dump file exists
  • Add OOM adjustments configuration (see /etc/vz/oom-groups.conf)
  • If a CT is locked, show pid and cmdline of a locker
  • vzctl snapshot: add --skip-config option
  • vzctl: add 'suspend' and 'resume' aliases (for 'chkpnt' and 'restore')

Fixes

  • vzctl snapshot: fix storing CT config file
  • vzctl snapshot-switch: fix restoring CT config file
  • vps-create: fix checking needed disk space (#2413)
  • vzctl set --mount_opts: fix a segfault (#2385)
  • suse-add_ip.sh: only set default route to venet0 if there is no other (#2376)
  • set_userpass.sh: fix bashism (#2403)
  • etc/init.d/vz*: eliminate "Container(s) not found" msg
  • etc/init.d/vz*: fix vzlist invocation in stop_ve(s)
  • etc/init.d/vz-redhat: mark more local vars as such
  • vzctl_resize_image(): initialize ploop_resize_param
  • getlockpid(): fix potential buffer overflow
  • Do not call xmlCleanupParser() from vzctl
  • Fixed compilation with libcgroup-0.37-r2 (#2370)
  • Properly return errors in cgroup_init() (#2372)
  • Print failures in ct_do_open directly to stderr
  • vzeventd: do process -h option

Improvements

  • etc/init.d/vz* stop: set cpuunits for all CTs at once
  • vzctl snapshot*: improve --id parameter parsing (validate, curly brackets are optional)
  • vzctl umount: handle the case when CT have deleted mount points
  • vzevent-stop: add workaround for Fedora 17 reboot problem (#2336)
  • vzctl restore: do not print "Starting container"
  • vzctl restore: print 'restore failed' not 'start failed'
  • scripts/vps-download: fix bogus warning from checkbashisms
  • vzctl_merge_snapshot(): simplify return code handling
  • Simplify ct_chroot() (no need to umount each mount point)

Documentation

  • vzctl(8): improved vzctl create --layout/--diskspace description
  • vzctl(8): improve --diskspace description
  • vzctl(8): disambiguate 'it' in snapshot-switch description

Build

  • configure: add ability to alter /vz path (#421)
  • src/Makefile.am: fix building with builddir != srcdir (#2375)
  • Makefile.am: use AM_CPPFLAGS (not AM_CFLAGS)
  • properly propagate /var/lib/vzctl/veip dir
  • setver.sh: restore original configure.ac and vzctl.spec if building
  • setver.sh: clean up dist tarball (if building) and rpms (if installing)
  • setver.sh: add -o|--oldpackage option
  • other minor improvements

For the complete list of changes in this release, see git changelog for vzctl-4.1.

Thanks[edit]

OpenVZ project would like to thank the following people who contributed patches and/or provided bug reports for this vzctl release (in no particular order):

  • Richard H.
  • Raphael Geissert
  • Ola Lundqvist
  • Pavel Odintsov
  • Dmitry Kopytov
  • Thorsten Schifferdecker
  • Maksim Melnikau
  • Andrey Vagin
  • Glauber Costa
  • Paweł Tęcza
  • Andres Toomsalu
  • Dāvis

Download[edit]

RPMS[edit]

x86 (i686, IA32)[edit]

File Date Size
vzctl-4.1-1.i386.rpm 2012-11-01 15:18:26 106 Kb
vzctl-core-4.1-1.i386.rpm 2012-11-01 15:18:26 204 Kb

x86_64 (AMD64, EM64T)[edit]

File Date Size
vzctl-4.1-1.x86_64.rpm 2012-11-01 15:18:26 104 Kb
vzctl-core-4.1-1.x86_64.rpm 2012-11-01 15:18:26 238 Kb

Binaries[edit]

x86 (i686, IA32)[edit]

File Date Size
vzctl-4.1-1.i386.tar.gz 2012-11-01 15:18:25 90 Kb
vzctl-4.1-1.i386.tar.gz.asc 2012-11-01 15:18:28 189 b 
vzctl-core-4.1-1.i386.tar.gz 2012-11-01 15:18:25 180 Kb
vzctl-core-4.1-1.i386.tar.gz.asc 2012-11-01 15:18:28 189 b 

x86_64 (AMD64, EM64T)[edit]

File Date Size
vzctl-4.1-1.x86_64.tar.gz 2012-11-01 15:18:25 90 Kb
vzctl-4.1-1.x86_64.tar.gz.asc 2012-11-01 15:18:28 189 b 
vzctl-core-4.1-1.x86_64.tar.gz 2012-11-01 15:18:25 220 Kb
vzctl-core-4.1-1.x86_64.tar.gz.asc 2012-11-01 15:18:28 189 b 

Sources[edit]

File Date Size
vzctl-4.1-1.src.rpm 2012-11-01 15:18:26 479 Kb
vzctl-4.1.tar.bz2 2012-11-01 15:18:25 457 Kb
vzctl-4.1.tar.bz2.asc 2012-11-01 15:18:28 189 b 
vzctl.spec 2012-11-01 15:18:25 20 Kb

Archives[edit]

For other vzctl releases, see download/vzctl/Archives.

For other tools, see download/utils.

Tools
vzctl • ploop • vzquota • vzstats
Versions of vzctl