home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 4 / AUCD4.iso / acorn / documents / appnotes / 216-230 / 228c.arc / Text
Encoding:
Text File  |  1993-08-11  |  22.0 KB  |  532 lines

  1. -----------------------------------------------------------------------------
  2. 2nd August 1993
  3. -----------------------------------------------------------------------------
  4. Support Group Application Note
  5. Number: 228
  6. Issue:  Purchase and installation of a simple AUN Network.
  7. Author: Carl Sellers
  8. -----------------------------------------------------------------------------
  9.  
  10.  
  11.  
  12. -----------------------------------------------------------------------------
  13. Applicable Hardware: 
  14.  
  15. Related Application Notes:
  16.  
  17.  
  18. -----------------------------------------------------------------------------
  19. Copyright (C) Acorn Computers Limited 1992
  20.  
  21. Every effort has been made to ensure that the information in this leaflet is 
  22. true and correct at the time of printing. However, the products described in
  23. this leaflet are subject to continuous development and improvements and
  24. Acorn Computers Limited reserves the right to change its specifications at
  25. any time. Acorn Computers Limited cannot accept liability for any loss or
  26. damage arising from the use of any information or particulars in this
  27. leaflet. ACORN, ECONET and ARCHIMEDES are trademarks of Acorn Computers
  28. Limited.
  29. -----------------------------------------------------------------------------
  30. Support Group
  31. Acorn Computers Limited
  32. Acorn House
  33. Vision Park
  34. Histon
  35. Cambridge
  36. CB4 4AE                                                  
  37. -----------------------------------------------------------------------------
  38.  
  39. Purchase and Installation of a simple AUN Network
  40.  
  41.  
  42. This document will provide the reader with sufficient information to allow
  43. them to construct a simple Ethernet based network using RISC OS machines and
  44. the AUN/Level 4 Fileserver software.
  45.  
  46. It is, however, beyond the scope of this document to cover all aspects of
  47. Ethernet design and installation. Those readers who seek information on more
  48. complex network topologies should refer, in the first instance, to the
  49. documentation supplied with the AUN/Level 4 Fileserver.
  50.  
  51. Applicable Hardware:  All Archimedes machines.  All Ethernet cards fited
  52. with an AUN Boot ROM.
  53.  
  54. Related Application Notes:  Optimising AUN Network performance.
  55.  
  56.  
  57. 1   Introduction
  58. This note is intended to give guidance to anyone wishing to purchase and
  59. install an AUN Network. It is designed for those that have not attempted
  60. such an exercise before, and concentrates on straight forward, simple
  61. networks. It does not attempt to cover issues such as connection with other
  62. network types, for example Econet, Nexus or non-Acorn systems. Likewise it
  63. is beyond the scope of this document to discuss issues surrounding the use
  64. of more complex topologies involving Gateways, Bridges or Repeaters. To
  65. address these the reader should contact a suitably qualified professional
  66. network installer and/or read the manuals supplied with the AUN/Level 4
  67. Fileserver.
  68.  
  69.  
  70. 2   First steps
  71. A network is a means of connecting two or more computers together in order
  72. to allow them to share resources and communicate.  The current Acorn
  73. networking model is called Client-Server. Clients are  machines that require
  74. services such as file and application access or print services. These
  75. machines are generally distinct from those that provide these services
  76. (servers).
  77.  
  78. A small network may consist of one machine that acts as a file server and
  79. print spooler that is dedicated to this purpose and a number of machines
  80. that can utilise the services that it provides. There are restrictions of
  81. course regarding numbers of clients that can be sensibly accommodated by a
  82. server, and these are discussed in the following pages.
  83.  
  84. Installing a network first involves ensuring that:
  85.  
  86.     • the correct hardware is available in all participating machines
  87.  
  88.     • the physical network is correct and working
  89.  
  90.     • all machines are correctly configured
  91.  
  92.     • the server software is installed
  93.  
  94. All these steps will be covered in some detail.  Some background information
  95. on Ethernet, which is the technology described in this note, is given in
  96. Appendix A. This document deals with Thin Ethernet, as this is the type that
  97. is supported by all types of Ethernet card for RISC OS machines. Here are
  98. some statistics:
  99.  
  100.     Maximum length of one cable segment:    185 metres
  101.  
  102.     Maximum number of stations on a segment:    30
  103.  
  104. It is important to note that the 185 metres includes all the cabling -
  105. including drop cables, if used.
  106.  
  107. There are two main ways to install the cabling for a network. The simple way
  108. is to run the cable as a "daisy chain" from machine to machine, using
  109. "T-pieces" to connect the cable to a network card, as shown in the  diagram
  110. overleaf.
  111.  
  112. (See Diagram No.1)
  113.  
  114. Illustration of a typical Thin Ethernet (10Base2) network and its component parts.
  115.  
  116. There is nothing wrong with this sort of network. It is ideal for
  117. non-permanent installations, and the connectors that attach the bits of
  118. cable together (BNC Connectors) are well engineered and do not come apart
  119. accidentally. But it is possible that they can be detached, breaking the
  120. continuous cable run and therefore bringing the whole network down.
  121.  
  122. For more permanent installations, a socket-box approach is preferred. Here
  123. again, there are two main choices. They can either be simple, just
  124. consisting of two BNC connectors that run down to the machine and back, but
  125. which require a "short linking cable" between the BNC outlets on each unused
  126. box, and the more expensive "make before break" box which allows the station
  127. to be disconnected without bringing the network down. These two types are
  128. also illustrated below:
  129.  
  130. (See Diagram No.2)
  131.  
  132. 3   Obtaining the components
  133. To use Ethernet you need RISC OS 3.1 or later in every machine. Each machine
  134. must have an Ethernet card fitted. These are available from a variety of
  135. sources, but different cards are required for different machines. Prices may
  136. vary from third party suppliers, and it is possible that quite considerable
  137. discount may be given for quantity. At the time of going to press the
  138. following information is believed to be correct:
  139.  
  140. Platform                   Supplier (Sales Code)
  141.  
  142. A5000, A400 Series         Acorn   (AEH54)
  143.                            Atomwide
  144.                            Risc Developments (4600e)
  145.                            Oak Solutions
  146.  
  147.  
  148. A3000 (A3020 A4000)        Atomwide
  149.                            Risc Developments (4601e)
  150.                            Oak Solutions
  151.  
  152. A3020, A4000               ICubed (Isolan)
  153.                            (Network slot)
  154.                            Risc Developments
  155.  
  156.  
  157. Check with the supplier that the Ethernet card contains the AUN client
  158. software. (Some cards are available with different software loaded).
  159.  
  160. Cables, T-Pieces and Terminators can be obtained from a variety of sources.
  161. One well known supplier is Pronet   - a list of sutiable components is shown
  162. below:
  163.  
  164. 2 Metre drop cable (BMM58/2)
  165. Twin 2 metre cable (BGM/2) (Includes T-Piece)
  166. T-Piece  (35031)
  167. Terminator  (35098/50R)
  168.  
  169. There are a number of companies that specialise in Ethernet boxes, trunking,
  170. make-before-break connectors etc, but these lie outside the scope of this
  171. document. Refer to your local dealer for information.
  172.  
  173.  
  174. 4    Fitting the network cards
  175. When your cards have been purchased, plug them into the machines as per the
  176. manufacturers' instructions.
  177.  
  178. (See Diagram No.3)
  179.  
  180. Connect the machines via the BNC connector on the Ethernet card to the
  181. network. Ensure that the network has a terminator at each end of the cable
  182. (as shown in the earlier diagram), and that it forms a continuous run of
  183. wire with the Ethernet card BNCs tapping off the cable.
  184.  
  185. 5    Configuring machines
  186. With the machines powered up, it is necessary to configure the machines to
  187. set their station number and load the Ethernet software from the memory on
  188. the Ethernet card. If the machines have no hard disc of their own, you may
  189. wish to boot them from the fileserver at power up. This is covered later in
  190. "Hints and tips".
  191.  
  192. To ensure that the correct Ethernet software is loaded, ensure that the
  193. machine is switched on and is displaying the normal desktop. Press F12. At
  194. the * prompt type the following command:
  195.  
  196.                *Configure BootNet on
  197.  
  198. When you have done this press Return. Now reboot the machine by pressing the
  199. button marked Reset whilst holding down the key marked Ctrl.
  200.  
  201. Take a floppy disc with the SetStation utility on it (for example the Level4
  202. Fileserver application disc).  Insert the disc into the machine that is
  203. going to act as the fileserver (ie one that has a hard disc)  and then:
  204.  
  205.           • Click-select on the floppy disc icon
  206.  
  207.           • Double click-select on the SetStation program
  208.  
  209.           • Type 254 at the prompt.
  210.  
  211.           • Reboot the machine.
  212.  
  213. This process will set the station number of this station to 254, which is
  214. the customary number for a fileserver. Repeat this exercise at every other
  215. additional machine on the network.  Ensure that you choose a different and
  216. unique number for each one. It is recommended that you start at say 20, and
  217. then go up in units of five or ten.
  218.  
  219. The machines are now ready to talk over the network.
  220.  
  221.  
  222. 6    Installing the Fileserver
  223. The Level 4 Fileserver manual contains a great deal of advice on setting up
  224. a fileserver, and there is no substitute for taking the time to read through
  225. it carefully. If you know that your fileserver will be doing a number of the
  226. following : 
  227.  
  228.         • have to handle hundreds of users
  229.  
  230.         • be accessed by more than six machines at any one time for
  231.           intensive tasks
  232.  
  233.         • be used for application serving
  234.  
  235.         • does not have a normal ADFS hard drive (or a standard IDE drive as
  236.           per the A5000 et al)
  237.  
  238. then you are strongly advised to read the manuals supplied with the
  239. AUN/Level 4 Fileserver software.  However, if you are setting up a
  240. fileserver which will only be accessed by a small number of users for saving
  241. their own data then you may take some short cuts. 
  242.  
  243. Make sure that the root directory ($) of the hard disc is not littered with
  244. applications and resources. Ensure that files are grouped in a reasonably
  245. tidy and logical manner; this will make it easier for other users to find
  246. things on the fileserver. Create a directory structure on the hard disc
  247. which matches the one in the following illustration.
  248.  
  249. (See Diagram No.4)
  250.  
  251. Level 4 directory structure.
  252.  
  253. As you become more experienced with the management and use of the fileserver
  254. you may wish to change this structure, but for the time being it is
  255. important that you copy this structure exactly. You can find copies of these
  256. applications on either the Level 4 Fileserver disc or the applications discs
  257. supplied with the machine.
  258.  
  259. Create a directory called Syst and copy !Scrap into it, this will be needed
  260. when you logon as a system privileged user to perform day to day management
  261. tasks.
  262.  
  263. Name the hard disc with a name that you want it to be seen as over the
  264. network. Something inspired like Level4 will do, but not %^&76! Disc names
  265. of 10 characters or more in length are best avoided at this stage, as their
  266. use requires changes to be made to the exports file in Level 4. 
  267.  
  268. Double click on the !Server icon, when the pyramid icon is displayed on the
  269. icon bar your server is running. You should be able to move to another
  270. station and click-menu over the Net icon on the Icon bar, move to the Logon
  271. box and logon to the fileserver. Type the name of the fileserver disc on the
  272. top line, Syst as the user name - no password is required, just hit Return.  
  273.  
  274. (See Diagram No.5)
  275.  
  276. Performing a Logon from a client station to the fileserver.
  277.  
  278. A filer window will open, showing the contents of the directory $.Syst. To
  279. access the whole of the disc, move the pointer over the Net icon on the icon
  280. bar click once on the menu button and click-select on Open '$'.   A filer
  281. window will open, showing the root directory of the fileserver, and you can
  282. share this data as if it were your local hard disc. Refer to the Level 4
  283. Fileserver Managers Guide in conjunction with Section 8 of this document if
  284. you wish to restrict user access to the fileserver disc and Section 9 if you
  285. wish to set up !ArmBoot files for users.
  286.  
  287. 7    Installing the Spooler
  288. You may wish to share a printer between the machines on the network. This
  289. can be done with the !Spooler application.  Firstly, attach the printer to
  290. the machine - it can be any machine on the network but you are strongly
  291. advised to ensure that this machine has its own local hard disc which
  292. contains the copy of !Spooler. Where the number of hard discs on the network
  293. is limited it might be sensible to connect it to the machine that is acting
  294. as a fileserver, and reserve this machine as a dedicated resource.
  295.  
  296. Double click on the !Spooler application, and then click-select on the
  297. Spooler icon on the Icon bar. This will open up a window with two printers
  298. displayed; Matrix and Laser. In this default configuration, Matrix is
  299. configured to print to the Parallel port, and Laser is configured to print
  300. to the Serial port. You may copy or delete these printers, or alter the
  301. connections by menuing on the printer icon and setting them up as required.
  302.  
  303. On a client machine, load a copy of !Printers (either from local disc or
  304. from the network fileserver).  This note assumes familiarity with this
  305. application, and that you can set it up with the correct printer definition
  306. file. If you are unsure how to do this then please refer to the section on
  307. Printing in the RISC OS User Guide.  The setup sequence is shown in the
  308. illustration below. Click-menu on the Printers icon and click-select on the
  309. Printer Control... box.  Click-menu again on the appropriate printer and
  310. select Connections... In the Connection box click on the Econet button (yes,
  311. Econet!), and select the printer name from the associated menu window.  Save
  312. the options, and you are now ready to print.
  313.  
  314. (See Diagram No.6)
  315.  
  316. Illustration showing how to configure !Printers for Network use.
  317.  
  318. 8    Using the system - Users & !Manager
  319. As described, you can log onto the fileserver as user "Syst". This user has
  320. special privileges, one of which is "ownership" of all the fileserver disc,
  321. and can therefore be rather dangerous. It is wise to add a password to the
  322. system user. This password must be kept a closely guarded secret. It is also
  323. desirable to create other "users" of the system who can have access to just
  324. those areas of the fileserver that they need. For these operations, you need
  325. to use !Manager.
  326.  
  327. You may use !Manager on the station that is acting as the server, but not
  328. whilst the server is running. It is strongly recommended that you use it on
  329. one of the client machines connected to the network.
  330.  
  331. Load !Manager, and click-select on its icon on the Icon bar. After a pause,
  332. a window will open with a display of all the Acorn fileservers available on
  333. the network. In this single-server network there will be either one or two
  334. servers - shown by the disc name, or "local server" if you are running
  335. manager from the server machine. Selecting this fileserver will open a
  336. window with all the users in it: Syst, Guest and Boot.
  337.  
  338. Click-select on Syst, which opens the "profile" for this user. Enter a
  339. suitably secure password (minimum 6 characters, max 21), and click-select on
  340. Update as shown below.
  341.  
  342. (See Diagram No.7)
  343.  
  344. Setting the password for the user "Syst".
  345.  
  346. You may wish to create new users, which can be done intuitively via the
  347. Users window, but do refer to the Level 4 manual for a full description. If
  348. you produce a user called, for example "Class1" or "JSmith" and then click
  349. on Create User Directory, then click on Update, it will produce what is
  350. called a "User Root Directory" or "URD" for that user. This means that if
  351. that user logs onto the fileserver as "Class1" then the directory viewer
  352. seen is the Class1 directory (which will be empty, of course) This is the
  353. starting point for this user on the fileserver, where private data and
  354. applications can be safely kept.
  355.  
  356. If you have decided to enable the Space Accounting feature of the fileserver
  357. (available from the icon bar set-up menu) then you may use !Manager to
  358. assign appropriate space to each user, simply by dragging the Space slider
  359. on the user profile window. Space accounting is set on by default.
  360.  
  361. 9    Tuning the system - !ArmBoot files et al It is often a very good idea
  362. to ensure that machines, when they are switched on, log onto the fileserver
  363. automatically and load the required system resources. These resources
  364. include !System, which hold copies of additional modules which may be
  365. required by applications, !Fonts which holds fonts that are not in the RISC
  366. OS ROMs and !NetUtils, which ensures correct network operation. To do this,
  367. it is necessary to create a small !ArmBoot file, which is an obey file that
  368. is run by a machine when it logs onto the fileserver.
  369.  
  370. Start !Edit on the Server machine and create an Obey file. Into this obey file type:
  371.  
  372.        *Rmreinit BroadcastLoader 
  373.        *Unplug BroadcastLoader 
  374.        *Desktop -f Deskstart
  375.  
  376. and save this file as name !Armboot in the root of the fileserver disc,
  377. ensuring that its access has been set to Public Read (WR/r). It is important
  378. to disable Broadcast Loader,  as it adversely affects the performance of
  379. Ethernet networks!
  380.  
  381. Next create a Text file and type into it:
  382.  
  383.          *Filer_Boot Net:$.!System 
  384.          *Filer_Boot Net:$.!Fonts 
  385.          *Filer_Boot Net:$.!NetUtils
  386.  
  387. and save it under the filename Deskstart in the root of the fileserver.
  388. Ensure that it also has its access rights set to Public Read. (Note. In the
  389. example shown above full pathnames; Net::Level4.$.!System, could have been
  390. used for each file in place of Net:$.)
  391.  
  392. Now using !Manager, open up the profile for the user Boot, and make sure it
  393. has the boot option set to Run.  Next visit each client station that you
  394. wish to boot automatically and press F12. At the * prompt type:
  395.  
  396.        *Configure boot 
  397.        *Configure filesystem net 
  398.        *Configure FS 128.254
  399.  
  400. and then reboot the machine. It will then log onto the fileserver as user
  401. Boot, run !System, !Fonts and !NetUtils.  This will save a lot of time on a
  402. busy network as it will ensure that the machine performs the minimum of
  403. operations when the user logs on by his or her user name.
  404.  
  405. For printing, or moving data between applications, the RISC OS machine needs
  406. to have access to an application called !Scrap. This application holds
  407. temporary data during these operations. It is advised that a copy of !Scrap
  408. is copied off the Level 4 applications disc into the User Root Directory of
  409. each user, so that they each  have access to this resource. 
  410.  
  411. The appropriate use of !ArmBoot files can greatly enhance the service
  412. provided to the users of the network. It is possible, with boot files, to
  413. arrange for the root directory ($) to be automatically opened and for
  414. certain applications to be already loaded when a client logs onto the
  415. fileserver. This involves the use of another !Armboot file, that this time
  416. exists in the Users Root Directory (URD). An example might be:
  417.  
  418.             *Filer_OpenDir Net::Level4.$.Apps 
  419.             *Run Net::Level4.$.Apps.DTP.!EasiWrite
  420.  
  421. Again, save this Obey file in the User Root Directory, and ensure that the
  422. user has the boot option set to Run.
  423.  
  424. 10   Hints and tips
  425. You may run the Server in the desktop, but you can also run it in standalone
  426. mode. Running the fileserver in this way usually results in a 25%
  427. improvement in file loading time. However, in this mode you cannot utilise
  428. any other application, for example !Spooler, on the same machine.
  429.  
  430. In the desktop, in order to ensure the best possible performance, it is
  431. advisable to select the lowest possible resolution screen mode available -
  432. 12, 11 or even 0.  Do not have the Status window open unless you really want
  433. to monitor requests to the fileserver.
  434.  
  435. A sensible number of client machines to support at any one time might be 15,
  436. as this number is known to provide acceptable performance in the vast
  437. majority of circumstances. As circumstances change this figure may need to
  438. be revised. It is worth noting that some applications naturally load more
  439. slowly than others on a network, due to the number of files that are
  440. accessed during the course of loading them.  As a rough guide, Impression
  441. should load to 10 stations in around 2 minutes, and many popular
  442. applications are signficantly faster than this.
  443.  
  444. You may wish to start the server automatically on power up. To do this, it
  445. is suggested that you use the !Boot file that comes with the product, but if
  446. you are adventurous, it is not difficult to write your own, or to utilise
  447. the desktop boot facilities provided by RISC OS 3.
  448.  
  449. Appendix A:  Ethernet types
  450.  
  451. Ethernet is a world-wide industry standard which is supported by most
  452. computer manufacturers.  Because it is an industry standard, it means that
  453. equipment from a variety of different manufacturers can coexist on the same
  454. network, even if the software cannot understand the messages produced by
  455. other machines! Ethernet comes in three flavours: "Standard Ethernet" or
  456. 10Base5; "Thin Ethernet" (sometimes known as Cheapernet) or 10Base2; and
  457. "TwistedPair Ethernet" or 10BaseT.
  458.  
  459. Standard Ethernet is very expensive, requiring thick Coax Cable and
  460. expensive connection outlets to each machine. It is often used for backbone
  461. networks. 
  462.  
  463. Twisted Pair Ethernet is used predominently in offices. In this system, each
  464. machine has its own private wire to a "hub", where signals are amplified and
  465. broadcast to all other machines.
  466.  
  467. Thin Ethernet is the most popular form of Ethernet, and is especially
  468. suitable for schools. It is a "Bussed" network using cheap coax cable, and
  469. cheap connections to each machine. 
  470.  
  471. A Bussed network means that the network consists of a long cable that starts
  472. at one terminator, snakes its way past every machine on the network, and
  473. ends at another terminator.  All flavours of Ethernet run at the same speed;
  474. 10 Million bits per second (10Mbps). The difference between standard
  475. ethernet and thin ethernet is the maximum permitted length of a single piece
  476. of cable, and the maximum number of stations that can be connected to one
  477. piece of cable, or "segment".
  478.  
  479. Appendix B: Addresses
  480.  
  481. Atomwide
  482. 23 The Greenway
  483. Orpington
  484. Kent
  485. BR5 2AY
  486.  
  487. Tel. 0689 838852
  488. Fax 0689 896088
  489.  
  490. Pronet Dataparts
  491. Unit 6
  492. The Galloway Centre
  493. Hambridge Lane
  494. Newbury
  495. Berkshire
  496. RG14 5TL
  497.  
  498. Tel  0635 31045
  499. Fax 0635 528219
  500.  
  501. Oak Solutions
  502. Suite 25 Robin Enterprise Centre
  503. Leeds Road
  504. Idle
  505. West Riding
  506. West Yorks.
  507. BD10 9TE
  508.  
  509. Tel 0274 620432
  510. Fax 0274 620419
  511.  
  512. I3 (ICubed)
  513. The Paddocks
  514. Cherry Hinton Road
  515. Cambridge
  516.  
  517. Tel 0223 413717
  518.  
  519. RISC Developments
  520. 117 Hatfield Road
  521. St Albans
  522. Hertfordshire
  523. AL1 4JS
  524.  
  525. Tel 0727 840303
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.