(info) Please click on any of the headlines to learn more.

Active Directory Machine - SRV Record Creation

The first step before creating a database and installing Assistant is to add SRV Records in Active Directory. Service record (SRV record) is a specification of data in the Domain Name System defining the location, i.e., the hostname and port number, of servers needed for Assistant services.

Perform the following steps: 
  1. If you"re working in Windows Server 2008, go to Start > Run.
  2. If you"re working in Windows Server 2012, press the Windows-Key and r.
  3. Type "dnsmgmnt.msc", and then choose OK.
    → The DNS Manager window opens.

    SRV record creation on DNS Manager


  4. Expand <DNS server name> > Forward Lookup Zones.
  5. Choose your domain and _tcp folder
  6. As Resource Record Type select "Service Location (SRV)" option
  7. Create new SRV record with the following parameters:
    1. Service: 
      _pacore (if you are planning to use an empty / new "Instance Name" during Assistant installation
      or
       
      _pacore -<instancename> (if you are planning to use some "Instance Name" during PA intallation)
    2. Protocol: _tcp
    3. Priority: 1
    4. Port number: Your value
    5. Host offering this service: FQDN of your PA machine

(tick) Repeat these steps for every machine where PA will be installed

Database Creation - Database Updater

Before you start

To prepare the SQL database for first use - with SQL Server already installed - perform the following the steps:

  1. Enable the "sa" user with "sa" password (question) Learn more here.
  2. Run the "DBSchema" SQL script to create a database.
  3. Run the "SMD databse update" script to fill database with default data (used by Assistant "SMD component").
  4. Run "Core database update" script to fill database with default data (used by Assistant "PA Core" component).

    • When running "SMD database update" script, use your own lync servers Name, Fqdn, IpAddress and URI 
    • When running "Core database update" script, use own ApplicationUrn and ApplicationUserAgent 

Assistant comes with a "Database Updater" app which also creates a new database on your existing SQL Instance if needed.

  1. Start the DBUpdater Setup
  2. Fill in the following fields:

    FieldDescription
    Server NameName of the machine hosting the Assistant database
    Database NameDefine a new name if you create a database, or use the name of the database you want to update
    Integrated SecuritySelect the check box to use current Windows account credentials for authentication
    User Name and Password:Credentials of the user who has access to SQL Server
    SQL Server path to the DB fileExisting path on the hosting machine for database .mdf files.
    SQL Server path to the DB log fileExisting path on the hosting machine for database log files.
    (lightbulb) If the path is not specified, the system puts the log files to the folder with the mdf files.
  3. Once all details are filled, you can check the connection to the database or check its version by pressing "Connect
    (info) → 
    If the database doesn't exist the "Create Database" section becomes available:

    Newly created Assistant DB message
  4. After a new database was created, press the "Update" button to update the DB to the latest version.
    → A green line at the bottom of the Updater informs you when all changes were applied successfully.

    Successful upgrade of a Assistant DB


SfB / Lync Server Machine Registration

The first step to set up the machines for PA installation is to run Powershell Scripts to manage SfB Server applications and trusted third-party applications.
On the machine with Microsoft SfB Server installed run the Lync Server Management Shell and follow the steps:

  1. Use the following cmdlets to register two machines as trusted application pool:

    New-CsTrustedApplicationPool -Identity ucma_united.int08.local -Registrar lync1.int08.local -Site Site:ZRH -ComputerFqdn ucma.int08.local
    New-CsTrustedApplicationComputer -Identity ucma2.int08.local -Pool ucma_united.int08.local
    New-CsTrustedApplication -ApplicationId ucma -TrustedApplicationPoolFqdn ucma_united.int08.local -Port 6000
    Enable-CsTopology
    POWERSHELL
    • Use own data for Uri, Identity, Site, Pool and TrustedApplicationPoolFqdn fields respectively.
    • Use "Get-CsSite" command to get information about the sites created as part of your Server infrastructure.
  2. Use the following cmdlets to register SMD component as server application:

    New-CsServerApplication -Identity "Service:Registrar:fepool.int08.local/PaSMD" -Uri http://www.luware.net/pa -Priority 0 -Critical $False
    Set-CsServerApplication -Identity "Service:Registrar:fepool.int08.local/PaSMD" -Enabled $True
    POWERSHELL

    For more information about Power Shell commands go to the Lync Server 2013 Application Management section on the TechNet Library.

SfB Server Installation

Continuing with the Assistant installation we now add SfB Server 2015 (2019) using Lync Server - Deployment Wizard.

  1. Select "Install or Update Lync Server System" to proceed with the installation.

    worddav6e35cfda5bbd69493c6e2d8f72f6ffec.png


  2. On the next page select sequentially "Step 1: Install Local Configuration Store" and "Step 2: Setup or Remove Lync Server Components" 
    Follow instructions for each step accordingly.

    worddav3483fbf70202716cd6e4339fe25ae473.png


  3. After Step 1 and Step 2 are completed, proceed with Step 3 "Request, Install or Assign Certificates".
    (warning) Please note: the "Run" button can be disabled if the machine is not registered as a trusted application pool on Lync Server machine.
  4. In the 'Certificate wizard' click on 'Request' button and follow the instructions.

    worddav1617e8d7a9d4b68c6b88857d2fbc286a.png

  5. After the certificate was received and assigned, get back to Lync Server Wizard and "Start Services" by selecting the Step 4.

    worddav3483fbf70202716cd6e4339fe25ae473.png


(tick) The installed application can be found on following path "C:\Program Files\Luware AG\". It is also installed on IIS under defined during the installation web site name.

Network Service Users

These procedures need to be done on separate machines:

  • On machines running Assistant "PA Core" Services
  • On SfB Servers where Assistant "SMD" Services (SIP-Message Dispatcher)
Assistant Server (PA Core)SfB Server (SMD Service)
  1. If you're working in Windows Server 2008, go to Start > Run.
  2. If you're working in Windows Server 2012, press the Windows key and r.
  3. Type lusrmgr.msc, and then choose OK.
  4. Select Groups folder.
  5. Add Network Service user to RTC domain Read-only Administrators group.
  1. If you're working in Windows Server 2008, go to Start > Run.
  2. If you're working in Windows Server 2012, press the Windows key and r.
  3. Type lusrmgr.msc, and then choose OK.
  4. Select Groups folder.
  5. Add Network Service user to RTC Server Applications group.