|
|
 | | From: | Jakob Erber | | Subject: | rpc profile question | | Date: | Sat, 20 Nov 2004 15:57:46 +0100 |
|
|
 | Hello,
for our 8 interchangeable RPC application servers (instanciated on 4 nodes), we created an rpc profile containing one entry for each server.
Now, when a client performs the following code
import_begin (on profile)
loop until no more bindings import_next
import_done
8 bindings are retreived, however the list contains duplicates, meaning one binding can be in the list more than once and therefore not all server bindings are retreived.
My questions now is:
How do I have to change the code/configuration, in order to get all 8 different bindings? Do I have to use a object uuid for each server entry?
best regards
Jakob
|
|
 | | From: | Pete Bennett | | Subject: | Re: rpc profile question | | Date: | Tue, 23 Nov 2004 17:47:54 -0000 |
|
|
 | Hmm, could you include an rpcp show from dcecp on the profile you have created?
I would suspect that the 'duplicates' are actually just the different protocol bindings, since you will get ncacn_ip_tcp and ncadg_ip_udp bindings for each RPC Entry by default, so perhaps the profile is resolving to those multiple bindings. It should return all the bindings for all of your profile entries though, which is why I'd like to see the output of the rpcp show, and perhaps even something like:- foreach appentry [ rpcp list /.:/myapp/myprofile ] { rpce show ${appentry} } or something like that. It has been a while since I've had the chance/need to do any dcecp scripting.
Pete Bennett DSPS.
"Jakob Erber" wrote in message news:cnnm0i$89d$1@newshispeed.ch... > Hello, > > for our 8 interchangeable RPC application servers (instanciated on 4 > nodes), > we created an rpc profile containing one entry for each server. > > Now, when a client performs the following code > > import_begin (on profile) > > loop until no more bindings > import_next > > import_done > > > 8 bindings are retreived, however the list contains duplicates, meaning > one > binding can be in the list more than once and therefore not all server > bindings are retreived. > > My questions now is: > > How do I have to change the code/configuration, in order to get all 8 > different bindings? Do I have to use a object uuid for each server entry? > > best regards > > Jakob > >
|
|
 | | From: | Jakob Erber | | Subject: | Re: rpc profile question | | Date: | Wed, 24 Nov 2004 17:38:29 +0100 |
|
|
 | Hello Pete,
thanks for your reply. First let me tell you, that I got rid of the duplicates (which where real ones) by telling the servers to export object uuids. Is this not the right way to do? Are you still the opinion, that even without object ids there should be no duplicates?
I will see if I can get the desired output.
best regards
Jakob
"Pete Bennett" schrieb im Newsbeitrag news:41a3a8e3$0$289$cc9e4d1f@news.dial.pipex.com... > Hmm, could you include an rpcp show from dcecp on the profile you have > created? > > I would suspect that the 'duplicates' are actually just the different > protocol bindings, since you will get ncacn_ip_tcp and ncadg_ip_udp bindings > for each RPC Entry by default, so perhaps the profile is resolving to those > multiple bindings. It should return all the bindings for all of your > profile entries though, which is why I'd like to see the output of the rpcp > show, and perhaps even something like:- > foreach appentry [ rpcp list /.:/myapp/myprofile ] { > rpce show ${appentry} > } > or something like that. It has been a while since I've had the chance/need > to do any dcecp scripting. > > Pete Bennett > DSPS. > > "Jakob Erber" wrote in message > news:cnnm0i$89d$1@newshispeed.ch... > > Hello, > > > > for our 8 interchangeable RPC application servers (instanciated on 4 > > nodes), > > we created an rpc profile containing one entry for each server. > > > > Now, when a client performs the following code > > > > import_begin (on profile) > > > > loop until no more bindings > > import_next > > > > import_done > > > > > > 8 bindings are retreived, however the list contains duplicates, meaning > > one > > binding can be in the list more than once and therefore not all server > > bindings are retreived. > > > > My questions now is: > > > > How do I have to change the code/configuration, in order to get all 8 > > different bindings? Do I have to use a object uuid for each server entry? > > > > best regards > > > > Jakob > > > > > >
|
|
|