ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Ivan Fedorov <ns@altlinux.org>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Как поменять последовательность загрузки VE контейнеров в OVZ
Date: Thu, 30 Apr 2009 12:35:59 +0400
Message-ID: <m363gm35e8.fsf@thinkpad.oxyum.localnet> (raw)
In-Reply-To: <49F95A18.3070802@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1304 bytes --]

Vasyuk_Maksim <vaksim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Ivan Fedorov пишет:
>> Либо поменять ID, либо сделать "ONBOOT=NO" и запускать руками из
>> rc.local.
>>
>> Вот только насколько я помню, оно там в парралель при загрузке их
>> запускает, так что гарантии порядка при автоматическом запуске всё равно
>> нет. Так что похоже только rc.local.
>>   
> Вроде поочерди запускаются.
Что-то я вот так не думаю - если у вас 100 контейнеров, то сколько же
будет грузиться ваша тачка...

> Так а смена ID это же вроде болезненное дело?
Да нет, но немного геморное.

Надо поменять названия каталогов в /var/lib/vz/{private,root},
переименовать конфиг в /etc/vz/conf, поправить его, и исправить симлинк
в /etc/vz/names.

Вроде и всё... а там ещё с vzquota надо поиграть, но это я уже на память
не скажу.

[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]

      reply	other threads:[~2009-04-30  8:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-30  6:54 Vasyuk_Maksim
2009-04-30  7:45 ` Ivan Fedorov
2009-04-30  7:58   ` Vasyuk_Maksim
2009-04-30  8:35     ` Ivan Fedorov [this message]

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=m363gm35e8.fsf@thinkpad.oxyum.localnet \
    --to=ns@altlinux.org \
    --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