This article describes the data that needs to be copied and transferred when the Wave server application is moved from one machine to another.
There is quite a lot of data to be migrated, not all data needs to be migrated but if you skip transferring the analytics data, you will not have any historic data of IVA crossings or ANPR data, for example.
There are two types of data that need to be transferred:
System data is synchronised across all Servers in a System and includes:
- Licenses
- Server settings
- System resources and their configuration (cameras, streams, I/O devices, URLs, Layouts, etc, from the resource panel)
Server data is specific to each Server in a System, is not synchronised, and must be backed up independently for each Server for a full recovery or migration. Server data includes:
- Server database - Audit Trail and Bookmarks
- Video archives - recorded video and audio from connected devices and streams
- Smart motion index - motion metadata used for smart motion search
- Certificate - Server TLS/SSL certificate file
- Analytics data - metadata captured by 3rd party video analytics (optional)
Migration Process
You need to install the same version of Wave that is running on the old server, onto the new server
Create back up of your Wave system:
Copy all the licences:
You will also need to deactivate the licences on this machine
Stop the Wave service on the server
Server Database
Copy the database
C:\Windows\System32\config\systemprofile\AppData\Local\hanwha\Hanwha Media Server\mserver.sqlite
Server Settings
Save the values from the following parameters to a text file: serverGuid, storedMac, and systemName.
In the Taskbar search box, type regedit and select Registry Editor (top result):
HKEY_LOCAL_MACHINE\SOFTWARE\Hanwha\Hanwha Media Server
Smart Motion database
Copy the folowing data
C:\Wisenet Wave Media\server UUID\motion_data
Video archives
Only copy the hi_quality and low_quality folders.
<Disk>:\wisenet Wave Media\<Server UUID>\
Analytics Data
- The file path depends on which drive is storing analytics data. Go Server Settings > Storage Management > Storage Locations, you can tell a drive is storing analytics data if it says “Stores analytics data”.
Go to each storage that stores analytics data and back up the data folder and database file (respectively).
<Disk>:\Wisenet Wave Media\<Server UUID>\archive <Disk>:\Wisenet Wave Media\<Server UUID>\objects_detection.sqlite
On the new Server:
- Log into the Server via the Desktop client.
- Restore the system database. Click the Main Menu button and navigate to System Administration (CTRL+ALT+A). Click Restore from Backup... and select the backup file of the system database (*.db).
- The name of the previous system will be restored and the newly set up system will appear offline and can be removed by left-clicking the x in the top right corner.
Stop the Server application service:
Open Taskmanager > Services tab > right-click on the “MediaServer” service > click Stop.
- Connect all the storage drives.
Copy and paste (overwrite) the backup files to the corresponding path of the new server:
Server Database
C:\Windows\System32\config\systemprofile\AppData\Local\Hanwha\Hanwha Media Server\mserver.sqlite
Server Settings
Using the values (serverGuid, storedMac, and systemName) you saved in the earlier text file, replace the corresponding values in the appropriate file below:HKEY_LOCAL_MACHINE\SOFTWARE\Hanwha\Hanwha Media Server
Smart Motion MetadataC:\Wisenet Wave Media\server UUID\motion_dataVideo archive
Transfer the backup folders (hi_quality and low_quality) to the Wisenet Wave Media folder of all connected disks (all db and .ref files within should be deleted).
<DISK>:\Wisenet Wave Media
Analytics Data- Choose which storage location(s) will store your analytics data. Go to Server Settings > Storage Management. Any eligible drive will display the option "Use to store analytics data" upon hovering over that drive. Click on that option to begin storing analytics data on that drive, one folder and one file will be created: archive and objects_detection.sqlite.
It is advisable to not use the C drive as the storage location Go to each storage location and paste the files you saved previously
<DISK>:\Wisenet Wave Media\archive <DISK>:\Wisenet Wave Media\objects_detection.sqliteStart the Server application service and log in to the system using the Desktop client.
- Choose which storage location(s) will store your analytics data. Go to Server Settings > Storage Management. Any eligible drive will display the option "Use to store analytics data" upon hovering over that drive. Click on that option to begin storing analytics data on that drive, one folder and one file will be created: archive and objects_detection.sqlite.
- Go to Server Settings > Storage management tab and remove the old storage locations that show up as “inaccessible”.
- Click Reindex Archive. Wait for the process to complete. This can take some time.
- Merge your server with any other system as needed.
- Perform an in-client upgrade to the latest version of Wave
Main Menu > System Administration > Updates
Comments
0 comments
Article is closed for comments.