從 mkreplica –export 失敗中回復

如果 mkreplica –export 失敗,資料庫可能留在鎖定狀態。 若要解決此問題,請將綱目儲存庫及使用者資料庫解除鎖定,或聯絡 IBM® Rational® 軟體產品支援中心。

若要將綱目儲存庫及使用者資料庫解除鎖定:

  1. 使用 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 ""
    其中 multisitetest_master_sitea 資料庫的 dbo-logindbo-password
  2. 使用 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 ""

    其中 multisitetest_user_siteadbo-logindbo-password

如果 mkreplica –export 的後續嘗試導致出現訊息,指出複本已存在,或另一個 multiutil 作業正在進行, 請聯絡 IBM Rational 軟體產品支援中心。

相關參考
mkreplica

意見