如果 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 軟體產品支援中心。