Sunday, February 27, 2011

Lync 2010 Deployment Guide (Prepare our first Lync Server)

Before we proceed with our first
Lync server deployment, prerequisites must be installed as described here:
http://technet.microsoft.com/en-us/library/gg412778.aspx

I will begin by running Windows Update on my server as many times as necessary until “Windows is up to date” appears.


***I will even install .NET Framework 4 just to see if will affect our Lync installation down on the road.
The easiest way to install prerequisites (at least for me) is to run the following commands from command prompt:
servermanagercmd -install Net-Framework Net-Framework-Core Net-Win-CFAC Net-HTTP-Activation NET-HTTP-Activation WAS WAS-Process-Model WAS-Net-Environment WAS-Config-ApIs

servermanagercmd.exe -install Web-Server Web-Asp-Net Web-Windows-Auth Web-Metabase Web-Mgmt-Compat Web-WMI Web-Lgcy-Scripting Web-Client-Auth Web-Http-Redirect Web-Log-Libraries Web-Http-Tracing Web-Basic-Auth Web-Scripting-Tools
servermanagercmd -install MSMQ MSMQ-Services MSMQ-Server MSMQ-Directory



Install the Rewrite module. You will find it on your Lync installation media, for example: D:\Setup\amd64

…and since we are here already, why don’t we install VC++ Redistributable…


Now run the following from command prompt:

pkgmgr.exe /ip /m:"C:\Windows\servicing\Packages\Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~amd64~~6.1.7600.16385.mum"
***ATTENTION! The above command applies to Windows Server 2008 R2. If you will install Lync on W2K8 R2 SP1, here is the proper command:

pkgmgr.exe /ip /m:"C:\Windows\servicing\Packages\Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~amd64~~6.1.7601.17514.mum"
***At this point, the system will restart! When you login back, go to Server Manager -> Features and add “Desktop Experience”. I found that later - if or when you enable “Music On Hold” on your
Lync server, the log will register an error that “either the file is not present (while it is there) or is unknown format (huh, WMA is unknown?!?)


…and indeed, a reboot is required… again.
Now our first Lync server is ready for some serious work.

No comments: