# Standby/Failover task routing

**URL:** <https://community.temporal.io/t/standby-failover-task-routing/8888>\
**Category:** Server Deployment\
**Tags:** replication, multicluster, deployment, server\
**Created:** [July 19, 2023, 11:14am UTC](https://community.temporal.io/t/standby-failover-task-routing/8888 "2023-07-19T11:14:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KaranJ](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/karanj/32/3774_2.png) [@KaranJ](https://community.temporal.io/u/KaranJ)\
**Post date:** [July 19, 2023, 11:14am UTC](https://community.temporal.io/t/standby-failover-task-routing/8888/1 "2023-07-19T11:14:22Z")

</div>

Hi @tihomir / @maxim

Cluster Name: **Active** to Cluster Name: **Standby** --Data replication working fine and data replicating from active to standby.

when Active cluster is **down** , Standby cluster is not becoming active automatically  
and then any request to standby cluster is giving exception  
**Caused by: io.grpc.StatusRuntimeException: FAILED\_PRECONDITION: Namespace: test is active in cluster: active, while current cluster standby is a standby cluster.**

After we update cluster standby to active cluster through tctl only then standby server start taking request.

Please help if we need to switch manually or is there any automatic way. Thanks

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [July 19, 2023, 1:41pm UTC](https://community.temporal.io/t/standby-failover-task-routing/8888/2 "2023-07-19T13:41:31Z")

</div>

> if we need to switch manually or is there any automatic way

Failover is user triggered.
