Apigee Edge 4.17.09를 4.19.01로 업데이트

Private Cloud용 Edge v4.19.01

이 섹션에서는 다음 업그레이드를 수행하는 방법을 설명합니다.

  • 9월 4일~1월 4일

업데이트를 수행할 수 있는 사용자

업데이트를 실행하는 사용자는 Edge를 처음 설치한 사용자와 동일해야 합니다. 루트로 실행 중인 사용자

Edge RPM을 설치한 후에는 모든 사용자가 구성할 수 있습니다.

업데이트해야 하는 구성요소

모든 Edge 구성요소를 업데이트해야 합니다. Edge에서 구성요소가 포함된 설정을 지원하지 않습니다. 확인할 수 있습니다

호환성 유지

프라이빗 클라우드용 Apigee Edge를 4.19.01로 업그레이드할 때 결과 구현은 구성 파일에서 지원되는 속성만 참조합니다.

<ph type="x-smartling-placeholder">
속성 위치 설명
conf_load_balancing_load.balancing.
  driver.nginx.server.retry
router.properties router.properties 파일에서 이 속성을 삭제합니다. 다음에서 재시도 옵션을 설정하려면 4.19.01을 실행하는 경우 virtual하였습니다. 호스트 구성 속성을 참조하세요.

속성 자동 전파 설정

다음에서 .properties 파일을 수정하여 속성을 설정한 경우 /opt/apigee/customer/application이면 이 값이 업데이트에 의해 유지됩니다.

Postgres 9.6으로 업그레이드 필요

이 Edge 출시 버전에는 Postgres 9.6으로의 업그레이드가 포함되어 있습니다. 이번 업그레이드의 일환으로 Postgres 데이터가 Postgres 9.6으로 마이그레이션됩니다.

대부분의 Edge 프로덕션 시스템은 마스터-대기 복제를 위해 구성된 2개의 Postgres 노드를 사용합니다. 업데이트 프로세스 중에 Postgres 노드가 업데이트를 위해 다운된 동안에도 분석 데이터는 계속 Qpid 노드에 기록됩니다 Postgres 노드가 업데이트되어 다시 온라인 상태가 되면 분석 데이터는 Postgres 노드로 푸시됩니다

Postgres 업데이트를 수행하는 방법은 Postgres 노드:

  • Postgres 노드에 로컬 데이터 스토리지를 사용하는 경우 다음 안내를 따르세요. 업그레이드 기간 동안 새 Postgres 대기 노드를 설치합니다. 그런 다음 업그레이드가 완료되면 새 Postgres 대기 노드를 사용 중지할 수 있습니다.

    업데이트를 롤백해야 하는 경우 추가 Postgres 대기 노드가 필요합니다. 할 수 있습니다. 업데이트를 롤백해야 하는 경우 새 Postgres 대기 노드가 롤백 후 마스터 Postgres 노드가 됩니다. 따라서 새 Postgres 대기 노드가 모든 하드웨어를 충족하는 Postgres 서버 요구사항 설치 요구사항.

    Edge의 1노드 및 2노드 구성에서는 프로토타입 제작 및 테스트에 사용되는 토폴로지에서 하나의 Postgres 노드만 있습니다 Postgres 노드를 직접 업데이트할 필요 없이 새 Postgres 노드를 만듭니다

  • Postgres 노드에 네트워크 스토리지를 사용하는 경우: 새 Postgres 노드를 설치할 필요가 없습니다. 아래 절차에 따라 설치로 지정하는 단계를 건너뛰고 나중에 새 Postgres 대기 노드

    업데이트 프로세스를 시작하기 전에 Postgres입니다. 그런 다음 업데이트 중 오류가 발생하여 강제로 롤백을 수행해야 하는 경우 이 스냅샷에서 Postgres 노드를 복원할 수 있습니다.

새 Postgres 설치 대기 노드

이 절차는 새 노드에 Postgres 대기 서버를 만듭니다. 새 버전을 설치하고 기존 Edge 버전 (4.17.09)용 Postgres 대기 서버 버전 4.19.01용이 아닙니다

설치를 수행하려면 현재 버전을 설치할 때 사용한 것과 동일한 구성 파일을 사용하세요. 제공합니다

새 Postgres 대기 노드를 만들려면 다음을 실행합니다.

  1. 현재 Postgres 마스터에서 /opt/apigee/customer/application/postgresql.properties를 수정합니다. 파일을 사용하여 다음 토큰을 설정합니다. 해당 파일이 없으면 다음과 같이 만듭니다.
    conf_pg_hba_replication.connection=host replication apigee existing_standby_ip/32 trust\ \nhost replication apigee new_standby_ip/32 trust

    여기서 existing_standby_ip는 현재 Postgres의 IP 주소입니다. 대기 서버이고 new_standby_ip는 새 대기 노드의 IP 주소입니다.

  2. Postgres 마스터에서 apigee-postgresql를 다시 시작합니다.
    /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql restart
  3. 마스터의 /opt/apigee/apigee-postgresql/conf/pg_hba.conf 파일 다음과 같이 표시됩니다. 다음 줄을 추가합니다.
    host replication apigee existing_standby_ip/32 trust
    host replication apigee new_standby_ip/32 trust
  4. 새 Postgres 대기 서버를 설치합니다. <ph type="x-smartling-placeholder">
      </ph>
    1. 현재 버전의 Edge를 설치하는 데 사용한 구성 파일을 수정하여 지정합니다. 다음과 같습니다.
      # IP address of the current master:
      PG_MASTER=192.168.56.103
      # IP address of the new standby node
      PG_STANDBY=192.168.56.102
    2. 다음에 설명된 대로 SELinux 사용 중지 Edge Apigee-setup 유틸리티를 설치합니다.
    3. Edge bootstrap_4.17.09.sh 파일을 다운로드하여 /tmp/bootstrap_4.17.09.sh :
      curl https://software.apigee.com/bootstrap_4.17.09.sh -o /tmp/bootstrap_4.17.09.sh
    4. Edge apigee-service 유틸리티 및 종속 항목을 설치합니다.
      sudo bash /tmp/bootstrap_4.17.09.sh apigeeuser=uName apigeepassword=pWord
    5. apigee-service를 사용하여 apigee-setup 유틸리티를 설치합니다. <ph type="x-smartling-placeholder">
      /opt/apigee/apigee-service/bin/apigee-service apigee-setup install
      </ph>
    6. Postgres를 설치합니다.
      /opt/apigee/apigee-setup/bin/setup.sh -p ps -f configFile
    7. 새 대기 노드에서 다음 명령어를 실행합니다.
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql postgres-check-standby

      대기 상태라고 되어 있는지 확인합니다.

Postgres 노드 사용 중단

업데이트가 완료되면 새 대기 노드를 사용 중지합니다.

  1. Postgres가 실행 중인지 확인합니다.
    /opt/apigee/apigee-service/bin/apigee-all status

    Postgres가 실행되고 있지 않으면 다음과 같이 시작합니다.

    /opt/apigee/apigee-service/bin/apigee-all start

  2. 새 대기 노드에서 다음 curl 명령어를 실행하여 새 대기 노드의 UUID를 가져옵니다. 대기 노드:
    curl -u sysAdminEmail:password http://node_IP:8084/v1/servers/self

    출력 끝에 노드의 UUID가 다음과 같은 형식으로 표시됩니다.

    "type" : [ "postgres-server" ],
    "uUID" : "599e8ebf-5d69-4ae4-aa71-154970a8ec75"

  3. 새 대기 노드에서 다음 명령어를 실행하여 새 대기 노드를 중지합니다.
    /opt/apigee/apigee-service/bin/apigee-all stop
  4. Postgres 마스터 노드에서 /opt/apigee/customer/application/postgresql.properties을 수정합니다. conf_pg_hba_replication.connection에서 새 대기 노드를 삭제합니다. <ph type="x-smartling-placeholder">
    conf_pg_hba_replication.connection=host replication apigee existing_standby_ip/32 trust
    </ph>
  5. Postgres 마스터에서 apigee-postgresql을 다시 시작합니다.
    /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql restart
  6. 마스터의 /opt/apigee/apigee-postgresql/conf/pg_hba.conf 파일 다음과 같이 표시됩니다. 다음 행만 추가하면 됩니다.
    host replication apigee existing_standby_ip/32 trust
  7. 다음 에지 관리를 수행하여 주키퍼에서 대기 노드의 UUID를 삭제합니다. 관리 서버 노드에서의 API 호출:
    curl -u sysAdminEmail:password -X DELETE http://ms_IP:8080/v1/servers/new_standby_uuid

기본 요건 업데이트

Apigee Edge를 업그레이드하기 전에 다음 기본 요건을 확인하세요.

  • 모든 노드 백업
    업데이트하기 전에 안전을 위해 모든 노드를 완전히 백업하는 것이 좋습니다. 있습니다. 현재 사용 중인 Edge 버전의 절차에 따라 백업을 수행하세요.

    이렇게 하면 새 버전으로 업데이트되지 않을 경우에 대비하여 백업 계획을 세울 수 있습니다. 제대로 작동합니다. 백업에 대한 자세한 내용은 백업을 참고하세요. 및 복원을 클릭합니다.

  • Edge가 실행 중인지 확인
    다음 명령어를 사용하여 업데이트 프로세스 중에 Edge가 실행 중인지 확인합니다.
    /opt/apigee/apigee-service/bin/apigee-all status

실패한 업데이트 처리

업데이트에 실패하면 문제 해결을 시도한 후 update.sh를 실행하면 됩니다. 다시 시도합니다. 업데이트를 여러 번 실행하면 마지막으로 중단된 부분부터 업데이트가 계속됩니다. 사용 중지됩니다.

실패 시 이전 버전으로 업데이트를 롤백해야 하는 경우 다음을 참조하세요. 4.19.01을 롤백하세요.

업데이트 정보 로깅

기본적으로 update.sh 유틸리티는 로그 정보를 다음 위치에 씁니다.

/opt/apigee/var/log/apigee-setup/update.log

update.sh 유틸리티를 실행하는 사용자가 이 디렉터리에서는 로그를 /tmp 디렉터리에 update_username.log입니다.

사용자가 /tmp에 액세스할 수 없는 경우 update.sh 유틸리티 있습니다

다운타임 없는 업데이트

제로 다운타임 업데이트 또는 순차적 업데이트를 사용하면 표시됩니다.

다운타임 없는 업데이트는 노드가 5개 이상인 구성에서만 가능합니다.

다운타임 없이 업그레이드하려면 한 번에 하나씩 각 라우터를 로드에서 제거해야 합니다. 배급합니다 그런 다음 라우터와 동일한 컴퓨터에서 라우터 및 기타 구성 요소를 업데이트하고, 라우터를 부하 분산기에 다시 추가합니다.

  1. 다음에 설명된 대로 구성에 맞는 올바른 순서로 머신을 업데이트합니다. 머신 업데이트 순서.
  2. 라우터를 업데이트할 때가 되면 라우터 하나를 선택하고 서버 사용 설정/사용 중지 (메시지 프로세서/라우터) 연결 가능성을 참조하세요.
  3. 선택한 라우터와 다른 모든 Edge 구성요소를 라우터와 동일한 머신에서 업데이트합니다. 모든 Edge 구성은 동일한 노드에 라우터와 메시지 프로세서를 표시합니다.
  4. 라우터에 다시 연결할 수 있도록 합니다.
  5. 나머지 라우터에 2~4단계를 반복합니다.
  6. 구성에서 나머지 머신의 업데이트를 계속합니다.

