Upgrade Skype for Business Server

Note The upgrade script is currently not compatible with a multi-server pool. On the second (or third, forth,...etc) server you must uninstall Lync 2010 and RTCLocal and install Lync 2013 manually, see below.

Preparations

 

Single-Server Pool

  1. Make sure the right media is mounted or is stored on the server/a fileshare
  2. Extract package
  3. Open Windows PowerShell
  4. Navigate to the folder of extracted package
  5. Run UpdateUCC.ps1 -Upgrade
  6. If an update to Lync 2013 or Skype for Business is possible, you will be asked if you want to do the update
  7. If you want to update, type Y and press enter
    1. Make sure at least PowerShell 3.0 is installed

    2. Make sure the latest CU are installed.

  8. If incorrect media is mounted, this will be detected.


  9. Make sure that the media is mounted correctly and press enter. Or press enter to open a file browser and select the media on the server/on a fileshare.
  10. Automatically all applications and endpoints will be backed up.
  11. You will be asked to delete the first application, type Y and press enter to delete this single application(next you will be asked to delete the second application etc.) or type 0 to skip this step (all applications will be deleted in a later stage).

  12. You will be asked to delete the existing contact, press y.

  13. You will be asked to delete the complete application server

  14. Type A and press enter to delete all application servers (applications and endpoints are already backed up and will be removed now, if these are not yet removed in step 11).
  15. Wait for replication

  16. Automatically the following steps will be executed:
    1. The application pool will be added in the correct section of the CS Topology.
    2. The script will wait for the replication to finish
    3. Old core components will be deleted
    4. If script ends with this message:

    5. Then deinstall SQL Manually
      1. Reboot Server
      2. Open Control Panel
      3. Select 'Uninstall a program'
      4. Select 'Microsoft SQL Server 2008 (64-bit) en select 'Uninstall/Change'
      5. Select 'Remove'
      6. Select 'RTCLOCAL' instance and click next
      7. Select 'Database Engine Services' and click next, next, remove, next, closed
  17. Reboot the server
  18. Restart the script, automatically the following steps will be executed:
    1. If message:
      1. Go to the URL and install.
        1. Windows6.0 =2008
        2. Windows6.1 = 2008r2
      2. Restart script
    2. New core will be installed
    3. Lync 2013 or Skype for Business bootstrapper will run (depending on which update is started)
    4. Certificate will be Set
    5. TTS Language will be installed
    6. Trusted Applications and endpoints will be restored
    7. Latest version of Anywhere365 UCC will be updated.
  19. The update process is finished.

 

Multi-Server Pool

Steps to follow on first server

  1. Stop the UCC service

  2. Create a backup of all applications and endpoints via the SAVEAPPS script (inside HELPERSCRIPTS folder of latest UCC build). You can say “No to all” on the delete question, because you are going to delete the pool from the topology, so they are deleted anyway.

  3. Run: Get-CsTrustedApplicationEndpoint | SelectLineURI, ownerurn, displayname, sipaddress, displaynumber, conferencingpolicy,externalaccesspolicy, voicepolicy | Sort-Object ownerurn, sipaddress | Out-GridView(or Export-Csv c:\temp\applications_output.csv)

  4. Past the output into the Endpoints.xlsx (can be requested at WORKSTREAMPEOPLE)

  5. Open the Lync of Skype for Business topology builder (e.g. on a front-end server) and remove the current Lync 2010 TrustedApplicationPool (or server when single server pool)

  6. Publish the topology

  7. Remove all Lync and SQL components (RTC andRTCLocal instances) from the Lync 2010 TrustedApplication server via the Programs and Features control panel (also the 10.0 TTS engine and languages)

  8. Reboot the TrustedApplication server

  9. Open the Lync of Skype for Business topology builder (e.g. on a front-end server) and add the Lync 2013 or Skype for Business TrustedApplicationPool (both servers can already added to the pool) (or server when single server pool)

  10. Publish the new topology

  11. Mount the Lync 2013 or Skype for Business disc and run the setup.exe.

  12. Follow the Lync 2013 or Skype for Business installation steps(1 till 5)

  13. Make sure all steps are followed and receive a green check mark

  14. Install the TTS engine and languages (can be found on the Lync 2013 or Skype for Business disc)

  15. Reboot the TrustedApplication server

  16. Check if Lync or Skype for Business services are running and check Get-CsManagementStoreReplicationStatus is true

  17. Run the Restore apps script (found in the HELPERSCRIPTS folder)

  18. Remove all UCC binaries except: config.xml, license.key and logs.

  19. Copy the 2013 or 2015 UCC binaries from the latest UCC package and past them into the <drive>\Program Files\UCCfolder.

  20. Start the UCC service

 

Steps to follow on second, third, fourth, etc server

  1. Stop the UCC service

  2. Remove all Lync and SQL components (RTC andRTCLocal instances) from the Lync 2010 TrustedApplication server via the Programs and Features control panel (also the 10.0 TTS engine and languages)

  3. Reboot the TrustedApplication server

  4. Mount the Lync 2013 or Skype for Business disc and run the setup.exe.

  5. Follow the Lync 2013 or Skype for Business installation steps(1 till 5)

  6. Make sure all steps are followed and receive a green check mark

  7. Install the TTS engine and languages (can be found on the Lync 2013 or Skype for Business disc)

  8. Reboot the TrustedApplication server

  9. Check if Lync or Skype for Business services are running and check Get-CsManagementStoreReplicationStatus is true

  10. Remove all UCC binaries except: config.xml,license.key and logs.

  11. Copy the 2013 or 2015 UCC binaries from the latest UCC package and past them into the <drive>\Program Files\UCCfolder.

  12. Start the UCC service