Hi
Thanks for helping with this. I agree with you that ve-restart can be
confusing, especially as I thought it was only for VE:s myself. :)
If you could take this with upstream that would be great.
Best regards,
// Ola
Quoting Paweł Tęcza <[EMAIL PROTECTED]>:
Ola Lundqvist <[EMAIL PROTECTED]> writes:
Hi Pawel
On Tue, Jan 08, 2008 at 01:28:58PM +0100, Paweł Tęcza wrote:
Package: vzctl
Version: 3.0.22-1
Severity: wishlist
I think that it's good idea to start again running VEs by
`/etc/init.d/vz restart` command. Probably it's not hard to implement
that feature. First, the init script should check running VEs
and remember VEID of them before doing `stop`. Next, it should run
`vzctl start VEID` command for all remebered VEs.
Now the /etc/init.d/vz script doesn't care about running VEs and
I have to run them manually after `restart`. It can be uncomfortable
when I have a lot of VEs and I don't want to start all of them.
Maybe I can add a new option, ve-restart or something that restarts them
all. I do not think I want to restart all the ve:s in the normal command
as upstream do not do that, and this is one of the thing that can
confuse people. Especially as this really affect the uptime of things.
Do you have any suggestion on how the code would look like?
Hi Ola,
At first, thanks a lot for the positive response!
I can ask OpenVZ people about current behave of their init script.
Now it's not intuitive for me, but I agree that my proposed change
can be confusing for another OpenVZ users on Debian. So, I like your
idea with a new command for the init script :)
I care about running VEs after `restart`, so I think that the new init
script command should do the same like `restart` now and additionally
`vzctl start VEID` command for all VEs which were running before
`restart` command.
I'm only not quite sure that `ve-restart` is the best name for a new
command. Someone can think that it restarts only running VEs,
but without restarting OpenVZ.
My best regards,
Pawel
--
--- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/ [EMAIL PROTECTED] Annebergsslingan 37 \
| [EMAIL PROTECTED] 654 65 KARLSTAD |
| http://opalsys.net/ Mobile: +46 (0)70-332 1551 |
\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
---------------------------------------------------------------