1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # db2ls Install Path Level Fix Pack Special Install Number Install Date -------------------------------------------------------------------------------- /opt/ibm/db2/V9.1_01 9.1.0.0 0 Tue Jul 11 14:28:33 2006 EDT /opt/ibm/db2/V9.1_02 9.1.0.1 1 on Sep 25 21:26:42 2006 EDT --This shows that there are two copies installed on the system. # /opt/ibm/db2/V9.1_01/instance/db2ilist db2lp1 db2lp2 --Two instances are associated with DB2 under path /opt/ibm/db2/V9.1_01. # /opt/ibm/db2/V9.1_02/instance/db2iupdt db2lp1 DBI1070I Program db2iupdt completed successfully. --This command updates instance db2lp1 from install path /opt/ibm/db2/V9.1_01 to /opt/ibm/db2/V9.1_02. # /opt/ibm/db2/V9.1_01/instance/db2ilist db2lp2 # /opt/ibm/db2/V9.1_02/instance/db2ilist db2lp1 --db2ilist now shows instance db2lp1 is now switched to the DB2 copy at path /opt/ibm/db2/V9.1_02. |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |