[omniORB] How can I creat a hot-standby name service?
zlr
zhanglr@stee.com.sg
Mon Jul 29 04:22:02 2002
Hi:
What does "a simple application specific service" mean? Do I must write
it by myself?
If I have to write it by myself, I want do it by the following logic.
I hope you can give me some suggestion or tell me if I can find a easier
way to do it.
server side:
I. service:
1. object_to_string to get a object string (Dose the string include
any enter--"\r\n"?)
2. write it into a file -- local PC (PC side).
Note: one pc can have a lot of services.
II.Daemon:
1. create a socket to listen.
2. if receive a requirement (include service name), I return the
object string (it is stored in the file) by service name.
clint side:
1. create a socket to connect to server (PC Name).
2. pass the service name by socket.
3. after receive the object string of service, I call
string_to_object to get object point.
Best Regards
ZHANG Liren
----------------------------------------------------------------------------
Singapore Technologies Electronics Ltd.
Product Development & Management Division (PDMD)
(65) 413 1613 (Direct)
zhanglr@stee.com.sg
----- Original Message -----
From: "Duncan Grisby" <duncan@grisby.org>
To: "zlr" <zhanglr@stee.com.sg>
Cc: <omniorb-list@realvnc.com>
Sent: Wednesday, July 24, 2002 9:02 PM
Subject: Re: [omniORB] How can I creat a hot-standby name service?
> On Tuesday 23 July, "zlr" wrote:
>
> > In our new development we replaced Orbix with Omniorb. We wrote our own
> > daemon which peforms similar functions to the Orbix Daemon. The only
main
> > difference is that we are forced to use a Name Service. Now we want to
do
> > the same thing as before i.e we want a fail safe for the NameService
which
> > will reside on each DS. Let me explain the logic of our Daemon we have
> > written.
>
> Do you really need the name service? Why do you think you are forced
> to use it? It sounds like if you can avoid the name service, using a
> simple application specific service instead, you won't have any
> problems.
>
> Cheers,
>
> Duncan.
>
> --
> -- Duncan Grisby --
> -- duncan@grisby.org --
> -- http://www.grisby.org --
> _______________________________________________
> omniORB-list mailing list
> omniORB-list@realvnc.com
> http://www.realvnc.com/mailman/listinfo/omniorb-list
>
>
>