Installing Lync Server 2010 consolidated standard edition server, step-by-step – Part 2

It is time to continue with our Lync Server 2010 installation. We will jump in and start where we left it in the first post.

 

Installing Lync Server 2010 – continued

Click on Install or Update Lync Server System.

lync50 

To continue with our deployment click on Install Local Configuration Store.

lync51

Since we published our topology in the last post we can keep the setting Retrieve directly from the Central Management Store, click on Next to continue.

lync52

The installation will run automatically, click Finish when the Task Status says Completed.

lync53

Moving on to Step 2: Setup or Remove Lync Server Components.

lync54

When the wizard starts click Next to continue.

lync55

Another automatic installation, click Finish when the Task Status says Completed. Note you might be prompted to restart the server as in my example.

lync56

If the restart prompt appear, click Ok and then restart the server.

lync57

After the restart open the deployment wizard, run Step 2: Setup or Remove Lync Server Components again.

lync54

When the wizard starts click Next to continue.

lync55

Another automatic installation, click Finish when the Task Status says Completed.

lync58

Back in the deployment wizard we choose to continue with Step 3: Request, Install or Assign Certificates,

lync59

When the Certificate Wizard opens, select Default Certificate and then click Request.

lync60

When the wizard starts, click Next to continue.

lync61

We will choose to send the request immediately, click Next to continue.

lync62

For this simple deployment a certificate issued by a local CA will do just fine, choose your local CA in the drop down list and click Next.

lync63

If needed, enter the credentials needed to contact the local CA and click Next to continue.

lync64

We will not specify any alternate templates, click Next to continue.

lync65

Provide a friendly name and check Mark the certificate´s private key as exportable, then click Next to continue.

lync66

Fill in the required fields on the Organization Information page and click Next.

lync67

Fill in the required fields on the Geographical Information page and click Next.

lync68

The wizard will populate the certificate automatically, click Next.

lync69

On the SIP Domain setting page, select your local domain as the SIP Domain and then click Next  to continue.

lync70

We do not need any additional SANs for now, click Next.

lync71

Review the summary and click Next.

lync72

After the installation, click Next when the Task Status says Completed.

lync73

When you click Finish the Certificate Assignment wizard will start.

lync74

Click on Next to continue with the wizard.

lync75

Review the Certificate Assignment Summary page, click Next.

lync76

Wait for the configuration to complete and then click Finish.

lync77

This takes you back to the Certificates Wizard, click on Close.

lync78

The final step, Step 4: Start Services, starts the Lync Server 2010 services, click on Run.

lync79

Click Next to continue.

lync80

Wait for the configuration to complete and then click Finish.

lync81

Click on Exit to close the deployment wizard.

This ends part 2 in this series, thanks for reading and let me know if you have any questions!

Part 1 in this series!

Part 2 in this series!

Part 3 in this series!

Installing Lync Server 2010 consolidated standard edition server, step-by-step – Part 1

This is my first technical post about Lync Server 2010 and I will kick off my series of Lync Server 2010 posts with a basic installation and configuration post. I will guide you through the installation process and show you how to make a basic IM/presence and video conferencing configuration. I am also working on a post on how to integrate Lync Server 2010 with Asterisk to be able to use a consumer grade SIP trunk for phone support.

Pre-requirements

I will base this server one Windows 2008 R2 Standard and it is placed on a Hyper-V 2008 R2 host. First we need to start with installing the pre-requirements. Please make sure that you have installed all available updates from Microsoft Update before you continue. To start the requirements installation we can use PowerShell.

To import the Server manager module run the following command:

Import-Module ServerManager

lync1

Now we can start the actual installation of all required components with the following command:

Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Static-Content,Web-Default-Doc,Web-Http-Errors,Web-Http-Redirect,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Http-Logging,Web-Log-Libraries,Web-Http-Tracing,Web-Windows-Auth,Web-Client-Auth,Web-Filtering,Web-Stat-Compression,Web-Mgmt-Console,Web-Scripting-Tools -Restart

After the installation the server will restart automatically since we added the –Restart parameter.

lync2

Also, install Microsoft Silverlight, this is needed to run the Lync Server 2010 installation GUI. Silverlight can be found here: http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx

The installation of Silverlight is very straight forward, after the download run Silverlight.exe and click on Install now. The installation process will start and when finished click Next and then Close.

We also need to create a file share on the Lync server 2010 server. I will place my directly under C: and name it LyncShare.

lync27

Share the folder and make sure that everyone has full control.

lync28

We will also be needing a number of DNS entries. Add the following records to your domain controllers DNS servers.

Name Target
meet.sundis.local <Lync 2010 Server IP>
admin.sundis.local <Lync 2010 Server IP>
dialin.sundis.local <Lync 2010 Server IP>

Now we are ready for the fun stuff!

 

Installing Lync Server 2010

Insert your Lync Server 2010, if AutoPlay does not start, navigate to your drive \Setup\amd64 and execute setup.exe. The first thing you will need to do is to install Microsoft Visual C++ 2008 Redistributable Package, click Yes to proceed.

lync6

When Microsoft Visual C++ 2008 Redistributable Package is installed you will need to choose the installation directory. The default location will be just fine for me, change the location to match your preferences and then click Install.

lync7

Next you need to accept the license agreement, check I accept the terms in the license agreement and then click Ok.

lync8

Now the Deployment Wizard launches and you will have a number of choices. We will start with Prepare Active Directory.

lync38

We will now have number of steps to complete, go through each of them starting from the top with Prepare Schema, click Run to start the wizard.

lync39

When the wizard starts click Next to continue.

lync40

