IBM Books

Quick Beginnings for DB2 Extended Enterprise Edition for UNIX


Starting and Stopping an Instance

You must start an instance before you can perform the following tasks:

To start an 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. Start the DB2 database manager by entering the db2start command from a command line.

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.


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

[ DB2 List of Books | Search the DB2 Books ]