DB2 10.5 for Linux, UNIX, and Windows

Taking a DB2 server offline for upgrade or for converting to a DB2 pureScale environment

Before you can continue with the upgrade process, or the conversion of your environment for DB2® pureScale®, you must take your DB2 server offline by stopping the DB2 license service, stopping all command line processor sessions, disconnecting applications and users, and stopping the database manager.

Before you begin

You must have SYSADM authority.

Procedure

To take your DB2 server offline:

  1. Stop the DB2 license service:
       db2licd -end
  2. Disconnect all applications and users. To get a list of all database connections for the current instance, issue the LIST APPLICATIONS command. If all applications are disconnected, this command returns the following message:
       db2 list applications
         SQL1611W No data was returned by the Database System Monitor.
         SQLSTATE=00000
    To disconnect all applications and users, use the FORCE APPLICATION command:
       db2 force application all
  3. Stop all command line processor sessions by entering the following command in each session that was running the command line processor.
       db2 terminate
  4. When all applications and users are disconnected, stop the database manager instance:
       db2stop

What to do next

Convert your existing DB2 instances to a DB2 pureScale environment.