Camera Failover
AnsweredWith ref to METAVMS in Merged environment and failover server – Network Optix, say we are "in the environment where all servers have the same plugin, failover will work for analytics as well".
To expand that idea, if we have 5 servers handling 64 cameras each and each server VA engine/app can handle extra 16 cameras in addition to its 64 cameras. One of the functions of the VA engine/app is to generate event clips whenever an event occurs. So, if server 1 crashes, we will also need to farm out the VA job to the other 4 servers.
- How do we configure that?
- Can we know via API, which of the servers (2 - 5) handle which cameras and therefore access the generated event clips?
Thank you in advance.
-
Hi @...,
You enable Failover in the Server Settings menu, and you maximize the number of devices per server to 64+16=80 devices, in this way, in case of failover, each server can handle a maximum of 80 devices and this way you enforce the system to divide the devices over all servers.
Be aware that in such case, the failover has to make decisions in case two servers fail at the same moment. You still can handle up to 80 devices per server, and thus you lose the connection to 64 devices. You could manipulate this to some extent by setting priorities per camera.
0 -
Norman, thanks for your reply. Can you help with Q2?
0 -
Hi @...,
Sure.
You can do that with the following API call:
/ec2/saveMediaServerUserAttributesList
The parameters should be passed as a JSON array of objects in POST message body with content type "application/json". An example of such an array can be seen in the result of:
GET /ec2/getMediaServerUserAttributesList.More specific, the following parameters apply:
- maxCameras
- allowAutoRedundancy
To change the failover priority, there is a similar method with the following API call:
/ec2/saveCameraUserAttributesList
The parameters should be passed as a JSON array of objects in POST message body with content type "application/json". An example of such array can be seen in the result of
GET /ec2/getCameraUserAttributesList, and each object of such array has the same structure as the object supplied to:
More specific, the following (might) parameters apply:POST /ec2/saveCameraUserAttributes
- preferredServerId
- failoverPriority
0 -
Hi @...,
We have not heard back from you in a while, so we are going to assume your question has been resolved and set this topic to 'Answered'.
0
Please sign in to leave a comment.
Comments
4 comments