Apigee supports upgrading Edge for Private Cloud from either version 4.51.00 or version 4.52.00 directly to version 4.52.01. This page describes how to perform either upgrade.
Who can perform the update
The person running the update should be the same as the person who originally installed Edge, or a person running as root.
After you install the Edge RPMs, anyone can configure them.
Which components must you update
You must update all Edge components. Edge does not support a setup that contains components from multiple versions.
Update prerequisites
Make sure of the following prerequisites before upgrading Apigee Edge:
- Backup all nodes
Before you update, we recommend that you perform a complete backup of all nodes for safety reasons. Use the procedure for your current version of Edge to perform the backup.This allows you to have a backup plan, in case the update to a new version doesn't function properly. For more information on backup, see Backup and Restore.
- Ensure Edge is running
Ensure that Edge is up and running during update process by using the command:/opt/apigee/apigee-service/bin/apigee-all status
- Ensure that the Cassandra Comptification Strategy is
LeveledCompactionStrategy
Ensure that the Cassandra compatification strategy is set toLeveledCompactionStrategy
, as described in Change the Cassandra compaction strategy.
Automatic propagation of property settings
If you have set any properties by editing .properties
files in
/opt/apigee/customer/application
then these values are retained by the update.
Required upgrade to Zookeeper 3.8.3
This release of Edge for Private Cloud includes an upgrade to Zookeeper 3.8.3. As part of that upgrade, all Zookeeper data will be migrated to Zookeeper 3.8.3.
Before upgrading Zookeeper, read through the Zookeeper maintenance guide. Most Edge production systems use a cluster of Zookeeper nodes spread across multiple data centers. Some of these nodes are configured as voters who participate in Zookeeper leader election, and the rest are configured as observers. See About leaders, followers, voters, and observers for more details. The voter nodes elect a leader after which the voter nodes themselves become followers.
During the update process, there could be a momentary delay or write failure into Zookeeper when the leader node is shutdown. This could affect Management operations that write into Zookeeper, such as deployment operation of a proxy, and Apigee infrastructure changes, such as addition or removal of a message processor, etc. There should be no impact on runtime APIs of Apigee (unless these runtime APIs call management APIs) during upgrade of Zookeeper while following the procedure below.
At a high level, the upgrade process involves taking a backup of each node. This is followed by upgrading all observers and followers and finally upgrading the leader node.
Take a backup
Take a backup of all nodes of Zookeeper for use in case a rollback is required. Note that a rollback will restore Zookeeper to the state when the backup was taken. Note: Any deployments or infrastructure changes in Apigee since the backup was taken (whose information is stored in Zookeeper) will be lost during restoration.
/opt/apigee/apigee-service/bin/apigee-service apigee-zookeeper backup
If you are using virtual machines and have the capability, VM snapshots or backups could also be taken for restoration or rollback (if necessary).
Identify leader, followers and observers
Note: The sample commands below use the nc utility to send data to Zookeeper. You could use alternate utilities to send data to Zookeeper as well.
- If it is not installed on the ZooKeeper node, install nc:
sudo yum install nc
- Run the following nc command on the node, where 2181 is the ZooKeeper port:
echo stat | nc localhost 2181
You should see output like the following:
Zookeeper version: 3.8.3-5a02a05eddb59aee6ac762f7ea82e92a68eb9c0f, built on 2022-02-25 08:49 UTC Clients: /0:0:0:0:0:0:0:1:41246[0](queued=0,recved=1,sent=0) Latency min/avg/max: 0/0.2518/41 Received: 647228 Sent: 647339 Connections: 4 Outstanding: 0 Zxid: 0x400018b15 Mode: follower Node count: 100597
In the
Mode
line of the output for the nodes, you should see observer, leader, or follower (meaning a voter that is not the leader) depending on the node configuration. Note: In a standalone installation of Edge with a single ZooKeeper node, theMode
is set to standalone. - Repeat steps 1 and 2 on each ZooKeeper node.
Upgrade Zookeeper on the observer and follower nodes
Upgrade Zookeeper on each of the observer and follower nodes as follows:
- Download and run bootstrap of Edge for Private Cloud 4.52, as described in Update to 4.52.01 on a node with an external internet connection. The process will likely vary depending on whether the node has an external internet connection or you're performing an offline installation.
- Upgrade the Zookeeper component:
/opt/apigee/apigee-setup/bin/update.sh -c zk -f <silent-config-file>
Note: If these nodes have other components installed (such as Cassandra), you could upgrade them too now (like with cs,zk profile) or you could upgrade the other components later. Apigee recommends that you upgrade Zookeeper only first and ensure your cluster is working properly before upgrading other components. - Repeat above steps on each of Zookeeper observer and follower nodes.
Shutdown the leader
Once all observer and follower nodes have been upgraded, shutdown the leader. On the node identified as leader, run the command below:
/opt/apigee/apigee-service/bin/apigee-service apigee-zookeeper stop
Note that during this event, before a new leader is elected, there could be momentary delays or write failures in Zookeeper. This could affect operations which write into Zookeeper such as deployment action of proxies or Apigee infrastructure changes, such as addition or removal of message processors, etc.
Verify that the new leader is elected
Using the steps in the Identify leader, followers and observers section above, verify that a new leader has been elected from the followers, once the existing leader is stopped. Note that leader could have been elected in a different data center than the current leader.
Upgrade leader
Follow the same steps as in Upgrading Zookeeper on the observer and follower nodes above.
Once the old leader node is upgraded as well, verify the cluster health and ensure there is a leader node.
Rollback
In case a rollback is required:
- Perform rollback steps on observers and followers first.
- Download and execute bootstrap of the version you're rolling back to—either 4.50 or 4.51. The process will likely vary depending on whether the node has an external internet connection or you're following offline installation.
- Stop Zookeeper if it is running on the node:
/opt/apigee/apigee-service/bin/apigee-service apigee-zookeeper stop
- Uninstall existing zookeeper:
/opt/apigee/apigee-service/bin/apigee-service apigee-zookeeper uninstall
- Install Zookeeper as usual:
/opt/apigee/apigee-setup/bin/setup.sh -p zk -f <silent-config-file>
- Once all followers and observers have been rolled back, roll back the leader node by following steps 2 through 5 on the leader node.
- After all the nodes have been rolled back, verify the cluster health and ensure there is a leader node in the cluster.
Restore backup
Refer to Restore from a backup. Note that backups of Zookeeper taken from earlier versions of Edge for Private Cloud like 4.50 and 4.51 should be compatible with the version of Zookeeper in Edge for Private Cloud 4.52.
Required upgrade to Postgres 14
This release of Edge for Private Cloud includes an upgrade to Postgres 14. As part of this upgrade, all Postgres data is migrated to Postgres 14.
- If you are upgrading from Edge for Private Cloud 4.51.00 to 4.52.01, it is necessary to follow additional Postgres upgrade steps. Refer to the Required upgrade to Postgres 14 section if you are upgrading from version 4.51.00 to 4.52.01.
- If you are upgrading from Edge for Private Cloud 4.52.00 to 4.52.01, no supplementary Postgres upgrade steps are necessary.
Upgrade Qpid
This Edge for Private Cloud release includes an upgrade to the Qpid J-Broker.
We recommend you select one of the following methods to perform the Qpid upgrade:
In-place upgrade with zero downtime
This method makes sure there is no downtime for your Edge runtime environment and minimizes the loss on runtime data, if any, acquired for analytics.
To perform an in-place, zero downtime upgrade to Qpid:
- Pick one Qpid node to start with.
- Stop the Qpid broker on the node:
apigee-service apigee-qpidd stop
- Block incoming traffic on broker port 5672 from all message processors by applying
a firewall. You can apply this firewall at the level of the Qpid node instance or some other
external firewall/network component.
We recommend that you perform the same step for all the message processor IP addresses. For example, to DROP requests coming from message processor IP addresses to the Qpid node on port 5672 using IPTables, you could use a command like this:
iptables -A INPUT -p tcp --dport 5672 -s MESSAGE_PROCESSOR_IP -j DROP
- Start the Qpid broker again to drain existing messages, if any:
apigee-service apigee-qpidd start
- Check that the existing queues are empty:
qpid-stat -q
If messages are stuck in the dead letter queue (DLQ) (ax-q-axgroup-001-consumer-group-001-dl), then drain the queue using the steps to resolve analytics data stuck in the dead letter queue.
- After verifying queues have drained on the old node, stop
apigee-qpidd
:apigee-service apigee-qpidd stop
- Upgrade Qpid on the node:
/opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- Restart
edge-qpid-server
:apigee-service edge-qpid-server restart
Remove the firewall rule applied in Step 3.
Perform the same removal step for all the message processor IP addresses to which the firewall was applied. Once the firewalls are removed, requests coming from message processor IP addresses to the Qpid node on port 5672 will be accepted. If you used
iptables
to add the firewall, to remove the firewall and to list the existing settings you can use commands like following:iptables -F iptables -L
- Use web monitoring to verify that the Qpid queues are receiving messages:
http://QPID_NODE_IP:8090
- Repeat Step 1 to 9 for each Qpid node.
Commissioning a new Qpid node
This method sets up and installs apigee-qpidd
and edge-qpid-server
on
a new node.
- Add a new Qpid node. This step sets up a Qpid node with J-broker. For detailed steps, see Add a Qpid server.
- Pick an existing Qpid node (a node from the version you are upgrading from).
- Stop the Qpid broker on the node:
apigee-service apigee-qpidd stop
- Block incoming traffic on broker port 5672 from all message processors by applying
a firewall. You can apply this firewall at the level of the Qpid node instance or some other
external firewall/network component.
We recommend that you perform the same step for all the message processor IP addresses. For example, to DROP requests coming from message processor IP addresses to the Qpid node on port 5672 using IPTables, you could use a command like this:
iptables -A INPUT -p tcp --dport 5672 -s MESSAGE_PROCESSOR_IP -j DROP
- Start the Qpid broker again to drain existing messages, if any:
apigee-service apigee-qpidd start
- Check to be sure the existing queues are empty:
qpid-stat -q
If messages are stuck in the dead letter queue (DLQ) (ax-q-axgroup-001-consumer-group-001-dl) then drain the queue by following the steps in the troubleshooting topic Analytics data stuck in Qpidd dead letter queue.
- After verifying queues have drained on the old node, stop
apigee-qpidd
apigee-service apigee-qpidd stop
- De-register the old Qpid node by following the steps in Remove a Qpid server.
- Keep adding a new node and removing an old node, one at a time, until all Qpid nodes have been upgraded.
Rollback
To roll back to a previous Feature Release, make sure to download the bootstrap.sh
file for
the version to which you want to roll back. To roll back to v 4.52.00, download bootstrap_4.52.00.sh
.
To roll back Qpid, follow these steps on all Qpid hosts:
- Stop the existing Qpid broker
apigee-service apigee-qpidd stop
- Block incoming traffic on broker port 5672 from all message processors by applying
a firewall. You can apply this firewall at the level of the Qpid node instance or some other
external firewall/network component.
We recommend that you perform the same step for all the message processor IP addresses. For example, to DROP requests coming from message processor IP addresses to the Qpid node on port 5672 using IPTables, you could use a command like this:
iptables -A INPUT -p tcp --dport 5672 -s MESSAGE_PROCESSOR_IP -j DROP
- Start the qpid broker again to drain existing messages if any:
apigee-service apigee-qpidd start
- Make sure the existing queues are empty. To check, log in to the Qpid
management portal:
http://QPID_NODE_IP:8090
Note: In case this port 8090 on QPID node is not accessible, you can use alternate mechanisms like SSH port forwarding to access this URL. - After verifying queues have drained, stop and uninstall Qpid:
apigee-service apigee-apidd uninstall
- Delete the Qpid data directory:
rm -r APIGEE_ROOT/data/apigee-qpidd
- Reinstall the Qpid broker:
/opt/apigee/apigee-setup/bin/setup.sh -p qs -f configFile
- Once Qpid broker is reinstalled remove firewall settings and list any existing settings using following commands:
iptables -F
iptables -L
New Edge UI
This section lists considerations regarding the Edge UI. For more information, see The new Edge UI for Private Cloud.
Install the Edge UI
After you complete the initial installation, Apigee recommends that you install the Edge UI, which is an enhanced user interface for developers and administrators of Apigee Edge for Private Cloud.
Note that the Edge UI requires that you disable Basic authentication and use an IDP such as SAML or LDAP.
For more information, see Install the new Edge UI.
Update the Edge UI
To update the Edge UI component, consider the version of Edge for the Private Cloud that you are upgrading from:
- From 4.51.00 to 4.52.00 (with the new Edge UI already installed): Use the
upgrade instructions in this section for the
edge-management-ui
component.
Update with Apigee mTLS
To update Apigee mTLS , do the following steps:
Rolling back an update
In the case of an update failure, you can try to correct the issue, and then execute
update.sh
again. You can run the update multiple times and it continues the update
from where it last left off.
If the failure requires that you roll back the update to your previous version, see Roll back 4.52.00 for detailed instructions.
Logging update information
By default, the update.sh
utility writes log information to:
/opt/apigee/var/log/apigee-setup/update.log
If the person running the update.sh
utility does not have access to
that directory, it writes the log to the /tmp
directory as a file named
update_username.log
.
If the person does not have access to /tmp
, the update.sh
utility
fails.
Zero-downtime update
A zero-downtime update, or rolling update, lets you update your Edge installation without bringing down Edge.
Zero-downtime update is only possible with a 5-node configuration and larger.
The key to zero-downtime upgrading is to remove each Router, one at a time, from the load balancer. You then update the Router and any other components on the same machine as the Router, and then add the Router back to the load balancer.
- Update the machines in the correct order for your installation as described Order of machine update.
- When it is time to update the Routers, select any one Router and make it unreachable, as described in Enabling/Disabling server (Message Processor/Router) reachability.
- Update the selected Router and all other Edge components on the same machine as the Router. All Edge configurations show a Router and Message Processor on the same node.
- Make the Router reachable again.
- Repeat steps 2 through 4 for the remaining Routers.
- Continue the update for any remaining machines in your installation.
Take care of the following before and after the update:
- On combined Router and Message Processor node:
- Before update – perform the following:
- Make the Router unreachable.
- Make the Message Processor unreachable.
- After update – perform the following:
- Make the Message Processor reachable.
- Make the Router reachable.
- Before update – perform the following:
- On single Router nodes:
- Before update, make the Router unreachable.
- After update, make the Router reachable.
- On single Message Processor nodes:
- Before update, make the Message Processor unreachable.
- After update, make the Message Processor reachable.
Use a silent configuration file
You must pass a silent configuration file to the update command. The silent configuration file should be the same one that you used to install Edge 4.50.00 or 4.51.00.
Update to 4.52.01 on a node with an external internet connection
Use the following procedure to update the Edge components on a node:
- If present, disable any
cron
jobs configured to perform a repair operation on Cassandra until after the update completes. - Log in to your node as root to install the Edge RPMs.
- Install
yum-utils
andyum-plugin-priorities
:sudo yum install yum-utils
sudo yum install yum-plugin-priorities
- Disable SELinux as described in Install the Edge apigee-setup utility.
- If you are installing on Oracle 7.x, execute the following command:
sudo yum-config-manager --enable ol7_optional_latest
- If you are installing on AWS, execute the following
yum-configure-manager
commands:yum update rh-amazon-rhui-client.noarch
sudo yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
If you are currently on Edge 4.51.00:
- Download the Edge
bootstrap_4.52.01.sh
file to/tmp/bootstrap_4.52.01.sh
:curl https://software.apigee.com/bootstrap_4.52.01.sh -o /tmp/bootstrap_4.52.01.sh
- Install the Edge 4.52.01
apigee-service
utility and dependencies by executing the following command:sudo bash /tmp/bootstrap_4.52.01.sh apigeeuser=uName apigeepassword=pWord
Where uName:pWord are the username and password you received from Apigee. If you omit pWord, you will be prompted to enter it.
By default, the installer checks that you have Java 1.8 installed. If you do not, the installer installs it for you.
Use the
JAVA_FIX
option to specify how to handle Java installation.JAVA_FIX
takes the following values:I
: Install OpenJDK 1.8 (default).C
: Continue without installing Java.Q
: Quit. For this option, you must install Java yourself.
- Use
apigee-service
to update theapigee-setup
utility, as the following example shows:/opt/apigee/apigee-service/bin/apigee-service apigee-setup update
- Update the
apigee-validate
utility on the Management Server, as the following example shows:/opt/apigee/apigee-service/bin/apigee-service apigee-validate update
- Update the
apigee-provision
utility on the Management Server, as the following example shows:/opt/apigee/apigee-service/bin/apigee-service apigee-provision update
- Run the
update
utility on your nodes by executing the following command:/opt/apigee/apigee-setup/bin/update.sh -c component -f configFile
Do this in the order described in Order of machine update.
Where:
- component is the Edge component to update. Possible values include:
cs
: Cassandraedge
: All Edge components except Edge UI: Management Server, Message Processor, Router, QPID Server, Postgres Serverldap
: OpenLDAPps
: postgresqlqpid
: qpiddsso
: Apigee SSO (if you installed SSO)ue
: New Edge UIui
: Classic Edge UIzk
: Zookeeper
- configFile is the same configuration file that you used to define your Edge components during the 4.50.00 or 4.51.00 installation.
You can run
update.sh
against all components by setting component to "all", but only if you have an Edge all-in-one (AIO) installation profile. For example:/opt/apigee/apigee-setup/bin/update.sh -c all -f ./sa_silent_config
- component is the Edge component to update. Possible values include:
- Restart the Edge UI component on all nodes running it, if you haven't done so already:
/opt/apigee/apigee-service/bin/apigee-service edge-ui restart
- Test the update by running the
apigee-validate
utility on the Management Server, as described in Test the install.
- Download the Edge
If you later decide to roll back the update, use the procedure described in Roll back 4.52.01.
Update to 4.52.01 from a local repo
If your Edge nodes are behind a firewall, or in some other way are prohibited from accessing the Apigee repository over the Internet, then you can perform the update from a local repository, or mirror, of the Apigee repo.
After you create a local Edge repository, you have two options for updating Edge from the local repo:
- Create a .tar file of the repo, copy the .tar file to a node, and then update Edge from the .tar file.
- Install a webserver on the node with the local repo so that other nodes can access it. Apigee provides the Nginx webserver for you to use, or you can use your own webserver.
To update from a local 4.52.01 repo:
- Create a local 4.52.01 repo as described in "Create a local Apigee repository" at Install the Edge apigee-setup utility.
- To install apigee-service from a .tar file:
- On the node with the local repo, use the following command to package the local repo
into a single .tar file named
/opt/apigee/data/apigee-mirror/apigee-4.52.01.tar.gz
:/opt/apigee/apigee-service/bin/apigee-service apigee-mirror package
- Copy the .tar file to the node where you want to update Edge. For example, copy it to
the
/tmp
directory on the new node. - On the new node, untar the file to the
/tmp
directory:tar -xzf apigee-4.52.01.tar.gz
This command creates a new directory, named
repos
, in the directory containing the .tar file. For example/tmp/repos
. - Install the Edge
apigee-service
utility and dependencies from/tmp/repos
:sudo bash /tmp/repos/bootstrap_4.52.01.sh apigeeprotocol="file://" apigeerepobasepath=/tmp/repos
Notice that you include the path to the repos directory in this command.
- On the node with the local repo, use the following command to package the local repo
into a single .tar file named
- To install apigee-service using the Nginx webserver:
- Configure the Nginx web server as described in "Install from the repo using the Nginx webserver" at Install the Edge apigee-setup utility.
- On the remote node, download the Edge
bootstrap_4.52.01.sh
file to/tmp/bootstrap_4.52.01.sh
:/usr/bin/curl http://uName:pWord@remoteRepo:3939/bootstrap_4.52.01.sh -o /tmp/bootstrap_4.52.01.sh
Where uName:pWord are the username and password you set previously for the repo, and remoteRepo is the IP address or DNS name of the repo node.
- On the remote node, install the Edge
apigee-setup
utility and dependencies:sudo bash /tmp/bootstrap_4.52.01.sh apigeerepohost=remoteRepo:3939 apigeeuser=uName apigeepassword=pWord apigeeprotocol=http://
Where uName:pWord are the repo username and password.
- Use
apigee-service
to update theapigee-setup
utility, as the following example shows:/opt/apigee/apigee-service/bin/apigee-service apigee-setup update
- Update the
apigee-validate
utility on the Management Server, as the following example shows:/opt/apigee/apigee-service/bin/apigee-service apigee-validate update
- Update the
apigee-provision
utility on the Management Server, as the following example shows:/opt/apigee/apigee-service/bin/apigee-service apigee-provision update
- Run the
update
utility on your nodes in the order described in Order of machine update:/opt/apigee/apigee-setup/bin/update.sh -c component -f configFile
Where:
- component is the Edge component to update. You typically update the
following components:
cs
: Cassandraedge
: All Edge components except Edge UI: Management Server, Message Processor, Router, QPID Server, Postgres Serverldap
: OpenLDAPps
: postgresqlqpid
: qpiddsso
: Apigee SSO (if you installed SSO)ue
New Edge UIui
: Classic Edge UIzk
: Zookeeper
- configFile is the same configuration file that you used to define your Edge components during the 4.50.00 or 4.51.00 installation.
You can run
update.sh
against all components by setting component to "all", but only if you have an Edge all-in-one (AIO) installation profile. For example:/opt/apigee/apigee-setup/bin/update.sh -c all -f /tmp/sa_silent_config
- component is the Edge component to update. You typically update the
following components:
- Restart the UI components on all nodes running it, if you haven't done so already:
/opt/apigee/apigee-service/bin/apigee-service [edge-management-ui|edge-ui] restart
- Test the update by running the
apigee-validate
utility on the Management Server, as described in Test the install.
If you later decide to roll back the update, use the procedure described in Roll back 4.52.01.
Order of machine update
The order that you update the machines in an Edge installation is important:
- You must update all Cassandra and ZooKeeper nodes before you update any other nodes.
- For any machine with multiple Edge components (Management Server, Message Processor,
Router, QPID Server but not 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.
1-node standalone upgrade
To upgrade a 1-node standalone configuration to 4.52.01:
- Update all components:
/opt/apigee/apigee-setup/bin/update.sh -c all -f configFile
- (If you installed
apigee-adminapi
) Updated theapigee-adminapi
utility:/opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
2-node standalone upgrade
Update the following components for a 2-node standalone installation:
See Installation topologies for the list of Edge topologies and node numbers.
- Update Cassandra and ZooKeeper on machine 1:
/opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
- Update Postgres on machine 2:
/opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- Update LDAP on machine 1:
/opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
- Update Edge components on machine 2 and 1:
/opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
- Update Qpid on Machine 2:
/opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- Update the UI on machine 1:
/opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
- (If you installed
apigee-adminapi
) Updated theapigee-adminapi
utility on machine 1:/opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
- (If you installed Apigee SSO) Update Apigee SSO on machine 1:
/opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
Where sso_config_file is the configuration file you created when you installed SSO.
- Restart the Edge UI component on machine 1:
/opt/apigee/apigee-service/bin/apigee-service edge-ui restart
5-node upgrade
Update the following components for a 5-node installation:
See Installation topologies for the list of Edge topologies and node numbers.
- Update Cassandra and ZooKeeper on machine 1, 2, and 3:
/opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
- Update Postgres on machine 4:
/opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- Update Postgres on machine 5:
/opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- Update LDAP on machine 1:
/opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
- Update Edge components on machine 4, 5, 1, 2, 3:
/opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
- Update Qpid on machine 4:
/opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- Update Qpid on machine 5:
/opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- Update the Edge UI:
- Classic UI: If you are using the classic UI, then update the
ui
component on machine 1, as the following example shows:/opt/apigee/apigee-setup/bin/update.sh -c ui -f configFile
- New Edge UI: If you installed the new Edge UI, then update the
ue
component on the appropriate machine (may not be machine 1):/opt/apigee/apigee-setup/bin/update.sh -c ue -f /opt/silent.conf
- Classic UI: If you are using the classic UI, then update the
- (If you installed
apigee-adminapi
) Updated theapigee-adminapi
utility on machine 1:/opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
- (If you installed Apigee SSO) Update Apigee SSO on machine 1:
/opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
Where sso_config_file is the configuration file you created when you installed SSO.
- Restart the UI component:
- Classic UI: If you are using the classic UI, then restart the
edge-ui
component on machine 1, as the following example shows:/opt/apigee/apigee-service/bin/apigee-service edge-ui restart
- New Edge UI: If you installed the new Edge UI, then restart the
edge-management-ui
component on the appropriate machine (may not be machine 1):/opt/apigee/apigee-service/bin/apigee-service edge-management-ui restart
- Classic UI: If you are using the classic UI, then restart the
9-node clustered upgrade
Update the following components for a 9-node clustered installation:
See Installation topologies for the list of Edge topologies and node numbers.
- Update Cassandra and ZooKeeper on machine 1, 2, and 3:
/opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
- Update Postgres on machine 8:
/opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- Update Postgres on machine 9:
/opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- Update LDAP on machine 1:
/opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
- Update Edge components on machine 6, 7, 8, 9, 1, 4, and 5 in that order:
/opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
- Update Qpid on machines 6 and 7:
/opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- Update either the new UI (
ue
) or classic UI (ui
) on machine 1:/opt/apigee/apigee-setup/bin/update.sh -c [ui|ue] -f configFile
- (If you installed
apigee-adminapi
) Update theapigee-adminapi
utility on machine 1:/opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
- (If you installed Apigee SSO) Update Apigee SSO on machine 1:
/opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
Where sso_config_file is the configuration file you created when you installed SSO.
- Restart the UI component:
- Classic UI: If you are using the classic UI, then restart the
edge-ui
component on machine 1, as the following example shows:/opt/apigee/apigee-service/bin/apigee-service edge-ui restart
- New Edge UI: If you installed the new Edge UI, then restart the
edge-management-ui
component on the appropriate machine (may not be machine 1):/opt/apigee/apigee-service/bin/apigee-service edge-management-ui restart
- Classic UI: If you are using the classic UI, then restart the
13-node clustered upgrade
Update the following components for a 13-node clustered installation:
See Installation topologies for the list of Edge topologies and node numbers.
- Update Cassandra and ZooKeeper on machines 1, 2, and 3:
/opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
- Update Postgres on machine 8:
/opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- Update Postgres on machine 9:
/opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- Update LDAP on machine 4 and 5:
/opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
- Update Edge components on machines 12, 13, 8, 9, 6, 7, 10, and 11 in that order:
/opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
- Update Qpid on machines 12 and 13:
/opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- Update either the new UI (
ue
) or classic UI (ui
) on machines 6 and 7:/opt/apigee/apigee-setup/bin/update.sh -c [ui|ue] -f configFile
- (If you installed
apigee-adminapi
) Updated theapigee-adminapi
utility on machines 6 and 7:/opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
- (If you installed Apigee SSO) Update Apigee SSO on machines 6 and 7:
/opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
Where sso_config_file is the configuration file you created when you installed SSO.
- Restart the UI component:
- Classic UI: If you are using the classic UI, then restart the
edge-ui
component on machines 6 and 7, as the following example shows:/opt/apigee/apigee-service/bin/apigee-service edge-ui restart
- New Edge UI: If you installed the new Edge UI, then restart the
edge-management-ui
component on machines 6 and 7:/opt/apigee/apigee-service/bin/apigee-service edge-management-ui restart
- Classic UI: If you are using the classic UI, then restart the
12-node clustered upgrade
Update the following components for a 12-node clustered installation:
See Installation topologies for the list of Edge topologies and node numbers.
- Update Cassandra and ZooKeeper:
- On machines 1, 2 and 3 in Data Center 1:
/opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
- On machines 7, 8, and 9 in Data Center 2
/opt/apigee/apigee-setup/bin/update.sh -c cs,zk -f configFile
- On machines 1, 2 and 3 in Data Center 1:
- Update Postgres:
- Machine 6 in Data Center 1
/opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- Machine 12 in Data Center 2
/opt/apigee/apigee-setup/bin/update.sh -c ps -f configFile
- Machine 6 in Data Center 1
- Update LDAP:
- Machine 1 in Data Center 1
/opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
- Machine 7 in Data Center 2
/opt/apigee/apigee-setup/bin/update.sh -c ldap -f configFile
- Machine 1 in Data Center 1
- Update Edge components:
- Machines 4, 5, 6, 1, 2, 3 in Data Center 1
/opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
- Machines 10, 11, 12, 7, 8, 9 in Data Center 2
/opt/apigee/apigee-setup/bin/update.sh -c edge -f configFile
- Machines 4, 5, 6, 1, 2, 3 in Data Center 1
- Update qpidd:
- Machines 4, 5 in Data Center 1
- Update
qpidd
on machine 4:/opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- Update
qpidd
on machine 5:/opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- Update
- Machines 10, 11 in Data Center 2
- Update
qpidd
on machine 10:/opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- Update
qpidd
on machine 11:/opt/apigee/apigee-setup/bin/update.sh -c qpid -f configFile
- Update
- Machines 4, 5 in Data Center 1
- Update either the new UI (
ue
) or classic UI (ui
):- Machine 1 in Data Center 1:
/opt/apigee/apigee-setup/bin/update.sh -c [ui|ue] -f configFile
- Machine 7 in Data Center 2:
/opt/apigee/apigee-setup/bin/update.sh -c [ui|ue] -f configFile
- Machine 1 in Data Center 1:
- (If you installed
apigee-adminapi
) Updated theapigee-adminapi
utility:- Machine 1 in Data Center 1:
/opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
- Machine 7 in Data Center 2:
/opt/apigee/apigee-service/bin/apigee-service apigee-adminapi update
- Machine 1 in Data Center 1:
- (If you installed Apigee SSO) Update Apigee SSO:
- Machine 1 in Data Center 1:
/opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
- Machine 7 in Data Center 2:
/opt/apigee/apigee-setup/bin/update.sh -c sso -f sso_config_file
Where sso_config_file is the configuration file you created when you installed SSO.
- Machine 1 in Data Center 1:
- Restart the new Edge UI (
edge-management-ui
) or classic Edge UI (edge-ui
) component on machines 1 and 7:/opt/apigee/apigee-service/bin/apigee-service [edge-ui|edge-management-ui] restart
For a non-standard configuration
If you have a non-standard configuration, then update Edge components in the following order:
- ZooKeeper
- Cassandra
- ps
- LDAP
- Edge, meaning the "-c edge" profile on all nodes in the order: nodes with Qpid server, Edge Postgres Server, Management Server, Message Processor, and Router.
- qpidd
- Edge UI (either classic or new)
apigee-adminapi
- Apigee SSO
After you finish updating, be sure to restart the Edge UI component on all machines running it.