Analytics gruplarına analiz bileşenleri ekleme ve mevcut Analytics bileşenlerini silme

Apigee Edge belgelerini görüntülüyorsunuz.
Apigee X belgelerine gidin.
bilgi

Edge for Private Cloud yüklemesinde, Postgres ve Qpid sunucularını mevcut bir analiz grubundan kaldırmanız veya bir analiz grubuna eklemeniz gerekebilir. Bu belgede, tek bir Postgres yüklemesi ve ana-yedek Postgres yüklemesi için mevcut bir Edge yüklemesine Postgres ve Qpid sunucularının nasıl ekleneceği ve nasıl kaldırılacağı açıklanmaktadır.

Daha fazla bilgi için Postgres için ana-bekleme replikasyonu ayarlama başlıklı makaleyi inceleyin.

Ön koşullar

Sistem yöneticisi kimlik bilgilerini kullanarak yönetim sunucusu API çağrıları yapabilme.

Mevcut bir Postgres sunucusunu analiz grubuna ekleme

Postgres sunucu bileşenlerini ekleme süreci, Postgres'in tek bir sunucu olarak ve replikasyon olmadan mı yoksa ana-bekleme replikasyonu etkinleştirilmiş iki sunucu olarak mı kurulduğuna bağlıdır.

1. senaryo: Tek bir PostgreSQL sunucusu, PostgreSQL replikasyonu yok

  1. Analiz ve tüketici gruplarının adını belirleyin.

    Varsayılan olarak, analiz grubunun adı axgroup-001, tüketici grubunun adı ise consumer-group-001'dir. Bir bölgenin sessiz yapılandırma dosyasında, AXGROUP özelliğini kullanarak analiz grubunun adını ayarlayabilirsiniz.

    Analiz ve tüketici gruplarının adlarından emin değilseniz bunları görüntülemek için aşağıdaki komutu kullanı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 grubu adı axgroup-001.

  2. postgres-server bileş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 yerine yukarıda belirlenen Analytics grubu adını ve UUID'yi girin.

  3. 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" : {
      }
  4. 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" : {
      }
  5. Değişikliğin bu bileşenler tarafından alındığından emin olmak için tüm düğümlerdeki tüm edge-postgres-server ve edge-qpid-server bileşenlerini yeniden başlatın:
    /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

Senaryo 2: Ana-yedek çoğaltma içeren iki Postgres sunucusu

  1. Analiz ve tüketici gruplarının adını belirleyin.

    Varsayılan olarak, analiz grubunun adı axgroup-001, tüketici grubunun adı ise consumer-group-001'dir. Bir bölgenin sessiz yapılandırma dosyasında, AXGROUP özelliğini kullanarak analiz grubunun adını ayarlayabilirsiniz.

    Analiz ve tüketici gruplarının adlarından emin değilseniz bunları görüntülemek için aşağıdaki komutu kullanın:

    curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"

    Bu çağrı, tanımlanan 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 grubu adı axgroup-001.

  2. Her bir ana postgres-server bileşeninin VE yedek postgres-server bileşeninin UUID'lerini bulmak için aşağıdaki API çağrısını kullanın:
    curl http://pg-IP:8084/v1/servers/self

    Aşağıdaki API çağrılarında axgoupname yerine axgroup-001, ana sunucuda 2. adımda elde edilen UUID yerine masteruuid, yedek sunucuda 2. adımda döndürülen UUID yerine ise slaveuuid kullanmanız gerekir.

  3. 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" : {
      }
  4. 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" : {
      }
  5. Değişikliğin bu bileşenler tarafından alındığından emin olmak için tüm düğümlerdeki tüm edge-postgres-server ve edge-qpid-server bileşenlerini yeniden başlatın:
    /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

Mevcut bir Qpid sunucusunu analiz grubuna ekleme

  1. Aşağıdaki API'yi kullanarak analiz grubu adını bulun:
    curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"

    Bu işlem, analiz gruplarının ve kapsamlarının adlarını içeren bir yanıt döndürmelidir:

    [  {
      "name" : "axgroup-001",
      "properties" : {
      },
      "scopes" : [ "example~prod", "example~test" ]
      …

    Bu örnekte, analiz grubu adı axgroup-001.

  2. Analiz grubuna eklemek istediğiniz her Qpid sunucu bileşeninin UUID'sini belirlemek için aşağıdaki API çağrısını kullanın:
    curl http://qp-IP:8083/v1/servers/self
  3. qpid-server öğesine tek bir Qpid sunucusu UUID'si eklemek için aşağıdaki API çağrısını kullanın (gerekli sayıda 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" : {
      }
  4. Tüketici grubunun tüketiciler öğesine tek bir Qpid sunucusu UUID'si eklemek için aşağıdaki API çağrısını kullanın (gerekli sayıda 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" : {
      }
  5. Değişikliğin bu bileşenler tarafından alındığından emin olmak için tüm düğümlerdeki tüm edge-qpid-server bileşenlerini yeniden başlatın:
    /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server restart
    /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server wait_for_ready

Bir Postgres sunucusunu analiz grubundan kaldırma

Postgres sunucusunu kaldırma işlemi, Postgres replikasyonunun etkinleştirilip etkinleştirilmediğine bağlıdır.

1. senaryo: Tek bir PostgreSQL sunucusu, çoğaltma yok

  1. Analiz ve tüketici gruplarının adını belirleyin.

    Varsayılan olarak, analiz grubunun adı axgroup-001, tüketici grubunun adı ise consumer-group-001'dir. Bir bölgenin sessiz yapılandırma dosyasında, AXGROUP özelliğini kullanarak analiz grubunun adını ayarlayabilirsiniz.

    Analiz ve tüketici gruplarının adlarından emin değilseniz bunları görüntülemek için aşağıdaki komutu kullanın:

    curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"

    Bu işlem, aşağıdakine benzer bir yanıt döndürmelidir:

    [ {
      "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 grubu adı axgroup-001, tüketici grubu adı consumer-group-001 ve postgres-server UUID'si 8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77'dir. Bu kimliğin, consumer-groups altındaki hem postgres-server hem de datastores öğesiyle ilişkilendirildiğini unutmayın.

    Aşağıdaki adımlarda elde edilen analiz grubu adını, tüketici grubu adını ve UUID'yi kullanın.

  2. Tüketici grubunun postgres-server öğesinden datastores UUID'sini kaldırmak için aşağıdaki API çağrısını kullanın:
    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" : {
      }
  3. postgres-server öğesinden postgres-server UUID'sini kaldırmak için aşağıdaki API'yi kullanın:
    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" : {
      }
  4. Postgres sunucusunu değiştiriyor veya siliyorsanız:
    • Postgres sunucusunu değiştiriyorsanız Postgres sunucusu ekleme adımları için Postgres sunucusu ekleme başlıklı makaleyi inceleyin.
    • Bir Postgres sunucusunu siliyorsanız, değişikliğin bu bileşenler tarafından alındığından emin olmak için tüm düğümlerdeki tüm edge-postgres-server ve edge-qpid-server bileşenlerini yeniden başlatın. Bunu yapmak için aşağıdaki komutları çalıştırın:
      /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

Senaryo 2: Ana-yedek çoğaltma içeren iki Postgres sunucusu

  1. Şu anda aşağıdaki API kullanılarak kaydedilmiş olan analiz grubu adını ve Postgres sunucusu UUID'lerini bulun:

    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 grubu adı axgroup-001, postgres-server UUID'leri ise 8ee86b70-5b33-44b6-b2f8-1b0ec0ec8d77 ve 731c8c43-8c35-4b58-ad1a-f572b69c5f0'tür. postgres-server ve datastores öğesinin aynı değere sahip olduğunu unutmayın.

    Bu adımda elde edilen analiz grubu adını, tüketici grubu adını ve UUID'leri aşağıdaki adımlarda kullanın.

  2. Tüketici grubunun postgres-server öğesinden datastores UUID'lerini kaldırmak için aşağıdaki API'yi kullanın (Ana ve yardımcı UUID'lerin API'de virgülle ayrıldığını ancak yukarıda bahsedilen analiz grubu çağrısının çıkışında iki nokta üst üste ile ayrılacağını unutmayın):
    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" : {
      }
  3. postgres-server öğesinden postgres-server UUID'lerini kaldırmak için aşağıdaki API'yi kullanın:
    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" : {
      }
  4. Postgres sunucusunu değiştiriyor veya siliyorsanız:
    • Postgres sunucusunu değiştiriyorsanız Postgres sunucusu ekleme adımları için Postgres sunucusu ekleme başlıklı makaleyi inceleyin.
    • Bir Postgres sunucusunu siliyorsanız, değişikliğin bu bileşenler tarafından alındığından emin olmak için tüm düğümlerdeki tüm edge-postgres-server ve edge-qpid-server bileşenlerini yeniden başlatın. Bunu yapmak için aşağıdaki komutları çalıştırın:
      /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 Qpid sunucusunu analiz grubundan kaldırma

    1. Şu anda aşağıdaki API kullanılarak kaydedilmiş olan Qpid sunucusu UUID'lerini bulun:
      curl -u adminEmail:pword "http://ms-IP:8080/v1/analytics/groups/ax"
      Bu işlem, şu biçimde bir yanıt döndürmelidir:
      [  {
        "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 grubu adı axgroup-001, Qpid sunucusu UUID'leri ise 94c96375-1ca7-412d-9eee-80fda94f6e0 ve 54a96375-33a7-4fba-6bfa-80fda94f6e07'dir. qpid-server ve consumers öğelerinin aynı değerlere sahip olduğunu unutmayın.

      Bu adımda elde edilen analiz grubu adını, tüketici grubu adını ve UUID'leri aşağıdaki adımlarda kullanın.

    2. Tüketici grubunun consumers öğesinden tek bir qpid-server UUID'yi kaldırmak için aşağıdaki API çağrısını kullanın (gerekli sayıda 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" : {
        }
    3. Tek bir qpid-server UUID'yi qpid-server öğesinden kaldırmak için aşağıdaki API çağrısını kullanın (gerekli sayıda 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" : {
        }
    4. Değişikliğin bu bileşenler tarafından alındığından emin olmak için tüm düğümlerdeki tüm edge-qpid-server bileşenlerini yeniden başlatın:
      /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server restart
      /opt/apigee/apigee-service/bin/apigee-service edge-qpid-server wait_for_ready