Hans,
>From casual code inspection I can see the following definitions for
m_NCS_REOOT:
opensaf/include/ncssysf_def.h(215): #define m_NCS_REBOOT
m_NCS_OS_REBOOT
opensaf/include/os_defs.h(281): #define m_NCS_OS_REBOOT
system("/etc/opt/opensaf/reboot &")
Invoking the "reboot" executable in /etc/opt/opensaf reboots the node
(payload as well as sys-controller) immediately.
Sayan
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hans Feldt
Sent: Tuesday, November 20, 2007 9:48 AM
To: [email protected]
Subject: Re: [Users] System behavior when both controllerstemporarily
disappears?
I found avnd_di.c:avnd_evt_mds_avd_dn that does a reboot directly from
what I understand. But the payload node seems to wait 3 minutes before
reboot. Where is that in the code?
Thanks,
Hans
Hans Feldt wrote:
> We discussed this a bit in thread:
> http://list.opensaf.org/archives/users/2007-August/000108.html
>
> I would like the payloads to discover that there is no active
> controller and reboot themselves. Where in the (avnd) code can I
change this?
>
> This is a system without HPI enabled.
>
> Thanks,
> Hans
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://list.opensaf.org/maillist/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://list.opensaf.org/maillist/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://list.opensaf.org/maillist/listinfo/users