이 문서에는 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 설치 가이드를 참조하세요.
로깅 업데이트 정보
기본적으로 update.sh 유틸리티는 로그 정보를 다음에 작성합니다.
/opt/apigee/var/log/apigee-setup/update.log
update.sh 유틸리티를 실행하는 사용자가 해당 디렉터리에 액세스할 수 없는 경우 /tmp 디렉터리에 update_username.log라는 이름의 로그가 작성됩니다.
사용자에게 /tmp에 대한 액세스 권한이 없으면 update.sh 유틸리티가 실패합니다.
다운타임 없는 업데이트
제로 다운타임 업데이트 또는 순차적 업데이트를 사용하면 Edge를 종료하지 않고도 Edge 설치를 업데이트할 수 있습니다.
제로 다운타임 업그레이드의 핵심은 부하 분산기에서 각 라우터를 한 번에 하나씩 삭제하는 것입니다. 그런 다음 라우터와 동일한 머신의 라우터 및 기타 구성요소를 라우터와 함께 업데이트한 후 라우터를 부하 분산기에 다시 추가합니다.
- 아래의 '머신 업데이트 순서'에 설명된 대로 설치 올바른 순서로 머신을 업데이트합니다.
- 라우터를 업데이트할 때가 되면 라우터 중 하나를 선택하고 다음 '라우터 및 메시지 프로세서에 연결할 수 없게 만들기'에 설명된 대로 연결할 수 없게 만듭니다.
- 선택한 라우터 및 라우터와 동일한 머신에서 기타 모든 Edge 구성요소를 업데이트합니다. 모든 에지 구성에는 동일한 노드에 라우터 및 메시지 프로세서가 표시됩니다.
- 라우터에 다시 연결합니다.
- 나머지 라우터에 2~4단계를 반복합니다.
- 설치에 남아 있는 모든 머신에 대해 업데이트를 계속합니다.
라우터와 메시지 프로세서에 연결할 수 없음
프로덕션 설정에서는 최적의 성능을 얻으려면 여러 라우터와 메시지 프로세서를 사용하며 업데이트 전후에 이러한 라우터와 메시지 프로세서의 연결 가능성을 사용 설정/사용 중지해야 합니다.
다음 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
업데이트 전후에는 다음 사항에 유의하세요.
- 결합된 라우터 및 메시지 프로세서 노드:
- 업데이트하기 전에 다음을 수행합니다.
- 위에 표시된 API 호출을 사용하여 라우터에 연결할 수 없습니다.
- 메시지 프로세서에 연결할 수 없도록 설정합니다.
- 업데이트 후 다음 단계를 따릅니다.
- 메시지 프로세서에 연결할 수 있도록 합니다.
- 라우터에 연결할 수 있습니다.
- 업데이트하기 전에 다음을 수행합니다.
- 단일 라우터 노드:
- 업데이트하기 전에 라우터에 연결합니다.
- 업데이트 후 라우터에 연결할 수 있습니다.
- 단일 메시지 프로세서 노드에서 다음을 수행합니다.
- 업데이트하기 전에 메시지 프로세서에 연결할 수 없도록 설정합니다.
- 업데이트 후 메시지 프로세서에 연결할 수 있도록 설정합니다.
자동 구성 파일 사용
자동 구성 파일을 업데이트 명령어에 전달해야 합니다. 자동 구성 파일은 Edge 4.16.01을 설치하는 데 사용한 파일과 동일해야 합니다.
외부 인터넷 연결이 있는 노드에서 4.16.01 업데이트 절차
다음 절차에 따라 노드의 Edge 구성요소를 업데이트합니다.
- 있는 경우 업데이트가 완료될 때까지 Cassandra에서 복구 작업을 수행하도록 구성된 모든 크론 작업을 사용 중지합니다.
- 노드에 루트로 로그인하여 Edge RPM을 설치하세요.
참고: RPM 설치에는 루트 액세스가 필요하지만 루트 액세스 없이 Edge 구성을 수행할 수 있습니다. - Apigee FTP 사이트(ftp://ftp.apigee.com/)에서 제공되는 Apigee Edge 4.16.01 설치 가이드에 설명된 대로 SELinux를 비활성화합니다.
- 모든 Yum 캐시를 삭제합니다.
> sudo yum clean all - 최신 Edge bootstrap.sh 파일을 /tmp/bootstrap.sh에 다운로드합니다.
> curl https://software.apigee.com/bootstrap.sh -o /tmp/bootstrap.sh - Edge apigee-service 유틸리티 및 종속 항목을 업데이트합니다.
> sudo bash /tmp/bootstrap.sh apigeeuser=uName apigeepassword=pWord
여기서 uName:pWord는 Apigee에서 수신한 사용자 이름과 비밀번호입니다. pWord을 생략하면 입력하라는 메시지가 표시됩니다. - apigee-service를 사용하여 apigee-setup 유틸리티를 업데이트합니다.
> /opt/apigee/apigee-service/bin/apigee-service apigee-setup update
apigee-service에 대한 이 업데이트는 <inst_dir>/apigee/apigee-setup/bin에 update.sh 유틸리티를 설치합니다. - 아래의 '머신 업데이트 순서'에 설명된 순서대로 노드에서 업데이트 유틸리티를 실행합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c component -f configFile
구성 파일의 유일한 요구사항은 'Apigee' 사용자가 구성 파일에 액세스 또는 읽을 수 있어야 한다는 것입니다. 예를 들어 노드의 /tmp 디렉터리에 파일을 저장합니다.
업데이트할 구성요소를 지정하려면 '-c' 옵션을 사용하세요. 가능한 구성요소는 다음과 같습니다.- ldap = OpenLDAP
- cs = Cassandr
- zk = 동물원 관리인
- qpid = qpidd
- ps = postgresql
- edge =Edge UI를 제외한 모든 Edge 구성요소: 관리 서버, 메시지 프로세서, 라우터, QPID 서버, Postgres 서버
- ui = Edge UI
- all = 머신의 모든 구성요소 업데이트 (Edge aio 설치 프로필 또는 API BaaS 설치 프로필에만 사용)
- e = ElasticSearch
- b = API BaaS 스택
- p = API BaaS 포털
- ebp = 동일한 노드의 ElasticSearch, API BaaS 스택 및 API BaaS 포털
- Apigee Edge 사이트(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 저장소에서 업데이트하려면 다음 안내를 따르세요.
- Apigee Edge 4.16.01 설치 가이드의 설명처럼 Apigee 4.16.01 로컬 저장소(Apigee FTP 사이트: ftp://ftp.apigee.com/)가 있는지 확인합니다.
- 로컬 저장소를 업데이트합니다.
- 최신 Edge bootstrap.sh 파일을 /tmp/bootstrap.sh에 다운로드합니다.
> curl https://software.apigee.com/bootstrap.sh -o /tmp/bootstrap.sh - 동기화를 수행합니다.
> /opt/apigee/apigee-service/bin/apigee-service apigee-mirror sync --only-new-rpms
- 최신 Edge bootstrap.sh 파일을 /tmp/bootstrap.sh에 다운로드합니다.
-
.tar 파일에서 apigee-service를 설치하려면 다음 안내를 따르세요.
- 로컬 저장소가 있는 노드에서 다음 명령어를 사용하여 /opt/apigee/data/apigee-mirror/apigee-4.16.01.tar.gz로 된 단일 .tar 파일로 로컬 저장소를 패키징합니다.
> /opt/apigee/apigee-service/bin/apigee-service apigee-mirror package - Edge를 업데이트하려는 노드에 .tar 파일을 복사합니다. 예를 들어 새 노드의 /tmp 디렉터리에 복사합니다.
- 새 노드에서 파일의 /tmp 디렉터리에 압축을 풉니다.
> tar -xzf apigee-4.16.01.tar.gz
이 명령어는 .tar 파일이 있는 디렉터리에 repos라는 새 디렉터리를 만듭니다. 예: /tmp/repos. - 노드에 루트로 로그인하여 Edge RPM을 설치하세요.
참고: RPM 설치에는 루트 액세스가 필요하지만 루트 액세스 없이 Edge 구성을 수행할 수 있습니다. - Apigee FTP 사이트(ftp://ftp.apigee.com/)에서 제공되는 Apigee Edge 4.16.01 설치 가이드에 설명된 대로 SELinux를 비활성화합니다.
- /tmp/repos에서 Edge apigee-service 유틸리티와 종속 항목을 설치합니다.
> sudo bash /tmp/repos/bootstrap.sh apigeeprotocol="file://" apigeerepobasepath=/tmp/repos
이 명령어에 repos 디렉터리 경로가 포함되어 있습니다.
- 로컬 저장소가 있는 노드에서 다음 명령어를 사용하여 /opt/apigee/data/apigee-mirror/apigee-4.16.01.tar.gz로 된 단일 .tar 파일로 로컬 저장소를 패키징합니다.
-
Nginx 웹 서버를 사용하여 apigee-service를 설치하려면 다음 안내를 따르세요.
- Edge 4.16.01 설치 가이드의 'Nginx 웹 서버를 사용하여 저장소에서 설치'에 설명된 대로 Nginx 웹 서버를 Apigee FTP 사이트(ftp://ftp.apigee.com/)에서 구성합니다.
- 원격 노드에서 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.
- 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. - Disable SELinux as described in the Apigee Edge 4.16.01 Installation Guide, available on the Apigee FTP site: ftp://ftp.apigee.com/
- 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.
- If present, disable any CRON jobs configured to perform a repair operation on Cassandra until after the update completes.
- 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. - 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
- 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
- Update machine 1:
> /opt/apigee/apigee-setup/bin/update.sh -c all -f configFile
- /opt/nginx/conf.d에 있는 모든 파일을 삭제합니다.
> rm -f /opt/nginx/conf.d/* - 에지 라우터를 다시 시작합니다.
> /<inst_root>/apigee/apigee-service/bin/apigee-service Edge-router restart
2 호스트 독립형 설치의 경우
Apigee 토폴로지 4.16.01 설치 가이드(Apigee FTP 사이트: ftp://ftp.apigee.com/)에서 Edge 토폴로지 목록 및 노드 번호를 참조하세요.
- 머신 1에서
> /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
Cassandra 및 ZooKeeper 업데이트: - 머신 2에서 qpidd 및 postgresql을 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c qpid,ps -f configFile
- 머신 1에서 LDAP 업데이트:
> /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
- 머신 2와 머신 1의 Edge 구성요소를 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
- 노드 1에서:
/opt/nginx/conf.d
의 모든 파일 삭제:> rm -f /opt/nginx/conf.d/*
- 에지 라우터를 다시 시작합니다.
> /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
- 머신 1의 UI 업데이트:
> /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
5 호스트 클러스터링 설치
Apigee 토폴로지 사이트 및 노드 번호 목록은 Apigee FTP 사이트(ftp://ftp.apigee.com/)에서 사용할 수 있는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.
- 머신 1, 2, 3에서 Cassandra 및 ZooKeeper를 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
- 머신 4와 5에서 qpidd 및 postgresql을 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c qpid,ps -f configFile
- 머신 1에서 LDAP 업데이트:
> /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
- 머신 4, 5, 1, 2, 3에서 Edge 구성요소를 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
- 노드 2와 3:
/opt/nginx/conf.d
의 모든 파일 삭제:> rm -f /opt/nginx/conf.d/*
- 에지 라우터를 다시 시작합니다.
> /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
- 머신 1의 UI 업데이트:
> /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
9 호스트 클러스터링 설치
Apigee 토폴로지 4.16.01 설치 가이드(Apigee FTP 사이트: ftp://ftp.apigee.com/)에서 Edge 토폴로지 목록 및 노드 번호를 참조하세요.
- 머신 1, 2, 3에서 Cassandra 및 ZooKeeper를 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
- 머신 6 및 7에서 qpidd를 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- 머신 8 및 9에서 postgresql을 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- 머신 1에서 LDAP 업데이트:
> /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
- 머신 6, 7, 8, 9, 1, 4, 5에서 Edge 구성요소를 순서대로 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
- 노드 4 및 5:
/opt/nginx/conf.d
의 모든 파일 삭제:> rm -f /opt/nginx/conf.d/*
- 에지 라우터를 다시 시작합니다.
> /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
- 머신 1의 UI 업데이트:
> /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
13 호스트 클러스터링 설치
Apigee 토폴로지 4.16.01 설치 가이드(Apigee FTP 사이트: ftp://ftp.apigee.com/)에서 Edge 토폴로지 목록 및 노드 번호를 참조하세요.
- 머신 1, 2, 3에서 Cassandra 및 ZooKeeper를 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
- 머신 12와 13에서 qpidd 업데이트:
> /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- 머신 8 및 9에서 postgresql을 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- 머신 4 및 5에서 LDAP 업데이트:
> /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
- 머신 12, 13, 8, 9, 6, 7, 10, 11에서 Edge 구성요소를 순서대로 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
- 노드 10 및 11:
/opt/nginx/conf.d
의 모든 파일 삭제:> rm -f /opt/nginx/conf.d/*
- 에지 라우터를 다시 시작합니다.
> /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
- 머신 6 및 7에서 UI 업데이트:
> /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
12 호스트 클러스터링 설치
Apigee 토폴로지 4.16.01 설치 가이드(Apigee FTP 사이트: ftp://ftp.apigee.com/)에서 Edge 토폴로지 목록 및 노드 번호를 참조하세요.
- Cassandra 및 ZooKeeper를 업데이트합니다.
- 데이터 센터 1의 머신 1, 2, 3:
> /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
- 데이터 센터 2의 머신 7, 8, 9
> /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
- 데이터 센터 1의 머신 1, 2, 3:
- qpidd를 업데이트합니다.
- 데이터 센터 1의 머신 4, 5
> /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- 데이터 센터 2의 머신 10, 11
> /opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- 데이터 센터 1의 머신 4, 5
- postgresql을 업데이트합니다.
- 데이터 센터 1의 머신 6
> /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- 데이터 센터 2의 머신 12
> /opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- 데이터 센터 1의 머신 6
- LDAP를 업데이트합니다.
- 데이터 센터 1의 머신 1
> /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
- 데이터 센터 2의 머신 7
> /opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
- 데이터 센터 1의 머신 1
- Edge 구성요소를 업데이트합니다.
- 데이터 센터 1의 머신 4, 5, 6, 1, 2, 3
> /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
- 데이터 센터 2의 머신 10, 11, 12, 7, 8, 9
> /opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
- 노드 2, 3, 8, 9에서:
/opt/nginx/conf.d
의 모든 파일 삭제:> rm -f /opt/nginx/conf.d/*
- 에지 라우터를 다시 시작합니다.
> /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
- 데이터 센터 1의 머신 4, 5, 6, 1, 2, 3
- UI를 업데이트합니다.
- 데이터 센터 1의 머신 1
> /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
- 데이터 센터 2의 머신 7
> /opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
- 데이터 센터 1의 머신 1
7 호스트 API BaaS 설치의 경우
Apigee 토폴로지 4.16.01 설치 가이드(Apigee FTP 사이트: ftp://ftp.apigee.com/)에서 Edge 토폴로지 목록 및 노드 번호를 참조하세요.
- 머신 5, 6, 7에서 Cassandra를 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c cs -f configFile
- 머신 1, 2, 3에서 ElasticSearch 및 API BaaS 스택을 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c e,b -f configFile
- 머신 4에서 API BaaS 포털을 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c p -f configFile
10 호스트 API BaaS 설치의 경우
Apigee 토폴로지 4.16.01 설치 가이드(Apigee FTP 사이트: ftp://ftp.apigee.com/)에서 Edge 토폴로지 목록 및 노드 번호를 참조하세요.
- 머신 8, 9, 10에서 Cassandra를 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c cs -f configFile
- 머신 1, 2, 3에서 ElasticSearch를 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c e -f configFile
- 머신 4, 5, 6에서 API BaaS 스택을 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c b -f configFile
- 머신 7에서 API BaaS 포털을 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c p -f configFile
비표준 설치의 경우
비표준 설치의 경우 다음 순서로 Edge 구성요소를 업데이트합니다.
- ZooKeeper
- Cassandra
- qpidd
- postgresql
- LDAP
- 에지(Qpid, Postgres, 관리 서버, 메시지 프로세서, 라우터)의 모든 노드에 있는 '-c Edge' 프로필을 의미합니다.
- 모든 라우터 노드:
/opt/nginx/conf.d
에 있는 모든 파일을 삭제합니다.> rm -f /opt/nginx/conf.d/*
- 에지 라우터를 다시 시작합니다.
> /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
- UI