ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: sysadmins <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] переезд ovz контейнеров на другой сервер
Date: Thu, 30 Sep 2010 20:40:30 +0300
Message-ID: <20100930174030.GC23554@osdn.org.ua> (raw)
In-Reply-To: <20100930212341.7a41a39d@greg.dobroe.net>

On Thu, Sep 30, 2010 at 09:23:41PM +0400, Grigory Fateyev wrote:
> Стоит задача перенести OpenVZ контейнеры на другой физический
> сервер.  Что нужно сохранить помимо контейнеров, чтоб
> безболезненно перенести всё содержание?

Помимо /var/lib/vz/ -- /etc/vz/.

> И вообще каков порядок действий?

<mike> vzctl stop, tar/rsync, scp VEID.conf, vzctl start
<mike> если всех пачкой -- затарить и скопировать /etc/vz и
       /var/lib/vz при остановленном service vz, потом запустить
       на новом месте
<mike> только надо или на ту сторону рутом по ключу
       (и rsync -qaHx), или затарить/растарить
       (тоже только рутом)

> Что бы почитать по теме?

http://wiki.openvz.org/Migration_from_one_HN_to_another

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2010-09-30 17:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 17:23 Grigory Fateyev
2010-09-30 17:40 ` Michael Shigorin [this message]
2010-09-30 17:48 ` Konstantin Pavlov
2010-09-30 20:19   ` Alexey I. Froloff
2010-10-01 10:29   ` Grigory Fateyev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100930174030.GC23554@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@gmail.com \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git