Prepare the initial computer hosting BEMS
BEMS
When you create a trusted application pool for the installation of
BEMS
, you also create the trusted-computer entry. Subsequent installations of BEMS
machines do not require a new trusted application pool or designated trusted applications because they are added to the existing trusted application pool. Verify that the account that you use to complete this task is a member of the RTCUniversalServerAdmins group.
- Log in to the computer that hosts theMicrosoft Lync Server2013 orSkype for Business.
- Open theManagement Shell.
- On the computer that hosts theMicrosoft Lync Server2013 orSkype for Business, create the trusted application pool.
- To obtain the SiteID of yourMicrosoft Lync Server, typeGet-CsSite. PressEnter. Record the SiteID.
- To display the Registrar service value for a selected site, typeGet-CsSite <. PressSiteID> | Select-Object -ExpandProperty ServicesEnter. Record the Registrar service value.
- To configure the trusted application entry for the newly created trusted application pool forBEMS, typeNew-CsTrustedApplicationPool -Force -Identity <. PressYourPoolFQDN> -Registrar <registrar> -RequiresReplication $false -Site <SiteID> -ComputerFQDN <BEMSFQDN>Enter.
- Where <YourPoolFQDN> is the desired FQDN of the virtual Application pool of theBEMSinstances.
- Where <SiteID> is the SiteID that was recorded in step 3a.
- Where <registrar> is the value recorded in step 3b.
- Where <BEMSFQDN> is the FQDN of computer hostingBEMS.
For example,New-CsTrustedApplicationPool -Force -Identity BEMSAppPool.mycompany.com -Registrar registrar.mycompany.com -RequiresReplication $false -Site 1 -ComputerFQDN BEMSHost.mycompany.com - To create a trusted application entry, typeNew-CsTrustedApplication -Force -ApplicationId <. Pressappid_connect> -TrustedApplicationPoolFqdn <YourPoolFQDN> -Port 49555Enter.
- Where <appid_connect> is the desired application ID of theBEMSConnectservice.
For example,New-CsTrustedApplication -Force -ApplicationId appid_connect -TrustedApplicationPoolFqdn BEMSAppPool.mycompany.com -Port 49555 - If you deploy thePresenceservice, create a second application entry. TypeNew-CsTrustedApplication -Force -ApplicationId <. Pressappid_presence> -TrustedApplicationPoolFqdn <YourPoolFQDN> -Port 49777Enter.
- Where <appid_presence> is the desired application ID of theBEMSPresenceservice.
For example,New-CsTrustedApplication -Force -ApplicationId appid_presence -TrustedApplicationPoolFqdn BEMSAppPool.mycompany.com -Port 49777 - If you deploy thePresenceservice, create an application endpoint. TypeNew-CsTrustedApplicationEndpoint -ApplicationId <.appid_presence> -TrustedApplicationPoolFqdn <YourPoolFQDN> -SipAddress "sip:presence_<BEMSFQDN>@<SIPDomain>"For example,New-CsTrustedApplicationEndpoint -ApplicationId appid_presence -TrustedApplicationPoolFqdn BEMSAppPool.mycompany.com -SipAddress "sip:presence_BEMSHost.mycompany.com@mycompany.com"
- To publish the change to theMicrosoft Lync ServerorSkype for Businessenvironment, typeEnable-CsTopology. PressEnter.
If you are installing multiple
BEMS
servers, see Prepare additional computers hosting BEMS.