Hi,

You should absorb the fix for #1334.
In the older releases of OpenSAF there 'was' a non-standard (node init success) 
notification when amfnd returns success to the opensafd startup script, This 
notification was also succeeded by activities like glowing the LED
to indicate that the node is ready to provide service. This notification was 
seen as specific to platform integration and
was deprecated later because middleware startup success alone need not 
necessarily qualify a node to be ready to provide service and that there could 
dependencies(typically platform-specific) outside(not hooked) of the middleware.

You can use the opensafd startup script return status(and may implement a 
notification that also takes into consideration any other conditions relevant 
to your system or your own component's state). #1334 ensures that during 
OpenSAF start, AMF service startup proceeds further only after synchronization 
with the active is complete. 

Thanks,
Mathi. 

----- [email protected] wrote:

> Hi Tony,
> 
> Normally you should not need to check if IMMND is in sync at standby,
> because the IMMND must be in sync
> before the AMFD is in sync at an SC. This even if you are doing
> failovers back and forth between the SCs.
> 
> So in this case you must have had some additional problem causing the
> already synced IMMND at the standby
> to crash. This should be visible in the syslogs if you look at log
> messages from the process type osafimmnd.
> Even if it crashes on a segv, it should be visible that the osafimmnd
> process is being restarted.
> 
> If osafimmnd crashes spontaneously, i.e. not as a result of an induced
> shutdown or explicit kill of that process
> then you should report that, so we can create a defect ticket to fix
> the
> problem.
> 
> It could possibly be a problem that is already fixed, if you are using
> an old branch or at least not the
> latest changeset on 4.5 or 4.6.
> 
> Thanks
> Anders Bjornerstedt
> 
> On 07/07/2015 01:43 PM, Tony Hart wrote:
> > Hi Zoran,
> >
> > Is there a log message I can search for to see if immnd was synced?
> >
> > thanks
> > —
> > tony
> >
> > On Jul 7, 2015, at 7:10 AM, Zoran Milinkovic
> <[email protected]<mailto:[email protected]>>
> wrote:
> >
> > Hi Tony,
> >
> > In syslogs you have:
> > 2015-07-03T19:49:24.544851+00:00 scm1 osafimmd[3533]: ER Failed to
> find candidate for new IMMND coordinator
> >
> > This means that IMMND data on standby controller is not synced, or
> IMMND crashed/exited. It can cause exiting IMMD and rebooting the
> node.
> > The new coordinator must be fully synced IMMND and it must be on one
> of controllers.
> > Since, you have pulled out the active controller, and data was not
> synced on standby controller, you have an exit of the remaining IMMD,
> which causes node reboot.
> >
> > It would be good if you check the state of IMMND on standby
> controller, and check if the data was synced or not before you pulled
> out the active controller.
> >
> > BR,
> > Zoran
> >
> > -----Original Message-----
> > From: Nagendra Kumar [mailto:[email protected]]
> > Sent: Tuesday, July 07, 2015 12:45 PM
> > To: Tony Hart
> > Cc:
> [email protected]<mailto:[email protected]>
> > Subject: Re: [users] FAILOVER StandBy --> Active FAILED, stdby not
> in good state
> >
> > Hi Tony,
> >
> >                 There are few checks including 'Cold Sync', state of
> node joining the cluster, etc. So, in your case, Cold sync has been
> completed and that check might have passed, but node is yet to become
> operationally functional. So, if the node is declared as ENABLED, then
> failover should be fine.
> >
> > Sometimes, it happens in reverse: Node joins, but Cold sync is not
> completed. But this situation can be avoided if take fix for #1334.
> >
> >
> >
> > Thanks
> >
> > -Nagu
> >
> >
> >
> > From: Tony Hart [mailto:[email protected]]
> > Sent: 07 July 2015 15:58
> > To: Nagendra Kumar
> > Cc:
> [email protected]<mailto:[email protected]>
> > Subject: Re: [users] FAILOVER StandBy --> Active FAILED, stdby not
> in good state
> >
> >
> >
> > Hi Nagu,
> >
> >
> >
> > Thanks for the pointer.   Are you saying in my case that cold sync
> had not completed, even though the log message said it had?
> >
> >
> >
> >
> >
> > On Jul 7, 2015, at 6:12 AM, Nagendra Kumar <HYPERLINK
> "mailto:[email protected]"[email protected]<mailto:[email protected]>>
> wrote:
> >
> >
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Don't Limit Your Business. Reach for the Cloud.
> > GigeNET's Cloud Solutions provide you with the tools and support
> that you need to offload your IT needs and focus on growing your
> business.
> > Configured For All Businesses. Start Your Cloud Today.
> > https://www.gigenetcloud.com/
> > _______________________________________________
> > Opensaf-users mailing list
> >
> [email protected]<mailto:[email protected]>
> > https://lists.sourceforge.net/lists/listinfo/opensaf-users
> >
> >
> ------------------------------------------------------------------------------
> > Don't Limit Your Business. Reach for the Cloud.
> > GigeNET's Cloud Solutions provide you with the tools and support
> that
> > you need to offload your IT needs and focus on growing your
> business.
> > Configured For All Businesses. Start Your Cloud Today.
> > https://www.gigenetcloud.com/
> > _______________________________________________
> > Opensaf-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/opensaf-users
> 
> 
> 
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Opensaf-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensaf-users

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to