From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,b83419799dc13652 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-11-29 10:15:00 PST Path: gmd.de!xlink.net!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!bloom-beacon.mit.edu!paperboy.osf.org!ironman.qadce.osf.org!mhickey From: mhickey@ironman.qadce.osf.org (Mark Hickey) Newsgroups: comp.unix.osf.misc Subject: Re: A Question on CDS client caches Date: 29 Nov 1993 17:27:18 GMT Organization: Open Software Foundation Message-ID: <2ddbdm$c8v@paperboy.osf.org> References: <2cdfbr$398@starlight.datlog.co.uk> <1993Nov22.142401.6993@decuk.uvo.dec.com> NNTP-Posting-Host: ironman.osf.org In article <1993Nov22.142401.6993@decuk.uvo.dec.com> (John Corne) writes: > >|>Hello, >|> >|>I was wondering if anyone can answer a question I have about the >|>CDS client side caches. ... stuff deleted... >|>So, how do client side caches keep in step with changes to the master >|>namespace operated by cdsd, as the cdsd cannot propogate updates to the >|>client side caches? (eg. the server I'm looking for moves machine, the >|>client side cache has old information and I restart my client. How is >|>this resolved?). >|> >From the client side, as noted in previous articles, you can set a limit on the period of time that cached information is considered valid via the two calls: rpc_ns_mgmt_handle_set_exp_age - sets the time limit for retaining cached info for the passed name service handle (ie: an inquiry context). The time limit is used only in calls to rpc_ns*next functions; eg: binding_import_next. rpc_ns_mgmt_set_exp_age - sets the time limit for retaining cached info for the application. If the expiration age parameter specified to either call is 0, then effectively no information is cached; the clerk goes to the clearinghouse every time information is requested. These calls have associated *_inq* calls that return the current expiration age. You can find out if the server is up on the binding you have via the resolve_binding and is_server_listening calls. Mark Hickey OSF DCE System Test mhickey@osf.org