업데이트 전후에 다음 사항에 유의하세요.

  • 라우터 및 메시지 프로세서 결합 노드: <ph type="x-smartling-placeholder">
      </ph>
    • 업데이트 전 – 다음을 수행합니다. <ph type="x-smartling-placeholder">
        </ph>
      1. 라우터에 연결할 수 없도록 합니다.
      2. 메시지 프로세서에 연결할 수 없도록 합니다.
    • 업데이트 후 다음을 수행합니다. <ph type="x-smartling-placeholder">
        </ph>
      1. 메시지 프로세서에 연결할 수 있도록 합니다.
      2. 라우터에 연결할 수 있도록 합니다.
  • 단일 라우터 노드: <ph type="x-smartling-placeholder">
      </ph>
    • 업데이트하기 전에 라우터에 연결할 수 없도록 하세요.
    • 업데이트 후 라우터에 연결할 수 있도록 설정합니다.
  • 단일 메시지 프로세서 노드: <ph type="x-smartling-placeholder">
      </ph>
    • 업데이트하기 전에 메시지 프로세서에 연결할 수 없도록 하세요.
    • 업데이트 후 메시지 프로세서에 연결할 수 있도록 합니다.

자동 구성 파일 사용

update 명령어에 자동 구성 파일을 전달해야 합니다. 자동 구성 파일은 Edge 4.17.09를 설치하는 데 사용한 것과 같아야 합니다.

업데이트 대상 외부 인터넷이 연결된 노드에서 4.19.01

다음 절차에 따라 노드에서 Edge 구성요소를 업데이트합니다.

  1. 현재 로컬 스토리지와 함께 Postgres 마스터-대기 복제를 사용 중인 경우 새 Postgres 설치에 설명된 대로 새 Postgres 대기 노드를 설치합니다. 대기 노드가 있습니다.

    네트워크 스토리지를 사용 중인 경우에는 새 노드를 설치할 필요가 없습니다. 대신 Postgres에서 사용하는 데이터 스토어의 네트워크 스냅샷입니다. 자세한 내용은 Postgres 9.6으로의 필수 업그레이드를 참고하세요.

  2. Cassandra에서 복구 작업을 수행하도록 구성된 크론 작업이 있으면 사용 중지합니다. 업데이트 완료 후로 유지됩니다.
  3. 루트로 노드에 로그인하여 Edge RPM을 설치합니다.
  4. yum-utilsyum-plugin-priorities를 설치합니다. <ph type="x-smartling-placeholder">
    sudo yum install yum-utils
    sudo yum install yum-plugin-priorities
    </ph>
  5. 설치에 설명된 대로 SELinux를 사용 중지합니다. Edge Apigee 설정 유틸리티를 참조하세요.
  6. Oracle 7.x에 설치하는 경우 다음 명령어를 실행합니다. <ph type="x-smartling-placeholder">
    sudo yum-config-manager --enable ol7_optional_latest
    </ph>
  7. AWS에 설치하는 경우 다음을 실행합니다. yum-configure-manager 명령어:
    yum update rh-amazon-rhui-client.noarch
    sudo yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
  8. Edge 4.19.01 bootstrap_4.19.01.sh 파일을 다음 위치에 다운로드합니다. /tmp/bootstrap_4.19.01.sh: <ph type="x-smartling-placeholder">
    curl https://software.apigee.com/bootstrap_4.19.01.sh -o /tmp/bootstrap_4.19.01.sh
    </ph>
  9. Edge 4.19.01 apigee-service 유틸리티 및 종속 항목을 설치합니다.
    sudo bash /tmp/bootstrap_4.19.01.sh apigeeuser=uName apigeepassword=pWord

    여기서 uName:pWord는 Apigee에서 받은 사용자 이름과 비밀번호입니다. 만약 pWord를 생략하면 입력하라는 메시지가 표시됩니다.

    기본적으로 설치 프로그램은 Java 1.8이 설치되어 있는지 확인합니다. 그렇게 하지 않으면 자동으로 설치됩니다 JAVA_FIX 옵션을 사용하여 Java 처리 방법 지정 설치해야 합니다 JAVA_FIX는 다음 값을 사용합니다.

    • I = OpenJDK 1.8 설치 (기본값)
    • C = Java를 설치하지 않고 계속하기
    • Q = 종료. 이 옵션을 사용하려면 Java를 직접 설치해야 합니다.
  10. apigee-service를 사용하여 apigee-setup 유틸리티를 업데이트합니다. <ph type="x-smartling-placeholder">
    /opt/apigee/apigee-service/bin/apigee-service apigee-setup update
    </ph>
  11. 관리 서버에서 apigee-validate 유틸리티를 업데이트합니다.
    /opt/apigee/apigee-service/bin/apigee-service apigee-validate update
  12. apigee-provision 유틸리티를 업데이트합니다.
    /opt/apigee/apigee-service/bin/apigee-service apigee-provision update
  13. 다음에 설명된 순서대로 노드에서 업데이트 유틸리티를 실행합니다. 머신 업데이트 순서: <ph type="x-smartling-placeholder">
    /opt/apigee/apigee-setup/bin/update.sh -c component -f configFile
    </ph>

    구성 파일에 대한 유일한 요구사항은 구성 파일에 액세스할 수 있어야 한다는 것입니다. 'Apigee'에서 읽을 수 있음 있습니다.

    -c 옵션을 사용하여 업데이트할 구성요소를 지정합니다. 가능한 구성요소에는 다음이 포함됩니다.

    • 'cs' = 카산드라
    • '에지' =Edge UI를 제외한 모든 Edge 구성요소입니다. '에지' 구성요소에 관리 서버, 메시지 프로세서, 라우터, QPID 서버, Edge Postgres 서버입니다.
    • 'ldap' = OpenLDAP
    • 'ps' = postgresql
    • 'qpid' = qpidd
    • 'sso' = 에지 SSO
    • 'ui' = Edge UI
    • 'zk' = 사육사

    component를 설정하여 모든 구성요소에 update.sh를 실행할 수 있습니다. Edge 올인원 (AIO) 구성 프로필이 있는 경우에만 가능합니다. 예를 들면 다음과 같습니다.

    /opt/apigee/apigee-setup/bin/update.sh -c all -f ./sa_silent_config
  14. Edge UI 구성요소를 실행하는 모든 머신에서 Edge UI 구성요소를 다시 시작합니다(아직 수행하지 않은 경우).
    /opt/apigee/apigee-service/bin/apigee-service edge-ui restart
  15. 관리에서 apigee-validate 유틸리티를 실행하여 업데이트를 테스트합니다. 설치 테스트에 설명된 대로 서버입니다.
  16. 새 Postgres 대기 노드를 설치한 경우 설명된 대로 노드를 사용 중단하세요. 서비스 종료 시 Postgres 노드입니다.

    네트워크 스토리지를 사용 중인 경우에는 새 노드를 설치할 필요가 없습니다. 자세한 내용은 더 많은 버전을 사용하려면 Postgres 9.6으로 업그레이드해야 합니다.

