Please advise re 'on_crash' parameter.

View: New views
5 Messages — Rating Filter:   Alert me  

Please advise re 'on_crash' parameter.

by Steve Wray-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there

I asked about this a while ago but got zero responses, other than from
someone with a similar problem asking if I had any responses.

Is there anyone on this list who can advise regarding the functionality of
'on_crash' in the domU configuration?

Alternatively, can anyone advise where else I might ask about this?

Thanks.



--
Please remember that an email is just like a postcard; it is not
confidential nor private nor secure and can be read by many other people
than the intended recipient. A postcard can be read by anyone at the mail
sorting office and expecting what is written on it to be private and secret
is not realistic. Please hold no higher expectation of email.

If you need to send confidential information in an email you need to use
encryption. PGP is Pretty good for this.

_______________________________________________
Xen-users mailing list
Xen-users@...
http://lists.xensource.com/xen-users

Re: Please advise re 'on_crash' parameter.

by Luke Crawford :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steve Wray <steve.wray@...> writes:

> Is there anyone on this list who can advise regarding the
> functionality of 'on_crash' in the domU configuration?

unless you are doing development and are way more handy than I am with a
memory dump, you almost certainly want 'on_crash reboot'  

for sysadmin level debugging of DomUs, start xenconsoled with --log=all
or so, and it will record the console  of the DomU, which is usually enough
to figure out what happened.  

--
Luke S. Crawford
http://prgmr.com/xen/         -   Hosting for the technically adept
http://nostarch.com/xen.htm   -   We don't assume you are stupid.  

_______________________________________________
Xen-users mailing list
Xen-users@...
http://lists.xensource.com/xen-users

Parent Message unknown Re: Please advise re 'on_crash' parameter.

by Nick Couchman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>>> On 2009/10/28 at 16:42, Luke S Crawford <lsc@...> wrote:
> Steve Wray <steve.wray@...> writes:
>
>> Is there anyone on this list who can advise regarding the
>> functionality of 'on_crash' in the domU configuration?
>
> unless you are doing development and are way more handy than I am with a
> memory dump, you almost certainly want 'on_crash reboot'  

Perhaps, but maybe not...I guess it depends on what types of "crashes" you experience.  In my case, a crash usually means "continuous reboot", so I'd much rather have on_crash set to "destroy" than "reboot" as I'd rather not have Xen sit there and constantly reboot a machine that crashes - usually a Windows machine that's done an update and is BSODing, rebooting, BSODing, etc.

-Nick

>
> for sysadmin level debugging of DomUs, start xenconsoled with --log=all
> or so, and it will record the console  of the DomU, which is usually enough
> to figure out what happened.  
>
> --
> Luke S. Crawford
> http://prgmr.com/xen/         -   Hosting for the technically adept
> http://nostarch.com/xen.htm   -   We don't assume you are stupid.  



--------
This e-mail may contain confidential and privileged material for the sole use of the intended recipient.  If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information.  In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way.  If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox.  Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.

_______________________________________________
Xen-users mailing list
Xen-users@...
http://lists.xensource.com/xen-users

Re: Please advise re 'on_crash' parameter.

by Steve Wray-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nick Couchman wrote:
>>>> On 2009/10/28 at 16:42, Luke S Crawford <lsc@...> wrote:
>> Steve Wray <steve.wray@...> writes:
>>
>>> Is there anyone on this list who can advise regarding the
>>> functionality of 'on_crash' in the domU configuration?
>> unless you are doing development and are way more handy than I am with a
>> memory dump, you almost certainly want 'on_crash reboot'  
>
> Perhaps, but maybe not...I guess it depends on what types of "crashes" you experience.  In my case, a crash usually means "continuous reboot", so I'd much rather have on_crash set to "destroy" than "reboot" as I'd rather not have Xen sit there and constantly reboot a machine that crashes - usually a Windows machine that's done an update and is BSODing, rebooting, BSODing, etc.

The problem I've been seeing is with a Linux pvm domU which has been set to
on_crash reboot but which on a crash doesn't reboot.

According to the Xen logs, when Xen tries to reboot it, it finds that the
domain already exists so it bails out of the reboot.

