DB2 Version 9.7 for Linux, UNIX, and Windows

Stopping all DB2 instances, services and applications (Windows)

Before installing a fix pack, if there are DB2® database products installed in the selected installation path, you must stop all DB2 instances, all DB2 services, and all applications. If you have multiple DB2 copies, stop only the DB2 processes that are associated with the copy that you are updating.

Procedure

To stop the appropriate instances, services and applications:

  1. Determine which instances are associated with the DB2 copy by issuing the command:
    DB2PATH\bin\db2ilist
    where DB2PATH represents the location where the DB2 copy is installed.
  2. Stop all instances and DB2 services, using the services control panel applet: Control Panel > Administrative Tools > Services. If you have active database clients, force these clients off when stopping the instance. To force clients, issue the following command:
    db2stop force

    Alternatively, use the task assistant for stopping instances and forcing applications or client off theDB2 server in IBM® Data Studio.