Extracting Files from Tape

These instructions are for extracting NCDware files from Tape. Use this along
with the instructions for extracting from CD-ROM. Use these instructions instead
of steps 2-6 on the CD instructions to install the files, then continue with 
steps 7-11 on the CD instructions to setup the hosts.

NCDware is available on QIC-150 tapes (a set of 3), 8mm, and 4mm tapes. 
The files are the tapes are layed out differently than on the CDROM. Chapter 1 
of the Installation Guide explains the layout of the tapes. Using the 
information in Chapter 1, determine the file group numbers for all of the files
that you need. The file groups are explained beginning on page 1-11.

Be sure that you have enough disk space for the files. Space requirements are
given in Chapter 1 with the file group information, page 1-11.

For example, to get the server files for NCD 88k units and the required font, 
color and keysym files, and SunOS binaries, you need file groups 8, 16, 19, 
20, 21, 22, 23, 24, 25, 26, 5. To get the sample configuration and font server
configuration files, dps and snmp files,  and man pages,
you need file groups 17, 18, 28, 29, 30.

2. Extract the file groups from the tapes

   For 8mm or 4mm tapes (replace/dev/rst0 with your tape device):

# mkdir /tmp/ncd_files
# cd /tmp/ncd_files
# tar xvf /dev/rst0 5 8 16 17 18 19 20 21 22 23 24 25 26 28 29 30

   For QIC tapes, you need to put in the correct tape before extracting the 
   files.

   From tape 1 (replace/dev/rst8 with your tape device):

# tar xvf /dev/rst8 8 16 17 18 19 20 21 22 23 24 25 26 29 30

   Then from tape 3 (replace /dev/rst8 with your tape device):

# tar xvf /dev/rst8 5 28

   There are no file groups on tape 2 in this example.

   Next, you must use tar to extract the file from each file group and put them 
   in the correct location on your host. For example, to get the server images 
   and fonts use the commands below. This example assumes you are using secure 
   tftp.  Put the files in the same locations as indicated in the CD 
   Installation instructions. 

3. Install the server images:

# cd /tftpboot
# tar xvf /tmp/ncd_files/5

   Make links from the server image names to the boot file name.
   NCD's use the model name as part of the default name used for the boot
   file. The standard way to get the default name for booting is to make
   links to the real server images. The following instructions sets the
   boot file image for the 88k models to be the minimal server.

# ln -s Xncd.3.2.1/Xncd19c Xncd19c

4. Install the binaries. This installs the SunOS binaries. Use the appropriate
   file group for your type of system. If you have an unsupported system, check
   the Contrib CD or our ftp site for binaries (ftp.ncd.com, /pub/ncd/Archive).

# cd /usr/bin/X11
# tar xvf /tmp/ncd_files/8

5. Install the color and keysymdb files and fonts, and sample files.

   If you are using SECURE TFTP:

# cd /tftpboot/usr/lib/X11/ncd
# tar xvf /tmp/ncd files/16
# tar xvf /tmp/ncd files/18
# mkdir configs
# cd configs
# tar xvf /tmp/ncd files/17
# mkdir ../dps
# cd ../dps
# tar xvf /tmp/ncd files/28
# mkdir ../snmp
# cd ../snmp
# tar xvf /tmp/ncd files/29
# mkdir ../fonts
# cd ../fonts
# tar xvf /tmp/ncd_files/19
# tar xvf /tmp/ncd_files/20
# tar xvf /tmp/ncd_files/21
# tar xvf /tmp/ncd_files/22
# tar xvf /tmp/ncd_files/23
# tar xvf /tmp/ncd_files/24
# tar xvf /tmp/ncd_files/25
# tar xvf /tmp/ncd_files/26

   If you are using NON-SECURE TFTP:

# cd /usr/lib/X11/ncd
# tar xvf /tmp/ncd files/16
# tar xvf /tmp/ncd files/18
# mkdir configs
# cd configs
# tar xvf /tmp/ncd files/17
# mkdir ../dps
# cd ../dps
# tar xvf /tmp/ncd files/28
# mkdir ../snmp
# cd ../snmp
# tar xvf /tmp/ncd files/29
# mkdir ../fonts
# cd ../fonts
# tar xvf /tmp/ncd_files/19
# tar xvf /tmp/ncd_files/20
# tar xvf /tmp/ncd_files/21
# tar xvf /tmp/ncd_files/22
# tar xvf /tmp/ncd_files/23
# tar xvf /tmp/ncd_files/24
# tar xvf /tmp/ncd_files/25
# tar xvf /tmp/ncd_files/26

6. Install the man pages.

# cd /usr/man
# tar xvf /tmp/ncd files/30

7-11. Follow the steps on the CD instructions for your system.
