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 you migrate the mobile server to another host and keep its original address, you must keep the old server's server ID.

On the old host

Before you migrate your mobile server, you must:

  1. 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.

  2. 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>
    
  3. Copy the ServiceID and ReportedServiceID values.

You are now ready to migrate your mobile server.

On the new host

After you have installed and configured the mobile server on the new host:

  1. Go to C:\ProgramFiles\Milestone\Milestone Mobile Server and open the VideoOS.MobileServer.Service.exe.config file with a text editor of your choice.

  2. Search the file for the ServerSettings tag and replace the ServiceID and ReportedServiceID values with those from the original configuration file.

  3. To apply the changes, restart the Mobile Server service.

  4. Ask the XProtect Mobile client users to add the mobile server again.