Home > Articles > Data > DB2

This chapter is from the book

This chapter is from the book

Stopping All DB2 Instances

You must stop all DB2 instances before you remove DB2 UDB products. To stop a DB2 instance, perform the following steps:

  • Log in as a user with root authority.

  • Obtain a list of the names of all DB2 instances on your system by entering the following command:

    /opt/IBM/db2/V8.1/bin/db2ilist
    
  • Stop the instance(s) using the following steps:

    Step a. Log in as the instance owner.

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

  • Repeat Steps a and b for each instance.

  • + Share This
  • 🔖 Save To Your Account