Apigee Edge 4.16.01.x를 최신 4.16.01 버전으로 업데이트합니다.

이 문서에는 Apigee의 최신 RPM과 지원 파일을 사용하도록 기존 4.16.01 설치를 업데이트하는 데 사용하는 절차가 포함되어 있습니다. 이 절차에서는 update.sh 유틸리티를 사용하여 업데이트를 수행합니다.

최신 4.16.01 출시 버전으로 업데이트할 수 있는 Edge 버전

기존 Apigee Edge 버전 4.16.01.x 설치는 최신 4.16.01 출시 버전으로만 업데이트할 수 있습니다.

현재 Edge 버전 4.15.07.0x 이하를 실행 중인 경우 먼저 4.16.01로 마이그레이션해야 합니다. 버전 4.15.07.0x 이하에서 버전 4.16.01로 이전하는 방법은 Apigee ftp 사이트(ftp://ftp.apigee.com/)에서 제공되는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.

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

업데이트를 실행하는 사용자는 원래 Edge를 설치한 사용자 또는 루트로 실행되는 사용자와 동일해야 합니다.

Edge RPM을 설치하면 모든 사용자가 구성할 수 있습니다.

업데이트를 위한 디스크 공간 요구사항

업데이트를 수행하기 전에 1GB 이상의 디스크 여유 공간이 있는지 확인하세요.

4.16.01.x의 속성 설정 자동 전파

/opt/apigee/customer/application에서 .properties 파일을 수정하여 속성을 설정한 경우 이러한 값은 업데이트 시 보존됩니다.

기본 요건 업데이트

Apigee Edge를 업그레이드하기 전에 다음 기본 요건을 충족해야 합니다.

  • 모든 노드 백업
    업데이트하기 전에 안전을 위해 모든 노드의 전체 백업을 수행하는 것이 좋습니다. 현재 버전의 Edge에 대한 절차에 따라 백업을 수행합니다.

    이렇게 하면 새 버전으로의 업데이트가 제대로 작동하지 않을 경우에 대비한 백업 계획을 마련할 수 있습니다. 백업에 대한 자세한 내용은 Apigee FTP 사이트 ftp://ftp.apigee.com/에서 제공하는 Apigee Edge 4.16.01 작업 가이드를 참조하세요.
  • Edge가 실행 중인지 확인합니다.
    다음 명령어를 사용하여 업데이트 프로세스 중에 Edge가 작동되어 실행 중인지 확인합니다.

    > /<inst_root>/apigee/apigee-service/bin/apigee-all status

업데이트 실패 처리

업데이트에 실패하면 문제를 해결한 다음 update.sh를 다시 실행하면 됩니다. 업데이트를 여러 번 실행할 수 있으며 마지막으로 중단된 부분부터 업데이트가 계속됩니다.

실패 시 업데이트를 이전 버전으로 롤백해야 하는 경우 Apigee FTP 사이트 ftp://ftp.apigee.com/에서 제공하는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.

Logging 업데이트 정보

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

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

update.sh 유틸리티를 실행하는 사용자에게 해당 디렉터리에 대한 액세스 권한이 없으면 로그를 /tmp 디렉터리에 update_username.log라는 파일로 작성합니다.

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

제로 다운타임 업데이트

다운타임이 없는 업데이트 또는 순차적 업데이트를 사용하면 Edge를 중단하지 않고도 Edge 설치를 업데이트할 수 있습니다.

다운타임 없는 업그레이드의 핵심은 각 라우터를 한 번에 하나씩 부하 분산기에서 삭제하는 것입니다. 그런 다음 라우터와 동일한 머신의 라우터 및 기타 구성요소를 업데이트하고 라우터를 다시 부하 분산기에 추가합니다.

  1. 아래의 '머신 업데이트 순서'에 설명된 대로 설치 순서대로 머신을 업데이트합니다.
  2. 라우터를 업데이트할 때가 되면 다음 '라우터 및 메시지 프로세서에 연결할 수 없음' 섹션에 설명된 대로 라우터를 하나 선택하고 연결할 수 없도록 설정합니다.
  3. 라우터와 동일한 머신에서 선택한 라우터 및 다른 모든 Edge 구성요소를 업데이트합니다. 모든 Edge 구성은 동일한 노드에 라우터와 메시지 프로세서를 표시합니다.
  4. 라우터에 다시 연결할 수 있도록 설정합니다.
  5. 나머지 라우터에 2~4단계를 반복합니다.
  6. 설치에 남아 있는 머신의 업데이트를 계속 진행합니다.

라우터 및 메시지 프로세서에 연결할 수 없음

프로덕션 설정에서는 최적의 성능을 달성하기 위해 여러 라우터와 메시지 프로세서를 사용하며, 업데이트 전후에 이러한 라우터와 메시지 프로세서의 연결 가능성을 사용 설정/사용 중지해야 합니다.

다음 API 호출은 노드를 연결 가능 또는 연결 불가로 구성합니다.

> curl -u adminEmail:pWord -X POST "http://<ms_IP>:8080/v1/servers/UUID" -d "reachable=true|false"

여기서 UUID는 메시지 프로세서 또는 라우터의 UUID이고 Reachable은 true 또는 false로 설정됩니다.

라우터의 UUID를 확인해야 하는 경우 다음 cURL 명령어를 사용합니다.

> curl http://<routerIP>:8081/v1/servers/self

메시지 프로세서의 UUID를 확인해야 하는 경우 다음 cURL 명령어를 사용합니다.

> curl http://<mpIP>:8082/v1/servers/self

다음과 같은 업데이트 전/후에 유의하세요.

  • 결합된 라우터 및 메시지 프로세서 노드에서 다음을 실행합니다.
    • 업데이트 전: 다음 작업을 실행합니다.
      1. 위에 표시된 API 호출을 사용하여 라우터에 연결할 수 없도록 합니다.
      2. 메시지 프로세서에 연결할 수 없도록 설정합니다.
    • 업데이트 후 - 다음을 수행합니다.
      1. 메시지 프로세서에 연결 가능하도록 설정합니다.
      2. 라우터에 연결할 수 있도록 설정합니다.
  • 단일 라우터 노드에서:
    • 업데이트하기 전에 라우터에 연결할 수 있도록 설정하세요.
    • 업데이트 후 라우터에 연결할 수 있도록 설정합니다.
  • 단일 메시지 프로세서 노드:
    • 업데이트하기 전에 메시지 프로세서에 연결할 수 없도록 설정하세요.
    • 업데이트 후에는 메시지 프로세서에 연결할 수 있도록 설정합니다.

자동 구성 파일 사용

update 명령어에 자동 구성 파일을 전달해야 합니다. 자동 구성 파일은 Edge 4.16.01을 설치할 때 사용한 것과 동일해야 합니다.

외부 인터넷 연결이 있는 노드에서 4.16.01을 업데이트하는 절차

노드에서 Edge 구성요소를 업데이트하려면 다음 절차를 따르세요.

  1. 이 항목이 있다면 업데이트가 완료될 때까지 Cassandra에서 복구 작업을 수행하도록 구성된 크론 작업을 사용 중지합니다.
  2. 노드에 루트로 로그인하여 Edge RPM을 설치합니다.
    참고: RPM 설치에는 루트 액세스가 필요하지만 루트 액세스 권한 없이 Edge 구성을 실행할 수도 있습니다.
  3. Apigee Edge 4.16.01 설치 가이드에 설명된 대로 SELinux를 사용 중지합니다. Apigee FTP 사이트에서 확인할 수 있습니다. ftp://ftp.apigee.com/
  4. 모든 Yum 캐시를 정리합니다.
    > sudo yum clear all
  5. 최신 Edge bootstrap.sh 파일을 /tmp/bootstrap.sh에 다운로드합니다.
    > curl https://software.apigee.com/bootstrap.sh -o /tmp/bootstrap.sh
  6. Edge apigee-service 유틸리티와 종속 항목을 업데이트합니다.
    > sudo bash /tmp/bootstrap.sh apigeeuser=uName apigeepassword=pWord


    여기서 uName:pWord는 Apigee에서 받은 사용자 이름과 비밀번호입니다. pWord를 생략하면 입력하라는 메시지가 표시됩니다.
  7. apigee-service를 사용하여 apigee-setup 유틸리티를 업데이트합니다.
    > /opt/apigee/apigee-service/bin/apigee-service apigee-setup update
    apigee-service를 업데이트하면 <inst_dir>/apigee/apigee-setup/binupdate.sh 유틸리티를 설치합니다.
  8. 아래의 '머신 업데이트 순서'에 설명된 순서대로 노드에서 업데이트 유틸리티를 실행합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -ccomponent -f configFile
    구성 파일의 유일한 요구사항은 'apigee' 사용자가 구성 파일에 액세스하거나 읽을 수 있어야 한다는 것입니다. 예를 들어, 노드의 /tmp 디렉터리에 파일을 저장합니다.
    '-c' 옵션을 사용하여 업데이트할 구성요소를 지정합니다. 가능한 구성요소 목록에는 다음이 포함됩니다.
    • ldap = OpenLDAP(OpenLDAP)
    • cs = Cassandr
    • zk = 동물원키퍼
    • qpid = qpidd
    • ps = postgresql
    • edge =Edge UI를 제외한 모든 에지 구성요소: 관리 서버, 메시지 프로세서, 라우터, QPID 서버, Postgres 서버
    • ui = Edge UI
    • all = 머신의 모든 구성요소 업데이트 (Edge aio 설치 프로필 또는 API BaaS asa 설치 프로필에만 사용)
    • e = ElasticSearch
    • b = API BaaS 스택
    • p = API BaaS 포털
    • ebp = 동일한 노드에 있는 ElasticSearch, API BaaS 스택 및 API BaaS 포털
  9. Apigee FTP 사이트(ftp://ftp.apigee.com/)에서 제공하는 Apigee Edge 4.16.01 설치 가이드에 설명된 대로 메시지 프로세서에서 apigee-validate 유틸리티를 실행하여 업데이트를 테스트합니다.

로컬 저장소에서 4.16.01을 업데이트하는 절차

Edge 노드가 방화벽으로 보호되거나 어떤 방식으로든 인터넷을 통해 Apigee 저장소에 액세스하는 것이 금지된 경우 Apigee 저장소의 로컬 저장소 또는 미러링에서 업데이트를 수행할 수 있습니다.

로컬 Edge 저장소를 만든 후 로컬 저장소에서 Edge를 업데이트하는 방법에는 두 가지가 있습니다.

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

로컬 4.16.01 저장소에서 업데이트하려면 다음 단계를 따르세요.

  1. Apigee Edge 4.16.01 설치 가이드의 설명대로 로컬 4.16.01 저장소가 있는지 확인하세요. Apigee FTP 사이트(ftp://ftp.apigee.com/)에서 다운로드할 수 있습니다.
  2. 로컬 저장소를 업데이트합니다.
    1. 최신 Edge bootstrap.sh 파일을 /tmp/bootstrap.sh에 다운로드합니다.
      > curl https://software.apigee.com/bootstrap.sh -o /tmp/bootstrap.sh
    2. 동기화를 수행합니다.
      > /opt/apigee/apigee-service/bin/apigee-service apigee-mirror sync --only-new-rpms
  3. .tar 파일에서 apigee-service를 설치하려면 다음 안내를 따르세요.
    1. 로컬 저장소가 있는 노드에서 다음 명령어를 사용하여 로컬 저장소를 /opt/apigee/data/apigee-mirror/apigee-4.16.01.tar.gz라는 단일 .tar 파일로 패키징합니다.
      > /opt/apigee/apigee-service/bin/apigee-service apigee-mirror package
    2. Edge를 업데이트하려는 노드에 .tar 파일을 복사합니다. 예를 들어 새 노드의 /tmp 디렉터리에 이 파일을 복사합니다.
    3. 새 노드에서 파일을 /tmp 디렉터리로 압축 해제합니다.
      > tar -xzf apigee-4.16.01.tar.gz
      이 명령어는 .tar 파일이 있는 디렉터리에 repos라는 새 디렉터리를 만듭니다. 예를 들면 /tmp/repos입니다.
    4. 노드에 루트로 로그인하여 Edge RPM을 설치합니다.
      참고: RPM 설치에는 루트 액세스가 필요하지만 루트 액세스 권한 없이 Edge 구성을 실행할 수도 있습니다.
    5. Apigee Edge 4.16.01 설치 가이드에 설명된 대로 SELinux를 사용 중지합니다. Apigee FTP 사이트에서 확인할 수 있습니다. ftp://ftp.apigee.com/
    6. /tmp/repos의 Edge apigee-service 유틸리티와 종속 항목을 설치합니다.
      > sudo bash /tmp/repos/bootstrap.sh apigeeprotocol="file://" apigeerepobasepath=/tmp/repos
      이 명령어에 저장소 디렉터리 경로를 포함해야 합니다.
  4. Nginx 웹 서버를 사용하여 apigee-service를 설치하려면 다음 안내를 따르세요.
    1. Apigee FTP 사이트(ftp://ftp.apigee.com/)에서 제공하는 Edge 4.16.01 설치 가이드의 'Nginx 웹 서버를 사용하여 저장소에서 설치'에 설명된 대로 Nginx 웹 서버를 구성합니다.
    2. 원격 노드에서 Edge bootstrap.sh 파일을 /tmp/bootstrap.sh에 다운로드합니다.
      > /usr/bin/curl http://uName:pWord@remoteRepo:3939/bootstrap.sh -o /tmp/bootstrap.sh
                

      where uName:pWord are the username and password you set above for the repo, and remoteRepo is the IP address or DNS name of the repo node.

    3. Log in to your node as root to install the Edge RPMs
      Note: While RPM installation requires root access, you can perform Edge configuration without root access.
    4. Disable SELinux as described in the Apigee Edge 4.16.01 Installation Guide, available on the Apigee FTP site: ftp://ftp.apigee.com/
    5. On the remote node, install the Edge apigee-service utility and dependencies:
      > sudo bash /tmp/bootstrap.sh apigeerepohost=remoteRepo:3939 apigeeuser=uName apigeepassword=pWord apigeeprotocol=http://
      where uName:pWord are the repo username and password.
  5. If present, disable any CRON jobs configured to perform a repair operation on Cassandra until after the update completes.
  6. Use apigee-service to update the apigee-setup utility:
    > /opt/apigee/apigee-service/bin/apigee-service apigee-setup update
    This update to apigee-service installs the update.sh utility in <inst_dir>/apigee/apigee-setup/bin.
  7. Run the update utility on your nodes in the order described below in "Order of machine update" below:
    > /opt/apigee/apigee-setup/bin/update.sh -c component -f configFile
    The only requirement on the config file is that the configuration file must be accessible or readable by the "apigee" user. For example, put the file in the /tmp directory on the node.
    Use the “-c” option to specify the component to update. The list of possible components includes:
    • ldap = OpenLDAP
    • cs = Cassandr
    • zk = Zookeeper
    • qpid = qpidd
    • ps = postgresql
    • edge =All Edge components except Edge UI: Management Server, Message Processor, Router, QPID Server, Postgres Server
    • ui = Edge UI
    • all = update all components on machine (only use for an Edge aio installation profile or an API BaaS asa installation profile)
    • e = ElasticSearch
    • b = API BaaS Stack
    • p = API BaaS Portal
    • ebp = ElasticSearch, API BaaS Stack, and API BaaS Portal on the same node
  8. Test the update by running the apigee-validate utility on the Message Processor, as described in the Apigee Edge 4.16.01 Installation Guide, available on the Apigee FTP site: ftp://ftp.apigee.com/

Order of machine update

The order that you update the machines in an Edge installation is important. The most important considerations to an update are:

  • You must update all Cassandra and ZooKeeper nodes before you update any other nodes.
  • You must update all qpidd and postgresql nodes before you update any Router and Message Processor nodes.
  • For any machine with multiple Edge components (Management Server, Message Processor, Router, QPID Server, Postgres Server), use the "-c edge" option to update them all at the same time.
  • If a step specifies that it should be performed on multiple machines, perform it in the specified machine order.
  • There is no separate step to update Monetization. It is updated when you specify the "-c edge" option.
  • After you update a Router node, you must remove all files from the /opt/nginx/conf.d directory, and then restart the Router.

For a 1-host standalone installation

  1. Update machine 1:
    > /opt/apigee/apigee-setup/bin/update.sh -c all -f configFile
  2. /opt/nginx/conf.d에서 모든 파일을 삭제합니다.
    > rm -f /opt/nginx/conf.d/*
  3. 에지 라우터를 다시 시작합니다.
    > /<inst_root>/apigee/apigee-service/bin/apigee-service Edge-router restart

2호스트 독립형 설치의 경우

Edge 토폴로지 및 노드 번호 목록은 Apigee FTP 사이트 ftp://ftp.apigee.com/에서 제공하는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.

  1. 머신 1에서 Cassandra 및 JoKeeper를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
  2. 머신 2에서 qpidd 및 postgresql을 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c qpid,ps -f configFile
  3. 머신 1에서 LDAP 업데이트:
    > /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
  4. 머신 2와 머신 1의 Edge 구성요소를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  5. 노드 1에서:
    1. /opt/nginx/conf.d에 있는 모든 파일 삭제:
      > rm -f /opt/nginx/conf.d/*
    2. 에지 라우터를 다시 시작합니다.
      > /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
  6. 머신 1의 UI를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile

5개의 호스트 클러스터링 설치의 경우

Edge 토폴로지 및 노드 번호 목록은 Apigee FTP 사이트 ftp://ftp.apigee.com/에서 제공하는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.

  1. 머신 1, 2, 3에서 Cassandra 및 JoKeeper를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
  2. 머신 4 및 5에서 qpidd 및 postgresql을 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c qpid,ps -f configFile
  3. 머신 1에서 LDAP 업데이트:
    > /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
  4. 머신 4, 5, 1, 2, 3의 Edge 구성요소를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  5. 노드 2 및 3:
    1. /opt/nginx/conf.d에 있는 모든 파일 삭제:
      > rm -f /opt/nginx/conf.d/*
    2. 에지 라우터를 다시 시작합니다.
      > /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
  6. 머신 1의 UI를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile

9 호스트 클러스터링 설치의 경우

Edge 토폴로지 및 노드 번호 목록은 Apigee FTP 사이트 ftp://ftp.apigee.com/에서 제공하는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.

  1. 머신 1, 2, 3에서 Cassandra 및 JoKeeper를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
  2. 머신 6 및 7에서 qpidd를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
  3. 머신 8 및 9에서 postgresql을 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
  4. 머신 1에서 LDAP 업데이트:
    > /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
  5. 머신 6, 7, 8, 9, 1, 4, 5의 Edge 구성요소를 순서대로 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  6. 노드 4 및 5:
    1. /opt/nginx/conf.d에 있는 모든 파일 삭제:
      > rm -f /opt/nginx/conf.d/*
    2. 에지 라우터를 다시 시작합니다.
      > /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
  7. 머신 1의 UI를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile

13개의 호스트 클러스터링 설치의 경우

Edge 토폴로지 및 노드 번호 목록은 Apigee FTP 사이트 ftp://ftp.apigee.com/에서 제공하는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.

  1. 머신 1, 2, 3에서 Cassandra 및 JoKeeper를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
  2. 머신 12 및 13에서 qpidd를 업데이트합니다.
    >
        /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
  3. 머신 8 및 9에서 postgresql을 업데이트합니다.
    >
        /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
  4. 머신 4와 5에서 LDAP를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
  5. 머신 12, 13, 8, 9, 6, 7, 10, 11의 Edge 구성요소를 순서대로 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
  6. 노드 10 및 11에서:
    1. /opt/nginx/conf.d에 있는 모든 파일 삭제:
      > rm -f /opt/nginx/conf.d/*
    2. 에지 라우터를 다시 시작합니다.
      > /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
  7. 머신 6 및 7의 UI를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile

12개의 호스트 클러스터링 설치의 경우

Edge 토폴로지 및 노드 번호 목록은 Apigee FTP 사이트 ftp://ftp.apigee.com/에서 제공하는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.

  1. Cassandra 및 JoKeeper를 업데이트합니다.
    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
  2. qpidd를 업데이트합니다.
    1. 데이터 센터 1의 머신 4, 5
      > /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
    2. 데이터 센터 2의 머신 10, 11
      > /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
  3. postgresql을 업데이트합니다.
    1. 데이터 센터 1의 머신 6
      > /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
    2. 데이터 센터 2의 머신 12
      > /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
  4. LDAP 업데이트:
    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 구성요소를 업데이트합니다.
    1. 데이터 센터 1의 머신 4, 5, 6, 1, 2, 3
      > /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
    2. 데이터 센터 2의 머신 10, 11, 12, 7, 8, 9
      > /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
    3. 노드 2, 3, 8, 9에서:
      1. /opt/nginx/conf.d에 있는 모든 파일 삭제:
        > rm -f /opt/nginx/conf.d/*
      2. 에지 라우터를 다시 시작합니다.
        > /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
  6. UI를 업데이트합니다.
    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 호스트 API BaaS 설치의 경우

Edge 토폴로지 및 노드 번호 목록은 Apigee FTP 사이트 ftp://ftp.apigee.com/에서 제공하는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.

  1. 머신 5, 6, 7에서 Cassandra를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c cs -f configFile
  2. 머신 1, 2, 3에서 ElasticSearch 및 API BaaS 스택을 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c e,b -f configFile
  3. 머신 4의 API BaaS 포털 업데이트:
    > /opt/apigee/apigee-setup/bin/update.sh -c p -f configFile

10개의 호스트 API BaaS 설치의 경우

Edge 토폴로지 및 노드 번호 목록은 Apigee FTP 사이트 ftp://ftp.apigee.com/에서 제공하는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.

  1. 머신 8, 9, 10에서 Cassandra를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c cs -f configFile
  2. 머신 1, 2, 3에서 ElasticSearch를 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c e -f configFile
  3. 머신 4, 5, 6에서 API BaaS 스택을 업데이트합니다.
    > /opt/apigee/apigee-setup/bin/update.sh -c b -f configFile
  4. 머신 7의 API BaaS 포털 업데이트:
    > /opt/apigee/apigee-setup/bin/update.sh -c p -f configFile

비표준 설치용

비표준 설치가 있는 경우 Edge 구성요소를 다음 순서로 업데이트합니다.

  1. ZooKeeper
  2. Cassandra
  3. Qpidd
  4. postgresql
  5. LDAP
  6. 에지로, Qpid, Postgres, Management Server, 메시지 프로세서, 라우터 순서로 모든 노드의 '-c Edge' 프로필을 의미합니다.
  7. 모든 라우터 노드에서 다음을 실행합니다.
    1. /opt/nginx/conf.d에 있는 모든 파일을 삭제합니다.
      > rm -f /opt/nginx/conf.d/*
    2. 에지 라우터를 다시 시작합니다.
      > /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
  8. UI