Open topic with navigation

# POST cluster

This web method can send a shutdown command to all FTL servers in the cluster.

## Input Data

Supply the command in JSON format.

## Commands

Syntax | Description
--- | ---
`{"cmd":"shutdown"}` | Shut down the FTL server cluster.
{"cmd": "activate_dr"} | Activate a DR site.
{"cmd": "enable_dr", "args": [{"drto": "my_urls"}]} | Enable DR at a primary site, or point a primary site to a different DR site.

## Example Requests

Simple shutdown:

    curl -X POST http://<host>:<port>/api/v1/cluster/ -d '{"cmd":"shutdown"}'

Save persistence state to disk, then shut down:

    curl -X POST http://<host>:<port>/api/v1/cluster/ -d '{"cmd":"shutdown", "args":[{"savestate": true}]}'

Note: The `savestate` option is not needed if disk persistence is enabled.

You can also shut down all FTL servers with POST ftlservers/<server_name>.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO FTL® - Enterprise Edition

Copyright © 2009-2024. Cloud Software Group, Inc. All Rights Reserved.