How the Device Update Process Works

 

Topic Last Modified: 2012-06-21

This section describes how Device Update Web service works.

How Updates Are Uploaded and Managed with Device Update Web service

Updates are uploaded to the Device Update Web service as follows:

  1. The administrator downloads updates in .cab files from the Microsoft Help and Support web site and then uploads the .cab files to Device Update Web service by using the Import-CsDeviceUpdate cmdlet.

  2. The Import-CsDeviceUpdate cmdlet retrieves all device-specific updates from the .cab file. It then writes the data to the local file store for Device Update Web services pool, and it creates Central Management store rules for the same pool.

  3. The Import-CsDeviceUpdate cmdlet publishes the updates on the Pending Updates tab.

  4. When the administrator performs any operations on the updates in the list, the Lync Server Control Panel writes any changes to the Central Management store.

How Devices Obtain Updates from Device Update Web service

Device Update Web service supports Lync Phone Edition.

  1. The first time a user starts Lync Phone Edition and signs in, the device gets in-band provisioning information from the server or Front End pool hosting the device user account. The information contains the internal and external URL of the server running Device Update Web service.

    If the device is turned on, but no user signs on and no user has ever previously signed on to the device, the device sends a Domain Name System (DNS) lookup request to ucupdates-r2.<DNS domain name that was provided by DHCP> and obtains the internal and external URL of the server running Device Update Web service.

  2. Thereafter, when the device is turned on, when the user signs in, and every 24 hours by default, Lync Phone Edition checks for updates by sending an HTTP request over port 443 to the server hosting Device Update Web service. The request includes the current version that Lync Phone Edition is running.

  3. If a user has not signed on to the device, and the device is outside the organization’s firewall, Device Update Web service denies the request.

  4. Otherwise, the Device Update Web service returns a response that contains one of the following:

    • If there are no approved updates for the current version of the firmware, the response contains downloads=0. For test devices, updates must be pending rather than approved for this to occur.

    • If there is an approved update for the current version, the response contains an internal and external URL for Device Update Web service. For test devices, updates must be pending rather than approved for this to occur.

  5. In the latter case, Lync Phone Edition sends an HTTPS update request over port 443 to Device Update Web service. If the device is outside the organization’s firewall, this request must include a user name and password for a valid user account, which means a user must be logged on to the device.

  6. The update image is downloaded to the device.

  7. The device waits for five minutes of idle activity, and then restarts to complete the update.

Tip

The System Information screen on the device displays the current version and the date of the last update.