On 09-Jan-15 12:41 PM, Yao Cheng LIANG wrote: > I noticed that for OpenSAF components, settings are as below: > --------------------------------------------------------------------------- > saAmfSGAutoRepair =0 > saAmfCompDisableRestart=1 > saAmfSUFailover=1 > ---------------------------------------------------------------------------- > > That means if I kill one of the component process, the SU will fail-ver but > the component will not be re-instantiated. But If I kill immd, the controller > will reboot itself immediately. How this is achieved? > I had written for application components. For middleware components, the behavior is different. For all director components, fault will lead to nodefaifast and for node directors, there are restartable upto 10 times after that node will go for reboot.
> Thanks. > > Ted > > -----Original Message----- > From: praveen malviya [mailto:[email protected]] > Sent: Friday, January 09, 2015 2:49 PM > To: Yao Cheng LIANG; [email protected] > Subject: Re: [users] restart component and fail-over > > > > On 09-Jan-15 12:02 PM, Yao Cheng LIANG wrote: >> I have two service unit with one component in each of them. The two SU have >> 1+1 protection to each other. What I want is that for example if I kill the >> component in active SU, I would like the killed component be restarted and >> also the SU fail-over to standby SU. But if I set saAmfCompDisableRestart to >> TRUE, then SU will fail-over, but the killed component will not be >> restarted. How can I both restart component and also fail-over? >> > > > For su-failover recovery :set saAmfSGAutoRepair = 1 for the SG. Here AMF will > clean up all components of the faulty SU. After failover su will be > re-instantiated by AMF. Here AMF will terminatt > > For component-failover recovery: set saAmfCompDisableRestart=1 and > saAmfSUFailover=0 for the su. Here AMF cleans up and instantiates only failed > component. > > Thanks > Praveen >> Thanks. >> >> Ted >> >> ---------------------------------------------------------------------- >> -------- Dive into the World of Parallel Programming! The Go Parallel >> Website, sponsored by Intel and developed in partnership with Slashdot >> Media, is your hub for all things parallel software development, from >> weekly thought leadership blogs to news, videos, case studies, >> tutorials and more. Take a look and join the conversation now. >> http://goparallel.sourceforge.net >> _______________________________________________ >> Opensaf-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/opensaf-users >> ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
