Please see the responses.
On 22-Jun-13 1:31 AM, opensaf dev wrote:
> ---------- Forwarded message ----------
> From: opensaf dev <[email protected]>
> Date: Fri, Jun 21, 2013 at 12:53 PM
> Subject: Regd the SU Failover
> To: [email protected]
>
>
> Hi Team,
>
> I am developing a AMF java applications and have few basic questions. Any
> input on these points is highly appreciated.
>
> 1. Do we have a way using Java SAF API for AMF, if a critical component
> fails, how do we fail/restart the Service Unit associated with the
> component?
>
> OpenSAF Version: 4.3.2
If a component fails AMF will take default recovery action configured in
the application configuration file for that component.( See the
attributes saAmfCtDefRecoveryOnError and saAmfCompRecoveryOnError).
Depending upon the importance of the component one can decide the level
of recovery.
Besides, recovery policy can be passed as argument also in some APIs also:
saAmfComponentErrorReport(), saAmfHealthcheckStart(), saAmfPmStart().
For the fail-over of the SU, recovery can be configured
SA_AMF_COMPONENT_FAILOVER.
> 2. Do we have the reference documentation for the imm.xml objects and the
> attributes those are defined inside that?
imm.xml contains classes and objects of opensaf middle-ware.
Specification of each service contains the definition of classes and
attributes associated with the service.
> 3. How do we associate/access/use the components those are defined in
> imm.xml in controller node in the payload node?
>
A component belongs to SU. In the configuration while giving SU details,
one can specify on which node the SU should be hosted. When application
will be brought up, component
process will come on that particular node where SU is hosted. See this
attribute of SU
<attr>
<name>saAmfSUHostNodeOrNodeGroup</name>
<value>safAmfNode=SC-2,safAmfCluster=myAmfCluster</value>
</attr>
> 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
------------------------------------------------------------------------------
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