Friday, May 20, 2011

Microsoft Lync 2010 Consolidated Standard Server Installation Guide

This guide will run through a consolidated standard edition Installation, where all roles will be deployed on a single virtual machine except monitoring, archiving and edge roles.

So first off I’ll run you through some high-level preparation steps/assumptions:

  • I’ve already installed a fresh copy of Windows 2008 R2 Standard on a Hyper-V 2008 R2 host, as this is a lab install I have only allocated 2gb of VM RAM (not supported in production) and a 72gb VM fixed disk (single partition) – strangely during the install should you choose to install on a secondary partition i.e. D:\ rather than C:\ most of the program files and database(s) end up on C:\.
  • Apply all Windows Updates.
  • Add to your domain.
  • Within this guide I have Active Directory Certificate Services deployed for certificate generation.
  • Now the prerequisites (based upon a Windows 2008 R2 install, 2008 x64 is supported, but unless your organization has licensing constraints I would strongly recommend you go down the R2 route).
  • Add RSAT (only AD DS and AD LDS Tools are required) from within features in Server Manager (used for performing remote schema updates etc.) this will also prompt you to add the .NET Framework 3.5 feature, you mustaccept this.
  • Add IIS, this is made easier by running this command line:

ServerManagerCmd.exe -Install Web-Server Web-Http-Redirect Web-Scripting-Tools Web-Windows-Auth Web-Client-Auth Web-Asp-Net Web-Log-Libraries Web-Http-Tracing Web-Basic-Auth

clip_image004

  • Finally, install Silverlight from here (required to execute the Lync Server UI or Lync Server Control Panel).

Then Upon inserting (or mounting) your Lync RC ISO Internet Explorer will present the following options (left is server and right the client x32/x64 editions included).

clip_image006

The first thing you’ll see upon execution is a prompt asking you to install Microsoft Visual C++ 2008 Redistributable, click yes to install.

clip_image008

A few minutes later the following dialogue will appear. Given my single partition setup, I choose to accept the default installation directory.

clip_image010

Now you will be presented with a familiar looking wizard that will guide you through the install process. In my case I have already completed the Active Directory preparation steps and provided you are logged in with a Domain Admin or equivalent account and your AD is in good shape this should complete without a hitch (it did in my case!). As per the installation steps, once this is completed add your chosen admin account to the newly created CSAdministrator group.

clip_image012

Head back to the main deployment wizard screen and select the option to Prepare first Standard Edition Server (top right hand option). This will install a copy of SQL 2008 Express, Lync Server core installation files and create an RTC database – let this take its course and once complete you’ll be presented with the following dialogue.

clip_image014

Next install the Topology Builder via the main deployment screen, when this completes you gain a green tick to signify a successful install. Now the fun stuff, we need to define our topology by launching the topology builder via the start menu, as explained earlier Lync offers a difference in architecture to OCS 2007 and the Central Management Store (CMS) is no exception. The CMS is a SQL database where you publish your chosen topology, this takes away the dependency for Lync to require the AD for configuration purposes and is required to complete the installation.

Upon launching the Topology Builder we are presented with three options, choose New Topology (see below).

clip_image016

A dialogue will ask you to choose a save file/location, I’m going to accept the default location and call the file MyTopology.tbxml. Next you are asked for your primary SIP domain, I’ll be using my test AD domain for this Jacobs.local (see below).

clip_image018

You may notice that should you choose to input anything with invalid formatting, you’ll be asked to correct the problem and a RED square box will identify the bad string. Click next, I didn’t choose to add any additional SIP domains. Next give your site a name, I’ll use MyLab (see below).

clip_image020

Next site details, mine are below.

clip_image022

And with this completed you are prompted to open the New Front End Wizard, leave this checked. Here you’ll need to define the New Front End pool.

clip_image024

First of all we need to input the pool’s FQDN, in my case it will be lync.jacobs.local (Lync is the name of my server). I’ll also be opting for the Standard Edition Server Topology (they’ll be no high availability and an additional SQL Express instance, this will host the user and application store and will be installed automatically upon publishing the policy).

clip_image026

We are now going to select the features required and therefore destined to be collocated, I’ll be installing Conferencing (without Dial-in, I’m not going for PSTN voice integration for this lab setup), Enterprise Voice and Call Admission Control.

clip_image028

I’ll choose to collocate the Mediation Server (it will be redundant for now, given my choice to hang fire on voice integration).

clip_image030

Given my single server approach and lack of any need to archive, monitor or federate within my lab, I’ll choose to not select any additional server roles within the next screen.

clip_image032

I don’t need to define my SQL store as my Standard Edition will perform the SQL Express installation automatically.

clip_image034

