이 문서에는 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 구성요소를 업데이트합니다. 모든 Edge 구성은 동일한 노드에 라우터와 메시지 프로세서를 표시합니다.
- 라우터를 다시 연결할 수 있도록 합니다.
- 나머지 라우터에 대해 2~4단계를 반복합니다.
- 설치에 남아 있는 머신에 대한 업데이트를 계속합니다.
라우터 및 메시지 프로세서에 연결할 수 없도록 설정
프로덕션 설정에서는 최적의 성능을 달성하기 위해 여러 라우터와 메시지 프로세서가 있으며 업데이트 전후에 이러한 라우터와 메시지 프로세서의 연결 가능성을 사용 설정/사용 중지해야 합니다.
다음 API 호출은 노드를 연결 가능 또는 연결 불가능으로 구성합니다.
> curl -u adminEmail:pWord -X POST "http://<ms_IP>:8080/v1/servers/UUID" -d "reachable=true|false"
여기서 UUID는 메시지 프로세서 또는 라우터의 UUID이고 연결 가능은 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 = Cassandra
- zk = Zookeeper
- qpid = qpidd
- ps = postgresql
- edge =Edge UI를 제외한 모든 Edge 구성요소: 관리 서버, 메시지 프로세서, 라우터, 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 포털
- 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 FTP 사이트(ftp://ftp.apigee.com/)에서 제공되는 Apigee Edge 4.16.01 설치 가이드에 설명된 대로 로컬 4.16.01 저장소가 있는지 확인합니다.
- 로컬 저장소를 업데이트합니다.
- 최신 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 디렉터리에 untar합니다.
> 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를 설치하려면 다음 안내를 따르세요.
- Apigee FTP 사이트(ftp://ftp.apigee.com/)에서 제공되는 Edge 4.16.01 설치 가이드의 'Nginx 웹 서버를 사용하여 저장소에서 설치'에 설명된 대로 Nginx 웹 서버를 구성합니다.
- 원격 노드에서 Edge bootstrap.sh 파일을 /tmp/bootstrap.sh에 다운로드합니다.
> /usr/bin/curl http://uName:pWord@remoteRepo:3939/bootstrap.sh -o /tmp/bootstrap.shwhere 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/* - Edge 라우터를 다시 시작합니다.
> /<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에서 Cassandra 및 ZooKeeper를 업데이트합니다.
> /opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
- 머신 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개 호스트 클러스터 설치
Edge 토폴로지 및 노드 번호 목록은 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개 호스트 클러스터 설치
Edge 토폴로지 및 노드 번호 목록은 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
- 머신 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개 호스트 클러스터 설치
Edge 토폴로지 및 노드 번호 목록은 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
- 머신 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개 호스트 클러스터 설치
Edge 토폴로지 및 노드 번호 목록은 Apigee FTP 사이트(ftp://ftp.apigee.com/)에서 제공되는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.
- 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 설치
Edge 토폴로지 및 노드 번호 목록은 Apigee FTP 사이트(ftp://ftp.apigee.com/)에서 제공되는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.
- 머신 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 설치
Edge 토폴로지 및 노드 번호 목록은 Apigee FTP 사이트(ftp://ftp.apigee.com/)에서 제공되는 Apigee Edge 4.16.01 설치 가이드를 참조하세요.
- 머신 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
- Edge: 모든 노드의 '-c edge' 프로필을 Qpid, Postgres, 관리 서버, 메시지 프로세서, 라우터 순서로 지정합니다.
- 모든 라우터 노드에서 다음을 실행합니다.
/opt/nginx/conf.d의 파일을 삭제합니다.> rm -f /opt/nginx/conf.d/*
- 에지 라우터를 다시 시작합니다.
> /<inst_root>/apigee/apigee-service/bin/apigee-service edge-router restart
- UI