You're viewing Apigee Edge documentation.
Go to the
Apigee X documentation. info
In an Edge for Private Cloud installation, you might have to remove Postgres and Qpid servers from an existing analytics group, or add them to an analytics group. This document describes how to add and remove Postgres and Qpid servers in an existing Edge installation for a single Postgres installation and a master-standby Postgres installation.
See Set up master-standby replication for Postgres for more.
Prerequisites
Ability to make management server API calls using the system admin credentials.
Add an existing Postgres server to an analytics group
The process for adding Postgres server components depends on whether Postgres was installed as a single server with no replication, or as two servers with master-standby replication enabled.
Scenario #1: One Postgres server, no Postgres replication
Determine the name of the analytics and consumer groups.
By default, the name of the analytics group is
axgroup-001
, and the name of the consumer group isconsumer-group-001
. In the silent config file for a region, you can set the name of the analytics group by using theAXGROUP
property.If you are unsure of the names of the analytics and consumer groups, use the following command to display them:
curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
This call returns a response containing the names of the analytics group:
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ] …
In this example, the analytics group name is
axgroup-001.
- Use the following API to determine the UUID of the
postgres-server
component:curl http://pg-IP:8084/v1/servers/self
In the following API calls, replace axgoupname and UUID with the analytics group name and UUID determined above.
- Use the following API call to add the Postgres server UUID to the
postgres-server
element:curl -v -u adminEmail:pword -X POST -H 'Content-Type: application/json' "http://ms-IP:8080/v1/analytics/groups/ax/axgroupname/servers?uuid=UUID&type=postgres-server&force=true"
Example call and output:
curl -v -u adminEmail:pword -X POST -H 'Content-Type: application/json' "http://localhost:8080/v1/analytics/groups/ax/axgroup-001/servers?uuid=8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77&type=postgres-server&force=true"
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07"], "postgres-server" : ["8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07"], "datastores" : [ ], "properties" : { } } ], "data-processors" : { }
- Use the following API to add the Postgres server UUID to the consumer group :
curl -v -u adminEmail:pword -X POST -H 'Content-Type: application/json' "http://ms-IP:8080/v1/analytics/groups/ax/axgroupname/consumer-groups/consumer-group-001/datastores?uuid=UUID"
Example call and output:
curl -v -u adminEmail:pword -X POST -H 'Content-Type: application/json' "http://localhost:8080/v1/analytics/groups/ax/axgroup-001/consumer-groups/consumer-group-001/datastores?uuid=8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77"
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07"], "postgres-server" : ["8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07"], "datastores" : ["8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77"], "properties" : { } } ], "data-processors" : { }
- Restart all
edge-postgres-server
andedge-qpid-server
components on all nodes to make sure the change is picked up by those components:/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server restart
/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server wait_for_ready
/opt/apigee/apigee-service/bin/apigee-service edge-postgres-server restart
/opt/apigee/apigee-service/bin/apigee-service edge-postgres-server wait_for_ready
Scenario #2: Two Postgres servers with master-standby replication
Determine the name of the analytics and consumer groups.
By default, the name of the analytics group is
axgroup-001
, and the name of the consumer group isconsumer-group-001
. In the silent config file for a region, you can set the name of the analytics group by using theAXGROUP
property.If you are unsure of the names of the analytics and consumer groups, use the following command to display them:
curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
This call returns a response containing the names of defined analytics groups:
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ] …
In this example, the analytics group name is
axgroup-001.
- Use the following API call to find the UUIDs of each master
postgres-server
component AND the standbypostgres-server
component:curl http://pg-IP:8084/v1/servers/self
In the following API calls you would have to replace axgoupname with
axgroup-001
and the UUID that was obtained in step 2 on the master server needs to be used in place of masteruuid and the UUID that was returned in step 2 for the standby server needs to be used as slaveuuid. - Use the following API to add the Postgres server UUIDs to the
postgres-server
element:curl -v -u adminEmail:pword -X POST -H 'Content-Type: application/json' "http://ms-IP:8080/v1/analytics/groups/ax/axgroupname/servers?uuid=masteruuid,slaveuuid&type=postgres-server&force=true"
Example call and output:
curl -v -u adminEmail:pword -X POST -H 'Content-Type: application/json' "http://localhost:8080/v1/analytics/groups/ax/axgroup-001/servers?uuid=8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77,731c8c43-8c35-4b58-ad1a-f572b69c5f0&type=postgres-server&force=true"
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : ["54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "postgres-server" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f572b69c5f0"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "datastores" : [], "properties" : { } } ], "data-processors" : { }
- Use the following API to add the Postgres server UUIDs to the consumer group:
curl -v -u adminEmail:pword -X POST -H -H 'Content-Type: application/json' "http://ms-IP:8080/v1/analytics/groups/ax/axgroupname/consumer-groups/consumer-group-001/datastores?uuid=masteruuid,slaveuuid"
Example call and output:
curl -v -u adminEmail:pword -X POST -H 'Content-Type: application/json' "http://localhost:8080/v1/analytics/groups/ax/axgroup-001/consumer-groups/consumer-group-001/datastores?uuid=8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77,731c8c43-8c35-4b58-ad1a-f572b69c5f0"
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : ["54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "postgres-server" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f572b69c5f0"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "datastores" : ["8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f572b69c5f0"], "properties" : { } } ], "data-processors" : { }
- Restart all
edge-postgres-server
andedge-qpid-server
components on all nodes to make sure the change is picked up by those components:/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server restart
/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server wait_for_ready
/opt/apigee/apigee-service/bin/apigee-service edge-postgres-server restart
/opt/apigee/apigee-service/bin/apigee-service edge-postgres-server wait_for_ready
Add an existing Qpid server to an analytics group
- Find the analytics group name using the following API:
curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
This should return a response containing the names of the analytics groups and scopes:
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ] …
In this example, the analytics group name is
axgroup-001.
- Use the following API call to determine the UUID of each the Qpid server component you want
to add to the analytics group:
curl http://qp-IP:8083/v1/servers/self
- Use the following API call to add a single Qpid server UUID to the
qpid-server
element (repeat for as many UUIDs as necessary):curl -v -u adminEmail:pword -X POST -H 'Content-Type: application/json' "http://ms-IP:8080/v1/analytics/groups/ax/axgroupname/servers?uuid=qpiduuid&type=qpid-server"
Example call and output:
curl -v -u adminEmail:pword -X POST -H 'Accept: application/json' "http://localhost:8080/v1/analytics/groups/ax/axgroup-001/servers?uuid=94c96375-1ca7-412d-9eee-80fda94f6e0&type=qpid-server"
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07", "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "postgres-server" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f572b69c5f0"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "datastores" : ["8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f57 ], "properties" : { } } ], "data-processors" : { }
- Use the following API call to add a single Qpid server UUID to the consumers element of
the consumer group (repeat for as many UUIDs as necessary):
curl -v -u adminEmail:pword -X POST -H 'Content-Type: application/json' "http://ms-IP:8080/v1/analytics/groups/ax/axgroupname/consumer-groups/consumer-group-001/consumers?uuid=qpiduuid"
Example call and output:
curl -v -u adminEmail:pword -X POST -H 'Accept: application/json' "http://localhost:8080/v1/analytics/groups/ax/axgroup-001//consumer-groups/consumer-group-001/consumers?uuid=94c96375-1ca7-412d-9eee-80fda94f6e0"
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07", "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "postgres-server" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f572b69c5f0"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07","54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "datastores" : ["8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f57 ], "properties" : { } } ], "data-processors" : { }
- Restart all
edge-qpid-server
components on all nodes to make sure the change is picked up by those components:/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server restart
/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server wait_for_ready
Remove a Postgres server from an analytics group
The process for removing a Postgres server depends on whether Postgres replication was enabled or not.
Scenario #1: One Postgres server, no replication
Determine the name of the analytics and consumer groups.
By default, the name of the analytics group is
axgroup-001
, and the name of the consumer group isconsumer-group-001
. In the silent config file for a region, you can set the name of the analytics group by using theAXGROUP
property.If you are unsure of the names of the analytics and consumer groups, use the following command to display them:
curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
This should return a response like the following:
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07" ], "postgres-server" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07" ], "datastores" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77" ], "properties" : { } } ], "data-processors" : { }
In this example, the analytics group name is
axgroup-001
, consumer group nameconsumer-group-001
and thepostgres-server
UUID is8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77
. Note that this ID is associated with both thepostgres-server
and thedatastores
element underconsumer-groups
.Use the analytics group name, consumer group name and UUID obtained in the steps below.
- Use the following API call to remove the
postgres-server
UUID from thedatastores
element of the consumer group:curl -v -u adminEmail:pword -X DELETE -H 'Accept: application/json' "http://ms-IP:8080/v1/analytics/groups/ax/axgroupname/consumer-groups/consumergroupname/datastores/UUID"
Example call and output:
curl -v -u adminEmail:pword -X DELETE -H 'Accept: application/json' "http://localhost:8080/v1/analytics/groups/ax/axgroup-001/consumer-groups/consumer-group-001/datastores/8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77"
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07" ], "postgres-server" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07" ], "datastores" : [ ], "properties" : { } } ], "data-processors" : { }
- Use the following API to remove the
postgres-server
UUID from thepostgres-server
element:curl -v -u adminEmail:pword -X DELETE -H 'Accept: application/json' "http://ms-IP:8080/v1/analytics/groups/ax/axgroupname/servers?uuid=UUID&type=postgres-server"
Example call and output:
curl -v -u adminEmail:pword -X DELETE -H 'Accept: application/json' "http://localhost:8080/v1/analytics/groups/ax/axgroup-001/servers?uuid=8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77&type=postgres-server"
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07" ], "postgres-server" : [ ] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07" ], "datastores" : [ ], "properties" : { } } ], "data-processors" : { }
- Depending on if you are replacing or deleting the Postgres server:
- If you are replacing the Postgres server, see Add a Postgres server for the steps to add a Postgres servers.
- If you are deleting a Postgres server, restart all
edge-postgres-server
andedge-qpid-server
components on all nodes to make sure the change is picked up by those components by running the following commands:/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server restart
/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server wait_for_ready
/opt/apigee/apigee-service/bin/apigee-service edge-postgres-server restart
/opt/apigee/apigee-service/bin/apigee-service edge-postgres-server wait_for_ready
Scenario #2: Two Postgres servers with master-standby replication
Find the analytics group name and Postgres server UUIDs that are currently registered using the following API:
curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
This call returns a response like the following:
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07", "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "postgres-server" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f572b69c5f0"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07", "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "datastores" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f572b69c5f0" ], "properties" : { } } ], "data-processors" : { }
In this example, the analytics group name is
axgroup-001
, and thepostgres-server
UUIDs are8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77
and731c8c43-8c35-4b58-ad1a-f572b69c5f0
. Note thepostgres-server
anddatastores
element have the same value.Use the analytics group name, consumer group name, and UUIDs obtained in this step in the steps below.
- Use the following API to remove the
postgres-server
UUIDs from thedatastores
element of the consumer group (note that the master and slave UUIDs are separated by a comma in the API but will be separated by a colon in the output of the analytics group call mentioned above):curl -v -u adminEmail:pword -X DELETE -H 'Accept: application/json' "http://ms-IP:8080/v1/analytics/groups/ax/axgroupname/consumer-groups/consumergroupname/datastores/masteruuid,slaveuuid"
Example call and output:
curl -v -u adminEmail:pword -X DELETE -H 'Accept: application/json' "http://localhost:8080/v1/analytics/groups/ax/axgroup-001/consumer-groups/consumer-group-001/datastores/8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77,731c8c43-8c35-4b58-ad1a-f572b69c5f0"
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07", "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "postgres-server" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f572b69c5f0"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07", "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "datastores" : [ ], "properties" : { } } ], "data-processors" : { }
- Use the following API to remove the
postgres-server
UUIDs from thepostgres-server
element:curl -v -u adminEmail:pword -X DELETE -H 'Accept: application/json' "http://ms-IP:8080/v1/analytics/groups/ax/axgroupname/servers?uuid=masteruuid,slaveuuid&type=postgres-server"
Example call and output:
curl -v -u adminEmail:pword -X DELETE -H 'Accept: application/json' "http://localhost:8080/v1/analytics/groups/ax/axgroup-001/servers?uuid=8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77,731c8c43-8c35-4b58-ad1a-f572b69c5f0&type=postgres-server"
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07", "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "postgres-server" : [ ] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07", "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "datastores" : [ ], "properties" : { } } ], "data-processors" : { }
- Depending on if you are replacing or deleting the Postgres server:
- If you are replacing the Postgres server, see Add a Postgres server for the steps to add a Postgres servers.
- If you are deleting a Postgres server, restart all
edge-postgres-server
andedge-qpid-server
components on all nodes to make sure the change is picked up by those components by running the following commands:/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server restart
/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server wait_for_ready
/opt/apigee/apigee-service/bin/apigee-service edge-postgres-server restart
/opt/apigee/apigee-service/bin/apigee-service edge-postgres-server wait_for_ready
Remove a Qpid server from an analytics group
- Find the Qpid server UUIDs that are currently registered using the following API:
curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
This should return a response in the form:[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07", "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "postgres-server" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f572b69c5f0"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07", "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "datastores" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f572b69c5f0" ], "properties" : { } } ], "data-processors" : { }
In this example, the analytics group name is
axgroup-001
, and the Qpid server UUIDs are94c96375-1ca7-412d-9eee-80fda94f6e0
and54a96375-33a7-4fba-6bfa-80fda94f6e07
. Note theqpid-server
andconsumers
element have the same values.Use the analytics group name, consumer group name and UUIDs obtained in this step in the steps below.
- Use the following API call to remove a single
qpid-server
UUID from theconsumers
element of the consumer group (repeat for as many UUIDs as necessary):curl -v -u adminEmail:pword -X DELETE -H 'Accept: application/json' "http://ms-IP:8080/v1/analytics/groups/ax/axgroupname/consumer-groups/consumer-group-001/consumers/qpiduuid"
Example call and output:
curl -v -u adminEmail:pword -X DELETE -H 'Accept: application/json' "http://localhost:8080/v1/analytics/groups/ax/axgroup-001/consumer-groups/consumer-group-001/consumers/94c96375-1ca7-412d-9eee-80fda94f6e0"
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : [ "94c96375-1ca7-412d-9eee-80fda94f6e07", "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "postgres-server" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f572b69c5f0"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "datastores" : ["8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f57 ], "properties" : { } } ], "data-processors" : { }
- Use the following API call to remove a single
qpid-server
UUID from theqpid-server
element (repeat for as many UUIDs as necessary):curl -v -u adminEmail:pword -X DELETE -H 'Accept: application/json' "http://ms-IP:8080/v1/analytics/groups/ax/axgroupname/servers?uuid=qpiduuid&type=qpid-server"
Example call and output:
curl -v -u adminEmail:pword -X DELETE -H 'Accept: application/json' "http://localhost:8080/v1/analytics/groups/ax/axgroup-001/servers?uuid=94c96375-1ca7-412d-9eee-80fda94f6e0&type=qpid-server"
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ], "uuids" : { "qpid-server" : ["54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "postgres-server" : [ "8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f572b69c5f0"] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "54a96375-33a7-4fba-6bfa-80fda94f6e07" ], "datastores" : ["8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77:731c8c43-8c35-4b58-ad1a-f57 ], "properties" : { } } ], "data-processors" : { }
- Restart all
edge-qpid-server
components on all nodes to make sure the change is picked up by those components:/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server restart
/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server wait_for_ready