On 05-Nov-14 2:28 PM, Hobby Tan wrote: > Dear all, > currently we have several applications running in SC blade, I want to control > one application only failover between SC-1 and SC-2 when it is failed to > start, and then after trying several times(example: 10 times failover), it > will stop trying and stay in failed state. But current behaviors will always > trigger Node reboot finally. And I want to find which amf attributes are used > to control this escalation. But this changing shall not impact other > applications escalation to Node reboot. My application is 2N mode. and the > related configuration is as below, I found Node level configuration would be > the root caue of Node reboot, so my question would be how my application will > not trigger it. Thanks for your support > Object > Please try to configure recovery policy as sufailover. It can be done in two ways: 1) saAmfCtDefRecoveryOnError=2, saAmfCtDefDisableRestart-1, saAmfSutDefSUFailover=1, saAmfSgtDefAutoRepair=0. or 2) saAmfCtDefRecoveryOnError=3, saAmfSutDefSUFailover=1, saAmfSgtDefAutoRepair=0.
When suFailover will be escalated for the faulty SU, AMF will clean up all the components of this SU and SU will remain in disabled state and there will not be further escalation to node reboot. Since sg auto-repair is not allowed, admin repair op will be required to enable the SU. Thanks, Praveen > Configuration > > Value > > safAmfNode > > saAmfNodeSuFailoverMax > > 2 > > saAmfNodeSuFailOverProb > > 1200sec > > saAmfNodeFailfastOnTerminationFailure > > 0 > > saAmfNodeFailfastOnInstantiationFailure > > 0 > > saAmfNodeAutoRepair > > 1 > > SaAmfSGType > > saAmfSgtDefCompRestartProb > > 60 sec > > saAmfSgtDefCompRestartMax > > 1 > > saAmfSgtDefSuRestartProb > > 60sec > > saAmfSgtDefSuRestartMax > > 1 > > SaAmfSUType > > saAmfSutDefSUFailover > > 1 > > SaAmfCompType > > saAmfCtDefClcCliTimeout > > 10sec > > saAmfCtDefCallbackTimeout > > 60sec > > saAmfCtDefQuiescingCompleteTimeout > > 60sec > > saAmfCtDefRecoveryOnError > > 2 > > > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Opensaf-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensaf-users > ------------------------------------------------------------------------------ _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
