home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / sysadmin / 6425 < prev    next >
Encoding:
Text File  |  1992-11-11  |  6.4 KB  |  169 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!usenet
  3. From: sears@tree.egr.uh.edu (Paul S. Sears)
  4. Subject: Re: Making a Client's File System Look Like its Server's
  5. Message-ID: <1992Nov11.152052.8171@menudo.uh.edu>
  6. Sender: usenet@menudo.uh.edu (USENET News System)
  7. Nntp-Posting-Host: thanatos.egr.uh.edu
  8. Reply-To: sears@tree.egr.uh.edu
  9. Organization: University of Houston
  10. References: <1992Nov11.035622.26949@leland.Stanford.EDU>
  11. Date: Wed, 11 Nov 1992 15:20:52 GMT
  12. Lines: 155
  13.  
  14. In article <1992Nov11.035622.26949@leland.Stanford.EDU>  
  15. gcolello@biosphere.Stanford.EDU (Greg Colello) writes:
  16. =>I am trying to figure out how to make it possible for a user to do  
  17. =>anything on a client that the user could do on the client's server.
  18. =>
  19. =>My solution:
  20. =>
  21. =>0. Setup the clients and server as a Netinfo database.
  22.  
  23. Good.
  24.  
  25. =>1. Make all accounts network accounts (I acquiesed to the /Net and /Users  
  26. =>idiom of Next).
  27.  
  28. Good.
  29.  
  30. =>2. Load the base 60MB NS3.0 OS on each client.
  31.  
  32. Actually, the base NS3.0 is ~73M (77 with English Help)
  33.  
  34. =>3. Load all Next packages on the server.
  35.  
  36. Like the extended release stuff (NextDeveloper, Documentation, all the other  
  37. languages?)
  38.  
  39. =>4. Load all third party apps on the server into /LocalApps.
  40.  
  41. Bueno.
  42.  
  43. =>5. Export the following from the server as ReadOnly using the 3.0 NFS App  
  44. =>(these are the directories affected by steps 3 and 4 above):
  45. =>
  46. =>/LocalLibrary
  47. =>/usr
  48. =>/Users
  49. =>/NextDeveloper
  50. =>/bin
  51. =>/lib
  52. =>/NextLibrary
  53. =>/NextApps
  54. =>/LocalApps
  55.  
  56. Not so good (personal opinion, based on experience with a multi server  
  57. environment...) see below
  58.  
  59. =>6. Import each of the above on the clients using the 3.0 NFS App. Mount  
  60. =>them to /Net/server/... on the clients.
  61.  
  62. same as above (5, 6 & 7 are directly related).  See below...
  63.  
  64. =>7. Replace the step 5 directories on the clients with soft links to their  
  65. =>corresponding /Net/server/... step 6 mounts.
  66.  
  67. same as above (5, 6 & 7 are directly related).  See below...
  68.  
  69. =>8. Make the server the mail server.
  70.  
  71. Good.  export /usr/spool/mail.  Make sure sticky bit is set.  Chmod 1777  
  72. /usr/spool/mail.
  73.  
  74. =>9. Make each client a mail client of the server.
  75.  
  76. import /usr/spool/mail on each client...
  77.  
  78. (i.e., mailhost:/usr/spool/mail)
  79.  
  80. =>10. Adjust the clients' sendmail.sharedsubsidiary.cf file to cause mail  
  81. =>sent from them to bear the server's name instead of their own.
  82.  
  83. Good idea, and I would like to know what you did to make this work.  I have  
  84. been yet unsuccessful in hiding the hostnames of our clients..
  85.  
  86. =>11. Adjust our campus domain name server to send mail addressed to any of  
  87. =>the clients to the host instead. Adjust the server's sendmail.mailhost.cf  
  88. =>file to have alias' for each of the clients so the host does not reject  
  89. =>the redirected mail.
  90.  
  91. Sure, have all the clients MX to the mailhost.  Easy enough.. but if you had  
  92. successfully masked the clients anyway, then everyone would think that mail  
  93. originates only on the mailhost....
  94.  
  95. =>My first question is how many of the step 5 directories need Read/Write  
  96. =>access? For example I know that /usr/spool/mail-->/private/spool/mail  
  97. =>needs to be writable by the clients. So maybe I need to export  
  98. =>/private/spool/mail and liberalize the permissions of that path. Also for  
  99. =>example does /NextDeveloper need Read/Write access if you're doing  
  100. =>NextStep development?
  101. =>
  102.  
  103. Depends on how you do it.  None technically need rw access (except for /Users,  
  104. which is a different case altogether).  All can be happily mounted ro (we  
  105. mount the / partition as ro...) 
  106.  
  107. =>I also know that /usr/lib/sendmail is different on the clients than the  
  108. =>server. How many other such inconsistancies are there?
  109.  
  110. No.  sendmail is the same. sendmail.cf is what is different (located in  
  111. /etc/sendmail)
  112.  
  113. =>Also our server is a monochrome Cube and our clients are both mono and  
  114. =>color slabs. Are there some different OS file requirements here?
  115.  
  116. Nope... We have to mono servers (one a cube and one a slab).  We server all  
  117. kinds of configs... no problems... no special accommodations...
  118.  
  119. =>If this overall problem can be resolved it would be really neat, because  
  120. =>we could work on our server or clients completely transparently, and all  
  121. =>upgrades could be confined to the server.
  122. =>
  123.  
  124. That is what we do here...
  125.  
  126. =>Greg Colello
  127. =>Carnegie Institution, Department of Plant Biology
  128. =>Stanford University
  129. =>gcolello@biosphere.stanford.edu
  130.  
  131. From experience, it is far easier to manage single mount points than multiple  
  132. mount points.  Instead of exporting individual directories from the server,  
  133. export the / level, then on the clients mount the server:/ as a single mount  
  134. point, in our case we use /NeXTMount and /NeXTMount2 (we have two servers).   
  135. Then make all your links to /NeXTMount (i.e, ln -s /NeXTMount/NextDeveloper  
  136. /NextDeveloper on the client side).  We have also found that the mounts should  
  137. be _hard_ mounts.  Having things in /Net via automounter proved to be way too  
  138. unreliable when the server gets bogged down with NFS requests.  Also, in your  
  139. /etc/rc, up the # of nfsd processes from 6 to at least 8.
  140.  
  141. It is a hell of alot easier keeping information for one mount point in NetInfo  
  142. up to date and accurate than trying to keep 10-15 mounts in /Net.  From an  
  143. administration standpoint, the less mount points, the better...
  144.  
  145. And to address a particular misconception:
  146.  
  147. =>BTW we didn't use NetBoot, because each client has a good sized hard drive  
  148. =>that can be used as a local swap disk. I understood that there was no way  
  149. =>to have local swap disks with NetBooting.
  150. =>
  151.  
  152. This is not correct.  You can have the local disk as the swap disk _if_ you  
  153. re-label the disk to be called "swapdisk."  You are making the right decision  
  154. for the wrong reasons.  NetBoot clients are a _severe_ drain on a server's  
  155. resources.  Try to avoid NetBoot clients if possible.  We have 11 (cubes with  
  156. 40M accelerator drives) out of 50 clients that are net boot.  They are mostly  
  157. serviced by our secondary server which has mucho process cycles to burn, but  
  158. even that server has its performance degraded when the netboots are in heavy  
  159. use...  
  160.  
  161.  
  162. --
  163. Paul S. Sears                *  sears@uh.edu (NeXT Mail OK)
  164. The University of Houston    *  suggestions@tree.egr.uh.edu (NeXT
  165. Engineering Computing Center *  comments, complaints, questions)
  166. NeXT System Administration   *  DoD#1967 '83 NightHawk 650SC 
  167.           >>> SSI Diving Certification #755020059 <<<
  168. "Programming is like sex: One mistake and you support it a lifetime."
  169.