# stopClusterReplication {#stopclusterreplication}

## Syntax {#section_tl3_pp2_czb .section}

`stopClusterReplication()`

## Arguments {#section_mhc_qp2_czb .section}

None

## Details {#section_okq_qp2_czb .section}

Stops cluster replication.

It can only be executed by an administrator on the controller.

-   If it is called in the master cluster, subsequent tasks will not be put in the push queue.

-   If it is called in the slave cluster, new tasks are no longer pulled from the master cluster, but tasks in execution are not stopped.


The configuration parameter *replicationMode* should be specified before you execute this command.

## Example {#section_lbm_rp2_czb .section}

``` {#codeblock_v2f_sp2_czb}
stopClusterReplication();
```

Related functions: [startClusterReplication](startClusterReplication.md), [skipClusterReplicationTask](skipClusterReplicationTask.md)

