home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / INNWCI.FAX < prev    next >
Text File  |  1994-12-11  |  11KB  |  350 lines

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