Use a load balancer for the mobile server

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 a connection to a mobile server is attempted, the server IDs are compared with those obtained initially.

By default, every server has a unique server ID. To add a mobile server to a load-balancing group, you must ensure that the mobile server's ID matches the ID used by the other mobile servers in the group.

On a host in the load-balancing group

To copy the server IDs from a host:

  1. Go to C:\ProgramFiles\Milestone\Milestone Mobile Server and copy the VideoOS.MobileServer.Service.exe.config file.

  2. Paste the file on your desktop and open it with a text editor of your choice.

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

On the other hosts that are part of the group

On a host that is part of the load-balancing group:

  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.

Repeat the steps on all hosts that are part of the load-balancing group.