I'm puzzled, any insight would be valuable.

I did post entries from the logs in another mail to the list, but got no
responses to that one.




> -Nick
>
>> for sysadmin level debugging of DomUs, start xenconsoled with --log=all
>> or so, and it will record the console  of the DomU, which is usually enough
>> to figure out what happened.  
>>
>> --
>> Luke S. Crawford
>> http://prgmr.com/xen/         -   Hosting for the technically adept
>> http://nostarch.com/xen.htm   -   We don't assume you are stupid.  
>
>
>
> --------
> This e-mail may contain confidential and privileged material for the sole use of the intended recipient.  If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information.  In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way.  If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox.  Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.


--
Please remember that an email is just like a postcard; it is not
confidential nor private nor secure and can be read by many other people
than the intended recipient. A postcard can be read by anyone at the mail
sorting office and expecting what is written on it to be private and secret
is not realistic. Please hold no higher expectation of email.

If you need to send confidential information in an email you need to use
encryption. PGP is Pretty good for this.

_______________________________________________
Xen-users mailing list
Xen-users@...
http://lists.xensource.com/xen-users

Re: Please advise re 'on_crash' parameter.

by Steve Wray-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Ok well given the lack of any further feedback on this issue, I have to ask
is this 'on_crash' thing even officially supported in Xen?



Steve Wray wrote:

> Nick Couchman wrote:
>>>>> On 2009/10/28 at 16:42, Luke S Crawford <lsc@...> wrote:
>>> Steve Wray <steve.wray@...> writes:
>>>
>>>> Is there anyone on this list who can advise regarding the
>>>> functionality of 'on_crash' in the domU configuration?
>>> unless you are doing development and are way more handy than I am
>>> with a memory dump, you almost certainly want 'on_crash reboot'  
>>
>> Perhaps, but maybe not...I guess it depends on what types of "crashes"
>> you experience.  In my case, a crash usually means "continuous
>> reboot", so I'd much rather have on_crash set to "destroy" than
>> "reboot" as I'd rather not have Xen sit there and constantly reboot a
>> machine that crashes - usually a Windows machine that's done an update
>> and is BSODing, rebooting, BSODing, etc.
>
> The problem I've been seeing is with a Linux pvm domU which has been set
> to on_crash reboot but which on a crash doesn't reboot.
>
> According to the Xen logs, when Xen tries to reboot it, it finds that
> the domain already exists so it bails out of the reboot.
>
> I'm puzzled, any insight would be valuable.
>
> I did post entries from the logs in another mail to the list, but got no
> responses to that one.
>
>
>
>
>> -Nick
>>
>>> for sysadmin level debugging of DomUs, start xenconsoled with
>>> --log=all or so, and it will record the console  of the DomU, which
>>> is usually enough
>>> to figure out what happened.
>>> --
>>> Luke S. Crawford
>>> http://prgmr.com/xen/         -   Hosting for the technically adept
>>> http://nostarch.com/xen.htm   -   We don't assume you are stupid.  
>>
>>
>>
>> --------
>> This e-mail may contain confidential and privileged material for the
>> sole use of the intended recipient.  If this email is not intended for
>> you, or you are not responsible for the delivery of this message to
>> the intended recipient, please note that this message may contain
>> SEAKR Engineering (SEAKR) Privileged/Proprietary Information.  In such
>> a case, you are strictly prohibited from downloading, photocopying,
>> distributing or otherwise using this message, its contents or
>> attachments in any way.  If you have received this message in error,
>> please notify us immediately by replying to this e-mail and delete the
>> message from your mailbox.  Information contained in this message that
>> does not relate to the business of SEAKR is neither endorsed by nor
>> attributable to SEAKR.
>
>


--
Please remember that an email is just like a postcard; it is not
confidential nor private nor secure and can be read by many other people
than the intended recipient. A postcard can be read by anyone at the mail
sorting office and expecting what is written on it to be private and secret
is not realistic. Please hold no higher expectation of email.

If you need to send confidential information in an email you need to use
encryption. PGP is Pretty good for this.

_______________________________________________
Xen-users mailing list
Xen-users@...
http://lists.xensource.com/xen-users