Good to know about the options supported on 4.4, Praveen. I will give a try.
I was thinking, it would be nice to have the SU restart option in component recovery enum, given the fact that there is a trade of between cost of targeting fully HA system by doing a fail-over (say N-way active model) vs loosing some amount of service for a small period of time (No redundancy model without any standby configured). In this context, where SU fail-over is not preferred over some other low cost, less HA alternative, only a SU restart in place is desired. Thanks, Greg On Mon, May 19, 2014 at 9:35 PM, praveen malviya <[email protected] > wrote: > > On 18-May-14 1:45 PM, Greg Hurlman wrote: > > Thanks a lot Praveen, > > In case I need to configure different recovery for different components, > say components C1 and C2 belongs to the same SU and SG, if C1 faults then > just restart the component in place whereas if component C2 faults restart > the whole SU. Surestart works in case of C2 but how do configure for C1 to > ensure that just the component restart in place. > > Configuring a separate SGType, SG and related set of objects just for > C1, would I feel a lot of configuration. Do we have a workaround for this > scenario? > > Any help is much appreciated. > > saAmfSgtDefCompRestartMax is SG level attribute and there is not > attribute in SaComp to configure SU restart. > From 4.4 onwards saAmfSUfailover is fully supported. > So if saAmfSUFailover=1 and saAmf SGAutoRepair=1 then: > 1)For C1 saAmfCompDisableRestart=0 and recovery=2: if the component > faults, it will be restarted. > 2) For C2 saAmfCompDisableRestart=1 and recovery=2 (or > saAmfCompDisableRestart=0 and recovery=3 ): if this component > faults then, fault will be escalated to SUFailover. In SU failover, AMF > will clean up both components C1 & C2 and SU will be disabled . After > successful > cleanup. AMF will repair the SU (saAmf SGAutoRepair=1) in which SU will > be enabled again. Now SU will reinstantiated and will be assigned > fresh assignments. > It is not same as surestart because AMF failovers the assignments from > the failed SU to another standby or spare SU. So please check if this > configuration can solve the problem. > > Thanks, > Praveen > > > Thanks, > Greg > > > On Mon, Jan 27, 2014 at 11:32 PM, praveen malviya < > [email protected]> wrote: > >> >> On 27-Jan-14 11:09 AM, Greg Hurlman wrote: >> >>> Hi, >>> >>> Can somebody help me understand how to configure for the below scenarios. >>> >>> 1. I want to do a service unit restart when a contained component faults >>> in >>> case of a "no redundancy model" with no spare SUs. I do not want the >>> faulty >>> component just restarts in case it faults rather all the contained >>> components in that SU. Is it possible through component recovery options? >>> Also a node reboot is not desired. >>> >> For surestart recovery: >> saAmfSgtDefCompRestartMax=0 >> saAmfSgtDefSuRestartMax=2(say) >> saAmfCtDefRecoveryOnError=2 >> saAmfCtDefDisableRestart=0 >> >> >> >> 2. How would we monitor the SU as a whole or to know the health status of >>> the SU just like we do for the SA aware component? Does AMF or CLM >>> supports >>> such configuration? Are there any alternatives? >>> >>> Appreciate for any input in this regard. >>> >> I did not get the question completely. But I think referring to section >> 11.2.2 of AMF B0401 spec can help. >> This section talks about the "State Change Notifications" that AMF sends >> when SU or node and other such entities are affected. >> An application can subscribe with Notification service to monitor these >> notifications. In case of SU alarms are sent for admin,operational and >> presence state change etc. >> I think this is what is meant by the health of SU. >> >> >> Thanks >> Praveen >> >>> Thanks, >>> Greg >>> >>> ------------------------------------------------------------------------------ >>> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >>> Learn Why More Businesses Are Choosing CenturyLink Cloud For >>> Critical Workloads, Development Environments & Everything In Between. >>> Get a Quote or Start a Free Trial Today. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Opensaf-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/opensaf-users >>> >> >> > > ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
