IBM Books

Quick Beginnings for DB2 Extended Enterprise Edition for UNIX

Step 2. Stop All DB2 Instances

You must stop all DB2 Instances before you remove DB2 products. To stop DB2 Instances, you need to perform the following steps:

  1. Obtain a list of the names of all DB2 instances on your system using the following command:

    where DB2DIR = /usr/lpp/db2_05_00 on AIX

    = /opt/IBMdb2/V5.0 on Solaris

  2. Stop the instance.

    To stop a database instance:

    1. Log in as the instance owner.

    2. Run the start up script as follows:
         . INSTHOME/sqllib/db2profile    (for Bourne or Korn shell)
         source INSTHOME/sqllib/db2cshrc (for C shell)
      where INSTHOME is the home directory of the instance that you want to use.

    3. Stop the DB2 database manager by entering the db2stop command from a command line.

  3. Repeat steps 2 and 3 for each instance.

[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]