Oracle GoldenGate 마이크로서비스 구조 제거

Linux, UNIX 및 Windows 환경에서 호스트에서 Oracle GoldenGate Microservices Architecture 프로세스 및 파일을 제거하는 방법에 대해 알아봅니다.

Oracle GoldenGate 트레일에 더 이상 데이터가 필요하지 않으며 현재 Oracle GoldenGate 환경을 더 이상 보존할 필요가 없다고 가정합니다. 현재 환경 및 데이터를 보존하려면 이 절차를 시작하기 전에 Oracle GoldenGate 디렉토리 및 모든 하위 디렉토리를 백업하십시오.

Oracle GoldenGate Microservices Architecture를 설치 해제하기 전에 서비스 관리자 및 모든 배치를 정지해야 합니다.

배치 및 Service Manager 제거

OGGCA를 사용하여 배치를 제거하는 방법을 알아봅니다.

Oracle GoldenGate Configuration Assistant를 사용하여 배치 및 서비스 관리자 제거

OGGCA(Oracle GoldenGate Configuration Assistant)를 사용하여 배치를 제거하려면 다음 단계를 수행하십시오.

  1. 제거할 모든 배치의 관리 서버에 연결하고 실행 중인 Extracts 및 Replicats를 정지합니다.

  2. Linux 및 Windows 시스템에 대해 다음 단계를 수행합니다.

    • Linux 시스템의 경우 $OGG_HOME/bin 디렉토리에서 ./oggca.sh 명령을 실행하여 OGGCA(Oracle GoldenGate Configuration Assistant)를 실행합니다.

    • Windows 시스템에서 oggca.bat 파일을 마우스 오른쪽 단추로 누르고 관리자로 실행을 선택합니다. 이 파일은 OGG_HOME\bin 디렉토리에 있습니다.

  3. 기존 서비스 관리자 옵션을 선택하고 다음을 누릅니다.

  4. 기존 Oracle GoldenGate 제거 배치를 선택하고 다음을 누릅니다.

  5. OGGCA 마법사의 단계에 따라 배치를 제거합니다.

  6. 여러 배치 및 서비스 관리자를 제거하는 단계를 반복합니다.

Oracle GoldenGate Configuration Assistant 사용 - 자동

자동 모드에서 Configuration Assistant를 실행하려면 -silent -responseFile fullPathToResponseFile 플래그를 사용하여 실행합니다.

배치 제거를 위해 응답 파일에서 설정해야 하는 속성은 다음과 같습니다.

CONFIGURATION_OPTION,
DEPLOYMENT_NAME,
ADMINISTRATOR_USER,
ADMINISTRATOR_PASSWORD,
HOST_SERVICEMANAGER,
PORT_SERVICEMANAGER,
SECURITY_ENABLED,
REMOVE_DEPLOYMENT_FROM_DISK

수동으로 제거할 파일

운영체제 기존 Service Manager 등록을 해제하기 위해 수동으로 제거할 파일

Linux 6

참고:

Linux 6은 Oracle GoldenGate 21c(21.3.0)에 대해 인증되지 않았습니다. 이 정보는 업그레이드 또는 다운그레이드를 수행할 때 필요할 수 있습니다.
  • /etc/init.d/OracleGoldenGate
  • /etc/rc.d/*OracleGoldenGate
  • /etc/rc*.d/*OracleGoldenGate
  • /etc/oggInst.loc

Linux 7 및 Linux 8 /etc/systemd/system/OracleGoldenGate.service

Oracle Universal Installer로 마이크로서비스 구조 제거

주: Oracle GoldenGate 홈 디렉토리를 설치 해제하기 전에 모든 배치를 제거하는 것이 중요합니다.

Oracle Universal Installer를 사용하여 Oracle GoldenGate Microservices Architecture를 제거하려면 다음을 수행합니다.

  1. 다음 디렉토리로 이동합니다.

    /$OGG_HOME/deinstall/

  2. 다음과 같이 명령을 실행합니다.

    UNIX 및 Linux의 경우: ./deinstall.sh

    Windows의 경우: \deinstall.bat

수동으로 수행해야 할 수 있는 단계는 수동으로 제거할 파일을 참조하십시오.

자동 모드를 사용하여 마이크로서비스 구조 제거

주: Oracle GoldenGate 홈 디렉토리를 설치 해제하기 전에 모든 배치를 제거하는 것이 중요합니다. 수동으로 수행해야 할 수 있는 단계는 수동으로 제거할 파일을 참조하십시오.

Oracle Universal Installer 자동 모드로 Oracle GoldenGate Microservices Architecture를 제거하려면 다음을 수행합니다.

  1. 다음 디렉토리로 이동합니다.

    cd /$OGG_HOME/deinstall/

    설치 제거가 무음이므로 OGG_HOME 변수를 올바르게 설정했는지 확인하여 메시지가 표시되지 않도록 합니다.

  2. 다음과 같이 명령을 실행합니다.

    deinstall.sh -silent

    다음은 출력 결과입니다.

    ALERT: Ensure all the processes running from the current Oracle Home are shutdown prior to running this software uninstallation script.
    Proceed with removing Oracle GoldenGate home:
    /net/xyz02/scratch/scott/view_storage/scott_x21300x/local/ggtest/install_202214
                (yes/no)? [no] yes
    Starting Oracle Universal Installer...
    Checking swap space: must be greater than 500 MB.
    Actual 11648 MB
    Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2022-08-19_10-52-30AM.
              Please wait ...
    Oracle Universal Installer, Version 21.1.3.0 Production Copyright (C) 1999, 2022, Oracle. All rights reserved.Starting deinstall
    Deinstall in progress (Wednesday, August 19, 2022 10:52:33 AM PDT)............................................................... 100% Done.
    Deinstall successful