home *** CD-ROM | disk | FTP | other *** search
/ APDL Eductation Resources / APDL Eductation Resources.iso / programs / network / simnet / !SimNet / Manual / Chap3 < prev    next >
Encoding:
Text File  |  1994-10-22  |  20.5 KB  |  429 lines

  1.  
  2. Chapter 3 - User Guide
  3.  
  4. 3.1 OVERVIEW
  5.  
  6. A Network Manager should provide facilities to aid the tasks of the 
  7. System Administrator in a number of areas − not just password file 
  8. management. In this chapter the functions of !SimNet are 
  9. organised into three major sub-sections:
  10.  
  11.     •    The password file;
  12.     •    The file server; and
  13.     •    The network.
  14.  
  15. The aim is to provide a single program which allows common 
  16. network maintenance operations to be performed from one 
  17. location.
  18.  
  19. Note that interactive help is available in all !SimNet windows. This 
  20. help can be viewed by running the Acorn !Help application 
  21. available inside the "Apps" folder on the icon bar.
  22.  
  23. !SimNet interacts with the user in much the same way as any 
  24. WIMP application. It is started by double-clicking on its icon in a 
  25. directory viewer. It presents information in a number of windows 
  26. and is controlled via menus and dialogue boxes. Clicking SELECT 
  27. on the icon bar icon displays the Control Panel. This displays 
  28. information about the currently selected file server (!SimNet will 
  29. manage as many file servers as you have connected to your 
  30. network) and has a number of control buttons for displaying the 
  31. password file. Password data is displayed in a tabular manner and 
  32. may be edited using spreadsheet-like operations. Modified 
  33. password files are saved using normal RISCOS Save Dialogue 
  34. Boxes.
  35.  
  36. !SimNet has been provided with a number of features to better 
  37. support the initial generation of password files. The administrator 
  38. may use any tool and method to create lists of users who require 
  39. accounts. Unlike !Manager, all the prospective fields in the 
  40. password file can be imported. Thus a spreadsheet package such 
  41. as !Schema or !Pipedream can be used to create tables 
  42. containing the password data, or even more simply !Edit. As long 
  43. as the package can export data in CSV (Comma Separated 
  44. Value) or TAB format this is sufficient − the file is dragged and 
  45. dropped onto the !SimNet Control Panel to import the data and 
  46. convert it to password file format. This feature is particularly 
  47. important for the initial creation of a password file where hundreds 
  48. of users may be involved. Of course, !SimNet itself can be used 
  49. for creating new password files or adding to existing ones, but its 
  50. features for tabular editing are more restrictive than a full blown 
  51. spreadsheet package.
  52.  
  53. 3.2 THE PASSWORD FILE
  54.  
  55. Password data consists of one record per user, each record 
  56. containing seven separate fields. The fields are defined in the 
  57. table below:
  58.  
  59. Table 1. Password file fields
  60.  
  61. !SimNet allows such password files to be edited in two modes of 
  62. operation:
  63.  
  64. •    If !SimNet runs on the same station as !Server, then the 
  65. password file will be accessed directly for speed reasons.
  66.  
  67. •    If !SimNet is run on a client station then it will use the File 
  68. Manager protocol defined by Acorn. Note that this protocol 
  69. has been designed to fit in with the Level 4 !Manager concept 
  70. of single user display/update. Loading the password file over 
  71. the network into !SimNet can take some time as a result. For 
  72. large password files (>100 users) it is recommended that 
  73. !SimNet is run on the same station as !Server.
  74.  
  75. 3.2.1 Password File Operations
  76. Several common operations will now be described to illustrate 
  77. how the facilities supplied with !SimNet are used. One of the most 
  78. common operations will be the initial loading of password file data 
  79. prior to an edit session. Password files may be loaded in a 
  80. number of ways, here we consider the simplest. !SimNet has been 
  81. started on the fileserver itself and so there is a local password file. 
  82. To load this file, first click SELECT on the !SimNet icon to display 
  83. the Control Panel as shown below:
  84.  
  85.  
  86. Figure 1 The Control Panel
  87.  
  88. The password file section contains a variety of buttons to control 
  89. the loading and display of the password file from the target server. 
  90. Normally, the administrator wants to see the whole file. To do this 
  91. move the pointer to the “display” button and click SELECT. While 
  92. the file is being loaded, dialogue boxes will appear to indicate the 
  93. extent by which the load operation is complete. For large files 
  94. which can take some time to load (1000 users will take 
  95. approximately 5 minutes) this gives a positive indication that the 
  96. load operation is proceeding. After loading, a window will appear 
  97. containing a spreadsheet-like display of the password file entries. 
  98.  
  99. Two example editing operations will serve to introduce the 
  100. features provided for updating password files. The two operations 
  101. will be (1) change a users space allocation; and (2) change the 
  102. Boot Option for each user to "Run". 
  103. For operation (1), assume the password file data appears as 
  104. shown in Figure 2 below:
  105.  
  106. Figure 2. Sample Password File Display
  107.  
  108. The overlaid lower rectangle indicates the cell containing a space 
  109. allocation of 488K. To change this to 256K, click SELECT in the 
  110. cell, type ^U to clear the cell and type '256K'. Click MENU over the 
  111. password file display window, which will activate the main menu. 
  112. Choose the File option and then the Save option using the MENU 
  113. button. Alternatively press the F3 key with the password window 
  114. having input focus. The file save dialogue box will appear. Click 
  115. SELECT on the save button to save the updated password file.
  116.  
  117. For operation (2), use the same steps described above to change 
  118. the entry in the upper box from 'none' to 'run'. Then move the 
  119. mouse pointer to the column title, where it will change to a down 
  120. arrow shape. Click SELECT and the whole column will be 
  121. selected, indicated by the cell colours reversing. Then click MENU 
  122. and in the Selection sub-menu choose 'Replicate Down'. All the 
  123. cells will be changed to 'run'. Save the password file as in the 
  124. previous example.
  125.  
  126. 3.2.1 Filtering Password File Names
  127.  
  128. Refer once more to Figure 1 showing the Control Panel. Within 
  129. the Password File section is an input field titled 'Name Filter'. This 
  130. is provided to allow large password files to be selectively filtered 
  131. for display, thus making editing operations on groups of users 
  132. somewhat easier. If for example, there are 1000 entries in a 
  133. password file, but editing operations are only required on the 
  134. users whose login id begins with 'F', then only the entries 
  135. beginning with that letter are displayed if 'F*' is entered into the 
  136. input field before selecting the 'display' button.
  137.  
  138. The 'Name Filter' accepts two wildcard characters to match login 
  139. ids against. The '?' character matches any single character in a 
  140. name, while the asterisk '*' matches 0 or more characters. The 
  141. following examples indicate how the matching algorithm selects 
  142. names using the filter:
  143.  
  144.  
  145.  
  146. Note that name filtering is not case-sensitive, as the examples 
  147. portray. The filter mechanism selects which items from the 
  148. password file are displayed; all entries are read from and written 
  149. to the password file independently of the filter. Thus, if a name 
  150. filter is set to display all login ids starting with 'F', and edits are 
  151. performed on the displayed entries followed by a save, then all 
  152. entries in the file are saved.
  153.  
  154. 3.2.2 Selecting Displayed Columns
  155.  
  156. In addition to name filtering to control which records in a password 
  157. file are displayed, it is also possible to control which fields of each 
  158. record are displayed. This provides a further possibility for the 
  159. simplification of displayed information. Column display control is 
  160. provided through the 'Options..' entry on the icon bar menu. To 
  161. view the Options dialogue box, click MENU over the iconbar icon, 
  162. then select the 'Options..' entry. The dialogue box shown in Figure 
  163. 3 will appear on the screen.
  164.  
  165. In the centre of this box is a section titled 'Displayed Fields'; in the 
  166. figure this is shown with all column names ticked. Note that the 
  167. first column, the login id, is always displayed. To prevent the 
  168. display of a particular column or set of columns, just click the tick 
  169. boxes with SELECT. Those columns which are not ticked will not 
  170. appear in the spreadsheet display. Click in the Save or OK boxes 
  171. to save the new settings. If you click on Save, then the newly set 
  172. values will be saved for use the next time that !SimNet is started.
  173.  
  174.  
  175. Figure 3. The 'Options' window for setting defaults
  176.  
  177. The Options dialogue box will disappear. Now redisplay the 
  178. password data with the new column selections by clicking the 
  179. 'Display' button on the Control Panel.
  180.  
  181. If you work regularly with large password files it is worthwhile 
  182. adopting consistent usage of these two display control features. 
  183. They allow pre-selection of exactly those items which need 
  184. editing, and provide for faster interaction with the spreadsheet 
  185. display because redraw times are reduced.
  186. 3.2.3 Selecting Users
  187.  
  188. Editing operations, reports and network operations related to 
  189. users can all be restricted to subsets of the user population. This 
  190. is achieved by allowing rows, columns and individual cells of the 
  191. spreadsheet display to be selected. Selection is via the normal 
  192. mouse operation of point-and-click, and a selected row, column or 
  193. cell is shown in the display with reverse colours.
  194.  
  195. To select and individual cell, place the mouse cursor in the cell 
  196. and double-click with SELECT. An individual cell is not useful to 
  197. select on its own, because most operations require a group of 
  198. cells to be selected. To select a column of cells, keep SELECT 
  199. held down and drag the mouse down or up. Alternatively, to select 
  200. a large number of cells in a column, double click in the first cell 
  201. move to the last cell, hold down the SHIFT key on the keyboard 
  202. and click with SELECT. All cells between the last and first cell will 
  203. become selected. Such a selection is useful, for example, when 
  204. performing a replicate operation from the 'Selection' sub-menu.
  205.  
  206. There are fast ways to select whole columns or rows. For 
  207. columns, move the mouse pointer to the very top of the 
  208. spreadsheet display. As the mouse pointer moves over each 
  209. column title it changes to a down-arrow shape. When over the 
  210. column required, click SELECT and the whole column is selected. 
  211. Similarly when the mouse pointer is moved to the left of each row 
  212. it changes from a caret shape to the normal pointer shape. 
  213. Clicking SELECT will select the whole row closest to the pointer.
  214.  
  215. 3.2.4 Creating Password Files
  216.  
  217. Editing existing files is probably the most common maintenance 
  218. operation required on a password file. Equally important is the 
  219. ability to create new password file entries, or indeed to create 
  220. entire new password files ­ this may happen at the beginning of a 
  221. school year, for example.
  222.  
  223. !SimNet provides for this requirement in the most flexible way 
  224. possible. New users can be created directly within the 
  225. spreadsheet display, or lists of new users can be created using an 
  226. editor or database and then imported into !SimNet. The latter 
  227. method is normally most useful on initial installation of a set of 
  228. users, because a list of names usually exists in one form or 
  229. another (e.g. class register).
  230.  
  231. Assuming a list of names exists in the format required for use as a 
  232. network login id, then creating a password file is simplicity itself. 
  233. Merely drag the list of names to the !SimNet icon, or to the Control 
  234. Panel, and the password file will be created! All other fields will 
  235. assume default values, which can of course be edited afterwards. 
  236. Alternatively, the import file itself can contain definitions for other 
  237. fields, each separated by commas (CSV file) of by TAB characters 
  238. in the order defined in Table 1. The extract below illustrates a 
  239. suitable file format which will load the six user profiles into the 
  240. password file:
  241.  
  242. FASALANDRE,,F.F1.FASALANDRE,Norm,1024000,None,Y
  243. FASAMANDAM,,F.F1.FASAMANDAM,Norm,1024000,None,Y
  244. FASAMANDMA,,F.F1.FASMANDMA,Norm,1024000,None,Y
  245. FASCHRISWH,,F.F1.FASCHRISWH,Norm,1024000,None,Y
  246. FASDANIECU,RPOSWEEPER,F.F1.FASDANIECU,Norm,1024000,None,Y
  247. FASDANIEHA,,F.F1.FASDANIEHA,Norm,1024000,None,Y
  248.  
  249. Dragging a file with these contents to the !SimNet icon will 
  250. produce the following display:
  251. Note that in this display, the home directory column has been 
  252. disabled using the method described in Section 3.2.2.
  253.  
  254. It is also possible to append new users to an existing file. This is 
  255. useful if user lists are in multiple files or are to be incorporated into 
  256. an existing password file. Appending occurs if the keyboard 
  257. SHIFT key is held down whilst dragging the file of names to 
  258. !SimNet. You can also drag the file onto an existing spreadsheet 
  259. display, but the SHIFT key must be held down to append the 
  260. names.
  261.  
  262. Batches of new user ids can be created within !SimNet itself. This 
  263. facility is available from the main menu under the Edit sub-menu, 
  264. or from the Control Panel by selecting the "New Users" button. 
  265. Either of these methods displays a dialogue box requesting entry 
  266. of the number of new users. Just type in the number required and 
  267. hit the RETURN key. New users are added with default names of 
  268. the form Usernn, where the numerical part corresponds to that 
  269. users position in the password file. Thus, if a password file already 
  270. contained 10 users, and 5 new users are added, then their names 
  271. will be User11 to User15. All other fields assume the default 
  272. values defined by the "Options.." window.
  273.  
  274. 3.3 File Servers
  275.  
  276. The previous examples have assumed that the password file is 
  277. local - i.e. stored on the same machine on which !SimNet is 
  278. running. Password files can be loaded, edited and saved back to 
  279. remote servers as well. Determination of the source of a password 
  280. file for editing is performed using the "Fileserver Status" group in 
  281. the Control Panel:
  282.  
  283. Figure 4. Fileserver Status Group
  284.  
  285. When logged in to a remote file server, information identifying that 
  286. server will be displayed in the fields shown. Next to the 'Name' 
  287. field you will notice a small menu icon. When MENU or SELECT is 
  288. clicked over this icon, !SimNet will display a menu of available file 
  289. servers. Select the server required using the mouse, which will 
  290. make that server the current server from which all password data 
  291. will be read and will be saved back to. The other fields in the 
  292. Filerserver Status Group will also be filled out, to provide a 
  293. continuous reminder of which server is being modified.
  294.  
  295. Use the methods described earlier for loading, editing and saving 
  296. local password files - they will work identically for password files 
  297. on remote servers. One difference to be aware of is speed of 
  298. loading and saving. For very large password files, the load/save 
  299. time is slower over a network. To give an idea of the timings 
  300. involved, the following table illustrates load and save times for a 
  301. local server and a remote server. The network used is ethernet 
  302. with the Level 4 AUN software:
  303.  
  304.  
  305. Table 3.  Timings for Load/Save (Release 1.1)
  306.  
  307. The large save time over the network is due to the ineffiences of 
  308. the file server protocol at saving the data, particularly for large 
  309. user numbers.
  310.  
  311.  
  312. Other manager programs deal with just the password file, but 
  313. there are a number of other useful management functions. The 
  314. password file contains details about where a users files are and 
  315. what the users login profile is. There is no information on the 
  316. amount of disk space actually being used, or the last time a user 
  317. actually changed any of his files. !SimNet provides such facilities 
  318. via the 'Server' sub-menu. The menu and its contents appear as 
  319. shown below in Figure 5.
  320.  
  321. The first option is 'Create Dirs'. This a convenient way to create 
  322. users home directories if they do not already exist. Select all the 
  323. users to have directories created for them, and then follow this 
  324. menu option. A 'file save' dialogue box will be displayed containing 
  325. a directory icon; drag this icon to the directory in which the user 
  326. directories are to be created.
  327.  
  328.  
  329. Figure 5. File Server Operations Menu
  330.  
  331. The next two options are 'Disk Space Used' and 'Date Last Used'. 
  332. These provide details on the actual state of a users files. Again, 
  333. select a group of users in the spreadsheet display and choose the 
  334. appropriate option. A window will appear giving the details of disk 
  335. usage for the first user in the list; the window has buttons labelled 
  336. 'Next' and 'Prev' to allow stepping backwards and forwards 
  337. through the list. Use the first option to track down all users 
  338. hogging disk space, and the second to find unused accounts or 
  339. accounts which should be in use but which are not!
  340.  
  341. The first three options on the menu operate only locally, i.e. where 
  342. !SimNet is running on the same machine as the server program.
  343.  
  344. The next 4 options (and the last) operate for any server. 'Logged 
  345. in Users' will display a window showing the total number of users 
  346. currently using that server. 'Logout a user' allows the manager to 
  347. explicitly force a user off the system by entering the name 
  348. required in a dialogue box. 'Send message' has an obvious use. 
  349. The option 'Shutdown server' should be used carefully - it will 
  350. close down the target server no matter how many users may 
  351. currently be logged in! In day-to-day use the manager may use 
  352. the 'Send message' option to warn users of an impending 
  353. shutdown and then choose the option to shut down the server.
  354.  
  355. Note that in Figure 5 the two options 'Logged in Users' and 
  356. 'Logout a User' are greyed-out showing that they cannot be 
  357. selected. This is because these options are only enabled when 
  358. properly logged on to the server in question with system privilege. 
  359. The last option in the menu, 'Login' can be used to do this. It will 
  360. pop-up a dialogue box for entering user id and password, and will 
  361. use this information to login to the currently selected file server.
  362.  
  363. 3.4 Reporting
  364.  
  365. All the operations so far described have been interactive in that 
  366. functions are started through menus or dialogue boxes and results 
  367. are returned or displayed in windows. !SimNet also provides the 
  368. functionality to generate text summary reports on a number of 
  369. aspects of a server. These reports are produced in standard Text 
  370. files and so may be dragged to directories for saving, into editors 
  371. or DTP programs for modification and production or directly to 
  372. printers for immediate printing.
  373.  
  374. The diagram of Figure 6 shows the menu options available on the 
  375. 'Reports' sub-menu.
  376.  
  377. Figure 6. Reporting Menu
  378.  
  379. When any of the items is selected, a file save dialogue box 
  380. appears. This is dragged to a directory or onto an application and 
  381. the mouse buttons released. This causes !SimNet to generate the 
  382. requested report and to save it in the location or to the application 
  383. indicated.
  384.  
  385. The five central options in the menu provide the system 
  386. administrator with the means to obtain useful statistical 
  387. information on the usage of the server and on the status of user 
  388. accounts. For example, the 'Space Used' option will provide a full 
  389. list of disk space actually in use for each user. This can be used to 
  390. identify anomolous use of the system, by showing users who are 
  391. taking unexpectedly large amounts od disk space. The 'System 
  392. Accounts' and 'Null Passwords' options are useful to check the 
  393. security of the server. In the first all users with system privilege 
  394. are listed, while in the second, all users without a password a 
  395. listed. Where there is an extremely large number of users in a 
  396. password file (>1000) these options provide a quick way of 
  397. identifying possible security loopholes. Users showing up with 
  398. system privilege who should not enjoy such power can be quickly 
  399. tracked down. By checking both reports, users with system 
  400. privilege and without a password can also be highlighted, a 
  401. situation which should definitely not be allowed to arise!
  402.  
  403. 3.5 Network Functions
  404.  
  405. Commercial network manager software on other hardware 
  406. platforms tend to provide functionality aimed at the maintenance 
  407. and status in real-time of network components rather than the 
  408. Level 4 concentration on just the password file. The manager 
  409. software runs continuously and provides instant feedback on 
  410. network components which have failed or are producing abnormal 
  411. status information.
  412.  
  413. !SimNet attempts to provide a small amount of this functionality 
  414. where it offers useful behaviour in Acorn networks. Two main 
  415. operations are available to the network administrator - one to 
  416. produce a connectivity 'map' of the network and the other to test 
  417. the presence and operation of any machine connected to the 
  418. network.
  419.  
  420. The 'Network' sub-menu provides two options. These are 'Show 
  421. Map' and 'Network Ping'. The first option when selected causes 
  422. the program to automatically build a connection map showing the 
  423. station numbers and type of each machine connected to the 
  424. server. The second requests manual input of a station and net 
  425. number in a dialogue box. !SimNet sends a request packet to the 
  426. station which would generate a response if the station was 
  427. present. Absence or presence of the station is shown by a 
  428. displayed message in the dialogue box. This is a quick way for the 
  429. administrator to test the connectivity between server and station.