[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xen question



Paul van der Vlis wrote:

> kchr-list-debian@rac.nu schreef:
>> Paul van der Vlis wrote:
>>
>>>>> - When I reboot my machine, the guests boot nicely. But when I have a
>>>>> power loss and the power returns, the guests do not start. What will be
>>>>> wrong?
>>>> This I don't know - if you have the config files in /etc/xen/auto 
>>>> the guests should boot on startup no matter why it went down.
>>> I saw in the configfile:
>>>
>>> on_poweroff = 'destroy'
>>> on_reboot   = 'restart'
>>> on_crash    = 'restart'
>>>
>>> Maybe a power loss is managed with "on_poweroff", I will check that.
>> These directives are related to the states of your virtual machines, not
>> the dom0. "on_poweroff" is declaring what should happen to the VM when
>> you choose to power it off, not what happens when you shutdown dom0.
> 
> I have tried it and I use now:   on_poweroff = 'restart'
> 
> I expect that when I have a powerloss and the server comes up again, the
> virtual machines are restarting now, but I have not tested it.
> With  on_poweroff = 'destroy'  this was not the case.

Basically, what "on_poweroff = 'restart'" does is just to restart the VM
if you choose to shut it down through the VM OS. It has nothing to do
with the fact that your VMs aren't booting automatically if your host
(dom0) has a power outage.

Regards,
Kim
-- 
|_|O|_|     Kim Christensen
|_|_|O|     Public key: http://rac.nu/kchr.asc
|O|O|O|     Web home:   http://blog.technopragmatics.org

This is...   No offence, but you are a robot aren’t you?
--------------------------------------------------------
() ascii ribbon campain - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments


Reply to: