Tag Archives: Skype for Business installation

Step by step Front End Pool: Skype for Business Server 2015 Part III


This is a continuation of Part II and covers installation and configuration of second Front End server and so on.

Install prerequisites on second server.

Install Windows update.

Install Silverlight.

Insert Skype for Business Server 2015 media and run setup.exe. Follow the same process as we did for first FE server.

Open Skype for Business Server 2015 – Deployment Wizard.

Install Administrative Tools.

Open Topology Builder and “Download Topology from existing deployment”

Right click on pool and add New Server…

Click on yes.

Write fqdn of second FE server and click on OK.

Now publish the topology.

Click on Next.

Select Pool FQDN and click on Next. (If you see any error with regards to pool state, ignore the same)

Now click on “Install or Update Skype for Business Server System”

Run “Install Local Configuration Store” and follow the steps as shown below.

Run “Setup or Remove Skype for Business Server Components” and follow the steps as shown below.

Now, Go to the first FE server and export the certificate from local computer certificate via adding through MMC.

Right click on certificate and click on Export…

Click on Next.

Select “Yes, export the private key”

Click on Next.

Use any user name and password.

Specify the location to export.

Review the settings and click on Finish.

Now Run “Request, Install or Assign Certificates”

Click on Import Certificate.

Import the certificate.

Now click on “Assign” to assign the certificate.

Select the certificate.

Now you are done with the installation of second FE server and use the same process for other FE servers.

Once you have minimum three FE servers in a pool then open Lync Management Shell to start the pool services.

Run à Start-CsPool –PoolFqdn <pool fqdn>

Enter “A” for Yes to All

Now check the services on each FE server and play with your FE pool. J

Advertisements

Step by step Front End Pool: Skype for Business Server 2015 Part II


This is a continuation of my preceding post and will cover the step by step process to define FE pool and installation of first FE server.

Open Skype for Business Server 2015 Topology Builder and create “New Topology”.

(Note: this step is only required if this is the first pool in your environment, otherwise select “Download topology from existing deployment”)

Right click on Skype for Business Server and select New Central Site…

Define New Central Site.

12. Click on Next to Define New Front End Pool.

Define Pool FQDN (make sure you are using <pool name>.<domain fqdn> format).

Add first FE server fqdn.

Select features which you want to enable for your FE Pool.

Select this option if you want to collocate Mediation server role with FE servers.

Click on Next, we will add Edge pool later.

Add SQL server store, click on New. We are using SQL mirror with this FE pool.

Write Primary SQL Server Name.

Select Named instance and write instance name.

Select “Mirroring relation” from high availability settings.

Enable mirroring option and click on new.

Define SQL mirror server name and mirror instance.

Enable mirroring witness and click on new.

Define witness server name and instance.

Once done, click on next.

Define the file store. We are using DFS share which we had created for SfB.

Define a file share.

Define internal and external web services url.

Define Office Web Apps server.

Define the Archiving SQL server store in the same way as we defined Back End server store.

Define the Monitoring SQL server store in the same way as we defined Back End server store.

Now you have to define the CMS and admin url. Right click on “Skype for Business Server” and edit properties.

Select CMS and define administrative access url. (Note: this step is only required if this is the first pool in your environment.)

Publish the defined topology.

Click on Next to publish the topology.

Select databases and click on Advanced…

Use database location, select “Use SQL Server instance defaults”

Select mirror database and click on settings to define File share which will be used by SQL server to setup the mirror.

Note: SQL account which was used for the sql instance should have permission on share. (It could be your sql service account)

Click on Next.

Now it will publish the topology and will create all the databases as well as it will setup the mirror.

Once your topology has been published successfully. Click on “Install or Update Skype for Business Server Systems” from Deployment Wizard.

Run “Install Local Configuration Store”

 

Run “Setup or Remove Skype for Business Server Componenets”

Once you are done with the installation, can request and assign certificates. Click on Run to request the certificates.

Request and assign OAuth certificate.

Request certificate for SfB server and web services.

Fill the required fields and click on advanced.

Follow the process.

Make sure you marked private key as exportable.

Add rest of the servers which are going to be part of the pool.

Now you are done with the first FE server installation and configuration.

Next part (Part III) will cover the installation and configuration of second FE server, and the same process will be used to add more FE servers in the same pool.

Step by step Front End Pool: Skype for Business Server 2015 Part I


In preceding posts, I have covered SQL Server installation, configuration, and DFS deployment which are required for Enterprise Edition Front End pool. This blog post will cover all the steps which are required before defining Front End pool while pool configuration and step by step deployment of the FE servers in a new pool will be covered in the next part of this post.

You need minimum three FE servers for Enterprise Edition Pool. Join all three server in domain and login to the first server with administrative account. Administrative account should have Schema Admin, Enterprise Admin and Domain Admin membership to prepare active directory.

1. Open PowerShell and install Skype for Business Server prerequisite.

Insert or map windows server installation media and open Powershell with administrative rights.

Note: In my setup, using D: for installation media. Change drive letter in below powershell cmdlet according to your setup.

Add-WindowsFeature NET-Framework-Core, RSAT-ADDS, Windows-Identity-Foundation, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Dir-Browsing, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Web-Scripting-Tools, Web-Mgmt-Compat, Server-Media-Foundation, BITS -Source D:\sources\sxs

2. Download and install hotfix KB article 2858668 for windows server 2012 and KB article 2982006 for windows server 2012 R2.

3. Download and Install Silverlight.

4. Insert Skype for Business media and run setup.exe

5. Change installation location if you don’t want to install SfB on OS drive > Install

6. Accept license agreement > Next.

7. Prepare Active Directory.

Once prepare active directory step is completed successfully.

  • Open Active Directory Users and Computers and make current user member of CSAdministrator
  • Open DNS and create SRV and A records

i) Create _sipinternaltls service location record.

Open DNS Manager and select domain under Forward Lookup Zones. Right click on domain or right click on right pane and select other New Records

Select “Service Location (SRV)” and click on Create Record

Service: _sipinternaltls

Protocol: _tcp

Port number: 5061

Host offering this service: FQDN of your Standard Edition Server (Ex: pool1.uc.lab)

ii) Create following Host(A) records

Dailin

Meet

Admin

Sip

Lyncdiscoverinternal

8. Install Administrative Tools.

Please see, next part (Part II) for defining FE pool and installation and configuration of first FE server.

Deploy Skype for Business Persistent Chat Server


This blog post continues Deploy Skype for Business Archiving and Monitoring Server and talks about Persistent Chat Server deployment. These steps can be used for collocated persistent chat server deployment with Standard Edition server or can be used for dedicated persistent chat server deployment. In my setup, I have one Standard Edition Server and one sql database server for archiving, monitoring and persistent chat databases.

For persistent chat collocation best practices please see Microsoft Recommendations.

In preceding post we have covered SQL server deployment and best practices. Now, we will continue with the requirement for persistent chat server. If you are installing persistent chat server on standard edition server install messaging queuing (MSMQ) features before attempting to start the persistent chat server installation.

Open Skype for Business Server 2015, Topology Builder.

Go to the Persistent Chat pools under Skype for Business Server 2015 > Right Click > New Persistent Chat Pool…

“Define New Persistent Chat Pool” window will open.

Write the FQDN of Standard Edition Server and select “This pool has one server”.

[Note: If you are deploying persistent chat server on standalone machine then write the FQDN of that server.]

Write the display name of persistent chat pool and click on next if you don’t want to use persistent chat compliance.

If you want to have persistent chat compliance as part of the installation, select “Enable compliance”

If this is not first persistent chat server in Lync/Skype for Business infrastructure then you can deselect “Use this pool as default for all sites”

Don’t deselect this checkbox if this is the first persistent chat server in your infrastructure otherwise you can see below error while publishing topology.

Select SQL Server store, if you want to have new database server for persistent chat deployment click on New…

In my case, I am using the same database server which I had used for archiving and monitoring.

Select the database server for compliance store.

Select the file store.

Select the next hop server, in my case it is Standard Edition Server.

Now once you are done with above process, publish the topology.

Select database, click on Next and finish the process.

Now, open Skype for Business Server 2015, Deployment Wizard and Click on “Install or Update Skype for Business Server System”

Run step 2 “Setup or Remove Skype for Business Server Components” and follow the process.

 

 

 

Now, you can open services console and start “Skype for Business Server Persistent Chat” & “Skype for Business Server Persistent Chat Compliance” services.

 

Deploy Skype for Business Archiving and Monitoring Server


This is an extension of Step by step Skype for Business Server Standard Edition deployment, covers Archiving and Monitoring Server deployment for Standard Edition Server. This post does not cover Call Quality Dashboard.

Archiving server creates Lcslog database to store instant messaging and conferencing data while monitoring server create CDR (call details record) and QoE (quality of experience) databases. Therefore to start with the deployment process, first deploy SQL Server Standard Edition for archiving and monitoring server databases. Features which you need to select are given below:

  • Database Engine Services
  • Reporting Services – Native
  • Management Tools – Basic
    • Management Tools – Complete

Once you are done with SQL server deployment, configure SQL server. By default SQL server uses dynamic port for deployed instance, it is better to use static port.

Open Sql server configuration Manager.

 

Go to the SQL Server Network Configuration > Protocols for “Instance” > Go to the TCP/IP Properties > Select “IP Address” tab and scroll down

 

Remove TCP Dynamic Ports and assign static TCP Port such as 1433 > Apply > OK

 

Go to the SQL Server Services > Restart “SQL Server (Instance)” service.

 

You can expect below error while publishing topology or installing databases if don’t create any rules or disable windows firewall.

Either create firewall rules to open required ports and protocols or disable windows firewall. To disable Windows firewall is not a best practice for production environment. Create Inbound and Outbound firewall rules as given below:

Inbound

Allow Port 80, 443 – TCP and UDP

Allow Port 1433 – TCP

Allow Port 1434 – UDP

Enable Firewall rules which already exists.

Outbound

Allow Port 80, 443 – TCP and UDP

Turn on network discovery & file and printer sharing.

Now, you are done with SQL server configuration.

 

Go to the Skype for Business Server Standard Edition and open Topology Builder.

 

Go to the Standard Edition Server.

 

Right click on SE server and Edit Properties.

 

Select Archiving Server.

 

Click on New to add SQL Server.

 

Write SQL Server FQDN and Instance Name.


 

Now, Select Monitoring Server and drop down for SQL Server. Click OK.

 

Now Publish Topology.

 

Click on Next.

 

Select database.

 

Select database and click on Advance if you want to change database file location. In my case, I am going with default.

 

It will create databases for archiving and monitoring.

Once it is completed successfully, click on Finish.

 

Now, open Skype for Business Server 2015 Deployment Wizard. Click on Deploy Monitoring Report and follow the steps.

 

 

 

 

 

 

Once you are done with the process, you can use monitoring repots or can enable/create archiving policies based on your requirements.

Done J

Step by step Skype for Business Server Standard Edition deployment


Skype for Business Server 2015 deployment steps are as same as it was in Lync Server 2013. In this blog post, I will cover all the steps which are required to install Skype for Business Server. First, have a look on high level deployment steps which will help you to keep your infra ready for successful Skype for Business Server deployment.

1. Domain joined Windows Server 2012/2012R2 with all recent updates. Better to use Windows Server 2012 R2, latest and greatest server operating system.

2. Download and install hotfix KB article 2858668 for windows server 2012 and KB article 2982006 for windows server 2012 R2.

3. Download and Install Silverlight.

4. Install Skype for Business Server prerequisite.

5. Run setup.exe from Skype for Business Server installation media.

6. Prepare Active Directory for Skype for Business Server. If you have Lync Server 2013 infrastructure, no need to update the Active Directory as it will display you “Complete”.

7. Create required DNS records. Assign Skype for Business Server admin rights.

8. Create Share folder and assign required permissions.

9. Install Administrative tools.

10. Prepare first Standard Edition server.

11. Create and Publish topology.

12. Install or Update Skype for Business Server system.

a. Install Local Configuration Store

b. Setup or Remove Skype for Business Server Components

c. Request, Install or Assign Certificates

d. Start Services.

 

I will cover step by step installation process from step 4 onwards.

Insert or map windows server installation media and open Powershell with administrative rights.

Note: In my setup, using D: for installation media. Change drive letter in below powershell cmdlet according to your setup.

Add-WindowsFeature NET-Framework-Core, RSAT-ADDS, Windows-Identity-Foundation, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Dir-Browsing, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Web-Scripting-Tools, Web-Mgmt-Compat, Server-Media-Foundation, BITS -Source D:\sources\sxs

 

 

 

