From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5439c15172a5d16d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-22 07:01:28 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!sfo2-feed1.news.digex.net!intermedia!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!news.cesnet.cz!crax.cesnet.cz!news.felk.cvut.cz!not-for-mail From: Tomas Hlavaty Newsgroups: comp.lang.ada Subject: Re: Client connected to two servers in Glade Date: Tue, 22 Jan 2002 15:49:52 +0100 Organization: Czech Technical University Message-ID: <3C4D7C10.463DEE55@labe.felk.cvut.cz> References: <3C45556F.CE05AD1F@labe.felk.cvut.cz> <3C485758.F69BC3BE@labe.felk.cvut.cz> NNTP-Posting-Host: bela.felk.cvut.cz Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ns.felk.cvut.cz 1011710935 48243 147.32.85.107 (22 Jan 2002 14:48:55 GMT) X-Complaints-To: usenet@ns.felk.cvut.cz NNTP-Posting-Date: Tue, 22 Jan 2002 14:48:55 +0000 (UTC) X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.18-rtl i686) X-Accept-Language: cs, en Xref: archiver1.google.com comp.lang.ada:19180 Date: 2002-01-22T15:49:52+01:00 List-Id: > > > > is it possible to connect a client to two or more servers simultaneously > > > > using Glade? It seems it is not possible because there is only one boot > > > > location. Am I right? I have to design a client which reads, > > > > simultaneously displays data from two servers. > > > > > > I would say yes. This is not a matter of boot location. With GLADE a > > > distributed program is composed of many partitions. You can have many > > > partitions acting as servers, a client can call RCI procedures on one > > > or many of them. It is also possible to have many clients. > > > > But how the client find out what is the address of the second server? > > What is the boot location then? Should be there one boot location for > > both servers? > > But there is no "two servers", there is two RCI partitions to connect to. Each > provides some differents services. When you use a RCI service the boot > location will "redirect" you to the right partition on the right machine. > > I don't see a problem here, or maybe I missed something ? Maybe, the problem lies in that I have two RCI partitions which are the same, i.e. they provide the same services. So I can't write ... Partition_A, Partition_B : Partition for Partition_A'Host use "this.that.there" for Partition_B'Host use "some.where.else" procedure Server_A is in Partition_A; procedure Server_B is in Partition_B; ... as Frank suggests. The situation is as follows: +-------------+ +-------------+ +-------------+ +-------------+ | Machine_A1 | | Machine_A2 | | Machine_A3 | ... | Machine_An | | Partition_1 | | Partition_1 | | Partition_1 | | Partition_1 | +---------+---+ +---+-----+---+ +-------------+ +---+---------+ | | | | \-----+-----/ \-----+---------------------------/ | | +------+------+ +------+------+ | Machine_B1 | | Machine_B2 | ... | Partition_2 | | Partition_2 | +-------------+ +-------------+ where Partition_1 is a program collecting data from somewhere (not interesting) that is executed on Machine_Ai as a daemon. Partition_2 is a program simultaneously displaying data collected by any two Partitions_1. A user specify Machine_Aj and Machine_Ak dynamically when he wants to execute a Partition_2 on Machine_Bl. Isn't it to complicated? May be there is something wrong in the structure of the distributed system. Should it be partitioned in a different way? Tomas -- Tomas Hlavaty mailto:hlavaty@labe.felk.cvut.cz Department of Cybernetics http://labe.felk.cvut.cz/~hlavaty Faculty of Electrical Engineering phone: (+420 2) 2435 7284 Czech Technical University