From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9ba4,d501041e84932ba8 X-Google-Attributes: gidf9ba4,public X-Google-Thread: f678f,d501041e84932ba8 X-Google-Attributes: gidf678f,public From: Roger Zee Subject: Re: Problem with CDS Date: 1996/12/19 Message-ID: <32B9EDE3.41C6@tuxedo.enet.dec.com>#1/1 X-Deja-AN: 205010910 references: <32B5A423.55E1@uswest.com> to: "Jeffrey L. DeMent" content-type: text/plain; charset=us-ascii organization: DCE Engineering mime-version: 1.0 newsgroups: comp.unix.osf.misc,comp.soft-sys.dce x-mailer: Mozilla 3.01Gold (X11; I; OSF1 V4.0 alpha) Jeffrey L. DeMent wrote: > > I'm having a problem with my DCE client (HP-uX 9.04/DCE 1.2.1) "losing" > track of CDS (running on a HP-UX 10.10/DCE 1.4.1) across a WAN. > > Symtoms are something like this: > > 1. Stop then start client and server daemons and everything is fine. > 2. After a period of time (around 8 hours but I'm not sure) the > client (using 'dceping') can no longer locate CDS. I'm not familiar with the dceping utility. What are its arguments and what is returned? That 8 hours is somewhat of a magic number in that it may be the default for how long your credentials last. What does 'klist' say? > A couple of related facts: > > 1. During the dce_config to initially install, the script did prompt > for the location of CDS because it correctly determined CDS was > not on the LAN. dce_config informed me it would use the info for > a 'cdscp define cached server' command. > 2. Even during those times when 'dceping' fails (i.e. my client has > lost track of CDS server), a 'cdscp show cached server machinename' > seems to work properly on the client. > 3. On my client on a reboot I do the following in /etc/rc: > - first, /etc/rc.dce > - second cdscp define cached server machinename > > I'm getting confused. On the server side, when CDS comes up it get > a port assigned. Will it keep it indefinitely in the port mapper data > base ? Is there some piece of information that becomes stale in the > client ? Any help would be much appreciated ! > No, the cdsd-specific endpoints are registered each time cdsd starts up. If you disable the server gracefully, the endpoints are removed. You may have stale endpoints if the server dies unexpectedly. As long as a "cdscp dump clerk cache" shows CACHED CLEARINGHOUSES information, you should be fine operationally on the client side. Any delays are either stale clearinghouse info in the cache (check the address towers), network-related delays, or the remote CDS server is down or inaccessible via the endpoint mapper. --Roger ------------------------------------------------------------------------ Roger Zee Phone: 508-486-5288 Digital Equipment Corporation Fax: 508-486-7837 550 King Street, LKG2-2/Z7 E-mail: zee@tuxedo.enet.dec.com Littleton, MA 01719 ------------------------------------------------------------------------