Wednesday, May 15, 2013

Lync 2013 Installation

Microsoft Lync Server 2013 Preview Step by Step - Part IPDFPrintE-mail

My Lync Server 2013 Lab environment.
  • Domain Controller - Windows Server 2012
  • Lync Server - Lync Server 2013/Windows Server 2012
  • Server 2008 Forest/Domain functional level
Lync Server 2013 Prerequisites (Additional Software Requirement:
http://technet.microsoft.com/en-us/library/gg398686%28v=ocs.15%29
)
Add AD DS and AD LDS Tools from Add Roles and Features Wizard.
Add Windows Identity Foundation.
Add Media Foundation.
To add IIS features run the below command.
For Windows 2008 R2 SP1

Import-Module ServerManager
Add-WindowsFeature Web-Static-Content,Web-Default-Doc,Web-Http-Errors,Web-Asp-Net,Web-Http-Logging,Web-Log-Libraries,Web-Http-Tracing,Web-Windows-Auth,Web-Client-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Web-Scripting-Tools


For Windows Server 2012

Import-Module ServerManager
Add-WindowsFeature Web-Static-Content,Web-Default-Doc,Web-Http-Errors,Web-Asp-Net,Web-Asp-Net45,Web-Http-Logging,Web-Log-Libraries,Web-Http-Tracing,Web-Windows-Auth,Web-Client-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Web-Scripting-Tools

Once this is done we can start the installer from Lync Server 2013 media.
Active Directory Preparation
Click Prepare Active Directory to prepare Active Directory schema, forest and domain for the Lync Server.
Click Run
Click on View Log to view the deployment log for executed command.
Now we can verify the replication of schema.
Open ADSIedit.msc. On the Action menu, click Connect to - Select Schema from the "Select a well known Naming Context:"
Search for CN=ms-RTC-SIP-SchemaVersion. If this object exists, and the value of the rangeUpper attribute is 1150 and the value of the rangeLower attribute is 3, then the schema was successfully updated and replicated.
Lets prepare the current Forest. Click Run in Deployment wizard.
Verify Replication of Global Catalog
Go to Active Directory Users and Computers and check for Universal group CsAdministrators in the right side pane. It it is present, replication of the Forest Preparation has been successful.
Lets prepare the domain.
Verify Replication in the Domain
Get-CsAdDomain -Domain doitfixit.local -GlobalSettingsDomainController dc1.doitfixit.local

This cmdlet returns a value of LC_DOMAIN_SETTINGS_STATE_READY if domain preparation was successful.
Add Lync administrator to CSAdministrator group.
Now open the Lync Server Deployment Wizard.

Run Prepare first Standard Edition Server.
Click "Install Administrative Tools".
Open Lync server topology builder.
Select New Topology and click OKSave the topology.
Define the primary domain.
If you have any additional supported domains you can add from here. (Eg: local domain is doitfixit.local and you want to add doitfixit.com as sip domain)
Define Name and the Description.
Specify the site details
New Front End Wizard will begin.
Lync Frond End Pool FQDN (Lync server FQDN name)
Select Features
Select collocated server roles
SQL Server store
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. "Share"
If you have public facing FQDN for this server, it goes here.
Click Finish
Click Edit Properties.
Add an administrative URL. "https://admin.doitfixit.local" and select Central Management Server.
All set to publish the topology; Now we can publish the topology.
Select Central Management Server.
Click Finish. 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.
DNS Host (A) Records
dialin.doitfixit.com 192.168.1.155
admin.doitfixit.com 192.168.1.155
meet.doitfixit.com 192.168.1.155
Open Deployment wizard again and choose Install or Update Lync Server System to continue.
Choose Install local Configuration Store and choose the option to retrieve directly from the CMS.
Run Setup or Remove Lync Server Components
Request, Install or Assign Certificates.
Click on Request.
Choose to send the request immediately to an online certificate authority (this will submit through AD Certificate Services)
Specify Friendly Name, Organization Name, etc..
Select SIP Domains
Certificate Assignment wizard.
Click Close
Now we can start the services.
Open Lync Server Control Panel
Login with appropriate credentials.
Enable Users to use Lync.
Choose user's SIP URI and telephony type. click Enable.
Finally we have to create a SRV - DNS record for new Lync Server, without this Lync client will be unable to locate the server location.

Service: _sipinternaltls
Protocol: _tcp
Port: 5061
Host Offering this Service: 192.168.1.155
And Host Records...
sip.doitfixit.local point to Lync Server IP
admin.doitfixit.local point to Lync Server IP
meet.doitfixit.local point to Lync Server IP
dialin.doitfixit.local point to Lync Server IP
Let's log in to the Lync 2013 client...

No comments:

Post a Comment