The schema preparation is automatic, click Finish when the Task Status says Completed.

lync41

The next step is to Prepare Current Forest, click Run to start the wizard.

lync42

When the wizard starts click Next to continue.

lync43

We will configure the local domain, click Next to continue with defaults.

lync44

The forest preparation is also automatic, click Finish when the Task Status says Completed.

lync45

The last preparation wizard we need to run is Prepare Current Domain, click on Run to start the wizard.

lync46

When the wizard starts click Next to continue.

lync47

Again, the preparation is automatic, click Finish when the Task Status says Completed.

lync48

The last step is to grant access to the Microsoft Lync Server 2010 Control Panel, do the following:

  1. Log on as a member of the Domain Admins group or the RTCUniversalServerAdmins group.
  2. Open Active Directory Users and Computers, expand your domain, right-click the Users container, and then click Properties.
  3. In CSAdministrator Properties, click the Members tab.
  4. On the Members tab, click Add. In Select Users, Contacts, Computers, Service Accounts, or Groups dialog, locate the Enter the object names to select. Type the user name(s) or group name(s) to add to the group CSAdministrators. Click OK.
  5. On the Members tab, confirm that the users or groups that you selected are present. Click OK.
    After completing all the steps, click on Back to return to the Deployment Wizard.

Moving on, The Topology Builder is next and with this tool we create a topology that we use to deploy the actual Lync Server 2010 system. To start the installation click on Install Topology Builder.

lync9

The installation will now run and it is automatic, when it is finished we will move on to Preparing the first Standard Edition server.

lync49

On the introduction screen click Next to continue.

lync19

The installation will begin and when completed click Finished to close the wizard.

lync20

Now it is time to start with some configuration, locate the Lync Server Topology Builder on the Start Menu.

lync11

The first thing we need to do is to select if we have a topology we want to open or if we want to create a new one. Choose New Topology and click Ok.

lync12

Choose where to save your topology files, I will save my files in C:\Lync Server 2010 Topology Builder and call it sundis.tbxml. When you are finished choosing name ad location click Save.

lync13

Then enter a SIP domain that matches your preferences, I will enter sundis.local. This is the internal domain name in my family domain and will work well for the purpose of this installation, click Next to continue.

lync14

We will not add any additional SIP domains at this point, click Next to continue.

lync15

Enter a name for you default site, I will enter Sundis, then click Next to continue.

lync16

Enter your City, State and country and click Next to continue.

lync17

We want to continue to configure a front end pool so click Finish. When the New Front End Pool wizard starts click Next to continue.

lync21

Now we must define a FQDN for our Front End Pool. Wine this is a simple single server installation I will use the servers FQDN sundis-lync01.sundis.local. Chose Standard Edition Server and click Next to continue.

lync22

We will chose the following components for this installation:

  • Conferencing (without Dial-in for now)
  • Enterprise Voice
  • Call Admission Control

    Check those options and then click Next to continue.

    lync23
    We will collocate the mediation server, check Collocate Mediation Server and then click Next.
    lync24
    We will not enable any more components, click Next to continue.
    lync25
    We have already installed SQL server on the Lync Server 2010 server and the wizard finds it automatically. Click on Next to continue.
    lync26
    Now we will enter the share name we used when creating the file share earlier. I named the share LyncShare, enter your share name and click Next to continue.
    lync29
    We will not enter a public FQDN at the moment and will leave it as default, click Next  when finished.
    lync30
    We will not add a gateway at this moment, click on Finish to end the wizard.
    lync31
    When the wizard closes you will be presented with the Topology builder, Take a moment to go through the configuration, then go back to the original screen an click on Edit Topology.
    lync32
    In the left pane, select Simple URLs, in the main pane, enter a URL in the field Administrative access URL. In my case this is https://admin.sundis.local, then choose the Front end server to install Central Management Server on. If all is well you should only have one choice here, click Ok when done.
    lync33
    Now it is time to publish our topology to the management server. Back in the topology builder, click on Publish Topology in the Actions Pane.
    lync34
    When  the wizard has loaded, click on Next to start the publishing.
    lync35
    You should only have one Central Management Server, make sure it is selected in the drop-down list and then click Next.
    lync36
    When the wizard completes, make sure that all steps are successful an then click Finish.
    lync37 
    This concludes part 1 in this series on Lync Server 2010. Thanks for reading, I hope that you find it helpful!

Part 1 in this series!

Part 2 in this series!

Part 3 in this series!

      View PowerShell commands ran by Exchange Management Console

      Here is a quick tip on how you can do to view the commands that Exchange Management Console runs in the background when you do changes using EMC. EMC is basically just a GUI that runs PowerShell commands in the background to execute the changes we make in the GUI.

      There are two ways of displaying these PowerShell commands.

      The Show Exchange Management Shell Command button

      This button is very useful and easy to find. It is located in the bottom-left corner of the dialog boxes used to reveal and set properties on Exchange objects.

      ps

      When you click this button a window opens, showing the Windows PowerShell command that Exchange will execute when you click OK or Apply. Again, you can use this button to view the commands BEFORE you actually apply the changes.

       

      Exchange Management Shell Command Log

      Another tool new to the EMC in Exchange 2010 is the Exchange Management Shell Command  Log. It records all shell commands that you run in EMC. You can use this tool to log commands, view then and also export them to a CSV file.

      To view the Exchange Management Command Log by right-clicking an object
      such as Mailbox in the left pane of EMC and then clicking View and selecting View Exchange
      Management Log.

      image

      I the lower pane you can see and copy the commands, this is an excellent way of getting help and tips when creating PowerShell commands and scripts.

      image

      Thanks for reading!