Difference between revisions of "Backup/NM Standby Setup"
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ==N+M Cluster Standby Setup== | |
− | + | ===Description=== | |
+ | N + M backup is a backup mechanism for distribution server, where N is the number of units home | ||
+ | servers, M refers to several alternate server, the home server means the server has ownership relations | ||
+ | with equipment (selecting server when add device), alternate server refers to the backup machine of | ||
+ | home server; | ||
+ | After the designated home server add alternate server, if the home server is down and can not be | ||
+ | started within 60 seconds, CMS will the equipment and business on home server assigned to the backup | ||
+ | server machine, while the video is stored on disk of backup services; | ||
+ | During the alternate server work, the existence records of the home server can be queried but can | ||
+ | not be played, but if the original home service has been restored from the exception, although the device | ||
+ | does not move back , the original home records can also be played back; | ||
+ | When the home server is restored to normal, the device can be moved back to the original home | ||
+ | server, then the home video services and alternate server can query and playback; | ||
− | + | 1) N+M backup in general is for distribution device; | |
− | + | 2) About config N+M backup device number, in general 1 ≦ N ≦20,1 ≦ M ≦5。N+1 is used in more | |
− | + | applications; | |
− | |||
− | |||
− | + | 3) N+M backup can be manually switched. | |
− | |||
− | |||
Line 21: | Line 29: | ||
* N = The number of NVR master | * N = The number of NVR master | ||
− | * M = The number of NVR | + | * M = The number of NVR Sub |
− | * If the master NVR crashes, one | + | * If the master NVR crashes, one Sub take over master and start work |
− | * When the master NVR gets back online, user can turn | + | * When the master NVR gets back online, user can turn Sub into standby position manually, user can choose to past back record data in Sub at same time |
* N+M can realize NVR secure backup and monitoring system uninterrupted work. | * N+M can realize NVR secure backup and monitoring system uninterrupted work. | ||
Line 32: | Line 40: | ||
'''Real IP''' | '''Real IP''' | ||
− | * Real IP = master and | + | * Real IP = master and Sub NVR local IP |
− | * Cluster IP = virtual IP, only on web of Master NVR, user can set this Cluster IP (Note : must be In the same network segment with master and | + | * Cluster IP = virtual IP, only on web of Master NVR, user can set this Cluster IP (Note : must be In the same network segment with master and Sub and not occupied.) |
− | * Each Master NVR have a different Cluster IP. If you want to use a software (VMS) to manage the N+M system, you can add the Cluster IP of N pcs Master devices to preview and playback. When one Master NVR crashed, the software will access the | + | * Each Master NVR have a different Cluster IP. If you want to use a software (VMS) to manage the N+M system, you can add the Cluster IP of N pcs Master devices to preview and playback. When one Master NVR crashed, the software will access the Sub NVR to get the real time preview and playback automatically. But you may failed at the transition about 90s to 120s because the Master NVR is transfer the task from Master to Sub NVR. |
+ | |||
+ | |||
+ | '''Note:''' | ||
+ | |||
+ | 1. When Master NVR fail down and the Sub NVR will take over the task of it and then | ||
+ | keep recording, but both of them will lose 90~120s recordings because the Sub NVR need | ||
+ | time to judge if the Master NVR is really offline. Meanwhile, you cannot do playback | ||
+ | from any one of them. | ||
+ | |||
+ | 2. But when you manually past the task and recordings from Sub NVR to the Master | ||
+ | NVR when Master NVR recovered, the Master NVR will start to record and you can do | ||
+ | playback from it. | ||
Line 44: | Line 64: | ||
− | + | 1. In normal mode, the Sub NVR stays in standby position. | |
[[File:nm7.png|500px]] | [[File:nm7.png|500px]] | ||
− | + | 2. If one master NVR crashes, one Sub NVR takes over master’s job | |
[[File:nm8.png|500px]] | [[File:nm8.png|500px]] | ||
− | + | 3. If two master NVRs crash, NVR1 and NVR4 as seen below,Sub NVRs take over two of the master NVRs job. | |
[[File:nm9.png|500px]] | [[File:nm9.png|500px]] | ||
− | + | 4. If three Master NVR's crash such as Master NVR N1 and Master NVR N4 crash seen below, Sub NVR M1 and M2 take over. If N5 crashes during the time Master N1 and N4 crashes, no Sub NVR can take over N5. | |
[[File:nm26.png|500px]] | [[File:nm26.png|500px]] | ||
− | + | 5. How the Master NVR gets back online is when the Master NVR N1 crashes,M1 will take over until Master NVR N1 is ready to get back online,user can now choose to turn M1 into standby position,and get Master NVR N1 back to work , user must load cluster IP or Sub NVR’s IP to complete this process. | |
[[File:nm10.png|500px]] | [[File:nm10.png|500px]] | ||
+ | ===Prerequisites=== | ||
+ | |||
+ | * All NVRs must be the same model and upgraded with the same firmware. | ||
+ | |||
+ | * All NVRs must be in the same IP segment. | ||
+ | |||
+ | ===Video Instructions=== | ||
+ | <embedvideo service="youtube">https://www.youtube.com/watch?v=2FPInHCOEyw</embedvideo> | ||
+ | ===Step by Step Instructions=== | ||
'''How to Configure the N+M''' | '''How to Configure the N+M''' | ||
− | + | 1.Login into the Master NVR via Web Service ➞ Set the cluster IP in the web of Master NVR ➞ Check off Enable and select OK. | |
[[File:nm12.png|500px]] | [[File:nm12.png|500px]] | ||
− | + | 2. Login into Sub NVR via Web Service ➞ Add the Sub NVR by selecting Manual Add ➞ Name Sub Device ➞ Input User Name and Password. Note: Sub IP address cannot be changed, it is defaulted as the IP address of the Sub NVR when loaded. | |
[[File:nm13.png|500px]] | [[File:nm13.png|500px]] | ||
− | + | Step 3. Add the Master NVR IP address on via Web Serivce of Sub NVR. | |
[[File:nm14.png|500px]] | [[File:nm14.png|500px]] | ||
− | + | Step 4. Set a “Arbitrage IP” on the web of Sub NVR. Note: When you use "1+1 mode, you must set a arbitrage IP, the function of the arbitrage IP is judging if the Master device is working. You can choose one device's IP as the arbitrage IP, this device must be in the same net segment with the master and Sub device. You can also use the IP of the PC which in the same IP segment with the NVRs. | |
[[File:nm15.png|500px]] | [[File:nm15.png|500px]] | ||
− | + | 5. Enable Cluster Control on the web of Sub NVR ➞ Select Start Cluster. | |
[[File:nm16.png|500px]] | [[File:nm16.png|500px]] | ||
− | + | 6. Cluster Control enabled on the web of Sub NVR. | |
[[File:nm17.png|500px]] | [[File:nm17.png|500px]] | ||
− | + | Step 7. Check the status of Master NVR on the web of Sub NVR, now “Working” | |
[[File:nm18.png|500px]] | [[File:nm18.png|500px]] | ||
− | + | 8. Check the status of Sub NVR on the web of it, now “Free”. | |
[[File:nm19.png|500px]] | [[File:nm19.png|500px]] | ||
− | + | 9. If the Master NVR disconnected, the status of Master NVR is “Abnormity”. After the master Device is offline, you can check its status in the Sub NVRs IP, YOu you can see the Master NVR turn from "Working" to "Abnormity". | |
[[File:nm20.png|500px]] | [[File:nm20.png|500px]] | ||
− | + | 10. After about 120 seconds, the Sub NVR take over the task of Master Sub and the status is “Using” now. Please note: After the Master NVR is offline, the Sub device will take 90-120 seconds to judge the Master NVRs Status and take over it's work. | |
[[File:nm21.png|500px]] | [[File:nm21.png|500px]] | ||
− | + | 11. If the Master NVR online again, the status “Backup” and click the tick icon. | |
[[File:nm22.png|500px]] | [[File:nm22.png|500px]] | ||
− | + | 12. Then Master NVR will take over the task again. If you want the Master NVR back working online , you have to click the tick Icon in order to see this interface as seen on the previous step. Click "Yes" to passback record data. | |
[[File:nm23.png|500px]] | [[File:nm23.png|500px]] | ||
− | + | 13.Transfer the recording data to the Master NVR on the Sub NVR web manually. | |
[[File:nm24.png|500px]] | [[File:nm24.png|500px]] | ||
+ | |||
+ | |||
+ | [[Category:Backup]] |
Latest revision as of 20:17, 7 December 2022
Contents
N+M Cluster Standby Setup
Description
N + M backup is a backup mechanism for distribution server, where N is the number of units home servers, M refers to several alternate server, the home server means the server has ownership relations with equipment (selecting server when add device), alternate server refers to the backup machine of home server; After the designated home server add alternate server, if the home server is down and can not be started within 60 seconds, CMS will the equipment and business on home server assigned to the backup server machine, while the video is stored on disk of backup services; During the alternate server work, the existence records of the home server can be queried but can not be played, but if the original home service has been restored from the exception, although the device does not move back , the original home records can also be played back; When the home server is restored to normal, the device can be moved back to the original home server, then the home video services and alternate server can query and playback;
1) N+M backup in general is for distribution device;
2) About config N+M backup device number, in general 1 ≦ N ≦20,1 ≦ M ≦5。N+1 is used in more applications;
3) N+M backup can be manually switched.
N+M Hot Standby
N+M basic concept
- N = The number of NVR master
- M = The number of NVR Sub
- If the master NVR crashes, one Sub take over master and start work
- When the master NVR gets back online, user can turn Sub into standby position manually, user can choose to past back record data in Sub at same time
- N+M can realize NVR secure backup and monitoring system uninterrupted work.
Real IP
- Real IP = master and Sub NVR local IP
- Cluster IP = virtual IP, only on web of Master NVR, user can set this Cluster IP (Note : must be In the same network segment with master and Sub and not occupied.)
- Each Master NVR have a different Cluster IP. If you want to use a software (VMS) to manage the N+M system, you can add the Cluster IP of N pcs Master devices to preview and playback. When one Master NVR crashed, the software will access the Sub NVR to get the real time preview and playback automatically. But you may failed at the transition about 90s to 120s because the Master NVR is transfer the task from Master to Sub NVR.
Note:
1. When Master NVR fail down and the Sub NVR will take over the task of it and then keep recording, but both of them will lose 90~120s recordings because the Sub NVR need time to judge if the Master NVR is really offline. Meanwhile, you cannot do playback from any one of them.
2. But when you manually past the task and recordings from Sub NVR to the Master NVR when Master NVR recovered, the Master NVR will start to record and you can do playback from it.
Cluster IP demo(5+2 mode)
1. In normal mode, the Sub NVR stays in standby position.
2. If one master NVR crashes, one Sub NVR takes over master’s job
3. If two master NVRs crash, NVR1 and NVR4 as seen below,Sub NVRs take over two of the master NVRs job.
4. If three Master NVR's crash such as Master NVR N1 and Master NVR N4 crash seen below, Sub NVR M1 and M2 take over. If N5 crashes during the time Master N1 and N4 crashes, no Sub NVR can take over N5.
5. How the Master NVR gets back online is when the Master NVR N1 crashes,M1 will take over until Master NVR N1 is ready to get back online,user can now choose to turn M1 into standby position,and get Master NVR N1 back to work , user must load cluster IP or Sub NVR’s IP to complete this process.
Prerequisites
- All NVRs must be the same model and upgraded with the same firmware.
- All NVRs must be in the same IP segment.
Video Instructions
Step by Step Instructions
How to Configure the N+M
1.Login into the Master NVR via Web Service ➞ Set the cluster IP in the web of Master NVR ➞ Check off Enable and select OK.
2. Login into Sub NVR via Web Service ➞ Add the Sub NVR by selecting Manual Add ➞ Name Sub Device ➞ Input User Name and Password. Note: Sub IP address cannot be changed, it is defaulted as the IP address of the Sub NVR when loaded.
Step 3. Add the Master NVR IP address on via Web Serivce of Sub NVR.
Step 4. Set a “Arbitrage IP” on the web of Sub NVR. Note: When you use "1+1 mode, you must set a arbitrage IP, the function of the arbitrage IP is judging if the Master device is working. You can choose one device's IP as the arbitrage IP, this device must be in the same net segment with the master and Sub device. You can also use the IP of the PC which in the same IP segment with the NVRs.
5. Enable Cluster Control on the web of Sub NVR ➞ Select Start Cluster.
6. Cluster Control enabled on the web of Sub NVR.
Step 7. Check the status of Master NVR on the web of Sub NVR, now “Working”
8. Check the status of Sub NVR on the web of it, now “Free”.
9. If the Master NVR disconnected, the status of Master NVR is “Abnormity”. After the master Device is offline, you can check its status in the Sub NVRs IP, YOu you can see the Master NVR turn from "Working" to "Abnormity".
10. After about 120 seconds, the Sub NVR take over the task of Master Sub and the status is “Using” now. Please note: After the Master NVR is offline, the Sub device will take 90-120 seconds to judge the Master NVRs Status and take over it's work.
11. If the Master NVR online again, the status “Backup” and click the tick icon.
12. Then Master NVR will take over the task again. If you want the Master NVR back working online , you have to click the tick Icon in order to see this interface as seen on the previous step. Click "Yes" to passback record data.
13.Transfer the recording data to the Master NVR on the Sub NVR web manually.