ArangoDB Starter Removal Procedure

    This procedure is intended to remove a machine from a clusterthat was started with the ArangoDB Starter.

    It is possible to run this procedure while the machine is still runningor when it has already been removed.

    It is not possible to remove machines that have an Agent on it!The Agency needs to remain functional for the cluster to operate.Use the if you havea failed machine with an Agent on it.

    To remove a machine from a cluster, run the following command:

    Where is the endpoint of the starter that you want to remove,or the endpoint of one of the remaining starters. E.g. http://localhost:8528.

    If you want to remove a machine that is no longer running, use the —starter.idoption. Set it to the ID of the ArangoDB Starter on the machine that you want to remove.


    1. {
    2. ...
    3. "peers": {
    4. "Peers": [
    5. "ID": "21e42415",
    6. "Address": "",
    7. "Port": 8528,
    8. "PortOffset": 0,
    9. "HasAgent": true,
    10. "IsSecure": false
    11. ...

    If the machine you want to remove has address and was listeningon port 8528, use ID 21e42415.

    The remove starter command will attempt the cleanout all data from the serversof the machine that you want to remove. This can take a long of time.If the cleanout fails, the remove starter command will fail.