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

  1. Remote installation via LAN              8/12/94
  2.  
  3.         File:OSINRDIR.fax  4/20/94
  4.  
  5.         TITLE: Remote Install
  6.  
  7.         The following process should not be used as a replacement for
  8.         the various REDBOOKS available on Remote Installation. If you
  9.         have any further questions that are not covered in the fax please
  10.         call 1-800-IBM-7282 to order the appropriate REDBOOK.
  11.  
  12.         Remote Installation and Maintenance         GG24-3780-02
  13.         Automated Installation for CID Enabled      GG24-3783-01
  14.  
  15.         Automated Installation for CID
  16.         Enabled Extended Services OS/2 2.X          GG24-3781-00
  17.  
  18.         The Installation and Update of Remote OS/2 Systems
  19.         Using Netview Distribution Manager.         ZZ81-0263-00
  20.  
  21.  
  22.  
  23.         DISCLAIMER OF WARRANTIES AND LIABILITY:
  24.         ---------------------------------------
  25.  
  26.          This sample list is not part of any standard IBM product and is
  27.          provided to you solely for the purpose of assisting you in the
  28.          development of your application.  The list is provided "AS IS",
  29.          without warranty of any kind. IBM shall not be liable for any
  30.          damages arising out of your use of this list, even if they have
  31.          been advised of the possibility of such damages. The following is
  32.          provided without guarantees and IBM assumes no liability
  33.          or responsibility for the accuracy of this information. IBM
  34.          assumes no liabilities arising from the distribution or use
  35.          of this information.
  36.  
  37.  
  38.          Redirected Installation Procedure
  39.  
  40.         The following procedure can be found in the NTS/2 reference,
  41.         "Redirected Installation and Configuration Guide", s96f-8848-00.
  42.         The procedure below is one of a few ways to setup
  43.         a Remote Installation Server. Please note that the procedure below
  44.         is not a CID installation, rather a redirected installation of
  45.         OS/2. In order to build a Remote Install Server for redirected
  46.         installs, the following software is required:
  47.  
  48.         OS/2 2.1 (recommended)
  49.         NTS/2 LAPS. LAN Server 3.0
  50.         NTS/2 LAPS Utilities. LAN Server 3.0
  51.  
  52.         There are two methods of remote installation described in this
  53.         document:
  54.  
  55.         1. Dialog Driven - client drives the installation by answering
  56.                          the dialog boxes similar to a diskette
  57.                          driven installation
  58.         2. Response File - installation is driven by a response file.
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                                                                 Pg 2
  66.       Here is a step by step procedure to build your code server and
  67.       client diskettes:
  68.  
  69.         1. Install OS/2 2.1 on your machine
  70.         2. Install LAPS on your machine. Please note that LAPS must be
  71.            installed on your OS/2 bootable partition.
  72.         3. Create the following directory structure (note that any
  73.            partition can be used):
  74.  
  75.         d:\cid
  76.         d:\server
  77.         d:\cid\img
  78.         d:\cid\img\srvifs
  79.         d:\cid\img\laps
  80.         d:\cid\exe
  81.         d:\cid\rsp
  82.  
  83.  
  84.         If you have different versions of OS/2 that you want to
  85.         store on your server (e.g. OS/2 2.0 and OS/2 2.1), I suggest
  86.         the following structure:
  87.  
  88.         d:\cid\img\os2v20
  89.         d:\cid\img\os2v21
  90.         d:\cid\exe\os2v20
  91.         d:\cid\exe\os2v21
  92.         d:\cid\rsp\os2v20
  93.         d:\cid\rsp\os2v21
  94.  
  95.         img - disk images
  96.         EXE - *.exe's for separate different versions of OS/2.
  97.                 These files are unpacked from disk_7.
  98.         rsp - response files for various client's.
  99.  
  100.  
  101.         4. Insert the NTS/2 Utilities diskette into drive_a and
  102.            type the following command:
  103.  
  104.         xcopy a:\srvifs d:\cid\img\srvifs
  105.  
  106.  
  107.         5. Insert the NTS/2 LAPS diskette into drive_a and type the
  108.            following command:
  109.  
  110.         xcopy a:\*.* /s /h d:\cid\img\laps
  111.  
  112.  
  113.         6. Insert disk_7 from OS/2 2.1 into drive_a and type the
  114.            following command:
  115.  
  116.         Blue colored diskettes:   unpack a:\cid c:\cid\exe\os2v21
  117.         salmon colored diskettes: UNPACK2 a:\cid c:\cid\exe\os2v21
  118.         OS/2 2.0: unpack a:\cid c:\cid\exe\os2v20
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.                                                 Pg 3
  127.         This process will unpack four *.exe's shown below. Each *.exe
  128.         is specific to the version of OS/2 you are using. This is why
  129.         you want to separate each set of modules by version.
  130.         Here is a list of the modules that get unpacked:
  131.  
  132.         semaint.exe
  133.         seinst.exe
  134.         sedisk.exe
  135.         seimage.exe
  136.  
  137.         7. We are ready to install the images of OS/2 on your code
  138.            server:
  139.  
  140.          For OS/2 2.1:cd\cid\exe\os2v21 seimage /s:a: /t:d:\cid\img\os2v21
  141.  
  142.          For OS/2 2.0:cd\cid\exe\os2v20 seimage /s:a:/t:d:\cid\img\os2v20
  143.  
  144.         8. Now create the SRVIFS configuration file using any editor.
  145.            Name the file SERVICE.INI, copy it to the server directory,
  146.            place the following statements in this file:
  147.  
  148.         Adapter = 0
  149.         MaxClients = 10
  150.         MaxFiles = 100
  151.         Name = IMGSRV    *** Any name can be used ***
  152.         GroupName = No
  153.         ClientWorkers = 12
  154.         Path = d:\
  155.         PerClient = No
  156.         PermitWrite = No
  157.         alias=readonly,single,os2_20,d:\CID\IMG\OS2V20
  158.         alias=readonly,single,os2_21,d:\CID\IMG\OS2V21
  159.          alias=readonly,single,rsp_inst,c:\os2\install
  160.  
  161.         A description of the parameters above can be found in NTS/2's
  162.         "Redirected Installation and Configuration Guide". You need to
  163.         look at this manual in order to tune your SRVIFS configuration
  164.         file for your environment.
  165.  
  166.  
  167.         9. copy d:\cid\img\srvifs\xi*.* d:\server
  168.  
  169.         10. copy d:\cid\img\srvifs\service.exe d:\server
  170.  
  171.         11. cd c:\cid\img\srvifs
  172.         thinsrv /r:d:\server\service.ini /s:d:\cid\img\srvifs
  173.         /t:d:\server /tu:c:
  174.         (Note /tu:c: assumes that your bootable partition is
  175.         c_drive).
  176.  
  177.  
  178.         12. We now are going to build your boot diskettes. I am
  179.             only going to demo how to build the diskettes for OS/2 2.1,
  180.             The same method can be applied for OS/2 2.0, just changing
  181.             some of the parameters that may be apparent:
  182.  
  183.  
  184.  
  185.  
  186.                                         Pg 4
  187.         The method described below is a dialog driven method for
  188.          remote installation:
  189.  
  190.         a. cd\cid\exe\os2v21
  191.         b. sedisk /s:d:\cid\img\os2v21 /t:a:
  192.            (This is creating the boot diskettes, e.g. install and
  193.            disk_1).
  194.         c. cd\cid\img\laps
  195.          d. thinlaps c:\cid\img\laps a: IBMTOK.INF
  196.         e. cd\cid\img\srvifs
  197.         f. thinifs /t:a: /s:c:\cid\img\srvifs /tu:a: /req:*
  198.            /d:x: /srv:\\testsrv\os2_21 /w
  199.         g: edit the config.sys on disk_1 with this change:
  200.  
  201.        1. replace protshell=sysinst1.exe to
  202.           protshell=sysinst2.exe
  203.        2. add set sourcepath=x:\ (place it somewhere with the
  204.           other set statements).
  205.          h. copy d:\cid\img\os2v21\disk_1\sysinst2.exe a:
  206.  
  207.         The method described below is a response file method for
  208.         remote installation:
  209.  
  210.         a. cd\cid\exe\os2v21
  211.         b. sedisk /s:d:\cid\img\os2v21 /t:a:
  212.            (This is creating the boot diskettes, e.g. install and
  213.            disk_1).
  214.         c. cd\cid\img\laps
  215.         d. thinlaps c:\cid\img\laps a: IBMTOK.INF
  216.         e. cd\cid\img\srvifs
  217.         f. thinifs /t:a: /s:c:\cid\img\srvifs /tu:a: /req:*
  218.            /d:x: /srv:\\imgsrv\os2_21 /w
  219.         g. thinifs /t:a: /s:c:\cid\img\srvifs /tu:a: /req:*
  220.            /d:y: /srv:\\imgsrv\rsp_inst /w
  221.  
  222.         h. edit the config.sys on disk_1 with the this change:
  223.  
  224.         1. replace set os2_shell=cmd.exe to
  225.            set os2_shell=y:\rspinst.exe a:\default.rsp
  226.         2. add set sourcepath=x:\ (place it somewhere with the
  227.            other set statements)
  228.  
  229.         The above statement means that the client is getting
  230.         rspinst.exe from the code server. This is defined by the
  231.         alias rsp_inst in SERVICE.INI which points to the
  232.         \os2\install directory on the code server where
  233.         RSPINST.EXE is installed. The y_drive is the redirected
  234.         drive letter defined in a srvattach statement in the
  235.         config.sys of disk_1. RSPINST.EXE calls default.rsp (which
  236.         is the customized response file called default.rsp on
  237.         disk_1.
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.                                                         Pg 5
  246.         13. OS/2 2.1 creates a sample.rsp in \os2\install. You can modify
  247.             this file per client and copy it to disk_1 with the name
  248.             default.rsp.
  249.  
  250.         You now have completed the redirected installation process for
  251.         both dialog driven and response file methods.  Before you
  252.         distribute the boot diskettes to your client's, I suggest that
  253.         you test each method locally using both methods.
  254. 12/31/99
  255.