Anywhere365: How to update Unified Contact Center Core
How to update Unified Contact Center Core to version 3.0.15073.0
Anywhere365 is a product on top of Lync Server 2013 which I recently started working on. If you want to know more about this product I can recommend the GoLive documents on the site of Workstreampeople:
Anywhere365 is a native Lync Unified Contact Center addition that will significantly enhance the standard Lync functionalities available to your organization.
Everyone is a contact center with specific skill sets. Anywhere365 is the premium solution for streamlining communication and dialogues to ensure a more productive and efficient way of information sharing.
Recently I was asked to update a Unified Contact Center Core installation to a new version, in this case 3.0.15073.0.
Workstreampeople has a article on how to update Unified Contact Center Core as part of the GoLive documents, Workstreampeople – Update Anywhere365 Core. This is a good article which describes some manual steps and one PowerShell step. I decided to convert all the manual steps to automated steps.
The process of updating contains the following steps:
1. Stop UCC Service
2. Back-up UCC files, Dashboard & Attendant
3. Extract Zip update package
4. Unblock extracted files, if necessary
5. Run Update UCC script
6. Delete UCC cache files
7. Start UCC Service
8. Validate UCC version
This script uses some basic Windows PowerShell cmdlets like Get-ChildItem, Copy-Item, Remove-Item, Get-Service, Stop-Service, Start-Service and Unblock-File. Besides that I used the ExtractToDirectory Method from the System.IO.Compression namespace for extracting the zip.
Currently the script is far from perfect, so I am only sharing this for inspiration and I would definitely first test it on a testing environment!
To complete this how-to, you must have the following prerequisites must be met:
– Member of Local Administrators group on the Anywhere365 Application server
– Member of Local Administrators group on every server with Lync Server file shares
– Member of the CSAdministrator group in the domain
– Member of the RTCUniversalServerAdmins group in the domain
1. Adjust the hard coded path values matching your environment
2. Run the Powershell script in Windows PowerShell via the following command .\update_ucccore.ps1
3. In the .\UpdateUCC.ps1 you are asked to stop IIS for an update, answer this with Y
#1. Stop UCC Service
$uccservice = get-service -Name UnifiedContactCenterService
$uccservice | Stop-service
#2. Back-up UCC files, Dashboard & Attendant
Copy-Item "C:\Program Files\UCC" -Destination "C:\Install\UCC\Backup_UCC_Files" -Recurse
Copy-Item "C:\inetpub\wwwroot\Attendant" -Destination "C:\Install\UCC\Backup_Attendant" -Recurse
Copy-Item "C:\inetpub\wwwroot\Dashboard" -Destination "C:\Install\UCC\Backup_Dashboard" -Recurse
#3. Extract Zip update package
$zipfile = Get-Item ("C:\Install\UCC 3.0.15073.0.zip")
$destination = Get-Item("C:\Install\Extracted")
#4. Unblock extracted files, if necessary
dir "C:\Install\Extracted\UCC 3.0.15073.0" | Unblock-File
#5. Run Update UCC script
cd "C:\Install\Extracted\UCC 3.0.15073.0"
#6. Delete UCC cache files
Get-ChildItem -Path "C:\Program Files\UCC\ucc_*\Settings" –Recurse | Remove-Item
#7. Start UCC Service
$uccservice | Start-service
Bish – Unzipping files in Powershell scripts
MSDN Library – ExtractToDirectory Method
TechNet – Copy-Item cmdlet
TechNet – Get-ChildItem cmdlet
TechNet – Get-Service cmdlet
TechNet – Remove-Item cmdlet
TechNet – Start-Service cmdlet
TechNet – Stop-Service cmdlet
TechNet – Unblock-File cmdlet
Workstreampeople – Anywhere365 Core
Workstreampeople – GoLive documentation
Workstreampeople – Update Anywhere365 Core
Anywhere365, Lync Server 2013, SharePoint 2013
06-03-2015 – 1.0