Uninstall DB2 In Linux

<!-- @page { margin: 0.79in } P { margin-bottom: 0.08in } A:link { so-language: zxx } -->

  1. DB2 System Comments:

    http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.admin.doc/doc/r0023670.htm

     

    • dasauto --- Autostart DB2 administration server

    • dascrt --- Create a DB2 administration server

    • dasdrop --- Remove a DB2 administration server

    • dasmigr --- Migrate the DB2 administration server

    • dasupdt --- Update the DB2 administration server

    • db2_deinstall --- Uninstall DB2 products or features

    • db2_install --- Install DB2 product

    • db2_local_ps --- DB2 process status for Linux/UNIX

    • db2admin --- DB2 administration server

    • db2adutl --- Work with TSM archived images

    • db2advis --- DB2 Design Advisor

    • db2audit --- Audit facility administrator tool

    • db2batch --- Benchmark tool

    • db2bfd --- Bind file description tool

    • db2ca --- Start the Configuration Assistant

    • db2cap --- CLI/ODBC static package binding tool

    • db2cat --- System catalog analysis

    • db2cc --- Start Control Center

    • db2cfexp --- Connectivity configuration export tool

    • db2cfimp --- Connectivity configuration import tool

    • db2chglibpath --- Modify embedded runtime library search path

    • db2chgpath --- Change embedded runtime path

    • db2ckbkp --- Check backup

    • db2ckmig --- Database pre-migration tool

    • db2ckrst --- Check incremental restore image sequence

    • db2cli --- DB2 interactive CLI

    • db2cmd --- Open DB2 command window

    • db2dart --- Database analysis and reporting pool

    • db2daslevel --- Show DAS level

    • db2dclgn --- Declaration generator

    • db2diag --- db2diag.log analysis tool

    • db2drdat --- DRDA trace

    • db2drvmp --- Map DB2 database drive

    • db2empfa --- Enable multipage file allocation

    • db2envar.bat --- Set environment of the current command window

    • db2eva --- Event analyzer

    • db2evmon --- Event monitor productivity tool

    • db2evtbl --- Generate event monitor target table definitions

    • db2exfmt --- Explain table format

    • db2exmig --- Migrate explain tables command

    • db2expln --- SQL explain

    • db2extsec --- Set permissions for DB2 objects

    • db2flsn --- Find log sequence number

    • db2fm --- DB2 fault monitor

    • db2fs --- First Steps

    • db2gcf --- Control DB2 instance

    • db2gov --- DB2 governor log query

    • db2govlg --- DB2 governor log query

    • db2gpmap --- Get partitioning map

    • db2hc --- Start Health Center

    • db2iauto --- Auto-start instance

    • db2iclus --- Microsoft Cluster Server

    • db2icrt --- Create instance

    • db2idrop --- Remove instance

    • db2ilist --- List instances

    • db2imigr --- Migrate instance

    • db2inidb --- Initialize a mirrored database

    • db2inspf --- Format inspect results

    • db2iprune --- Reduce installation image size

    • db2isetup --- Start instance creation interface

    • db2iupdt --- Update instances

    • db2jdbcbind --- DB2 JDBC package binder

    •  

  2. uninstall DB2---Linux

  1.  
  1.  
    • #cd /opt/ibm/db2/V9.5/bin/su db2inst1

  1.  
    • #cd /opt/ibm/db2/V9.5/bin/db2stop

  1.  
    • #cd /opt/ibm/db2/V9.5/instance/db2ilist

    • #cd /opt/ibm/db2/V9.5/instance/su

    • password:

  1.  
    • #cd /opt/ibm/db2/V9.5/instance/db2idrop db2inst1

  1.  
    • #cd /opt/ibm/db2/V9.5/instance/dasdrop

  1.  
    • #cd /opt/ibm/db2/V9.5/instance/ ps -ef |grep db2

    • if there are still some procedures about DB2 ,use the next comment to kill them

  1.  
    • #cd /opt/ibm/db2/V9.5/instance/kill -9 parentid (del the leaved procedures)

    • Del the user: db2admin db2fenc

    • Login to /opt/:DEL --- /ibm/db2/

  1.  
    • Login to /HOME/var:DEL --- /db2/

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值