From: Simon de B. <si...@z2...> - 2003-03-21 14:01:19
|
> mailing is alright option, but i'm afraid every time you restart a > nameserver ior changes. i thought the following can be a decent system: > scrip that runs local name server puts its ior in a well known place > (say /var/run/name-server.ior). then every instance of simca has it. > then there should be a module in the first simca that you run which will > listen for connections on certain port and answer simple requests there. > ior of the name server will be one of the requests. > > this way you just type "simca://nerve.v2.nl:5000/server1/foo/bar" in > your client and it will send request for ior name to something > listenning to port 5000 on nerve and then use that name server to > resolve server1/foo/bar part. Other scenario is a request failing triggers the name server resolve process (registering / requesting) for both server or client. In this way a valid IOR is present even after eg. a (unlikely) name server crash. Only tricky part is simca-server should be registerd before client can request and so requests still fail even if valid IOR is used. This also means that the name server ior is only requested the first time or actually changed. -- Simon de Bakker \/01|)7 workgroup: http://www.void7.org personal homepage: http://www.josos.org |