How to remove Edge components on one region from multi-region setup?

Not applicable

Hi Team,

Our customer plans to remove DC which has Edge components of 4.16.01 Private Cloud including;

  • Management Server, Router/Message Processors,
  • Qpid/Postgres and Cassandra/Zookeeper.
  • which serves for the region with 3 Cassandra nodes only replicating data across regions just as Apigee standard setup.

    It's different from the case only Cassandra nodes are removed explained by: https://community.apigee.com/questions/41958/apigee-edge-opdk-how-to-remove-cassandra-node-with-1.ht...

    Instead they are going to remove all the components of the DC. In this case what are the right procedure?Are there missing or unnecessary steps in below?

    After stopping all the traffic coming to the region.

    1. nodetool repair -pr (on all Cassandra nodes)
    2. Modify /<inst_root>/apigee/customer/application/cassandra.properties for updating cluster info (on all Cassandra nodes)
    3. /<inst_root>/apigee/apigee-service/bin/apigee-service apigee-cassandra restart (on all Cassandra nodes)
    4. Modify /<inst_root>/apigee/customer/application/zookeeper.properties for updating conf_zoo_quorum (on all Cassandra and Zookeeper nodes)
    5. /<inst_root>/apigee/apigee-service/bin/apigee-service apigee-zookeeper restart (on all Cassandra and Zookeeper nodes)
    6. curl -u xx:xx "http://{ms IP}:8080/v1/servers/{ca UUID}" -X DELETE
      and the same for the other components
    7. Change all keyspaces so they no longer reference the datacenter being removed.
    8. decomission of Casandra nodes in the region to be removed

    Then the questions are:

    1. Do we need the steps 2. to 5. above?
    2. When they tried the above steps, only the UUIDs of the associated components are deleted, but some other information under the region are still on zk node. Is this just ok to leave it for Edge to be in service?

    Thanks,
    Toshi

    1 2 854
    2 REPLIES 2

    @Toshihiro Shibamoto it is absolutely critical they maintain ZK quorum so yes steps 2-5 are needed. If they want to only remove all components they need to de-register them from ZK prior to deleting them. Our docs has the steps for doing so. They also should run validation checks on the OpenLDAP and Postgres instances.

    @Toshihiro Shibamoto it is absolutely critical they maintain ZK quorum so yes steps 2-5 are needed. If they want to only remove all components they need to de-register them from ZK prior to deleting them. Our docs has the steps for doing so. They also should run validation checks on the OpenLDAP and Postgres instances.