(Performing PostUPDATE Procedures\post_chap)

After the UPDATE session, perform the following postUPDATE procedures: (UNNUMBERED) Preserve the newly updated kits. Rebuild specified modules. Build a working system and, if necessary, perform a system generation. (Preserve Newly Updated Distribution Volumes)

During the UPDATE session, updated modules are copied to your distribution kits. After the UPDATE session, make a backup copy of the newly updated distribution kit for each product you updated. Use separate volumes for the backup copy of each updated distribution kit. Make a new label for each volume.

Use the backup copies for your working system and store the newly updated distribution kits in a safe place. The newly updated RT--11 distribution kits will be used in the next UPDATE session. (Rebuild Modules)

The (RT--11 Update Release Notes) identifies those components or subcomponents that you must rebuild before you create a working system. For example, if you updated BASIC--11/RT--11, you must rebuild the BASIC interpreter.

After rebuilding components or subcomponents, make a backup copy of the rebuilt kit.

For detailed instructions on preserving distribution volumes, see the (ins_book). (Final Installation/Reinstallation Procedures)

You must build or rebuild a working system and perform a system generation, if you want to include features that are available only through system generation.

The following sections describe hints for backing up files you might want to save, installing the operating system, running SYSGEN, and optimizing the speed of your working system disk. (Backup Hints)

The following hints are for backing up the files you want to save before you update your system disk: (unnumbered) Use logical disks (.DSK files) in which to organize and back up your files. If you want to save all your files but your RT--11 system files, you can use the creation date of the system files as a fast way to distinguish them from your other files.

The following example procedure saves all your files but your RT--11 files. The example uses several diskettes as the storage medium. (numbered) Initialize enough diskettes to hold all the files you want to save (except your RT--11 system files). Get the date of your RT--11 system files. (.)(DIR PIP.SAV (RET)) ( 01-Mar-89) (PIP .SAV 30P 06-Sep-86) If you have any files you want to save that have the same date as your system files, then copy those files now to your output volume. Copy all your files dated before the system date. (.)(COPY/SYSTEM/MULTIVOLUME/BEFORE:6:SEP:86 DU0:*.* DU1:*.* (RET))

The /SYSTEM option is included in this example in case you have files that are not RT--11 system files but that have a SYS file type. Copy all your files dated after the system date. (.)(COPY/SYSTEM/MULTIVOLUME/SINCE:7:SEP:86 DU0:*.* DU1:*.* (RET))

Note that the /SINCE option includes all files on and after the specified date. So, you should add one day to the system file creation date to avoid copying RT--11 system files. Visually check the directories of your storage diskettes to make sure all the files you want to save are stored on those diskettes. (Installation Hints\ins_hints_sec)

Depending on your computer configuration and your needs, you can install the updated operating system in a variety of ways. See the (INS_book) and the (aut_book) for the installation procedure that might be most suitable for you.

See the (syg_book) if you want to include features that are available only through system generation.

However, when installing the operating system, you can save time if you have saved the following: (unnumbered) Start-up command file SYSGEN answer file (if you do a system generation) UCL.DAT (if you have defined commands of your own)

If you understand the basic steps of installing the operating system (whether it be a manual or an automatic one), you can adapt the installation to suit your needs and you are not limited to an automatic installation. (unnumbered) (Major Steps Required for Installing RT--11\bold)

The following major steps are involved in any RT--11 operating system installation: (numbered) Making or getting a bootable volume (other than your normal system volume) with a minimum RT--11 operating system. This is an auxiliary volume with just enough files to have a running computer so that you can install the updated system files. This volume could be a distributed diskette; for example, volume 1 of the RT--11 distribution kit. Booting the auxiliary volume as a temporary system volume. Initializing the volume to which you want to copy the updated operating system files so that it can become your system volume. Copying the updated operating system files to that volume. Copying the boot procedure to the boot blocks. Booting the new volume. (How to Make a Bootable Volume\bold)

To make a bootable volume, you need to copy the files listed in (boot_table) to that volume and then copy the boot code to the boot blocks on the volume. (Files Needed to Make a Bootable Volume\boot_table) (2\15) (File\Description) (RT11xx.SYS \ One monitor---Can be the SJ, FB, or XM monitor; but should not be the RT11AI monitor) (SWAP.SYS \ External monitor swap blocks) (dd.SYS \ Device handler for your working system volume) (dd.SYS \ Device handler for your auxiliary volume (the volume you want to boot), if your auxiliary volume is not of the same type as your working system volume) (SL.SYS \ Command line editor (optional)) (LD.SYS \ Logical disk handler, if you intend to use logical disks (optional)) (PIP.SAV \ File maintenance utility ) (DUP.SAV \ Disk maintenance utility) (DIR.SAV \ Directory utility) (RESORC.SAV \System resource display utility, handles mostly SHOW commands (optional))

