Migrate a mobile server to another host
As an additional security step, XProtect Mobile uses IDs in the communication between the server and the mobile app. When a user connects to a mobile server from the XProtect Mobile app for the first time, the server ID of the mobile server is copied to the user's device. Every time the app tries to connect to a mobile server, it compares the server IDs with the ones it got initially. If the server IDs do not match, the connection fails.
When migrating the mobile server to another host, the server IDs are lost, and users can no longer connect to the mobile server. To fix this, you can do one of the following actions:
-
Ask the mobile users to remove the old server connection and connect to the new mobile server.
-
Copy the server ID from the old host.
To copy the server IDs from the old host:
-
Go to C:\ProgramFiles\Milestone\Milestone Mobile Server and copy the VideoOS.MobileServer.Service.exe.config file and open it with a text editor of your choice.
-
Search the file for the ServerSettings tag. It should look like this:
<ServerSetings> <Identification> <add key="ServiceId" value="4d644654-95f5-4382-b582-0005864391ee"> <add key="ServiceIdS" value="10353810-803F-4880-BC22-417B37F1A1C8"> <add key="ReportedServiceId" value="10353810-803F-4880-BC22-417B37F1A1C8"> </Identification> --- </ServerSettings> -
Copy the ServiceID and ReportedServiceID values.
After you have installed and configured your new mobile server do the following steps on the new host:
-
Go to C:\ProgramFiles\Milestone\Milestone Mobile Server and open the VideoOS.MobileServer.Service.exe.config file with a text editor of your choice.
-
Search the file for the ServerSettings tag and replace the ServiceID and ReportedServiceID values with those from the original configuration file.
-
To apply the changes, restart the Mobile Server service. The mobile users will automatically connect to the new mobile server.