Apigee Edge belgelerini görüntülüyorsunuz.
.
Git:
Apigee X belgeleri. bilgi
Private Cloud yüklemesi için bir Edge'de Postgres ve Qpid sunucularını kaldırmanız gerekebilir veya analiz grubuna ekleyebilirsiniz. Bu dokümanda, mevcut bir Edge yüklemesinde Postgres ve Qpid sunucularının nasıl ekleneceği ve kaldırılacağı açıklanmaktadır tek bir Postgres kurulumu ve ana bekleme Postgres yüklemesi için.
Kurulum bölümüne bakın ana-beklemede replika üzerinde daha fazla bilgi bulabilirsiniz.
Ön koşullar
Sistem yöneticisi kimlik bilgilerini kullanarak yönetim sunucusu API çağrıları yapma yetkisi.
Analiz grubuna mevcut bir Postgres sunucusunu ekleme
Postgres sunucu bileşenleri ekleme işlemi, Postgres'in yüklü olup olmadığına bağlıdır replika içermeyen tek bir sunucu olarak ya da ana-beklemede replika etkinleştirilmiş iki sunucu olarak kullanılabilir.
1. Senaryo: Bir Postgres sunucusu, Postgres replikası yok
Analizin ve tüketici gruplarının adını belirleyin.
Varsayılan olarak analizin adı grubu
axgroup-001ve tüketici grubunun adıconsumer-group-001. Bir bölgenin sessiz yapılandırma dosyasındaAXGROUPözelliğini kullanarak analiz grubunu seçin.Analytics ve tüketici gruplarının adlarından emin değilseniz aşağıdaki komutu kullanın tıklayın:
curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
Bu çağrı, analiz grubunun adlarını içeren bir yanıt döndürür:
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ] …Bu örnekte analiz grubunun adı
axgroup-001.şeklindedir.postgres-serverbileşeninin UUID'sini belirlemek için aşağıdaki API'yi kullanın:curl http://pg-IP:8084/v1/servers/self
Aşağıdaki API çağrılarında axgoupname ve UUID değerlerini şununla değiştirin: yukarıda belirlenen analytics grubu adı ve UUID.
- Postgres sunucusu UUID'sini
postgres-serveröğesine eklemek için aşağıdaki API çağrısını kullanın: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"
Örnek çağrı ve çıkış:
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" : { } - Postgres sunucusu UUID'sini tüketici grubuna eklemek için aşağıdaki API'yi kullanın :
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"
Örnek çağrı ve çıkış:
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" : { } - Tüm
edge-postgres-serverveedge-qpid-serverbileşenlerini şurada yeniden başlat: tüm düğümleri kontrol edin:/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
2. Senaryo: Ana bekleme modu replikası olan iki Postgres sunucusu
Analizin ve tüketici gruplarının adını belirleyin.
Varsayılan olarak analizin adı grubu
axgroup-001ve tüketici grubunun adıconsumer-group-001. Bir bölgenin sessiz yapılandırma dosyasındaAXGROUPözelliğini kullanarak analiz grubunu seçin.Analytics ve tüketici gruplarının adlarından emin değilseniz aşağıdaki komutu kullanın tıklayın:
curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
Bu çağrı, tanımlı analiz gruplarının adlarını içeren bir yanıt döndürür:
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ] …Bu örnekte analiz grubunun adı
axgroup-001.şeklindedir.- Her ana
postgres-serverana makinesinin UUID'lerini bulmak için aşağıdaki API çağrısını kullanın bileşeni VE beklemepostgres-serverbileşeni:curl http://pg-IP:8084/v1/servers/self
Aşağıdaki API çağrılarında axgoupname öğesini
axgroup-001ve ana sunucu gereksinimlerinde 2. adımda edinilen UUID masteruuid ve bekleme sunucusu slaveuuid olarak kullanılmalıdır. - Postgres sunucusu UUID'lerini
postgres-serveröğesine eklemek için aşağıdaki API'yi kullanın: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"
Örnek çağrı ve çıkış:
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" : { } - Postgres sunucusu UUID'lerini tüketici grubuna eklemek için aşağıdaki API'yi kullanın:
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"
Örnek çağrı ve çıkış:
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" : { } - Tüm
edge-postgres-serverveedge-qpid-serverbileşenlerini şurada yeniden başlat: tüm düğümleri kontrol edin:/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
Bir analiz grubuna mevcut bir Qpid sunucusunu ekleme
- Aşağıdaki API'yi kullanarak analiz grubunun adını bulun:
curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
Bu komut, analiz gruplarının ve kapsamların adlarını içeren bir yanıt döndürecektir:
[ { "name" : "axgroup-001", "properties" : { }, "scopes" : [ "example~prod", "example~test" ] …Bu örnekte analiz grubunun adı
axgroup-001.şeklindedir. - İstediğiniz her Qpid sunucu bileşeninin UUID'sini belirlemek için aşağıdaki API çağrısını kullanın
Analytics grubuna ekleyin:
curl http://qp-IP:8083/v1/servers/self
qpid-serveröğesine tek bir Qpid sunucusu UUID'si eklemek için aşağıdaki API çağrısını kullanın öğesini kullanın (gerektiği kadar UUID için tekrarlayın):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"
Örnek çağrı ve çıkış:
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" : { }- Şu API çağrısını kullanarak şu tüketici öğesine tek bir Qpid sunucusu UUID'si ekleyin:
tüketici grubu (gerektiği kadar çok UUID için tekrarlayın):
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"
Örnek çağrı ve çıkış:
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" : { } - Değişiklikten emin olmak için tüm düğümlerdeki tüm
edge-qpid-serverbileşeni yeniden başlatın şu bileşenler tarafından alınır:/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server restart/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server wait_for_ready
Analiz grubundan Postgres sunucusunu kaldırma
Postgres sunucusunu kaldırma işlemi, Postgres çoğaltmasının etkin olup olmadığına bağlıdır.
1. Senaryo: Bir Postgres sunucusu, replika yok
Analizin ve tüketici gruplarının adını belirleyin.
Varsayılan olarak analizin adı grubu
axgroup-001ve tüketici grubunun adıconsumer-group-001. Bir bölgenin sessiz yapılandırma dosyasındaAXGROUPözelliğini kullanarak analiz grubunu seçin.Analytics ve tüketici gruplarının adlarından emin değilseniz aşağıdaki komutu kullanın tıklayın:
curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
Bu işlem, aşağıdaki gibi bir yanıt döndürür:
[ { "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" : { }Bu örnekte, analiz grubunun adı
axgroup-001, tüketici grubunun adıconsumer-group-001vepostgres-serverUUID'si:8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77. Bu kimliğin her ikipostgres-servervedatastoresöğesiconsumer-groupsaltında.Aşağıdaki adımlarda elde edilen analiz grubu adını, tüketici grubu adını ve UUID'yi kullanın.
postgres-serverUUID'sini Tüketici grubunundatastoresöğesi: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"
Örnek çağrı ve çıkış:
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" : { }postgres-serverUUID'sinipostgres-serveröğe: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"
Örnek çağrı ve çıkış:
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" : { }- Postgres sunucusunu değiştirmeniz veya silmesi durumunda:
- Postgres sunucusunu değiştiriyorsanız Postgres sunucusu ekleme başlıklı makaleyi inceleyin adresine göz atın.
- Bir Postgres sunucusunu siliyorsanız tüm
Tüm düğümlerde
edge-postgres-serverveedge-qpid-serverbileşenlerini aşağıdaki komutları çalıştırarak değişikliğin bu bileşenler tarafından alındığından emin olun:/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
2. Senaryo: Ana bekleme modu replikası olan iki Postgres sunucusu
Şu anda kayıtlı olan analiz grubu adını ve Postgres sunucusu UUID'lerini aşağıdaki API'yi kullanabilirsiniz:
curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
Bu çağrı, aşağıdakine benzer bir yanıt döndürür:
[ { "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" : { }Bu örnekte analiz grubunun adı
axgroup-001vepostgres-serverUUID'leri8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77ve731c8c43-8c35-4b58-ad1a-f572b69c5f0.postgres-servervedatastoresöğesi aynı değere sahip.Aşağıdaki adımlarda bu adımda elde edilen analiz grubu adını, tüketici grubu adını ve UUID'leri kullanın.
postgres-serverUUID'lerini Tüketici grubunundatastoresöğesi (ana ve yardımcı UUID'lerin virgülle ayrılır ancak analiz çıktısında iki nokta ile ayrılır. yukarıda bahsedilen grup görüşmesi):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"
Örnek çağrı ve çıkış:
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" : { }postgres-serverUUID'lerinipostgres-serveröğe: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"
Örnek çağrı ve çıkış:
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" : { }- Postgres sunucusunu değiştirmeniz veya silmesi durumunda:
- Postgres sunucusunu değiştiriyorsanız Postgres sunucusu ekleme başlıklı makaleyi inceleyin adresine göz atın.
- Bir Postgres sunucusunu siliyorsanız tüm
Tüm düğümlerde
edge-postgres-serverveedge-qpid-serverbileşenlerini aşağıdaki komutları çalıştırarak değişikliğin bu bileşenler tarafından alındığından emin olun:/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
Analiz grubundan Qpid sunucusunu kaldırma
- Şu anda aşağıdaki API'yi kullanarak kayıtlı olan Qpid sunucusu UUID'lerini bulun:
Bu işlem, şu biçimde bir yanıt döndürecektir:curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
[ { "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" : { }Bu örnekte analiz grubunun adı
axgroup-001ve Qpid sunucusu UUID'leridir.94c96375-1ca7-412d-9eee-80fda94f6e0ve54a96375-33a7-4fba-6bfa-80fda94f6e07.qpid-serverveconsumersöğesinin aynı değerlere sahip olduğuna dikkat edin.Aşağıdaki adımlarda bu adımda elde edilen analiz grubu adını, tüketici grubu adını ve UUID'leri kullanın.
consumersöğesinden tek birqpid-serverUUID'sini kaldırmak için aşağıdaki API çağrısını kullanın öğesi (gerektiği kadar çok UUID için tekrarlayın):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"
Örnek çağrı ve çıkış:
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" : { }- Aşağıdaki API çağrısını kullanarak
qpid-serverqpid-serveröğesi (gerektiği kadar UUID için tekrarlayın):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"
Örnek çağrı ve çıkış:
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" : { } - Değişiklikten emin olmak için tüm düğümlerdeki tüm
edge-qpid-serverbileşeni yeniden başlatın şu bileşenler tarafından alınır:/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server restart/opt/apigee/apigee-service/bin/apigee-service edge-qpid-server wait_for_ready