Service Registry 3.1 Administration Guide

Reinstalling Service Registry

If you need to uninstall and reinstall Service Registry, perform the following tasks before you reinstall:

If you need to reinstall the Service Registry database (for example, if the database becomes corrupted), follow the instructions in To Reinstall the Service Registry Database. You do not need to uninstall the database before you reinstall it.

ProcedureTo Stop and Delete the Application Server Domain for the Registry

  1. Change to the ServiceRegistry-base/install directory.

  2. Run the following command (all on one line):

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

    where props-file is the path name of the copy of install.properties file that you edited in To Configure Service Registry as Root Using Custom Properties After a Configure Later Installation or To Configure Service Registry as a Non-Root User Using Custom Properties After a Configure Later Installation.

    This target stops the domain and then deletes it.

ProcedureTo Reinstall the Service Registry Database

This task deletes the existing database contents, including the registered users, and recreates the default database.

  1. Change to the ServiceRegistry-base/install directory.

  2. Run the following command (all on one line):

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

  3. Run the following command (all on one line):

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