나중에 업데이트를 롤백하려면 다음에 설명된 절차를 따르세요. 4.19.01을 롤백합니다.

로컬 저장소에서 4.19.01로 업데이트

에지 노드가 방화벽 뒤에 있거나 어떤 식으로든 액세스가 금지된 경우 로컬 저장소에서 업데이트를 수행할 수 있습니다. 미러링 또는 미러를 만들 수 있습니다

로컬 Edge 저장소를 만든 후 로컬 저장소:

  • 저장소의 .tar 파일을 만들고 .tar 파일을 노드에 복사한 다음 .tar 파일
  • 다른 노드에서 액세스할 수 있도록 로컬 저장소가 있는 노드에 웹 서버를 설치합니다. Apigee에서 사용할 수 있는 Nginx 웹 서버를 제공합니다. 또는 자체 웹 서버를 사용할 수도 있습니다. 있습니다

로컬 4.19.01 저장소에서 업데이트하려면 다음을 실행합니다.

  1. 현재 Postgres 마스터-대기 복제를 사용 중인 경우 새 Postgres를 설치합니다. 새 Postgres 설치에 설명된 대로 대기 노드 대기 노드가 있습니다.

    네트워크 스토리지를 사용 중인 경우에는 새 노드를 설치할 필요가 없습니다. 대신 Postgres에서 사용하는 데이터 스토어의 네트워크 스냅샷입니다. 자세한 내용은 Postgres 9.6으로의 필수 업그레이드를 참고하세요.

  2. '로컬 Apigee 저장소 만들기'에 설명된 대로 로컬 4.19.01 저장소를 만듭니다. 위치: Edge Apigee-setup 유틸리티를 설치합니다.
  3. .tar 파일에서 apigee-service를 설치하려면 다음 안내를 따르세요. <ph type="x-smartling-placeholder">
      </ph>
    1. 로컬 저장소가 있는 노드에서 다음 명령어를 사용하여 로컬 저장소를 패키징합니다. /opt/apigee/data/apigee-mirror/apigee-4.19.01.tar.gz라는 단일 .tar 파일로 변환합니다.
      /opt/apigee/apigee-service/bin/apigee-service apigee-mirror package
    2. Edge를 업데이트할 노드에 .tar 파일을 복사합니다. 예를 들어 새 노드의 /tmp 디렉터리
    3. 새 노드에서 /tmp 디렉터리로 파일의 압축을 풉니다.
      tar -xzf apigee-4.19.01tar.gz

      이 명령어는 .tar 파일이 포함된 디렉터리에 repos라는 이름의 새 디렉터리를 만듭니다. 파일에서 참조됩니다. 예를 들면 /tmp/repos입니다.

    4. /tmp/repos에서 Edge apigee-service 유틸리티와 종속 항목을 설치합니다.
      sudo bash /tmp/repos/bootstrap_4.19.01.sh apigeeprotocol="file://" apigeerepobasepath=/tmp/repos

      이 명령어에는 repos 디렉터리 경로를 포함합니다.

  4. Nginx 웹 서버를 사용하여 apigee-service를 설치하려면 다음 안내를 따르세요. <ph type="x-smartling-placeholder">
      </ph>
    1. 'Nginx를 사용하여 저장소에서 설치'에 설명된 대로 Nginx 웹 서버를 구성합니다. webserver&quot; Install the Edge apigee-setup 유틸리티.
    2. 원격 노드에서 Edge bootstrap_4.19.01.sh 파일을 다음 위치에 다운로드합니다. /tmp/bootstrap_4.19.01.sh: <ph type="x-smartling-placeholder">
      /usr/bin/curl http://uName:pWord@remoteRepo:3939/bootstrap_4.19.01.sh -o /tmp/bootstrap_4.19.01.sh
      </ph>

      여기서 uName:pWord는 이전에 설정한 사용자 이름과 비밀번호입니다. remoteRepo은 저장소 노드의 IP 주소 또는 DNS 이름입니다.

    3. 원격 노드에 Edge apigee-service 유틸리티를 설치합니다. 종속 항목:
      sudo bash /tmp/bootstrap_4.19.01.sh apigeerepohost=remoteRepo:3939 apigeeuser=uName apigeepassword=pWord apigeeprotocol=http://

      여기서 uName:pWord는 저장소 사용자 이름과 비밀번호입니다.

  5. apigee-service를 사용하여 apigee-setup 유틸리티를 업데이트합니다. <ph type="x-smartling-placeholder">
    /opt/apigee/apigee-service/bin/apigee-service apigee-setup update 
    </ph>
  6. 관리 서버에서 apigee-validate 유틸리티를 업데이트합니다.
    /opt/apigee/apigee-service/bin/apigee-service apigee-validate update
  7. apigee-provision 유틸리티를 업데이트합니다.
    /opt/apigee/apigee-service/bin/apigee-service apigee-provision update
  8. 다음에 설명된 순서대로 노드에서 update 유틸리티를 실행합니다. 머신 업데이트 순서:
    /opt/apigee/apigee-setup/bin/update.sh -c component -f configFile

    구성 파일에 대한 유일한 요구사항은 구성 파일에 액세스할 수 있거나 'Apigee'에서 읽을 수 있습니다. 있습니다.

    -c 옵션을 사용하여 업데이트할 구성요소를 지정합니다. 가능한 구성요소에는 다음이 포함됩니다.

    • 'cs' = 카산드라
    • '에지' =Edge UI를 제외한 모든 Edge 구성요소입니다. '에지' 구성요소에 관리 서버, 메시지 프로세서, 라우터, QPID 서버, Edge Postgres 서버입니다.
    • 'ldap' = OpenLDAP
    • 'ps' = postgresql
    • 'qpid' = qpidd
    • 'sso' = 에지 SSO
    • 'ui' = Edge UI
    • 'zk' = 사육사

    component를 설정하여 모든 구성요소에 update.sh를 실행할 수 있습니다. Edge 올인원 (AIO) 구성 프로필이 있는 경우에만 가능합니다. 예를 들면 다음과 같습니다.

    /opt/apigee/apigee-setup/bin/update.sh -c all -f ./sa_silent_config
  9. Edge UI 구성요소를 실행하는 모든 머신에서 Edge UI 구성요소를 다시 시작합니다(아직 수행하지 않은 경우).
    /opt/apigee/apigee-service/bin/apigee-service edge-ui restart
  10. 관리에서 apigee-validate 유틸리티를 실행하여 업데이트를 테스트합니다. 설치 테스트에 설명된 대로 서버입니다.
  11. 새 Postgres 대기 노드를 설치한 경우 설명된 대로 노드를 사용 중단하세요. Decommissioning Postgres 노드에 추가합니다.

    네트워크 스토리지를 사용 중인 경우에는 새 노드를 설치할 필요가 없습니다. 자세한 내용은 Postgres 9.6으로의 필수 업그레이드를 참고하세요.

