home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sun / admin / 9755 < prev    next >
Encoding:
Text File  |  1992-12-28  |  2.2 KB  |  52 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!casper
  3. From: casper@fwi.uva.nl (Casper H.S. Dik)
  4. Subject: Re: Rdist questions..
  5. Message-ID: <1992Dec28.171155.17615@fwi.uva.nl>
  6. Sender: news@fwi.uva.nl
  7. Nntp-Posting-Host: adam.fwi.uva.nl
  8. Organization: FWI, University of Amsterdam
  9. References: <BzyBCB.G97@babbage.ece.uc.edu> <1992Dec28.144613.2009@siemens.com>
  10. Date: Mon, 28 Dec 1992 17:11:55 GMT
  11. Lines: 39
  12.  
  13. aad@siemens.com (Anthony Datri) writes:
  14.  
  15. >>How does rdist handle programs that are actively running on the 
  16. >>remote host.. 
  17.  
  18. >Typically the rdistd/rdist -S on the remote machine will rename the old copy
  19. >and unlink it, so running processes should be unaffected by that act.  Of
  20. >course, if it's part of a bigger package, you could have the problem of it
  21. >getting incompatible versions of other parts of the package while the rdist
  22. >is going on, but if you dist at night usually  not much is going on.
  23.  
  24. Except that programs run on NFS clients will still abort with core
  25. dumps. But because of the renaming rdist does, it is possible
  26. to work around this problem as well by making a hardlinked shadow
  27. tree using ``find | cpio -pdmlv''.
  28.  
  29. >>For example, if someone is running X windows
  30. >>and you rdist a new copy of X windows to his fileserver
  31. >>does rdist to the right thing and either unlink or rename
  32. >>has program to keep from over writing the disk image..
  33.  
  34. >In this case, you're perhaps going to end up replacing shared libaries that the
  35. >running processes are using, which is a whole different ball of wax, especially
  36. >if you're going from R4 to R5 with the incompatible Xaw library.  It's best to
  37. >have your users exit from their X sessions before you dist X.
  38.  
  39. It's not different, as long as you keep a copy of the old file around,
  40. either because it's in use by the local system or because you have
  41. made a link in a shadow tree.
  42.  
  43. >I used rdist in a previous life to manage an extensive set of software, and
  44. >while rdist has its problems, I was able to work around most of them with cron
  45. >and some truly evil use of "special".
  46.  
  47. When we use rdist to rdist a newly installed package that has a number
  48. of files spread out over a filesystem that isn't to be mirrored in full,
  49. we use things like: rdist -c `find /usr/local -mtime -1 -print` therhost:
  50.  
  51. Casper
  52.