Loading the D3 Package

There are five parts to loading the D3 package.

To load the D3 package, execute these instructions:

  1. Log in to UNIX on the system console as root.

  1. Start UNIX in single user mode by entering init s.

The system displays a similar message:

SINGLE-USER MODE entered from /dev/tty0

#

  1. Wait for the message:

INIT: New run level: S

INIT: SINGLE-USER MODE

#

  1. If the root user has a password, enter it at the Password prompt:

Password:

#

To make a CD-ROM directory:

  1. If the cdrom directory does not already exist, enter:

cd / 

mkdir cdrom

  1. Insert the D3 system distribution media (D3 AIX CD-ROM) into the drive.

To mount the CD-ROM:

  1. Mount the D3 AIX CD on the /cdrom directory. For example:

mount -v cdrfs -r /dev/cd0 /cdrom

 

NOTE

The CD-ROM device name on the system can usually be obtained by executing the command: ls /dev/cd*

  1. Verify that the CD-ROM has been mounted by displaying the CD contents. Enter:

ls /cdrom

  1. Confirm that the file D3.tar is included in the list.

TIP

If it is necessary to use a directory other than /tmp, substitute that directory name for /tmp in the instructions. Note that the specific directory to which the D3 installation files are loaded is the decision of the person performing the installation, however /tmp is the most common, and is used for reference here.

If a previous release of D3 has been loaded, D3 installation files may still be present in the /tmp directory. These are the files loaded from media with the tar command. These files must be removed before a new release of D3 is loaded. See Upgrade Issues for instructions to remove these files.

If D3 is to be installed on multiple AIX machines, a directory that will be shared among all the machines should be chosen. Then, the installation files will only have to be loaded once.

To transfer the installation files from the distribution media to the tmp directory use the tar command:

  1. Create a destination directory into which the installation files will be loaded. The example below shows that the chosen directory is /tmp. Enter:

cd /tmp

  1. Transfer the installation files. Enter:

tar xvf /mnt/cdrom/D3.tar

The system loads a series of files and returns to the shell prompt. The screen looks similar to:

# tar xvf /cdrom/D3.tar

x D3_ssn 512 bytes, 1 mediablock

x D3_setup 7223 bytes, 15 mediablocks

x D3_setup_mv 856 bytes, 2 mediablocks

x D3_copyright 343 bytes, 1 mediablock

x D3_ugf, 65536 bytes, 128 mediablocks

x D3_install-rs-9.1-.Z, 777733 bytes, 1520 mediablocks

x D3_monitor-rs-9.1-.Z, 589599 bytes, 1152 mediablocks

x D3_flash-rs-9.1-.Z, 3342554 bytes, 6529 media blocks

x D3_sql-rs-9.1-.Z, 250525 bytes, 490 mediablocks

x D3_abs-rs-9.1-.Z, 815485 bytes, 1593 mediablocks

x D3_datafiles-rs-9.1-.Z,3297735 bytes, 6441 mediablocks

#

When the tar command completes, the system returns to the shell prompt.

To unmount the CD-ROM:

  1. Enter:

umount /mnt/cdrom

  1. Remove the CD from the CD-ROM drive.

Running D3_setup

To continue the installation, D3_setup must be run. If any errors occur during the setup process, see Installation Troubleshooting.

To run D3_setup, execute these commands:

  1. Run D3_setup. Enter:

/tmp/D3_setup

Specify the entire path name to D3_setup on the command line as shown in the example above. Do not use a relative reference, such as ./D3_setup.

NOTE

If any D3 processes appear to be running, the system displays a similar message:

root 1640  1  06:03:42  90/0  0:00 d3 - 58 tty90

This indicates there is one process (PID 1640) still running D3. Kill the process that is running by entering the command below and then restart the D3 installation procedure:

kill -9 pid.number

If no D3 processes are running, the system display is similar to:

The following installation files will be used:

abs:        D3_abs-rs-9.1-.Z

datafiles:  D3_datafiles-rs-9.1-.Z

flash:      D3_flash-rs-9.1-.Z

install:    D3_install-rs-9.1-.Z

monitor:    D3_monitor-rs-9.1-.Z

sql:        D3_sql-rs-9.1-.Z

Welcome to the D3 installation procedure. You have successfully installed the distribution files.

The distribution files are used to build the D3 environment on your UNIX machine. When the installation process completes successfully, it can delete the distribution files, or leave them on the local hard disk so you can install D3 onto other UNIX machines on your Local Area Network without re-installing the media.

Do you want to delete the distribution files when the installation routine is finished with them? _

D3_setup displays the installation files that it uses to build the D3 database on the machine. When the installation process completes successfully, it can delete the distribution files, or leave them on the local hard disk. Leaving the files on the local hard disk makes it easier to install D3 on another UNIX machine on the Local Area Network without reinstalling the media. This provides easy access to the ABS and datafiles if you need them later.

  1. When D3_setup completes successfully, type either y to remove the installation files, or n to keep them.

When the install completes, the distribution files will NOT be deleted.

After this procedure, you must run the d3 command to complete the installation as described in the installation manual.

Do you want to continue the installation? _

When the install completes, the distribution files will be deleted.

After this procedure, you must run the d3 command to complete the installation as described in the installation manual.

Do you want to continue the installation? _

  1. Enter y.

The system displays a similar screen:

SUCCESSES

---------

Filesets listed in this section passed pre-installation verification and will be installed.

Selected filesets

------------------

Pick 9.1

                                       

<< End of Success Section >>

Restoring files ...

Press <Enter> to continue ...

  1. Press ENTER.

WARNING

If there is not enough space in the /usr or root file system an error message displays. Respond y (yes) for the system to automatically allocate space. If there is still not enough space, the installation is aborted. See Error Messages and Conditions for the exact text of the error messages and what steps to take to correct this problem.

If the UNIX TERM type is not set, the terminal types display.

  1. Enter the appropriate terminal type.

See Also

Installing D3

D3 Installation Options

Installing D3 With the Chosen Settings

Starting the D3 Virtual Machine

Restarting the Virtual Machine

How to Proceed