나중에 업데이트를 롤백하려면 4.19.01 롤백에 설명된 절차를 따르세요.

머신 업데이트 순서

Edge 구성에서 머신을 업데이트하는 순서가 중요합니다. 가장 업데이트에 중요한 고려사항은 다음과 같습니다.

  • 업데이트하려면 먼저 모든 Cassandra 및 주키퍼 노드를 업데이트해야 합니다. 실행할 수 있습니다
  • 여러 에지 구성요소 (관리 서버, 메시지 프로세서, 서버, QPID 서버(Postgres 서버는 아님)에 연결) '-c 에지'를 사용합니다. 모두 업데이트할 수 있는 옵션을 할 수 있습니다.
  • 단계가 여러 머신에서 수행되어야 한다고 지정하는 경우 지정할 수도 있습니다
  • 수익 창출을 업데이트하기 위한 별도의 단계는 없습니다. '-c' Edge 옵션을 선택합니다.
를 통해 개인정보처리방침을 정의할 수 있습니다.

1노드 독립형 업그레이드

  1. Cassandra 및 ZaKeeper를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
  2. Qpid 업데이트:
    /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
  3. LDAP 업데이트:
    /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
  4. Postgres 서버, Qpid 서버, PostgreSQL을 중지합니다.
    /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
    /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server stop
    /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql stop
  5. postgresql을 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
  6. 나머지 Edge 구성요소를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  7. Edge UI를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
  8. (apigee-adminapi를 설치한 경우) apigee-adminapi 유틸리티를 업데이트했습니다.
    /opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
  9. (Edge SSO를 설치한 경우) Edge SSO를 업데이트합니다. <ph type="x-smartling-placeholder">
    /opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
    </ph>

    여기서 sso_config_file설치된 SSO

  10. Edge UI 구성요소를 다시 시작합니다.
    /opt/apigee/apigee-service/bin/apigee-service edge-ui restart

2노드 독립형 업그레이드

Edge 목록은 설치 토폴로지를 참조하세요. 토폴로지와 노드 번호가 포함됩니다

  1. 머신 1에서 Cassandra 및 ZaKeeper를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
  2. 머신 2에서 Qpid 업데이트:
    /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
  3. 컴퓨터에서 1번의 LDAP를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
  4. 머신 1에서 Edge 구성요소를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  5. 다음과 같이 머신 1의 UI를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
  6. (apigee-adminapi를 설치한 경우) 머신 1의 apigee-adminapi 유틸리티가 업데이트되었습니다.
    /opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
  7. (Edge SSO를 설치한 경우) 머신 1에서 Edge SSO를 업데이트합니다. <ph type="x-smartling-placeholder">
    /opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
    </ph>

    여기서 sso_config_file설치된 SSO

  8. 머신 2에서 postgresql을 업데이트합니다. <ph type="x-smartling-placeholder">
      </ph>
    1. Postgres 서버, Qpid 서버, postgresql을 중지합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
      /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server stop
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql stop
    2. postgresql을 업데이트합니다.
      /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
    3. 머신 2에서 Edge 구성요소를 업데이트합니다.
      /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  9. 머신 1에서 Edge UI 구성요소를 다시 시작합니다.
    /opt/apigee/apigee-service/bin/apigee-service edge-ui restart

