Posts Tagged ‘das’

(English version is below the Indonesian version).

Untuk uninstall DB2 V9.5, ada beberapa langkah yang harus dijalankan :
1. Lihat instance apa saja yang sedang berjalan
a. gunakan user root
b. masuk ke DB2DIR (tempat instalasi DB2, defaultnya di “/opt/IBM/db2/V9.5/)
c. masuk ke folder bin (cd bin)
d. Jalankan command “./db2ilist”
e. Akan muncul list instance yang ada (misalnya “db2inst1”). Ingat – ingat atau catat instance yang ada.

2. Matikan instance
Untuk tiap instance yang ada :
a. login sebagai owner instance
b. ketikkan “db2stop force” enter
c. ketikan “db2 terminate” enter untuk memastikan instance benar-benar mati

3. Matikan Database Administration Server (DAS)
a. Login sebagai DAS (biasanya dasusr1)
b. ketik “db2admin stop” enter untuk menghentikan server

4. Drop instance
a. login sebagai root, masuk ke DB2DIR, folder instance
b. untuk setiap instance yang ada, ketik “./db2idrop ” enter

5. Drop DAS
a. login sebagai root, masuk ke DB2DIR, folder instance
b. ketik “./dasdrop” enter untuk menghapus DAS

6. Uninstall
a. login sebagai root, masuk ke DB2DIR, folder install
b. ketik “db2_deinstall -a”, enter


To uninstall DB2 V9.5 in AIX, follow these steps :
1. Check for existing instances
a. login as root
b. go to DB2DIR (Where DB2 installed, by default it is “/opt/IBM/db2/V9.5/)
c. go to bin folder (cd bin)
d. run “./db2ilist” command
e. There will be list of instances (e.g “db2inst1”).

2. Shutdown instance
For each instance :
a. login as the instance owner
b. run “db2stop force”
c. run “db2 terminate” to ensure the instance has been properly terminated

3. Turn off Database Administration Server (DAS)
a. Login as DAS (commonly named as “dasusr1”)
b. run “db2admin stop” to stop DAS
4. Drop instance
a. login as root, go to DB2DIR, go to instance folder
b. For each existing instance, run “./db2idrop ”

5. Drop DAS
a. login as root, go to DB2DIR, go to instance folder
b. run “./dasdrop”

6. Uninstall
a. login as root, go to DB2DIR, go to install folder
b. run “db2_deinstall -a”