␡
- Installing DB2 UDB Servers
- Prerequisites
- Before You Begin
- Installing DB2 UDB
- Installed Directory Structure
- Considerations in an NIS Environment
- Distributed Installation
- Sample Response Files
- Creating a Response File
- Distributed Installation with a Response File
- Installing DB2 with db2_install
- DB2 UDB Environment Definitions
- DB2 Profile Registry
- Managing the DB2 Profile Registry
- The db2set Command
- Environment Variables
- Hierarchy of the DB2 UDB Environment
- DB2 Administration Server (DAS)
- DAS Process
- DB2 Instances
- Creating the Sample Database
- Using the Command Line Processor (CLP)
- Uninstalling DB2 Products
- Stopping the DAS Instance
- Stopping All DB2 Instances
- Removing the DAS Instance
- Removing DB2 Instances
- Removing DB2 Products
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.
- Step a. Log in as the instance owner.
-
Repeat Steps a and b for each instance.