5노드 업그레이드

Edge 목록은 설치 토폴로지를 참조하세요. 토폴로지와 노드 번호가 포함됩니다

  1. 다음에 설명된 대로 새 Postgres 대기 노드를 설치했는지 확인하세요. 설치하기 새로운 Postgres 대기 노드를 생성합니다.

    네트워크 스토리지를 사용 중인 경우에는 새 노드를 설치할 필요가 없습니다. 대신 Postgres에서 사용하는 데이터 스토어의 네트워크 스냅샷입니다. 자세한 내용은 Postgres 9.6으로의 필수 업그레이드를 참고하세요.

  2. 머신 1, 2, 3에서 Cassandra 및 ZaKeeper를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
  3. 머신 4와 5에서 Qpid를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
  4. 컴퓨터에서 1번의 LDAP를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
  5. 머신 1, 2, 3에서 Edge 구성요소를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  6. 다음과 같이 머신 1의 UI를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
  7. (apigee-adminapi를 설치한 경우) 머신 1의 apigee-adminapi 유틸리티가 업데이트되었습니다.
    /opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
  8. (Edge SSO를 설치한 경우) 머신 1에서 Edge SSO를 업데이트합니다. <ph type="x-smartling-placeholder">
    /opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
    </ph>

    여기서 sso_config_file설치된 SSO

  9. 머신 4 및 5를 업데이트합니다. <ph type="x-smartling-placeholder">
      </ph>
    1. 머신 4에서 Postgres 서버 및 Qpid 서버를 중지합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
      /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server stop
    2. 머신 5에서 Postgres 서버, Qpid 서버, postgresql을 중지합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
      /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server stop
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql stop
    3. 설치된 경우 새 대기에서 Postgres 서버 및 postgresql을 중지합니다. 다음 명령어로 롤백을 추가합니다. <ph type="x-smartling-placeholder">
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql stop
      </ph>
    4. 머신 4에서 postgresql을 업데이트합니다.
      /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
    5. 머신 5에서 postgresql을 업데이트합니다.
      /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
    6. 머신 4 및 5에서 Postgres 서버와 Qpid 서버를 시작합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server start
      /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server start
    7. 머신 5에서 다음 명령어를 실행하여 Postgres를 대기 노드로 구성합니다.
      cd /opt/apigee/data/apigee-postgresql/pgdata
      rm -rf *
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql setup-replication-on-standby -f configFile
    8. 두 서버에서 다음 스크립트를 실행하여 복제 상태를 확인합니다. 이 복제가 성공적으로 수행되려면 시스템에서 두 서버에 동일한 결과가 표시되어야 합니다. <ph type="x-smartling-placeholder">
        </ph>
      • 머신 4인 마스터 노드에서 다음을 실행합니다.
        /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql postgres-check-master

        마스터라고 표시되는지 확인합니다.

      • 머신 5에서 대기 노드는 다음을 수행합니다.
        /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql postgres-check-standby

        대기 상태라고 되어 있는지 확인합니다.

  10. 머신 4, 5의 Edge 구성요소를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  11. 설명된 대로 새 대기 노드를 사용 중단해야 합니다. Decommissioning Postgres 노드에 추가합니다.

    네트워크 스토리지를 사용 중인 경우에는 새 노드를 설치할 필요가 없습니다. 자세한 내용은 Postgres 9.6으로의 필수 업그레이드를 참고하세요.

  12. 머신 1에서 Edge UI 구성요소를 다시 시작합니다.
    /opt/apigee/apigee-service/bin/apigee-service edge-ui restart

9노드 클러스터형 업그레이드

