Hi, I am trying solve the init order of dependent components preferably through IMM.xml attributes or if not through code. I have listed some of my thoughts. Appreciate if anybody can advise on these??
I have two java based SA-Aware critical components A and B. B depends on A so that it can be initialized if and only if A is UP, else B can not be UP. And until component A is fully UP and Running (couple of additional application specific activities is done after component A is assigned CSI though SetCSICallBack with HA state as ACTIVE and before A send the response is to AMF), a. I need a mechanism by which, component B will wait and then INSTANTIATE and become UP. Similarly if I have more then 2 components, wait and start and so on... OR b. AMF to delay assignment of HA active state to component B till it receives success response to setCSICallBack() from component A. Options I am considering.. 1. I heard of instantiationlevel and CSI dependency attributes, but does these attributes guarantee the above order of initialization? 2. Also in the above scenario, to order initialization sequence is there any delay that can be introduced BTW two INSTANTIATE command? 3. Is it possible to access the presence state of the component like HA state, inside java components using any API (Ex: getHAState()) or any other means? 4. Can the HA state of component A be accessed inside component B and vice versa? Thanks, Dev ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
