From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,897502692464f25e X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-06-23 15:08:07 PST Path: gmd.de!newsserver.jvnc.net!yale.edu!think.com!paperboy.osf.org!rsalz From: rsalz@osf.org (Rich Salz) Newsgroups: comp.unix.osf.misc Subject: Re: DCE Type vs Object UUIDs (Was: Re: Multiple DCE Servers with the same Interface) Date: 23 Jun 1993 18:59:37 GMT Organization: Open Software Foundation Message-ID: <20a96p$h2q@paperboy.osf.org> References: <204a53$mus@paperboy.osf.org> NNTP-Posting-Host: earth.osf.org In gjb@fig.citib.com (Greg Brail) explains what could happen if you had two servers on a host with the same interface UUID, and neither one having an object UUID: you'd look up one name and rpcd could end up binding you to the other server. >So IMHO, not only is it a good idea for each instance of a server to >have a unique object UUID, it's a good idea to register that UUID with >CDS and rpcd. I totally agree with this. I think this paragraph of mine in article <204a53$mus@paperboy.osf.org> confused you: >It is probably better to create a UUID when the server is installed and >use that. Creating a UUID every time you start up makes it hard for >people to find you. Yes, you could put the "dynamic" UUID in your CDS >entry, but that's as bad as putting your fully-resolved endpoint there. When I said "installed" I meant a separate phrase from "start running." E.g., before you can start the server on a host you must first do some procedure (e.g., create a config file) that sets things up for the server. The drawback to this method is that each server must have some external state (e.g., its object UUID) stored on disk. In practice, this is not likely to be a problem since you've probably got some external state already. Does this make more sense? /r$