Appendix G. Starting and Stopping a DB2 Instance

This appendix describes the necessary steps to stop and start a DB2 instance. There are many ways to stop and start a DB2 instance, but the following steps will guide you to stop a DB2 instance to ensure that any defunct DB2 processes, interprocess communications, and defunct DARI processes have been removed successfully.

Current configuration:

Instance:db2inst1
Database:sample
Server:phantom
  1. Stop the DB2 instance.

    • Check existing applications that are currently connected to the database by logging on to phantom server as DB2 instance owner db2inst1:

      								$ db2 list applications
      								Auth Id   Appl. Name   Appl.. Handle   Appl. Id                       DB Name   # of Agents
      								------- ---------- ------------- ---------------------------- ------- ...

Get Advanced DBA Certification Guide and Reference for DB2® Universal Database™ v8 for Linux®, UNIX®, and Windows® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.