unmk2 / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

Not start previously stopped veids when hardware server is rebooted #411

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Reason: Not needs to start previously stopped veids

Description:
I think, when veid is stoppe and hardware server is rebooted, don't need to 
start this veid. I proposed to add "vzctl set veid --onboot no --save", when 
"vzctl stop veid" and "vzctl set veid --onboot yes --save", when vzctl start 
veid

Original issue reported on code.google.com by an...@hhut.ru on 8 Mar 2012 at 6:38

GoogleCodeExporter commented 9 years ago
I'm against of making logic less clear. Maybe it's a good idea from saving 
server resources point of view. But some other use cases can be affected.

Original comment by sibprogrammer on 10 Mar 2012 at 1:59

GoogleCodeExporter commented 9 years ago
Maybe you make the patch for this logic and add to knowelege base? I just do 
not know how add this logic to panel.

Original comment by an...@hhut.ru on 10 Mar 2012 at 2:06

GoogleCodeExporter commented 9 years ago
You can try to patch change_state method in virtual_server.rb file.

Original comment by sibprogrammer on 13 Mar 2012 at 12:43