POST persistence/clusters/<clus_name>
This web method sends a command to a specific persistence cluster.
<clus_name>
in the URI is the cluster name.
Input Data
Supply the command in JSON format. For example,
{"cmd":"suspend"}
Commands
Command | Description |
---|---|
{"cmd":"backupdisk"}
|
Back up the disk(s). When disk persistence is enabled, this command backs up the files associated with disk persistence. See also Saving and Loading Persistence State. |
{"cmd":"compactdisk"} | All members of the persistence cluster will start a compaction. See Compact Disk Persistence Files with Persistence Service Online. |
{"cmd":"forceformation"}
|
Force the cluster to form a quorum immediately with available servers, without waiting for all servers to become available or waiting for the force_quorum_delay period to elapse. |
{"cmd":"suspend"}
|
See Suspending a Persistence Cluster. |
Example Requests
curl -X POST http://<host>:<port>/api/v1/persistence/clusters/<clus_name> -d <json_cmd>
Note: You cannot suspend the internal cluster
ftl.default.cluster
.