Edge 목록은 설치 토폴로지를 참조하세요. 토폴로지와 노드 번호가 포함됩니다

  1. 설명된 대로 새 Postgres 대기 노드를 설치했는지 확인합니다. 설치 중 새로운 Postgres 대기 노드를 생성합니다.

    네트워크 스토리지를 사용 중인 경우에는 새 노드를 설치할 필요가 없습니다. 대신 Postgres에서 사용하는 데이터 스토어의 네트워크 스냅샷입니다. 자세한 내용은 Postgres 9.6으로의 필수 업그레이드를 참고하세요.

  2. 머신 1, 2, 3에서 Cassandra 및 ZaKeeper를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
  3. 머신 6 및 7에서 Qpid를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
  4. 컴퓨터에서 1번의 LDAP를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
  5. 머신 6, 7, 1, 4, 5의 Edge 구성요소를 이 순서로 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  6. 다음과 같이 머신 1의 UI를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
  7. (apigee-adminapi를 설치한 경우) 머신 1의 apigee-adminapi 유틸리티가 업데이트되었습니다.
    /opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
  8. (Edge SSO를 설치한 경우) 머신 1에서 Edge SSO를 업데이트합니다. <ph type="x-smartling-placeholder">
    /opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
    </ph>

    여기서 sso_config_file설치된 SSO

  9. 머신 8 및 9를 업데이트합니다. <ph type="x-smartling-placeholder">
      </ph>
    1. 머신 8에서 Postgres 서버를 중지합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
    2. 머신 9에서 Postgres 서버와 postgresql을 중지합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql stop
    3. 머신 6 및 7에서 Qpid 서버를 중지합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server stop
    4. 설치된 경우 새 대기에서 Postgres 서버 및 postgresql을 중지합니다. 다음 명령어로 롤백을 추가합니다. <ph type="x-smartling-placeholder">
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql stop
      </ph>
    5. 머신 8에서 postgresql을 업데이트합니다.
      /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
    6. 머신 9에서 postgresql을 업데이트합니다.
      /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
    7. 머신 8 및 9에서 Postgres 서버를 시작합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server start
    8. 머신 6 및 7에서 Qpid 서버를 시작합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server start
    9. 머신 9에서 다음 명령어를 실행하여 Postgres를 대기 노드로 구성합니다.
      cd /opt/apigee/data/apigee-postgresql/pgdata
      rm -rf *
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql setup-replication-on-standby -f configFile
    10. 두 서버에서 다음 스크립트를 실행하여 복제 상태를 확인합니다. 이 복제가 성공적으로 수행되려면 시스템에서 두 서버에 동일한 결과가 표시되어야 합니다. <ph type="x-smartling-placeholder">
        </ph>
      • 머신 8인 마스터 노드에서 다음을 실행합니다.
        /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql postgres-check-master

        마스터라고 표시되는지 확인합니다.

      • 머신 9에서 대기 노드는 다음을 수행합니다.
        /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql postgres-check-standby

        대기 상태라고 되어 있는지 확인합니다.

  10. 머신 8과 9에서 Edge 구성요소를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  11. 설명된 대로 새 대기 노드를 사용 중단해야 합니다. - 사용 중단 Postgres 노드입니다.

    네트워크 스토리지를 사용 중인 경우에는 새 노드를 설치할 필요가 없습니다. 자세한 내용은 Postgres 9.6으로의 필수 업그레이드를 참고하세요.

  12. 머신 1에서 Edge UI 구성요소를 다시 시작합니다.
    /opt/apigee/apigee-service/bin/apigee-service edge-ui restart

13노드 클러스터형 업그레이드

Edge 목록은 설치 토폴로지를 참조하세요. 토폴로지와 노드 번호가 포함됩니다

  1. 설명된 대로 새 Postgres 대기 노드를 설치했는지 확인합니다. 설치 중 새로운 Postgres 대기 노드를 생성합니다.

    네트워크 스토리지를 사용 중인 경우에는 새 노드를 설치할 필요가 없습니다. 대신 Postgres에서 사용하는 데이터 스토어의 네트워크 스냅샷입니다. 자세한 내용은 Postgres 9.6으로의 필수 업그레이드를 참고하세요.

  2. 머신 1, 2, 3에서 Cassandra 및 ZaKeeper를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
  3. 머신 12 및 13에서 Qpid를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
  4. 머신 4 및 5에서 LDAP를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
  5. 머신 12, 13, 6, 7, 10, 11에서 Edge 구성요소를 이 순서대로 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  6. 머신 6 및 7에서 UI를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
  7. (apigee-adminapi를 설치한 경우) 머신 6과 7에서 apigee-adminapi 유틸리티를 업데이트했습니다.
    /opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
  8. (Edge SSO를 설치한 경우) 머신 6과 7에서 Edge SSO를 업데이트합니다. <ph type="x-smartling-placeholder">
    /opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
    </ph>

    여기서 sso_config_file설치된 SSO

  9. 머신 8 및 9를 업데이트합니다. <ph type="x-smartling-placeholder">
      </ph>
    1. 머신 8에서 Postgres 서버를 중지합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
    2. 머신 9에서 Postgres 서버와 postgresql을 중지합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql stop
    3. 머신 12 및 13에서 Qpid 서버를 중지합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server stop
    4. 설치된 경우 새 대기에서 Postgres 서버 및 postgresql을 중지합니다. 다음 명령어로 롤백을 추가합니다. <ph type="x-smartling-placeholder">
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql stop
      </ph>
    5. 머신 8에서 postgresql을 업데이트합니다.
      /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
    6. 머신 9에서 postgresql을 업데이트합니다.
      /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
    7. 머신 8 및 9에서 Postgres 서버를 시작합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server start
    8. 머신 12 및 13에서 Qpid 서버 서버를 시작합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server start
    9. 머신 9에서 다음 명령어를 실행하여 Postgres를 대기 노드로 구성합니다.
      cd /opt/apigee/data/apigee-postgresql/pgdata
      rm -rf *
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql setup-replication-on-standby -f configFile
    10. 두 서버에서 다음 스크립트를 실행하여 복제 상태를 확인합니다. 이 복제가 성공적으로 수행되려면 시스템에서 두 서버에 동일한 결과가 표시되어야 합니다. <ph type="x-smartling-placeholder">
        </ph>
      • 머신 8인 마스터 노드에서 다음을 실행합니다.
        /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql postgres-check-master

        마스터라고 표시되는지 확인합니다.

      • 머신 9에서 대기 노드는 다음을 수행합니다.
        /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql postgres-check-standby

        대기 상태라고 되어 있는지 확인합니다.

  10. 머신 8과 9에서 Edge 구성요소를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  11. 설명된 대로 새 대기 노드를 사용 중단해야 합니다. - 사용 중단 Postgres 노드입니다.

    네트워크 스토리지를 사용 중인 경우에는 새 노드를 설치할 필요가 없습니다. 자세한 내용은 Postgres 9.6으로의 필수 업그레이드를 참고하세요.

  12. 머신 6과 7에서 Edge UI 구성요소를 다시 시작합니다.
    /opt/apigee/apigee-service/bin/apigee-service edge-ui restart

12노드 클러스터형 업그레이드

