UCMA 3.0: How to Create a Trusted Application Pool and Trusted Application EndPoint Using Microsoft Lync Server 2010
UCMA 3.0 SDK Installation
UCMA 3.0 SDK Installation
- Download UcmaSdkSetup.exe.
- Launch UcmaSdkSetup.exe and follow the instructions on the screens that are displayed to accept the EULA and choose an installation location.
By default, UCMA 3.0 SDK is installed in the %Program Files%\Microsoft UCMA 3.0 directory. - Follow the instructions on the screen to complete the installation.Installer verifying that you have all the required prerequisites. Click InstallThe installer also installs the Windows Media Format Runtime and prompts you to reboot before continuing.Install the SDK to the default location and continue.Installation is Success.
Create a Trusted Application Pool Using PowerShell Cmdlets
Open a command prompt at C:\Program Files\Microsoft Lync Server 2010\Deployment>Run Bootstrapper.exe /BootstrapLocalMgmt /MinCache to install the local management store components and database on the server.Create a New Trusted Application Pool
Run Get-CsSite to get the SiteId.Run Get-CsService -Registrar to get the name of the Registrar.- Run the following PowerShell to create the trusted application pool:
- New-CsTrustedApplicationPool –Identity –Registrar –SiteExample:New-CsTrustedApplicationPool –Identity ts2.fabrikam.com –Registrar cs-se.fabrikam.com –Site fabrikam.comAs prompted, run Enable-CsTopology to complete the operation.Run (Get-CsTopology -AsXml).ToString() > Topology.xml and examine its contents to see the new trusted application pool in the Lync topology
Configure CS Management Store Replication
Run the following PowerShell command to enable the Replica service on the new server:Enable-CSReplicaThe Replica service is enabled, but hasn’t done anything yet. This can be verified by running the following PowerShell command to check the replication status for the various servers in the topology:Get-CSManagementStoreReplicationStatusYou can see in the screenshot below that the UpToDate property of the new server is still FalseRun the following PowerShell command to force the replication to run:Invoke-CSManagementStoreReplicationRun Get-CSManagementStoreReplicationStatus again to verify that the new service is now up to date:Request and Set a New Certificate
Request a new certificate from the domain”s CA and assign it to the server.Run the following PowerShell command to request a new cert:Request-CSCertificate -New -Type default -CA -VerboseIn my environment, this was:Request-CSCertificate –New –Type default –CA dc.fabrikam.comFabrikamCA –VerboseSetting the –Verbose switch outputs the certificate”s thumbprint into the console, you will use this in the next stepRun the following PowerShell command to set the certificate:Set-CsCertificate -Type Default -Thumbprint E67CB1C27750129E7DD0BC83B208FB5A2D212D1FAdd a Trusted Service Port for the ApplicationNew-CsTrustedApplication -ApplicationId lyncadapter -TrustedApplicationPoolFqdn rtclab.example.com -Port 8008WARNING: The following changes must be made in order for the operation to becomplete.Enable-CsTopology must still be run for all changes to take effect.Identity: rtclab.example.com/urn:application:lyncadapterComputerGruus : {rtclab2.rtc.ca.oracle.com sip:rtclab.example.com@example.com;gruu;opaque=srvr:lyncadapter:0fA41INgRFmNiECWa340qgAA}ServiceGruu :sip:rtclab.example.com@example.com;gruu;opaque=srvr:lyncadapter:0fA41INgRFmNiECWa340qgAAProtocol : MtlsApplicationId : urn:application:lyncadapterTrustedApplicationPoolFqdn : rtclab.example.comPort : 8008LegacyApplicationName : lyncadapterC:\Users\Administrator.RTC>Get-CsTrustedApplication -Identity rtclab.example.com/urn:application:lyncadapterIdentity : rtclab.example.com/urn:application:lyncadapterComputerGruus : {rtclab.example.com sip:rtclab.example.com@example.com;gruu;opaque=srvr:lyncadapter:0fA41INgRFmNiECWa340qgAA}ServiceGruu :sip:rtclab.example.com@example.com;gruu;opaque=srvr:lyncadapter:0fA41INgRFmNiECWa340qgAAProtocol : MtlsApplicationId : urn:application:lyncadapterTrustedApplicationPoolFqdn : rtclab.example.comPort : 8008LegacyApplicationName : lyncadapterC:\Users\Administrator.RTC> New-CsTrustedApplicationEndpoint -ApplicationId urn:application:lyncadapter -TrustedApplicationPoolFqdn rtclab.example.com-SipAddress sip:appuser@example.com -DisplayName "Application Endpoint 8008"Identity : CN={e34f48d5-4b44-4028-b1cf-243dae6731ca},CN=Application Contacts,CN=RTC Service,CN=Services,CN=Configuration,DC=rtc,DC=ca,DC=oracle,DC=comRegistrarPool : 81500797HomeServer : CN=Lc Services,CN=Microsoft,CN=1:1,CN=Pools,CN=RTC Service,CN=Services,CN=Configuration,DC=rtc,DC=ca,DC=oracle,DC=comOwnerUrn : urn:application:lyncadapterSipAddress : sip:appuser@example.comDisplayName : Application Endpoint 8008DisplayNumber :LineURI :PrimaryLanguage : 0SecondaryLanguages : {}EnterpriseVoiceEnabled : True