After installation restart server.

Run setup.exe from installation media. Or you can use powershell cmdlet to run the setup.

 

As Skype for Business Server 2015 support SMART setup. Therefore you can use “Connect to the internet to check for updates” otherwise select don’t check for updates right now.

Select Installation Location for Skype for Business Server and follow the steps.

Press “Windows + F key” and search for Skype for Business Server Management Shell and Deployment Wizard.

Open SfB Management Shell or Deployment Wizard to prepare active directory.

If you are using Deployment Wizard then click on prepare schema. (Make sure current user should be member of schema admins)

If using SfB Management Shell then run Install-CsAdServerSchema

Once schema is prepared then run Get-CsAdServerSchema. If you get SCHEMA_VERSION_STATE_CIRRENT as a result, it means you are good to go.

Check Schema Version from ADSI.

Open ADSI (adsiedit.msc) > Connect to Schema > Search for CN=ms-RTC-SIP-SchemaVersion and go to properties and search for schema lower and upper range.

rangeLower    3

rangeUpper    1150

Run “Prepare Forest” from Deployment wizard or run Enable-CsAdForest from SfB Management Shell. (Make sure current user is member of Enterprise Admins)

To verify run “Get-CsAdForest” and if the result comes “LC_FORESTSETTINGS_STATE_READY” then you are good to go. You can also open Active Directory Users and Computers and find group which has been created for SfB.

Run “Prepare Domain” from Deployment wizard or run Enable-CsAdDomain from SfB Management Shell. (Make sure current user is member of Domain Admins)

To verify run “Get-CsAdDomain” and if the result comes “LC_DOMAINSETTINGS_STATE_READY” then you are good to go.

 

Once prepare active directory step is completed successfully.

  • Open Active Directory Users and Computers and make current user member of CSAdministrator
  • Open DNS and create SRV and A records

i) Create _sipinternaltls service location record.

Open DNS Manager and select domain under Forward Lookup Zones. Right click on domain or right click on right pane and select other New Records

Select “Service Location (SRV)” and click on Create Record

Service: _sipinternaltls

Protocol: _tcp

Port number: 5061

Host offering this service: FQDN of your Standard Edition Server (Ex: se02.uc.lab)

ii) Create following Host(A) records

Dailin

Meet

Admin

Sip

Lyncdiscoverinternal

  • Create Share Folder and Assign permissions

Create folder and go to the properties.

Click on Share.

Add local administrators group and assign full rights.


As well as go to the Advanced Sharing…

Add local administrators group and assign Full Control.

 

Now you are ready to start the installation of Skype for Business Server.

Open deployment wizard and click on “Install Administrative Tools”.

Once installtion is done. Press “Windows + F key” and search for Skype for Business Server. Now, you can see Skype for Business Server Topology Builder and Control Panel.

Now click on “Prepare first Standard Edition server” and follow the steps.

 

 

 

 

Press “Windows + F key”, open Skype for Business Server Topology Builder and follow the steps. Please enter the required details as per your environment.

 

 

 

 

 

 

 

 

 

I will cover Archiving and Monitoring Server installation in Part 2.

 

You can define Edge pool later in the topology.

 

Define file share which we created in previous steps.

You can define External Base URL for Web Services as per your requirements. (Ex: SEWeb.domain.com)

 

Right Click on “Skype for Business Server” and go to properties.

Assign “Administrative access URL” and “Central Management Store”. Click on Ok

Right Click on “Skype for Business Server” and “Publish Topology”

 

 

 

Now, it is time to install Skype for Business Server System. Click on “Install or Update Skype for Business Server System”

Click on Run “Install Local Configuration Store” and follow the steps.

 

 

 

Click on Run “Setup or Remove Skype for Business Server Components” and follow the steps.

 

 

 

Now Request and Assign Certificates. Click on Run “Request, Install or Assign Certificates” and follow the steps.

Click on Request.

 

Fill the form as needed. Click on Advanced and follow the steps.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Follow the same process for OAuth Certificate.

Once Certificates are assigned open SfB Management Shell.

Run “Start-CsPool –PoolFqdn <poolfqdn>

Type “Y”

Once, services are running open Skype for Business Control Panel and play with it. J

 

Part 2 of this article will cover Archiving and Monitoring; and Persistent Chat Server deployment.