Now we’ll need to create a file share, create it locally and ensure the account you are currently using to run the topology builder has read/write access to this folder. I’ll call my folder and share name “LyncShare”.

clip_image036

The next screen will ask you for an external URL, if you have a public facing FQDN for this server, it goes here. On the next screen (specify PSTN gateways, click finish, if you, like me are not configuring PSTN integration). You will now be taken back to the main topology builder screen, where you can view a detailed summary of your chosen setup. Click edit properties on the top right (below New Central Site) as you will need to add a few final tweaks.

clip_image038

First, you need to add an administrative URL, in my case https://admin.jacobs.localand select the front end server to install your CMS on (all things being equal you should have one option here, your previously specified pool FQDN).

clip_image040

You are all set to publish your topology! To do so select this option from the right hand side of the main topology builder screen.

clip_image042

If you followed the guide correctly validation should succeed, click next on the publish topology wizard.

clip_image044

Accept the front end pool default by clicking next.

clip_image046

Next the Central Management Store is created. When the wizard completes a text based to-do list can be presented with remaining tasks, you’ll need to create three DNS A records for the simple URLs specified – these should be directed to the IP address of your Lync Server (I won’t cover this). I will cover the final install step – the server components install.

clip_image048

To finish your server installation you need to head back to the Lync Server Deployment Wizard, now accessible via the start menu. Choose Install or Update Lync Server System to continue.

clip_image050

Choose step 1 to install a local CMS and choose the option to retrieve directly from the CMS.

clip_image052

Upon completion, click finish.

clip_image054

Choose step 2 to install Lync Server Components.

clip_image056

You may be asked to restart, should this occur click finish and manually restart your server. After logging back in re-execute the deployment wizard and click step 2 from within Install or Update Lync Server System for the second time, it will automatically resume from where it left off. With this complete, click finish.

clip_image058

Step 3 is where certificates are requested and assigned to the server and both internal/external web services. Click request (see below).

clip_image060

The following dialogue will be presented, choose to send the request immediately to an online certificate authority (this will submit via AD Certificate Services).

clip_image062

Select your local CA via the detected server list, click next until you see the option to specify a friendly name, I’ll use Lync.

clip_image064

Choose friendly organization names, country, state/city and click next. You now need to configure and accept subject alternate names (SAN) – this is where a single certificate can handle multiple common names or domain names. In my case I’ll accept my locally configured SIP domain. You can add additional names where you have a public facing FQDN, click finish to execute certificate commands. The assign the requested certificates (see below).

clip_image066

Upon completion the following screen will be presented.

clip_image068

Gentlemen start your services, or just click step 4! If you want to verify everything went A okay there is an option to launch services.msc. Looking good!

clip_image070

Let’s launch the Lync Server Control Panel via the start menu and enable a test user, provided you installed Silverlight and you’re A records resolve – in my case, admin.jacobs.local you should be asked to authenticate with your CSAdministrator admin details.

clip_image072

Within top actions enable a user for Lync Server. (see below)

clip_image074

Finally you will need to create a SRV DNS record for your new Lync Server, without this your Lync client will be unable to locate the server location. To create, access your DNS manager and right click the Forward Lookup Zone for your SIP FQDN. Then click other new records and Service Location (SRV), complete using your own server settings as per the illustration below.

clip_image076

All things being equal you should now be able to install and login with your Lync client by using the corresponding sign-in address.

clip_image078

Lync Server 2010 Installation Guide

I am presenting this deployment guide for other fellow UC enthusiasts to help on their own personal/test deployments. The best thing in Lync is that instead of archiving & monitoring and edge roles, everything is installed in a single Virtual Machine, hence the word consolidation. For voice-mail you need an Exchange deployment. This guide doesn’t have the integration for voice mail gateways.

I have made a few assumptions before delving into this. They are mentioned here for your ease.

a) An Active Directory server

b) Fresh installation of Windows Server 2008 R2 with all the windows updates and patches joined to your domain, I used VMware for virtualization but its up to your preference what you may use for virtualization. If you have spare server then by all means deploy everything on individual server.

c) The login alias should be a domain admin or a member of an equivalent group.

d) Installation of AD certificate services for certificate generation.

e) Install the RSAT role from the server manager (AD DS and AD LST are required) for remote schema update. Net Framework 3.5 installation is also required which will be prompted automatically and should be installed if you are not using Windows 2008 R2.

f) Install IIS. You can use this command to also install IIS but it’s your call how you want to do it.

ServerManagerCmd.exe -Install Web-Http-Redirect Web-Scripting-Tools Web-Windows-Auth Web-Client-Auth Web-Asp-Net Web-Log-Libraries Web-Http-Tracing Web-Basic-Auth

g) Install Silverlight which will need for installation.

