Service Registry 3.1 管理指南

重新安裝 Service Registry

如果您需要解除安裝再重新安裝 Service Registry,請在重新安裝之前執行以下作業:

如果您需要重新安裝 Service Registry 資料庫 (例如,如果資料庫已毀壞),請按照重新安裝 Service Registry 資料庫中的指示進行操作。在重新安裝資料庫之前,您不需要解除安裝資料庫。

Procedure停止並刪除 Registry 的 Application Server 網域

  1. 變更至 ServiceRegistry-base/install 目錄。

  2. 執行以下指令 (全部位於同一行):

    Ant-base/ant -f build-install.xml Dinstall.properties= props-file appserver.domain.delete

    其中 props-file 是您在在 [以後配置] 方式安裝之後以 Root 身份使用自訂特性配置 Service Registry在 [以後配置] 方式安裝之後以非 Root 使用者身份使用自訂特性配置 Service Registry中所編輯 install.properties 檔案副本的路徑名稱。

    此目標會停止網域,然後再將其刪除。

Procedure重新安裝 Service Registry 資料庫

此作業會刪除現有的資料庫內容、納入已註冊的使用者,並且重新建立預設的資料庫。

  1. 變更至 ServiceRegistry-base/install 目錄。

  2. 執行以下指令 (全部位於同一行):

    Ant-base/ant -f build-install.xml Dinstall.properties= props-file install.db

  3. 執行以下指令 (全部位於同一行):

    Ant-base/ant -f build-install.xml Dinstall.properties= props-file appserver.domain.stop export.registryOperatorCert install.cacerts appserver.domain.start