The following example procedure is for creating a bootable RX50 diskette: (numbered) Initialize a diskette that has no file you want to save. INIT DU1: Copy needed SYS files onto the diskette. COPY SY:(RT11FB,SWAP,DU,SL,LD).SYS DU1: Copy needed SAV files onto the diskette. COPY SY:(PIP,DUP,DIR,RESORC).SAV DU1: Copy the boot procedure to the boot blocks of the diskette. COPY/BOOT DU1:RT11FB.SYS DU1: (SYSGEN Hint)

If you need to do a SYSGEN: (numbered) Run SYSGEN to create a new RT--11 monitor and handlers. Boot an auxiliary volume. See (ins_hints_sec) for instructions on how to make a bootable volume, if you have not done so already. Unprotect the system files on ddn: (the device that will become your system device). UNPROTECT ddn:*.SYS Copy the new SYSGEN files to your targeted system device. COPY ddn:*.SYG ddn:*.SYS

The first (ddn) represents the device on which you ran the SYSGEN, while the second (ddn) represents your targeted system device. Copy the bootstrap to the boot blocks of your new system disk. COPY/BOOT ddn:RT11xx.SYS ddn:

where xx represents the system monitor you choose (FB, SJ, or XM). Boot your new system. BOOT ddn: (Optimization Hints)

The operating system files on the distribution media are arranged in an order to maximize your operating system's efficiency. If you copy the files onto your system disk in the order given, you will have an efficiently working operating system.

Sometimes, however, the order of your files on your system disk can change. For example, if you update only one or a few system files (rather than all of them at once) or if you do a system generation. Therefore, it is good to understand how to arrange your files for the best system performance. (How to Organize Your Files)

You can increase the speed of your computer if you organize your files on your system disk in a way that places the most frequently used files near the beginning of the directory. This positioning minimizes directory read operations as well as reducing the disk distance between a directory pointer and the system file to which the directory points. And this in turn increases the speed of your computer.

Digital suggests the following general order: (simple) RT11(XM,FB,SJ).SYS (monitors) SWAP.SYS PIP.SAV DUP.SAV DIR.SAV RESORC.SAV UCL.SAV, UCL.DAT UCF.SAV (if used) SYSLIB (and whatever language libraries you use) LINK (with the assemblers and compilers you use, if you are a developer) handlers

Note that your handler files are not at the top of this list, even though handlers can be used often, because RT--11 has a fast look-up method for handlers and generally does not do a directory search for a handler file. (Procedure for Organizing Your Files)

To organize your files, use a procedure that best suits the storage space on your computer system.

The following sample command file illustrates a procedure for reorganizing your system disk by using a large auxiliary volume. The auxiliary device(s) serves as a place to temporarily move your files so that you can then reposition them on your system disk for the best system performance.

(Example Command Procedure\bold) ! REORG.COM ! Reorganize system disk ! ASSIGN DU0 SRC ASSIGN DU4 AUX ! ! Transfer time-critical files to "top" of disk ! INIT AUX: COPY SRC:(RT11*,SWAP).SYS AUX: COPY SRC:(PIP,DUP,DIR,RESORC).SAV AUX: COPY/INFO SRC:(UCL,UCF,SYSLIB,SYSMAC) AUX: COPY/INFO/NOREPLACE SRC:*.(MLB,SAV,REL,OBJ) AUX: ! ! Transfer medium time-critical files ! COPY/INFO/SYSTEM/NOREPLACE/EXCLUDE SRC:*.(DSK,BAK,...) AUX: ! ! Transfer non-time-critical files last ! COPY/NOREPLACE/SYS SRC:*.(DSK,BAK,...) AUX: ! COPY/BOOT AUX:RT11XM.SYS AUX: ! ! Now copy the result back to the original disk with the SQUEEZE ! command. This consolidates and packs the directory segments ! for best performance. ! INIT SRC: SQUEEZE/OUT:SRC: AUX:

(callout) SRC and AUX are logicals used to specify your primary system device (SRC) and your auxiliary device (AUX---which becomes your temporary system device when you boot it). The /INFORMATION option specifies that you do not want the procedure to abort if RT--11 does not find all the files specified. This is included here since the UCF file may not be present. The /NOREPLACE option specifies that a file not be copied if it already exists on the output device. This option is necessary since you do not want to replace the files copied in the preceding copy operations. The /SYSTEM option specifies that SYS files be copied. The /EXCLUDE option specifies that all files on SRC: be copied (except) those having the file type you specify in the parentheses. DSK and BAK are given as example file types. The ellipsis indicates that you can add any type you want here. These file types should specify non-time-critical files. These are the files you copy last. With this command, you should transfer back to your system disk all the rest of the files you placed on the auxiliary volume.

The /NOREPLACE option is so that you will not recopy files you already copied, and the /SYSTEM option is so you can copy non-time-critical system files. The /OUTPUT qualifier specifies the destination of the SQUEEZE operation.

Directories are not normally packed or consolidated when copying several files to a disk. One function of the SQUEEZE operation is to consolidate directory segments. This means leaving no space between directory entries, filling up a directory segment before going on to the next segment, and placing the entries in a segment in the same order as the files on a disk. This can speed up a directory search when you have many files.