# Configuring Failover

Navigation: Working with Nx Witness > Configuring Multi-Server Environment > # Configuring Failover |

Nx Witness can automatically manage failover in a multi-server environment. If a server goes down, all devices are transferred and the client is reconnected to other server(s). The archive playback will remain seamless but there may be a 30 second gap in recording during the transfer.

Failover should be configured on all servers so that, for instance, if a System contains server A and server B, server A is configured to take over devices from server B and server B is configured to take over devices from server A.

IMPORTANT: To be able to do failover, both servers should be able to access devices.

To configure Failover:

1.Find server B in Resource Tree, open context menu and choose Server Settings.

2.Click Enable Failover.

3.Enter the number of Devices the server can handle.

4.Click OK. Now If server A goes down, all devices will be transferred to server B.

5.To make server A handle the devices from server B, make the same on server A.

IMPORTANT: To be able to do failover, server should be able to handle twice the number of devices.

It is possible to set up Failover Priorities. This means if a camera is more important, it can be failed over first. There are the following priorities:

•High – these cameras will be failed over at first.

•Medium and Low – these cameras will be failed over only if there is a server to host them.

•Never – these cameras won't be failed over.

1.To configure Failover priorities find any server in Resource Tree, open the context menu and choose Server Settings.

2.Click Failover Priority. The list of servers and cameras will be displayed.

3.Select cameras and click a button on the bottom to set the desired Priority.

4.Repeat this for all cameras that should be prioritized.

5.Click OK to apply changes.