IBM Books

Quick Beginnings


Auto-Starting Instances on UNIX Systems

On UNIX Systems:

To enable an instance to auto-start after each system reboot, perform the following steps:

  1. Log in as the instance owner.

  2. Set up the instance owner environment. See "Setting the Operating Environment for Each DB2 Instance User on UNIX Systems" for information on how to initialize the instance owner environment.

  3. Turn on the auto-start flag in the instance's registry with the command:
       db2set -i InstName DB2AUTOSTART=YES
    

    where InstName is the login name of the instance.

For UNIX users: To prevent an instance from auto-starting after each system reboot, perform the following steps:

  1. Log in as the instance owner.

  2. Set up the instance owner environment. See "Setting the Operating Environment for Each DB2 Instance User on UNIX Systems" for information on how to initialize the instance owner environment.

  3. Turn off the auto-start flag in the instance's registry with the command:
       db2set -i InstName DB2AUTOSTART=
    

    where InstName is the login name of the instance.


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

[ DB2 List of Books | Search the DB2 Books ]