Well.. once all that  is done you can insert the ISO into the virtual machine of burn a cd if you’re using an optical drive for installation and you will see this window in Internet Explorer. We are installing the server so we will choose the left Install button for server installation.

clip_image002

It will first ask you for the Visual C++ Redist installation. Click Yes to install it.

clip_image004

Once the installation for Visual C++ is complete you will see another window prompting the directory for the installation (changeable). If you are installing it on another partition other than C: you still need to have a bigger size of the C: partition as most of the files still end up in C Drive.

clip_image006

Accept the license agreement here.

clip_image009

The next windows would be a little familiar to people who have been working with the previous version of Communication server offerings of Microsoft. This is the deployment wizard.

clip_image011

Let’s choose the first AD preparation steps. In my case the screenshot has all the steps completed. They ran smoothly for me since before I mentioned that the account that I used to login the server with is a Domain Admin as well as Local Admins.

clip_image013

Once all the steps are completed for you, you can click back to go to the deployment wizard and click the Install or update Lync Server 2010.

clip_image015

Once all the steps are completed for you, you can click back to go to the deployment wizard and click the Install or update Lync Server 2010.

clip_image017

It’s time to install the Topology Builder via the main deployment screen, when this completes you gain a green tick to signify a successful install.

The next step is funny enough because now we need to make our Topology for Lync Server 2010 for this you have to go to start menu > Microsoft Lync Server (RC) > Lync Server Topology Builder.

clip_image019

The Popup will come up now click New Topology and Ok.

clip_image021

It will ask you to choose a save file/location I saved it as WhatDoUC. Next you are asked for your primary SIP domain, I’ll be using my test AD domain for this which is WhatDoUC.net (see below).

clip_image023

Click next, I didn’t choose to add any additional SIP domains. On next screen type the name of your site which is in my case WhatDoUC

clip_image025

Click Next and put Site Details which you can see below.

clip_image027

It’s completed now click on “Open the New Front End Wizard” and click Finish.

clip_image029

Now you’ll need to define the New Front End pool.

clip_image031

Click Next. Define the Front End Pool FQDN which is in my case Lync.WhatDoUC.net also I am using Standard Edition Server you can choose it on your own.

clip_image033

You will be asked to select the features required and therefore destined to be collocated, I’ll be installing Conferencing (without Dial-in, I’m not going for PSTN voice integration for this lab setup), Enterprise Voice and Call Admission Control.

clip_image035

Click Next. I am not going to collocate Mediation Server you can choose it your own.

clip_image037

Here I am going to click next without more roles because of my limited sources.

clip_image039

Here I don’t need to define my SQL store as my Standard Edition will perform the SQL Express installation automatically.

clip_image041

Here we’ll need to create a file share, create it locally and ensure the account you are currently using to run the topology builder has read/write access to this folder. I’ll call my folder and share name “Share”.

clip_image043

The next screen will ask about External URL which is in my case “Lync.WhatDoUC.net”

clip_image045

Now we are back to Topology Builder and we have to edit Topology so click on Edit Topology.

clip_image047

Now you need to add an administrative URL, in my case https://admin.WhatDoUC.net and select the front end server to install your CMS on (all things being equal you should have one option here which will your previously specified pool FQDN).

clip_image049

We are all set to publish our topology! To do so select this option from the right hand side of the main topology builder screen.

clip_image051

Here I want to tell you that if you followed the entire guide correctly validation should succeed, now click next on the publish topology wizard.

clip_image053

Click Next also Accept the front end pool default by clicking next.

clip_image055

clip_image057

Now we are back to the Lync Server Deployment Wizard, now accessible via the start menu. Choose Install or Update Lync Server System to continue.

clip_image013[1]

At first step (Install Local Configuration Store) click Run.

clip_image059

Click Next and upon completion click Finish.

clip_image061

Now step 2 to install Lync Server Components.

clip_image063

After completion Re-Start your server and log in back to server and start the Wizard from Start Menu.

It’s time to Step 3 is where certificates are requested and assigned to the server and both internal/external web services. Click request.

clip_image065

On next screen click next.

clip_image067

Select your CA Server which is in my case my Active Directory, click next until you see the option to specify a friendly name, I’ll use WhatDoUC.

clip_image069

Choose friendly organization names, country, state/city and click next.

clip_image071

Now configure and accept subject alternate names (SAN) – this is where a single certificate can handle multiple common names or domain names. In my case I’ll accept my locally configured SIP domain. You can add additional names where you have a public facing FQDN, click finish to execute certificate commands. The assign the requested certificates. Click Finish.

clip_image073

On completion the following screen will appear.

clip_image075

Now It’s time to start Services and after that check the services status.

clip_image077

Now we are ready to run Lync Server 2010 control panel.

clip_image079