如果 mkreplica –export 失敗,資料庫可能留在鎖定狀態。若要解決此問題,請解除鎖定綱目儲存庫和使用者資料庫,或是聯絡 IBM® 軟體支援中心,以取得 Rational® 軟體產品。
關於這項作業
如果要將綱目儲存庫及使用者資料庫解除鎖定:
程序
- 使用 installutil unlockschemarepo 指令將綱目儲存庫解除鎖定。此指令具有下列語法:
installutil unlockschemarepo db-vendor server database dbo-login
dbo-password connection-options
連線選項:
- Oracle 資料庫
- HOST=host;SID=sid
- 其他全部
- ""
例如,要將伺服器
QE_TEST1 上的
SQL_SERVER 綱目儲存資料庫
test_master_sitea 解除鎖定:
installutil unlockschemarepo SQL_SERVER QE_TEST1 test_master_sitea
multisite multisite ""
其中
multisite 是
test_master_sitea 資料庫的
dbo-login 和
dbo-password。
- 使用 installutil unlockuserdb 指令將使用者資料庫解除鎖定。此指令具有下列語法: installutil unlockuserdb db-vendor server database dbo-login dbo-password connection-options
連線選項:
- Oracle 資料庫
- HOST=host;SID=sid
- 其他全部
- ""
例如,要將伺服器 QE_TEST1 上的 SQL_SERVER 使用者資料庫
test_user_sitea 解除鎖定:
installutil unlockuserdb SQL_SERVER QE_TEST1 test_user_sitea
multisite multisite ""
其中 multisite 是 test_user_sitea 的 dbo-login 和 dbo-password。
下一步
如果 mkreplica -export 的後續嘗試造成出現訊息,指出另一個 multiutil 作業正在進行,請聯絡 IBM 軟體支援中心以取得 Rational 軟體產品。