home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / INFO / FAQS / OS2FAX2 / OSINNWCI.FAX < prev    next >
Encoding:
Text File  |  1994-09-12  |  27.5 KB  |  345 lines

  1. IBM owns all rights to this document, it may not be used for reprint or         
  2. publication in any forms.  This document is "AS IS", IBM makes no               
  3. warranties to this document.  It was strictly written for our customers.        
  4.                                                                                 
  5. Redirected Installation for OS/2 2.1 in Netware Environment.                    
  6.                                                                                 
  7. The following is just an example of how a typical setup would be, various       
  8. individuals may use different hardwares e.g size of ram, hard drive size        
  9. and networking board etc.                                                       
  10.                                                                                 
  11. Introduction                                                                    
  12.                                                                                 
  13. The CID process uses the concept of a redirected drive to gain access to        
  14. the images that are accessed on a Netware server and a response file that       
  15. contains all necessary information as input to the install procedures.  The     
  16. disk images will be read from the server and the response file can reside       
  17. on the server or installation boot disks.  The following is the outline for     
  18. setting up a images server.                                                     
  19.                                                                                 
  20. - Creation of the CID drirectory structure on the server.                       
  21. - Copying diskette images onto the server.                                      
  22. - Creation of LCU command and response files for the clients.                   
  23. - Creation of client boot diskettes to connect to the server.                   
  24.                                                                                 
  25. Assumptions                                                                     
  26.                                                                                 
  27. It is assumed that the installer is both familiar with the Novell Netware       
  28. administrative terms, commands and basic CID methodology and structures,        
  29. and have netware 3.11 server and OS/2 2.x with Netware requester code           
  30. version 2.01 installed.  Requester version 2.1 requires PM to be running.       
  31.                                                                                 
  32. Hardware requirements                                                           
  33.                                                                                 
  34. For our particular example we used an IBM Model 80 with 16M of Ram and          
  35. 260Mb SCSI drive and Token Ring card as a Netware server.  The name of the      
  36. server is NWCIDSRV.  We also used a Model 70 with 120Mb and 10M of ram and      
  37. Token Ring card as the SYSCON workstation for use as a vehicle to put           
  38. diskette images to the server and configure for the CID structures on the       
  39. server and use it to confgure the client installation boot diskettes.  The      
  40. third workstation we used client machine that we used to connect to the         
  41. server and install OS/2 2.1 onto it.  The client machine is a model 70 with     
  42. 120Mb, 10M of ram and Token Ring card.                                          
  43.                                                                                 
  44. Software Requirements                                                           
  45.                                                                                 
  46. - A complete set of OS/2 2.1 diskettes.                                         
  47. - A complete set of NTS/2 LAPs diskettes.                                       
  48. - A complete set of Netware Requester for OS/2 ver 2.01                         
  49. - Novell Netware 3.11.                                                          
  50.                                                                                 
  51. The SYSCON workstation should have OS/2 2.1 with REXX support installed and     
  52. with Netware Requester v2.01 for OS/2 installed.                                
  53.                                                                                 
  54.                                                                                 
  55.                                                                                 
  56. Installation Scenarios Novell Netware Basic Installation Server Preparation     
  57.                                                                                 
  58. Step 1. From the SYSCON terminal, login to the NWCIDSRV server with             
  59. Supervisor equivalent right.                                                    
  60.                                                                                 
  61. Step 2. map X:=nwcidsrv\sys:                                                    
  62.                                                                                 
  63. Step 3. Change to X:  drive and create the directory structure shown in the     
  64. following.                                                                      
  65.  X:\cid                                                                         
  66.  X:\cid\exe                                                                     
  67.  X:\cid\img                                                                     
  68.  X:\cid\log                                                                     
  69.  X:\cid\rsp                                                                     
  70.  X:\cid\exe\os2v21                                                              
  71.  X:\cid\img\os2v21                                                              
  72.  X:\cid\rsp\os2v21                                                              
  73.  X:\cid\log\os2v21                                                              
  74.                                                                                 
  75. Step 4. This step unpacks the necessary files to setup the image server.        
  76.  - insert disk 7 into drive A                                                   
  77.  - unpack a:\cid x:\cid\exe\os2v21                                              
  78.  - unpack a:\required x:\cid\exe\os2v21 /n:rspinst.exe                          
  79.  - insert disk13 into drive A if BLUE label disks                               
  80.  - insert disk11 into drive A if SALMON (PINK) label disks                      
  81.  - unpack a:\required x:\cid\exe\os2v21 /n:sample.rsp                           
  82.                                                                                 
  83. Step 5. This step describes how to install OS/2 images onto the images server.  
  84.  - change drive to X:                                                           
  85.  - cd\cid\exe\os2v21                                                            
  86.  - seimage /s:a: /t:x:\cid\img\os2v21                                           
  87.    This procedures will ask you for all of the OS/2 2.1 disks.                  
  88.                                                                                 
  89. Preparation of the Netware Installaion boot diskettes for OS/2 This             
  90. procedures describe the process of preparing the Boot disks used to             
  91. initiate the installation process.  There are 2 diskettes required to boot      
  92. an OS/2 v2.1 machine.  They are:                                                
  93.  - Install disk                                                                 
  94.  - Disk_1                                                                       
  95. Disk_1 will be modified to include some drivers in order to connect to the      
  96. Netware server, the followings are the roles of the modified disk_1:            
  97.  - Start client machine under OS/2 v2.1 from diskettes                          
  98.  - Load the required device drivers for the Netware requester                   
  99.  - Establish a connection to the Novell Netware server                          
  100.  - Start install the OS/2 v2.1 onto the client machine                          
  101.                                                                                 
  102. SEDISK is the utility to prepare those two diskettes.  Change directory to      
  103. x:\cid\img\os2v21 and enter the following command:                              
  104.   - sedisk /s:x:\cid\img\os2v21 /t:a:                                           
  105.     (Have 2 formatted diskettes ready labeled INSTALL DISK and DISK 1.)         
  106.                                                                                 
  107. In order to complete the connection to the server as mentioned above, some      
  108. additional files will need to be added onto the disk_1.  The following files    
  109. need to be copied from c:\netware directory to a:  disk_1.                      
  110.  - Insert disk_1 into dive A                                                    
  111.  - copy c:\netware\nwconfig.dll a:\                                             
  112.  - copy c:\netware\ipxcalls.dll a:\                                             
  113.  - copy c:\netware\nwcalls.dll a:\                                              
  114.  - copy c:\netware\lsl.sys a:\                                                  
  115.  - copy c:\netware\route.sys a:\                                                
  116.  - copy c:\netware\token.sys a:\                                                
  117.  - copy c:\netware\nwdaemon.exe a:\                                             
  118.  - copy c:\netware\ddaemon.exe a:\                                              
  119.  - copy c:\netware\nwreq.sys a:\                                                
  120.  - copy c:\netware\nwifs.ifs a:\                                                
  121.  - copy c:\netware\ipx.sys a:\                                                  
  122.  - copy c:\netware\netapi.dll a:\                                               
  123.                                                                                 
  124. A file called LOOP.CMD also needs to be created in the root directory in        
  125. the disk_1, and the content of the file is as follows:                          
  126. @echo off                                                                       
  127. :start If exist L:\os2\login.exe goto exit                                      
  128. Goto start                                                                      
  129. :exit                                                                           
  130. L:\os2\login rcos221                                                            
  131. exit                                                                            
  132.                                                                                 
  133. Create a \os2 sub-directory in the disk_1 and copy CMD.EXE to \os2 and copy     
  134. LOOP.CMD onto disk_1.  The reason for creating the LOOP.CMD file is because     
  135. the Installation requires the client machine to be rebooted during the          
  136. install process.  This is to load the graphical support required during the     
  137. second part of the process.  The first stage of the installation process        
  138. copies any device statements from the CONFIG.SYS on a:  drive as well as        
  139. the drivers themselves to the root of the c:  drive.  This is to allow the      
  140. network to be re-established during the re-boot process.  During the            
  141. re-boot process the LOOP.CMD is called from the config.sys statement to act     
  142. as a delay to allow the Netware server to verify the user ID and establish      
  143. network connection.                                                             
  144.                                                                                 
  145. Dialog-Driven Installation Versus Response File Installation                    
  146.                                                                                 
  147. The difference between a Dialog-Driven and a Response file installation         
  148. is the execution of either SYSINST2.EXE or RSPINST.EXE.  To simplfy the         
  149. process show two different files,  DIALOG.CMD and RESPONSE.CMD                  
  150.                                                                                 
  151. The content of the DIALOG.CMD and RESPONSE.CMD are as follows:                  
  152.                                                                                 
  153. DIALOG.CMD                                                                      
  154. a:                                                                              
  155. x:\img\os2v21\disk_1\SYSINST2.EXE x:\img\os2v21                                 
  156. :end                                                                            
  157. @echo off                                                                       
  158.                                                                                 
  159.                                                                                 
  160. RESPONSE.CMD                                                                    
  161. :start                                                                          
  162. if exist L:\os2\login.exe goto exit                                             
  163. goto start                                                                      
  164. :exit                                                                           
  165. L:                                                                              
  166. cd\os2                                                                          
  167. login rcos221                                                                   
  168. a:                                                                              
  169. x:\exe\os2v21\RSPINST.EXE x:\rsp\os2v21\sample.rsp                              
  170. :end                                                                            
  171. @echo off                                                                       
  172.                                                                                 
  173.                                                                                 
  174.                                                                                 
  175.                                                                                 
  176.                                                                                 
  177.                                                                                 
  178.                                                                                 
  179.                                                                                 
  180.                                                                                 
  181. The following are the config.sys files of the Dialog-Driven and Response        
  182. installation.                                                                   
  183.                                                                                 
  184. Dialog-Driven CONFIG.SYS:                                                       
  185. buffers=32                                                                      
  186. iopl=yes                                                                        
  187. memman=noswap                                                                   
  188. protshell=sysinst1.exe                                                          
  189. SET OS2_SHELL=CMD.EXE /K A:\DIALOG.CMD                                          
  190. protectonly=yes                                                                 
  191. LIBPATH=.;\;\OS2\DLL;X:\DLL\OS2V21;                                             
  192. ifs=hpfs.ifs /c:64 /autocheck c:                                                
  193. pauseonerror=no                                                                 
  194. codepage=850                                                                    
  195. devinfo=kbd,us,keyboard.dcp                                                     
  196. devinfo=scr,ega,vtbl850.dcp                                                     
  197. device=\dos.sys                                                                 
  198. device=\mouse.sys                                                               
  199. SET PATH=\;\OS2;\OS2\SYSTEM;\OS2\INSTALL;X:\IMG\OS2V21\DISK_1;                  
  200. SET DPATH=\;\OS2;\OS2\SYSTEM;\OS2\INSTALL;X:\DLL\OS2V21;                        
  201. set keys=on                                                                     
  202. basedev=print01.sys                                                             
  203. basedev=ibm1flpy.add                                                            
  204. basedev=ibm1s506.add                                                            
  205. basedev=ibm2flpy.add                                                            
  206. basedev=ibm2adsk.add                                                            
  207. basedev=ibm2scsi.add                                                            
  208. basedev=ibmint13.i13                                                            
  209. basedev=os2dasd.dmd                                                             
  210. SET SOURCEPATH=X:\IMG\OS2V21                                                    
  211. REM -- Netware Requester statements BEGIN ---                                   
  212. DEVICE=A:\LSL.SYS                                                               
  213. DEVICE=A:\TOKEN.SYS                                                             
  214. DEVICE=A:\IPX.SYS                                                               
  215. DEVICE=A:\ROUTE.SYS                                                             
  216. DEVICE=A:\NWREQ.SYS                                                             
  217. IFS=NWIFS.IFS                                                                   
  218. RUN=A:\NWDAEMON.EXE                                                             
  219. RUN=A:\DDAEMON.EXE                                                              
  220. CALL=\OS2\CMD.EXE /K LOOP.CMD                                                   
  221.                                                                                 
  222.                                                                                 
  223.                                                                                 
  224.                                                                                 
  225.                                                                                 
  226.                                                                                 
  227.                                                                                 
  228.                                                                                 
  229.                                                                                 
  230.                                                                                 
  231.                                                                                 
  232.                                                                                 
  233.                                                                                 
  234.                                                                                 
  235.                                                                                 
  236.                                                                                 
  237.                                                                                 
  238.                                                                                 
  239.                                                                                 
  240.                                                                                 
  241. Response-Driven CONFIG.SYS:                                                     
  242. buffers=32                                                                      
  243. iopl=yes                                                                        
  244. memman=noswap                                                                   
  245. protshell=sysinst1.exe                                                          
  246. SET OS2_SHELL=CMD.EXE /K A:\RESPONSE.CMD                                        
  247. protectonly=yes                                                                 
  248. LIBPATH=.;\;\OS2\DLL;X:\DLL\OS2V21;                                             
  249. ifs=hpfs.ifs /c:64 /autocheck c:                                                
  250. pauseonerror=no                                                                 
  251. codepage=850                                                                    
  252. devinfo=kbd,us,keyboard.dcp                                                     
  253. devinfo=scr,ega,vtbl850.dcp                                                     
  254. device=\dos.sys                                                                 
  255. SET PATH=\;\OS2;\OS2\SYSTEM;\OS2\INSTALL;X:\IMG\OS2V21\DISK_1;                  
  256. SET DPATH=\;\OS2;\OS2\SYSTEM;\OS2\INSTALL;X:\DLL\OS2V21;                        
  257. set keys=on                                                                     
  258. basedev=print01.sys                                                             
  259. basedev=ibm1flpy.add                                                            
  260. basedev=ibm1s506.add                                                            
  261. basedev=ibm2flpy.add                                                            
  262. basedev=ibm2adsk.add                                                            
  263. basedev=ibm2scsi.add                                                            
  264. basedev=ibmint13.i13                                                            
  265. basedev=os2dasd.dmd                                                             
  266. SET SOURCEPATH=X:\IMG\OS2V21                                                    
  267. REM -- Netware Requester statements BEGIN ---                                   
  268. DEVICE=A:\LSL.SYS                                                               
  269. DEVICE=A:\TOKEN.SYS                                                             
  270. DEVICE=A:\IPX.SYS                                                               
  271. DEVICE=A:\ROUTE.SYS                                                             
  272. DEVICE=A:\NWREQ.SYS                                                             
  273. IFS=NWIFS.IFS                                                                   
  274. RUN=A:\NWDAEMON.EXE                                                             
  275. RUN=A:\DDAEMON.EXE                                                              
  276.                                                                                 
  277. Other considerations                                                            
  278.                                                                                 
  279. Before the installation of the client workstation can be started, the           
  280. following user permissions, directory trustee assignments and mapping           
  281. statements in the login script must be setup on the netware server.  In         
  282. order to allow logging which occurs durin g installation, two different         
  283. permissions and mappings are needed.  The client should have the following      
  284. rights to the directories:                                                      
  285.  - x:\cid READ,SCAN                                                             
  286.  - x:\cid\log CREATE,READ,WRITE,MODIFY,SCAN                                     
  287.                                                                                 
  288.                                                                                 
  289.                                                                                 
  290.                                                                                 
  291.                                                                                 
  292.                                                                                 
  293.                                                                                 
  294.                                                                                 
  295.                                                                                 
  296.                                                                                 
  297.                                                                                 
  298.                                                                                 
  299.                                                                                 
  300.                                                                                 
  301.                                                                                 
  302.     Redirected Installation of ServicePak (XR06200) in Netware Environment      
  303.                                                                                 
  304. Preparation of the Server and Client Workstations                               
  305.     The process of applying the ServicePak to client workstations is almost     
  306.     identical to the one of installing OS/2 v2.1. The steps are:                
  307.       - Copy the ServicePak diskettes into a subdirectory structure on the      
  308.          server (as described in "Loading the ServicePak Images" ).             
  309.       - Prepare a response file for the workstations using the keywords         
  310.          described in "Creating the 6200.rsp Response File".                    
  311.       - Create the LT diskette using the technique described in the Document    
  312.          for " Redirected installation of OS/2 v2.1 in Netware Environment".    
  313.       - Modify the client LT diskette so that FSERVICE.EXE is called.           
  314.                                                                                 
  315. The following examples assumes that the CID directory is accessed as the x:\    
  316. directory from the client. The servicePak response file is called 6200.rsp and  
  317. is placed in the RSP\CSD\6200 directory on the server.                          
  318.                                                                                 
  319. On the client LT diskette edit the CONFIG.SYS such that the SET OS2_SHELL=      
  320. CMD.EXE /K A:\6200.CMD. The contents of 6200.CMD should have the following:     
  321.                                                                                 
  322.     A:                                                                          
  323.     X:\EXE\CSD\OS2V21\6200\FSERVICE.EXE /S:X:\CSD\OS2V21\6200 /R:X:\RSP         
  324.     \CSD\OS2V21\6200\6200.RSP                                                   
  325.                                                                                 
  326.                                                                                 
  327. Loading the ServicePak Images                                                   
  328.       The ServicePak diskettes have to be loaded on the server using XCOPY.     
  329.       Load the diskettes following these steps:                                 
  330.       1. Create a suitable directory. For example                               
  331.          md X:\CSD\OS2V21\6200                                                  
  332.       2. Copy the 13 base ServicePak and the 3 Display Driver diskettes to      
  333.          the directory using XCOPY:                                             
  334.          XCOPY A:\*.* X:\CSD\OS2V21\6200 /s                                     
  335.                                                                                 
  336. Create the 6200.RSP response file such that it contains the following:          
  337.    :SERVICE                                                                     
  338.    :DIRLIST C:\OS2\INSTALL\SYSLEVEL.OS2                                         
  339.    C:\                                                                          
  340.    C:\OS2\*                                                                     
  341.    :ENDDIRLIST                                                                  
  342.                                                                                 
  343. This response file will migrate your current version OS/2 2.1 on your primary   
  344. partition (DRIVE C) to service level XR06200.                                   
  345.