On 08-Oct-15 3:40 AM, William R Elliott wrote:
> Hi All,
> I'm using opensaf 4.4.0 with redhat 6.  I have a SU that contains one 
> component set to a recovery of SU restart, and all other components set to 
> component restart.
>
I think here "recovery SU restart" means su-failover.

> I'm testing a scenario where I need to restart this SU while it's unlocked 
> and all components are running and stable.  However, when I restart this SU, 
> i.e. when I execute the admin commands lock, lock-in, unlock-in, and unlock, 
> the instantiate script for each of the components is called first before the 
> cleanup script.  In fact, the cleanup is called while the instantiate script 
> is still executing.  I expect the cleanup script to be called first followed 
> by the instantiate script.
>
>
Is it a PI SU or a NPI SU?

For a PI SU:
During admin operation like lock and unlock, cleanup scripts will be 
invoked for a component only if fails while handling the assignments.
For unlock-in operation on SU, if component goes to INST_FAILED state 
then during instantiation phase, AMF will invoke cleanup script and then 
instantiate component if it gets cleaned up successfully.
For lock-in operation on SU, AMF will issue termination callback to 
components. Here also if component fails while handling this callback 
then cleanup will be done.

For A NPI SU: instantiation and termination is done during unlock and 
lock operation respectively. Here also cleanup script will be invoked if 
component fails during instantiation or termination.

Please confirm from AMFND traces or syslog if some fault is happening 
with the components of the SU when these operations are in progress.

Thanks,
Praveen

> 1)      Does anyone know how I can prevent this from happening?  I.e. is 
> there an attribute value in the cluster configuration I can set?
>
> 2)      If not, is there a known ticket or patch I need to bring in to fix 
> this problem?
>
>
> One more thing, I just included changeset 5262 for ticket 890 in to my 
> opensaf code base and currently testing with this fix.  However, this problem 
> was happening before I included this code fix.
>
>
> thanks
>
>
>
> ________________________________
> The information transmitted herein is intended only for the person or entity 
> to which it is addressed and may contain confidential, proprietary and/or 
> privileged material. Any review, retransmission, dissemination or other use 
> of, or taking of any action in reliance upon, this information by persons or 
> entities other than the intended recipient is prohibited. If you received 
> this in error, please contact the sender and delete the material from any 
> computer.
> ------------------------------------------------------------------------------
> Full-scale, agent-less Infrastructure Monitoring from a single dashboard
> Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
> Physical-Virtual-Cloud Infrastructure monitoring from one console
> Real user monitoring with APM Insights and performance trend reports
> Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140
> _______________________________________________
> 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

Reply via email to