Messaging related Queries
Submitted by jatinder on Mon, 2006-12-04 07:42.
I have executed csa114 and csa115 examples and have following
queries regarding messaging.
z)I have two component A and B which can run on any three slots 1, 2 and 3
within ATCA chassis. I want to achieve location transparence of these
components within these slots. How can I do this using IOC and not RMD?
a) If I don't want to use RMD and have only message based design
then can I use IOC directly and achieve location independence and active/standby
management?
b) How I can use both IOC and RMD simultaneously in my application?
c) I have an existing application using TCP/IP which needs to talk to HA
aware application using IOC. How can I achieve this communication?

Hi ,
Let me attempt answering your questions
z. If the two components you have mentioned(compA, compB) can run on any slot IOC does not put any restrictions regarding location.
Remember the location transperency is for the service user and not for the service provider.
a. IOC is a transport mechanism and it does not do any HA State management. Applications have to be written in such a way that they understand availability semantics defined by the clovis AMS.
Having said that IOC provides ways for the service providers to make them location independent.
b) It is possible for an application to use RMD and IOC together. You make your component an EO and use the RMD services. At the same time you can use IOC services aswell. I am not sure if I got your question right.
c) Do you mean you want to replace existing TCP/IP and use IOC instead?? Please clarify.
Thanks,
Hari
Hi,
Let me clarify my queries.
a) I was asking more in terms of the components defined by the AMF
and then using the IOC logical address to make components location
independent. Is AMF requires components to use only RMD or if components
can use IOC, then also it manages active, standby assignments.
b)I think RMD also uses IOC underlying and if there is port assigned
by RMD and there is another port defined by user then how to coordinate
between them? Do you meant by opening a separate thread for IOC receive?
c) I have a test application which make use of TCP/IP and I can't change
this application, in order to test the components written in OpenClovis,
I require the application to talk to the components. How can I do this?
Hi ,
Answers below..
a) To interact with AMF the application components need to confirm with the EO Frame work. This inturn means that it has to be using RMD.
However this doesnt stop components from using IOC for other purposes.
b)IOC allows to create another port and as you said you can have another thread reading the messages.
c)In order for an application to interact with ASP components it needs to confirm to the EO framework. Please refer to section 3.16 of OpenClovis_ReferenceGuide-2.2.pdf