* Problem with CDS
@ 1996-12-16 5:00 Jeffrey L. DeMent
1996-12-19 5:00 ` Roger Zee
1996-12-20 5:00 ` Jeff A. Earickson
0 siblings, 2 replies; 3+ messages in thread
From: Jeffrey L. DeMent @ 1996-12-16 5:00 UTC (permalink / raw)
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.
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 !
--
Jeff
_____________________________________________________________________
Jeffrey L. DeMent _._._._._._._
U S WEST Information Technologies (_|_|_|_|_|_|_)
20 East Thomas Road, Room 2419 ` \` | | '/ '
Phoenix, Arizona 85012 ` \`| |'/ '
` \| |/ '
Phone: (602) 630-0442 ` \0/ '
Fax: (602) 630-0006 `~#~'
^
Internet: jdement@uswest.com / \
_____________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Problem with CDS
1996-12-16 5:00 Problem with CDS Jeffrey L. DeMent
@ 1996-12-19 5:00 ` Roger Zee
1996-12-20 5:00 ` Jeff A. Earickson
1 sibling, 0 replies; 3+ messages in thread
From: Roger Zee @ 1996-12-19 5:00 UTC (permalink / raw)
To: Jeffrey L. DeMent
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
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with CDS
1996-12-16 5:00 Problem with CDS Jeffrey L. DeMent
1996-12-19 5:00 ` Roger Zee
@ 1996-12-20 5:00 ` Jeff A. Earickson
1 sibling, 0 replies; 3+ messages in thread
From: Jeff A. Earickson @ 1996-12-20 5:00 UTC (permalink / raw)
If I understand your problem, you do a dceping -C on your machine
and it says that it can't find the cds server, and it asks you for the
server name. You type it in and dceping then works fine.
This is a minor problem but has nothing to do with the actual
operation of DCE. What happens is that dceping stores the name of the
CDS server in a file in /tmp (it should be semi-obvious). If your root
cron script cleans old files out of /tmp, then the file gets wiped and
dceping looses its mind. But in reality your DCE cell is fine.
(If dceval fails its tests, then I worry.)
I got badly burned by this mis-feature when I put dceping -C into a
cron script. Dceping went looking for input from stdin, which was not
to be had from my cron script, so it send the script into an endless
query loop that burned mucho CPU time and brought the system to its
knees. Of course the cron script kicked off at 2 AM...
Jeffrey L. DeMent (jdement@uswest.com) 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.
> 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 !
> --
> Jeff
> _____________________________________________________________________
> Jeffrey L. DeMent _._._._._._._
> U S WEST Information Technologies (_|_|_|_|_|_|_)
> 20 East Thomas Road, Room 2419 ` \` | | '/ '
> Phoenix, Arizona 85012 ` \`| |'/ '
> ` \| |/ '
> Phone: (602) 630-0442 ` \0/ '
> Fax: (602) 630-0006 `~#~'
> ^
> Internet: jdement@uswest.com / \
> _____________________________________________________________________
--
** Jeff A. Earickson, Ph.D PHONE: 207-872-3659
** Senior UNIX Sysadmin, Information Technology EMAIL: jaearick@colby.edu
** Colby College, 4214 Mayflower Hill, FAX: 207-872-3555
** Waterville ME, 04901-8842
----------------------------------------------------------------------------
Those "eight tiny reindeer" left holes in my roof last year...
----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-12-20 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-16 5:00 Problem with CDS Jeffrey L. DeMent
1996-12-19 5:00 ` Roger Zee
1996-12-20 5:00 ` Jeff A. Earickson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox