Lync Room System – Deploy Internal Update Server

I had to recently deploy an internal update server for LRS that didn’t have internet access to get the LRS updates.

  • From a Windows Server you first need the add the IIS Role so lets get this added as my server doesnt have it.
  • From Server 2012 R2 from Server Manager go to Add Roles and Features

image

  • At Server roles select Web Server (IIS)

image

  • Click Add Features

image

  • Accept default Web Server roles services and click Next

image

  • Click Install

image

  • After IIS is installed Successfully go to Administrator Tools and you should see IIS Manager and open it

image

  • From IIS the computer name and right click on Sites
  • Select Add Website

image

  • Add Site Name
  • For Physical Path select Browse and Make a new Folder called LRSUpdates

image

  • For the bindings leave as http select an IP or leave all unassigned and a free port number.

Please note if other websites are being used even the default website you will need to select an another available free port and remember to reference the port number in the url later if you are using a port other than 80.

image

  • If the port is left as 80 you will get the below prompt as the default website is currently using port 80 and only one site can be started. If you want to use port 80 select Yes.

image

Thats IIS installed, website created (but stopped) and a virtual directory mapped to a c:\LRSUpdates we will now change update the settings of the website.

Add additional MIME types – IMPORTANT

Add msu, upg, and csz as MIME type in IIS for application/octet-stream

Select the LRSUpdates website and in feature view select MIME Type

image

Click Add MIME Type extensions (far right)

image

image

Once you have added all three MIME types you can sort by Entry Type to view them. They are specified as “Local”

image

Lets get that website Started up !

Now the Website is setup but the website is stopped and cant be started yet as the Default website is still using Port 80 which is the same port as the LRSUpdates site we created.

You can either remove the default site by right clicking and selecting remove or edit the bindings and change the port number of the default website.

I updated default website port number to 8080 and restarted the Default website so it uses the updated port see below.

image

Start the LRSUpdates website by right clicking the site > Manage Website > Start

image

With the website started lets get the updates in the virtual directory

Create a new folder in LRSUpdates called LRSUpdates and copy the contents of the SMART 15.12.2 update or later from here

Copy the contents to the c:\LRSUpdates\LRSUpdates folder that was created previously. The folder structure should look like the one shown below.

image

Check that the website is serving the files as expected from a browser check you can go to the directory.

http://lr01.ucmart.co.uk/lrsupdates/

image

We can also check it serving files by requesting one

http://lrs01.ucmart.co.uk/LRSUpdates/SMARTLyncRoomUpdates.exe

image

I also created a separate folder so i could point one LRS at this folder instead to apply new updates to a single LRS before rolling it out to all the LRSs. Better safe than sorry 🙂

My other folder is below LRSTestUpdates

image

and i copied the same contents in here for the moment. When new updates are released now they have a newer version and only the new update needed adding for example i would expect 15.13.0 perhaps next who knows maybe the Sky4B update !

image

http://lrs01.ucmart.co.uk/lrstestupdates/

After all this if your still with me the website is done and we need to point our LRSs to it. Grab a brew and go the LRS and we can set the update URL from the admin settings.

Configure LRS to use Update Server

Enter Administrator mode using admin creditionals in system settings go to Web Updates

Under OEM Updates select “Download from internal server”

Enter the http url that you created and tested before http://lr01.ucmart.co.uk/lrsupdates/

and Press “Apply & Restart”

Please note that you must apply and restart before the new url is saved and applied.

"Please note that the internal Server URL also applies for the Microsoft Updates but leave this as "Download from Microsoft Update Server" I have also tried to get the LRS to use WSUS but it appears the option here is not used. Im waiting for SMART to confirm this. Even though the WSUS Server is enter the registry is set not to use a WSUS Server. ermmm very confusing.

After adding the url to force the update to apply enter admin mode go to web updates and press “Check Updates and Install” or you can wait till 3am if automatic updates are enabled.

If the update is successful the LRS will check for updates and the update process will start if your a base version of 15.02 it will be a while. 2 – 3 hours depending on LRS and LRS disk type. SSD are much quicker.

If it fails to check and reports LRS is up to date you can test if the LRS can reach the update server via cmd and you can also test using iexplore.exe.

To access these use system settings and access the control panel and explorer.exe.

image

If the updates are not applying please check the event viewer on the LRS

To access the Admin logs,

click Applications and Services Logs > Microsoft > LyncMeetingRoom > Console.

In the Admin panel, click the Task Category heading to organize the error logs.
Look for any errors with UpdateService in the Task Category column, especially any errors with the Event ID 2043 and the Source is Console.

Advertisement

One thought on “Lync Room System – Deploy Internal Update Server

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.