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