Manually configure the Presence service for multiple application endpoints

You can manually configure multiple application endpoints for BlackBerry Presence to load balance Presence requests between multiple endpoints on a single BEMS instance. Cisco Jabber, and Skype for Business on-premises using non-trusted application mode do not support multiple application endpoints.

If you installed the Presence service on multiple computers, complete this task on each computer that hosts the Presence service.

You must have a Skype for Business setup in your environment.
  1. On the computer that hosts BEMS, navigate to the LyncPresenceProviderService.exe.config file. By default, the LyncPresenceProviderService.exe.config file is located in <drive>:\Program Files\BlackBerry\BlackBerry Enterprise Mobility Server\Good Presence.
  2. In a text editor, open the LyncPresenceProviderService.exe.config and record the values for the following properties:
    • UCMA_APPLICATION_NAME
    • LYNC_TRUSTED_APPLICATION_POOL
    • UCMA_ENDPOINT_SIP
  3. Determine a naming convention for the additional Trusted Application Endpoints (virtual SIP addresses). By default, the format for the existing SIP Addresses is sip:presence_<BEMSFQDN>@<SIPDomain>. For example, sip:presence_BEMSServer1-01.example.com@example.com, sip:presence_BEMSServer1-02.example.com@example.com, and so on.
  4. Create the additional Trusted Application Endpoints in the Skype for Business topology using the information from steps 2 and 3 above. For instructions on creating additional Trusted Application Endpoints, see "Prepare additional computers hosting BEMS" in the Installation content.
  5. In a text editor, open LyncPresenceProviderService.exe.config.
  6. Locate the <ucmaEndpointSips> section. Add the value of the new additional application endpoints that you published in step 4.
    For example,
    <ucmaEndpointSips>
            <collection>
              <add item="sip:presence_BEMSServer1.example.com@example.com" />
              <add item="sip:presence_BEMSServer1-01.example.com@example.com" />
              <add item="sip:presence_BEMSServer1-02.example.com@example.com" />
            </collection>
          </ucmaEndpointSips>
  7. Specify the maximum contact subscriptions that each application endpoint can manage. By default, the MAX_SUBSCRIPTIONS_PER_ENDPOINT is 1000. You can specify a subscription value between 1 and 5000. For example, if you specify that each application endpoint can manage 2000 contact subscriptions, you would locate the MAX_SUBSCRIPTIONS_PER_ENDPOINT key and change the value as required.
    <add key="MAX_SUBSCRIPTIONS_PER_ENDPOINT" value="2000" />
    Note: Specifying the MAX_SUBSCRIPTIONS_PER_ENDPOINT, doesn't load balance the subscriptions across all endpoints, it assigns 2000 subscriptions to the first endpoint before assinging the next 2000 subscriptions to the next endpoint.
  8. Save the file.
  9. Restart the Good Technology Presence service from the Windows Service Manager.