vzmlocal

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
MOVING/COPYING
EXAMPLES
EXIT STATUS
SEE ALSO
COPYRIGHT

NAME

vzmlocal - utility for local moving/copying Containers within the bounds of one hardware node.

SYNOPSIS

vzmlocal [-fh] [--online] {CT List}
{CT List} =
<source CT ID>[:[<dst CTID>][:[<dstCT private>][:<dstCTroot>]]] [...]

vzmlocal [-fh] [--online] -C
{CT List}
{CT List} = <source CT ID>:<dst CTID>[:[<dstCT private>][:<dstCTroot>]]
[...]

DESCRIPTION

This utility is used for CT(s) local moving/copying within the bounds of one hardware node.
{CT List}
- List of CTs for moving/copying.

OPTIONS

By default utility works in moving CT(s) mode.
−C, --copy

Do CT(s) copying not moving.

−f,
--nodeps
[=[all][,cpu_check][,disk_space][,technologies][,license][,rate]]

Ignore an absence of required package sets on destination node. To prevent CT against errors in filesystem due to absent template files, it will not be started on destination node after migration and must be started manually.
Additional parameters:
all
- as is -f.
cpu_check
- to pass check of the cpu capabilities.
disk_space
- to pass check of the disk usage.
technologies
- to pass check of the used technologies.
license
- to pass check of the license.
rate
- to pass check of the RATE config parameters.
bindmount
- to pass check of the external bind mounts in config.

−-online

Copy the main content of a running Container to a clone before suspending the Container. Using this option, you can reduce the Container downtime to a minimum, making it almost unnoticeable to end users.

−h, --help

Get usage info.

MOVING/COPYING

Utility may copying/moving either stopped or running CT.

EXAMPLES

# vzmlocal -C 200:201

Clone CT 200. New CT will be numbered 201. Disposition of its private and root areas will be autogenerated.

# vzmlocal -C 200:202::/mnt/root202

Clone CT 200. New CT will be numbered 202 and its root area will reside under /mnt/root202

# vzmlocal 300:301:/sda2/private/build_server

Renumber CT 300 to 301 and move its private area under /sda2/private/build_server

# vzmlocal 301:::/mnt/root/build_server

Move root area of CT 301 under /mnt/root/build_server

EXIT STATUS

See vzmigrate (8)

SEE ALSO

rsync(1), vzmsrc(8), vzmigrate(8), vz(5)

COPYRIGHT

Copyright (c) 2001-@LAST_COPYRIGHT_YEAR@, @COPYRIGHT_OWNER@. All rights reserved.