Edge 목록은 설치 토폴로지를 참조하세요. 토폴로지와 노드 번호가 포함됩니다

  1. 설명된 대로 새 Postgres 대기 노드를 설치했는지 확인합니다. 설치 중 새 Postgres 대기 노드를 생성합니다.

    네트워크 스토리지를 사용 중인 경우에는 새 노드를 설치할 필요가 없습니다. 대신 Postgres에서 사용하는 데이터 스토어의 네트워크 스냅샷입니다. 자세한 내용은 더 많은 버전을 사용하려면 Postgres 9.6으로 업그레이드해야 합니다.

  2. Cassandra 및 ZaKeeper를 업데이트합니다. <ph type="x-smartling-placeholder">
      </ph>
    1. 데이터 센터 1의 머신 1, 2, 3에서:
      /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
    2. 데이터 센터 2의 머신 7, 8, 9
      /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
  3. qpidd 업데이트: <ph type="x-smartling-placeholder">
      </ph>
    1. 데이터 센터 1의 머신 4, 5 <ph type="x-smartling-placeholder">
        </ph>
      1. 머신 4에서 qpidd를 업데이트합니다.
        /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
      2. 머신 5에서 1단계를 반복합니다.
    2. 데이터 센터 2의 머신 10, 11 <ph type="x-smartling-placeholder">
        </ph>
      1. 머신 10에서 qpidd 업데이트:
        /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
      2. 11 머신에서 1단계를 반복합니다.
  4. LDAP 업데이트: <ph type="x-smartling-placeholder">
      </ph>
    1. 데이터 센터 1의 머신 1
      /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
    2. 데이터 센터 2의 머신 7
      /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
  5. Edge 구성요소를 업데이트합니다. <ph type="x-smartling-placeholder">
      </ph>
    1. 데이터 센터 1의 머신 4, 5, 1, 2, 3
      /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
    2. 데이터 센터 2의 머신 10, 11, 7, 8, 9
      /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  6. UI 업데이트: <ph type="x-smartling-placeholder">
      </ph>
    1. 데이터 센터 1의 머신 1:
      /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
    2. 데이터 센터 2의 머신 7:
      /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
  7. (apigee-adminapi를 설치한 경우) apigee-adminapi 유틸리티를 업데이트했습니다. <ph type="x-smartling-placeholder">
      </ph>
    1. 데이터 센터 1의 머신 1:
      /opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
    2. 데이터 센터 2의 머신 7:
      /opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
  8. (Edge SSO를 설치한 경우) Edge SSO를 업데이트합니다. <ph type="x-smartling-placeholder">
      </ph>
    1. 데이터 센터 1의 머신 1:
      /opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
    2. 데이터 센터 2의 머신 7:
      /opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
    3. 여기서 sso_config_file설치된 SSO

  9. 데이터 센터 1의 머신 6과 데이터 센터 2의 머신 12를 업데이트합니다. <ph type="x-smartling-placeholder">
      </ph>
    1. 머신 6에서 Postgres 서버를 중지합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
    2. 머신 12에서 Postgres 서버와 postgresql을 중지합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql stop
    3. 머신 4, 5, 10, 11에서 Qpid 서버를 중지합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server stop
    4. 설치된 경우 새 대기에서 Postgres 서버 및 postgresql을 중지합니다. 다음 명령어로 롤백을 추가합니다. <ph type="x-smartling-placeholder">
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server stop
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql stop
      </ph>
    5. 머신 6에서 postgresql을 업데이트합니다.
      /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
    6. 머신 12에서 postgresql을 업데이트합니다.
      /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
    7. 머신 6 및 12에서 Postgres 서버를 시작합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-postgres-server start
    8. 머신 4, 5, 10, 11에서 Qpid 서버를 시작합니다.
      /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server start
    9. 머신 12에서 다음 명령어를 실행하여 Postgres를 대기 노드로 구성합니다.
      cd /opt/apigee/data/apigee-postgresql/pgdata
      rm -rf *
      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql setup-replication-on-standby -f configFile
    10. 두 서버에서 다음 스크립트를 실행하여 복제 상태를 확인합니다. 이 제대로 작동하려면 두 서버에 동일한 결과가 표시되어야 합니다. 복제:

      머신 6인 마스터 노드에서 다음을 실행합니다.

      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql postgres-check-master

      마스터라고 표시되는지 확인합니다.

      머신 12에서 대기 노드는 다음을 수행합니다.

      /opt/apigee/apigee-service/bin/apigee-service apigee-postgresql postgres-check-standby

      대기 상태라고 되어 있는지 확인합니다.

  10. 머신 6 및 12에서 Edge 구성요소를 업데이트합니다.
    /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  11. 다음에 설명된 대로 새 대기 노드를 사용 중단해야 합니다. Postgres 해제 노드를 참조하세요.

    네트워크 스토리지를 사용 중인 경우에는 새 노드를 설치할 필요가 없습니다. 자세한 내용은 더 많은 버전을 사용하려면 Postgres 9.6으로 업그레이드해야 합니다.

  12. 머신 1과 7에서 Edge UI 구성요소를 다시 시작합니다.
    /opt/apigee/apigee-service/bin/apigee-service edge-ui restart

비표준 업그레이드의 경우

비표준 구성이 있는 경우 다음에서 Edge 구성요소를 업데이트합니다. 주문:

  1. ZooKeeper
  2. Cassandra
  3. qpidd, ps
  4. LDAP
  5. Edge: '-c 에지' Qpid 서버가 있는 노드, Edge Postgres 서버, 관리 서버, 메시지 프로세서, 라우터입니다.
  6. Edge UI
  7. apigee-adminapi
  8. 에지 SSO

업데이트가 완료되면 실행 중인 모든 머신에서 Edge UI 구성요소를 다시 시작해야 합니다. 있습니다.