Hello, guys!
Welcome to our community!
Today I will share with you how to locate camera synchronization faults.
What is camera synchronization?
In this situation, camera synchronization refers to full synchronization, excluding incremental synchronization of cameras.)
Cameras of the VCM are from the VCN. The VCM does not maintain cameras. Camera synchronization is to copy the VCN device list to the VCM.
The Save button is used to save information such as the VCN IP address to the VCM database.
The Synchronize button is used to obtain and save the device list from the VCN to which the IP address points to the VCM.
How does camera synchronization work?

Module Description
APP: The full name is VCMAPP, which is the web client of the VCM.
SDK: The full name is VCMSDK, which is the northbound REST API of the VCM.
VDS: Adaptation access module between the VCM and VCN.
eSDK: Northbound C interface of the VCN.
What are the common causes of camera synchronization failures?
Synchronization without saving. When changing the parameter information, synchronization without saving, the system sends the old information to VDS, and the synchronization will fail.
Where the VDS is located is abnormal./Failed to ping the VCN IP address on the MP container or node)
The configured account cannot be used to log in to the VCN.

How do I locate a synchronization failure?
Fault location method = Problem reproduction + Packet capture analysis + Log analysis
Search the process camera list in the log file and check whether ERR or fail is displayed.
If ERR or fail is displayed, perform the following steps:
1. Run the command: cat [VDS log file] | grep '|' | grep'ERR' | grep'get camera list fail.'
2. Check the last eight digits of the error code (for example, 19101306 in the preceding figure).
3. Query the error caused in the Error Code List.
Thanks for reading!


