home *** CD-ROM | disk | FTP | other *** search
- < CID and OS/2 Warp
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- July 9, 1998
-
-
-
-
-
- OS/2 Fix Distribution
- Network Computing Software
- Austin, Tx
-
-
-
-
-
- (c) Copyright International Business Machines Corporation, 1997.
- All rights Reserved.
-
- July 9, 1998 - Warp CID
-
-
-
-
- July 9, 1998 - Warp CID
-
- CONTENTS
-
-
- 1.0 Installing FixPaks via CID . . . . . . . . . . . . . . . . . . . 1
- 1.1 CID Server Setup . . . . . . . . . . . . . . . . . . . . . . . 1
- 1.2 Create a Response File . . . . . . . . . . . . . . . . . . . . 1
- 1.3 Executing FSERVICE . . . . . . . . . . . . . . . . . . . . . . . 2
- 1.3.1 The /T: Parameter . . . . . . . . . . . . . . . . . . . . . 3
- 1.4 Whether to Run SEMAINT . . . . . . . . . . . . . . . . . . . . . 3
- 1.5 Removing an Installed FixPak . . . . . . . . . . . . . . . . . . 4
- 1.6 Some Troubleshooting . . . . . . . . . . . . . . . . . . . . . . 4
- 1.7 Using NvDM/2 and LCU . . . . . . . . . . . . . . . . . . . . . . 5
- 1.8 SERVICE/FSERVICE Differences . . . . . . . . . . . . . . . . . . 6
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Contents ii
-
-
- July 9, 1998 - Warp CID
-
- FIGURES
-
- Figure 1. RESPONSE.FIL for Installing OS/2 FixPak . . . . . . . . . 1
- Figure 2. FSERVICE Parameters . . . . . . . . . . . . . . . . . . . 2
- Figure 3. Invoking FSERVICE . . . . . . . . . . . . . . . . . . . . 3
- Figure 4. NvDM/2 Profile Example . . . . . . . . . . . . . . . . . . 5
- Figure 5. LCU REXX Example . . . . . . . . . . . . . . . . . . . . . 6
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Figures iii
-
-
- July 9, 1998 - Warp CID
-
- 1.0 INSTALLING FIXPAKS VIA CID
-
- Kicker diskettes are required for installing OS/2 FixPaks and LAN Server
- (LS) Customer Service Diskettes (which are called FixPaks here). This
- includes installing these FixPaks via IBM's Configuration Installation
- Distribution (CID) process.
-
- This README assumes that you can do a standard manual installation of a
- FixPak on your system, before you set up a complex CID installation and
- then find that the FixPak does not work on your system.
-
- The installation kicker diskettes are different from the FixPak data
- diskettes. The same kicker diskettes can be used to install several
- different FixPaks, including all current OS/2 and LAN Server FixPaks, and
- certain other products such as DCAF and NetView.
-
- The following information describes how to use these kicker diskettes to
- install the FixPaks.
-
-
-
- 1.1 CID SERVER SETUP
-
- ■ On the CID server, create a new directory for the FixPak. Here, let's
- name the directory FIXPAK.
- ■ Use the XCOPY command with the /S parameter to copy all of the FixPak
- data diskettes (for either OS/2 or LAN Server) into the FIXPAK
- directory.
- ■ XCOPY the single LS kicker diskette into the FIXPAK directory. (You
- can XCOPY the second OS/2 FixPak kicker diskette into the FIXPAK
- directory if you do not have the LS kicker diskette.)
-
-
-
-
- 1.2 CREATE A RESPONSE FILE
-
- ■ To install an OS/2 FixPak, create an FSERVICE response file, using the
- contents of RESPONSE.FIL in the FIXPAKS directory as the basis (see
- Figure 1).
-
- ─────────────────────────────────────────────────────────────────────────
- :LOGFILE \OS2\INSTALL\SERVICE.LOG
- :FLAGS REPLACE_PROTECTED REPLACE_NEWER
- :SOURCE A:\
- :SERVICE
- :SYSLEVEL \OS2\INSTALL\SYSLEVEL.OS2
- :ARCHIVE \ARCHIVE
-
- Figure 1. RESPONSE.FIL for Installing OS/2 FixPak
- ─────────────────────────────────────────────────────────────────────────
-
-
- Installing FixPaks via CID 1
-
-
- July 9, 1998 - Warp CID
-
- When modifying RESPONSE.FIL, be very careful not to resequence any of the
- statements. Incorrect sequencing is a common cause of problems.
-
- To service a product that resides in a specific partition, the response
- file keyword :SYSLEVEL is used. For example,
-
- :SYSLEVEL D:\OS2\INSTALL\SYSLEVEL.OS2
-
-
- will only service the OS/2 product that already resides in the D:
- partition.
-
- There is no need to change the :SOURCE statement, because the /S:
- command-line parameter used for the FSERVICE invocation overrides the
- :SOURCE keyword in the response file. Also, the /L1: command-line
- parameter overrides the :LOGFILE keyword.
-
- It is okay to remove or remark out the :LOGFILE statement, but the
- :SOURCE statement must always be present, even if it is not used.
-
- The default OS/2 response file does not assign drive letters to :SYSLEVEL
- and :ARCHIVE. This will cause the FSERVICE exec to search all partitions
- to locate the OS/2 product, and update all partitions where it finds a
- version of OS/2 that is the correct version for the FixPak. If you
- remove the parameter from :SYSLEVEL then FSERVICE will service all
- products found in the FixPak on all partitions where the products exist.
-
-
-
- 1.3 EXECUTING FSERVICE
-
- ■ Execute FSERVICE to install the FixPak. Figure 2 lists the parameters
- that can be used.
-
- ─────────────────────────────────────────────────────────────────────────
- /S: the source path pointing to the FIXPAKS directory on the CID
- server.
- /R: drive:\path\filename of the response file
- /L1: drive:\path\filename of the log file
- /T: (optional) drive:\path to be used if booted from the SEMAINT
- environment; should be set to the same parameter value used in
- the SEMAINT call
- /CID (optional) to be used for unattended installation
- /SF: do not use for CID install
-
- Figure 2. FSERVICE Parameters
- ─────────────────────────────────────────────────────────────────────────
-
- Figure 3 on page 3 gives an example of invoking the FSERVICE exec.
- Depending on what the response file contains, the call in Figure 3 on
- page 3 could be used to install a FixPak, back out a FixPak, or commit a
-
-
- Installing FixPaks via CID 2
-
-
- July 9, 1998 - Warp CID
-
- FixPak (so that the FixPak cannot be backed out once it is installed).
- All code in Figure 3 must be on a single command line.
-
- ─────────────────────────────────────────────────────────────────────────
- x:\csd\fixpak\fservice
- /s:x:\csd\fixpak
- /r:x:\csd\fixpak\response.fil
- /cid /t:c:\service
- /l1:x:\log\fixpak\service.log
-
- Figure 3. Invoking FSERVICE
- ─────────────────────────────────────────────────────────────────────────
-
-
-
-
- 1.3.1 THE /T: PARAMETER
-
- If you boot OS/2 from a hard drive and the environment variable
- REMOTE_INSTALL_STATE is set to 0 or 1, you must use the /T: parameter.
- If you boot from a hard drive and the REMOTE_INSTALL_STATE environment
- variable is not defined, you should not use the /T: parameter. If you
- boot from diskette, /T: is ignored.
-
- FSERVICE uses the /T: parameter to decide whether a file should be
- updated. If the first part of the path to a file is equal to the /T:
- parameter, then FSERVICE will not update that file, because files in the
- maintenance directory (created by SEMAINT) should not be updated.
-
-
-
- 1.4 WHETHER TO RUN SEMAINT
-
- The best and safest way to install an OS/2 FixPak is in a maintenance
- mode. You can install an OS/2 FixPak while booted in normal OS/2 PM mode,
- but problems may occur. If you install the FixPak while in the OS/2 PM
- mode you must reboot the system as soon as possible after the FixPak
- install completes. If you install two FixPaks in a row then reboot the
- system the locked file device driver will not work correctly.
-
- There are two standard ways to enter maintenance mode -- you can use
- SEMAINT to generate a maintenance boot environment, or you can boot from
- diskette. If you are going to install several fixes at one time, using
- SEMAINT will save time because it requires fewer reboots and no
- processing of locked files.
-
- To use SEMAINT, you must make changes to the way you invoke FSERVICE.
- FSERVICE cleans up a maintenance directory created by SEMAINT if the /T:
- parameter is used and the system is booted from a hard drive.
-
-
-
-
- Installing FixPaks via CID 3
-
-
- July 9, 1998 - Warp CID
-
- You should only use the /T: parameter in the first FSERVICE call you
- make. You need to remove or not use the /T: parameter in all other calls
- to FSERVICE. This is necessary because the /T: parameter may cause a file
- that was already updated to be restored to the original level.
-
- If you use SEMAINT, do not use the /S2: parameter. The /S2: parameter
- should only be used if installing OS/2 ServicePak XR_6200 or XR_6300.
-
-
-
- 1.5 REMOVING AN INSTALLED FIXPAK
-
- To back out a FixPak that has already been installed, use the response
- file shown below.
-
- :LOGFILE C:\OS2\INSTALL\SERVICE.LOG
- :TARGET ARCHIVE
- :BACKOUT
- :SYSLEVEL C:\OS2\INSTALL\SYSLEVEL.OS2
-
-
- When backing out a FixPak, the FSERVICE parameter /S: should point to the
- FIXPAK directory on the CID server, because FSERVICE needs to find the
- product information files for the FixPak that it will back out.
-
-
-
- 1.6 SOME TROUBLESHOOTING
-
- If problems occur during a FixPak installation, it may be necessary to
- delete or rename the LOGF0000.??? and the LOGFSTART.??? files from the
- target client system and to remove the ARCHIVE directory. These steps are
- frequently needed when a previous FixPak installation started but failed
- to finish.
-
- The current OS/2 FixPak boot diskettes are based on OS/2 Warp code. The
- system can be booted from either OS/2 2.11 or OS/2 Warp to install the
- FixPak; however, a problem may occur if the system was booted with OS/2
- 2.11 when you apply a FixPak. The problem occurs if FSERVICE finds the
- OS/2 Warp file SHPIINST.DLL from the FixPak boot diskette. The fix for
- this problem is to replace the SHPIINST.DLL file in the FixPak directory
- with an OS/2 2.11 version.
-
- When installing a FixPak for LS 4.0 or some other product, you may need
- to change the response file keyword <code> :SYSLEVEL <end code> to point
- to the correct SYSLEVEL.??? file for that product.
-
- You may need to remove or remark out the response file keyword :ARCHIVE
- if archiving is turned off for the FixPak. This is the case for many LS
- FixPaks.
-
-
-
- Installing FixPaks via CID 4
-
-
- July 9, 1998 - Warp CID
-
- You can archive to a LAN drive. You can archive files for different
- products to the same directory.
-
- You must always use the same archive directory for the same product. If
- you install an OS/2 FixPak and a previous OS/2 FixPak was installed on
- the system, you must use the same archive directory as used before. You
- can change the archive directory with a special response file keyword,
- :REDIRECT.
-
- To update several products, you may need several pairs of :SERVICE and
- :SYSLEVEL parameters for each product.
-
-
-
- 1.7 USING NVDM/2 AND LCU
-
- Users of NetView Distribution Manager for OS/2 (NvDM/2), IBM's premier
- CID process, should refer to Figure 4 for a sample profile. For users of
- LAN CID Utility (LCU), the standard CID process, see the REXX command
- file product definition example in Figure 5 on page 6.
-
- ─────────────────────────────────────────────────────────────────────────
- TargetDir = "C:\SERVICE"
- CompNameLen = 4
-
- Section Catalog
- Begin
- ObjectType = SOFTWARE
- GlobalName = FIXPAK.WARP.17.C.REF.1.0
- Description = WARP FixPak 17 on C:
- End
-
- Section Install
- Begin
- Program = SA:\IMG\FIXW17\FSERVICE.EXE
- Parms = "/S:$(SourceDir) /T:$(TargetDir)
- /R:$(SA)\IMG\FIXW17\SERVICEC.RSP /L1:$(Logfile1)"
- SourceDir = SA:\IMG\FIXW17
- LogFile1 = SB:\LOGS\OS2\$(WorkStatName).FIX
- End
-
- Figure 4. NvDM/2 Profile Example
- ─────────────────────────────────────────────────────────────────────────
-
-
-
-
-
-
-
-
-
-
- Installing FixPaks via CID 5
-
-
- July 9, 1998 - Warp CID
-
- ─────────────────────────────────────────────────────────────────────────
-
- x.fixpak = 9
- x.9.name='WARP FixPak 17'
- x.9.statevar = 'CAS_' || x.9.name
- x.9.instprog = 'x:\img\fixw17\fservice.exe ',
- '/S:x:\img\fixw17 ',
- '/L1:y:\logs\os2\' || client || '.fix ',
- '/CID ',
- '/R:'
- x.9.rspdir = 'x:\img\fixw17'
- x.9.default = 'response.fil'
-
- Figure 5. LCU REXX Example
- ─────────────────────────────────────────────────────────────────────────
-
-
-
-
- 1.8 SERVICE/FSERVICE DIFFERENCES
-
- The Fixtool utility SERVICE will not work from a LAN drive. This is
- working as designed. SERVICE will only work from "removable" media such
- as floppy diskette and CDROM. FSERVICE is designed to work from floppy
- diskette, CDROM, hard drive, LAN drive, etc.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Installing FixPaks via CID 6
-