IBM VERSION 9 manual Removing the DB2 administration server Linux, Removing DB2 instances Linux

Models: VERSION 9

1 109
Download 109 pages 12.57 Kb
Page 84
Image 84

Related concepts:

v“DB2 Administration Server” in Administration Guide: Implementation

Related tasks:

v“Removing DB2 products using the db2_deinstall or doce_deinstall command (Linux)” on page 74

Related reference:

v“db2admin - DB2 administration server command” in Command Reference

Removing the DB2 administration server (Linux)

You must remove the DB2 administration server (DAS) before you remove your DB2 product. You only need to remove the DB2 DAS if this is the last DB2 Version 9 copy that you’re removing. Otherwise, you should run the dasupdt command from the DB2 copy that you would like to have the DB2 DAS associated with.

Procedure:

To remove the DB2 administration server:

1.Log in as a user with root authority.

2.Stop the DB2 administration server.

3.Remove the DB2 administration server by entering the following command:

DB2DIR/instance/dasdrop

where DB2DIR is the location you specified during the DB2 Version 9 installation. The default installation path for Linux is /opt/ibm/db2/V9.1.

Related concepts:

v“DB2 Administration Server” in Administration Guide: Implementation

Related tasks:

v“Removing DB2 products using the db2_deinstall or doce_deinstall command (Linux)” on page 74

v“Stopping the DB2 administration server (Linux)” on page 75

Removing DB2 instances (Linux)

You can remove some or all of the DB2 instances on your system. Once an instance is removed, you can use the DB2 databases owned by the instance if you catalog them under another instance of the same release. Even though you remove the instance, the databases are still intact and can be reused unless the database files are expressly deleted.

Remove DB2 instances only if you are not planning to use your DB2 products, or if you do not want to migrate existing instances to a later version of the DB2 product. Migration requires that both the new and old DB2 versions are still installed. You cannot migrate an instance if the DB2 copy it is associated with has been removed.

Procedure:

To remove an instance:

76Getting started with DB2 installation and administration

Page 84
Image 84
IBM VERSION 9 Removing the DB2 administration server Linux, Removing DB2 instances Linux, Related concepts, Related tasks