Service Registry를 제거하고 다시 설치해야 하는 경우 다시 설치하기 전에 다음 작업을 먼저 수행합니다.
레지스트리 데이터베이스에 보존할 데이터가 포함되어 있는 경우 Java DB 데이터베이스 관리에 설명된 대로 데이터베이스를 백업합니다.
레지스트리에 대한 Application Server 도메인을 중지한 다음 삭제합니다. 도메인을 삭제하지 않은 경우에는 다시 설치된 레지스트리의 사후 설치 구성이 실패합니다.
Service Registry 데이터베이스를 다시 설치해야 하는 경우(예: 데이터베이스가 손상된 경우) Service Registry 데이터베이스를 다시 설치하는 방법의 지침을 수행합니다. 이 데이터베이스는 다시 설치하기 전에 제거할 필요가 없습니다.
ServiceRegistry-base/install 디렉토리로 변경합니다.
다음 명령을 실행합니다(모두 한 줄로 표시).
Ant-base/ant -f build-install.xml Dinstall.properties= props-file appserver.domain.delete
여기서, props-file은 나중에 구성 설치 후 사용자 정의 등록 정보를 사용하여 루트로 Service Registry를 구성하는 방법 또는 나중에 구성 설치 후 사용자 정의 등록 정보를 사용하여 루트가 아닌 사용자로 Service Registry를 구성하는 방법에서 편집한 install.properties 파일 복사본의 경로 이름입니다.
이 대상은 도메인을 중지한 다음 삭제합니다.
이 작업을 수행하면 등록된 사용자를 포함한 기존 데이터베이스 내용을 삭제하고 기본 데이터베이스를 다시 만들 수 있습니다.
ServiceRegistry-base/install 디렉토리로 변경합니다.
다음 명령을 실행합니다(모두 한 줄로 표시).
Ant-base/ant -f build-install.xml Dinstall.properties= props-file install.db
다음 명령을 실행합니다(모두 한 줄로 표시).
Ant-base/ant -f build-install.xml Dinstall.properties= props-file appserver.domain.stop export.registryOperatorCert install.cacerts appserver.domain.start