Update Core

Warning: Anywhere365 customers and partners deploying or considering deploying recent Skype for Business Server 2015 Cumulative Updates or have Skype for Business Server 2019.

Microsoft has acknowledged that the recent Skype for Business Server 2015 Cumulative Update (CU8 and CU9) has introduced an undesired anomaly in the SfB Conferencing Server service. The anomaly can lead to a deadlock when 2 incoming calls are routed simultaneously to two different queues using UCMAMicrosoft Unified Communications Managed API (UCMA) is used primarily to build middle-tier applications that work with the Skype for Business Server. and each call is then transferred to the other queue. The anomaly will cause UCMA to deadlock in the AVMCU Service, causing AVMCU to stop processing all other incoming request and wait (perpetually) for the deadlock to be resolved.

Resolved: Microsoft has a fix in CU10. We strongly recommend not to install CU8 and CU9

For more information visit this Microsoft Support page

(Optional) Database Backup

When the Release Notes mention database alterations, please make a backup of the UCC CDR Database via SQL Management Studio before starting the update process.

Warning: Check all Release Notes between current version and target version.

 

Prerequisites

  • Use Anywhere365 Install account to preform the update, Learn More

  • (4.0 to 5.0) .DotNet Framework 4.6.2 needs to be installed.

  • (6.2.31 or higher) .DotNet Framework 4.7.1 needs to be installed

 

Update the UCC Core

Warning: When upgrading to 6.3 or higher, make sure that all PowerShell scripts / Scheduled tasks pointing to the config.xml are updated to the new location.

6.3: C:\ProgramData\Anywhere365\Core\Service\UnifiedContactCenterService\Config.xml

6.0: C:\Program Files\Anywhere365\Core\Config.xml

5.0: C:\Program Files\UCC\Config.xml

Warning: We have a strict license policy, features that are not allowed by your license will be blocked and can no longer be used.

  1. Stop the UCC service

    1. Go to start, type services.msc and hit Enter

    2. Locate the Anywhere365 Unified Contact Center service and choose Stop

  2. Backup the UCC folders

    1. Copy the Core folder

      6.3: C:\Program Files\Anywhere365\Core\UCC\

      6.1: C:\Program Files\Anywhere365\Core\

      5.0: C:\Program Files\UCC\

    2. Paste the folder on a backup location of your choice.

    3. Copy the Dashboard and Attendant service folders, which are located in: C:\inetpub\wwwroot\

    4. Paste the folder on a backup location of your choice.

  3. Make sure that the .zip package is unblocked.

    1. Right click on the .zip file and choose ‘properties’

    2. Then click Unblock and Apply

  4. Extract the .zip package by right clicking on the package and then choose “Extract All…”

  5. Open WindowsPowerShell as Administrator

  6. Set-ExecutionPolicy remotesigned

  7. Navigate to the folder where the ‘UpdateUCC.ps1’ file is located. (mostly via cd C:\Install\UCC x.x.xxxxx.x)

  8. Run the UpdateUCC.ps1 script (When in the correct folder, type: UpdateUCC.ps1 and hit Enter)

    Tip When updating to 6.1 or higher for the first time, the password of the service account need to be entered.

    This is because the install directory will be updated.

    Tip When updating to 6.5 or higher for the first time you will be prompted to change your log rollback.

    Choose No if you want to keep your current format.

  9. Delete the UCC cache files

    1. Browse to cache folder

      6.3: C:\ProgramData\Anywhere365\Core\Service\UnifiedContactCenterService\Cache

      6.0: C:\Program Files\Anywhere365\Core\

      5.0: C:\Program Files\UCC\

    2. Delete the folder(s)with the UCC name (mostly ucc_name)

  10. Start the UCC service

    1. Go to start, type services.msc and hit Enter

    2. Locate the Anywhere365 Unified Contact Center service and choose Start

  11. The UCC is now updated. To make sure, check the log file.

    1. Look for a line like: UCCStarterINFO - UCCStarter x.x.xxxxx.x

    2. Tip: if you do a search for “License is valid” you can locate the UCC version quickly

 

(Optional) Check heartbeat

A final check you can perform is to see if all UCC's are started. This can be done with the checkHeartbeat.ps1 script.

  1. Open WindowsPowerShell as Administrator

  2. Navigate to the folder where the ‘checkHeartbeat.ps1’ file is located. (mostly via cd C:\Install\UCC x.x.xxxxx.x\HELPER SCRIPTS\UTILITIES)

  3. Run the checkHeartbeat.ps1 script (When in the correct folder, type: checkHeartbeat.ps1 and hit Enter)

 

Rollback the update

Note In case if a Database Backup was needed, also restore the database before starting the UCC Service.

  1. Stop the UCC service

    1. Go to start, type services.msc and hit Enter

    2. Locate the Anywhere365 Unified Contact Center service and choose Stop

  2. Delete following folders:

    6.3: C:\Program Files\Anywhere365\Core\UCC\

    6.1: C:\Program Files\Anywhere365\Core\

    5.0: C:\Program Files\UCC\

    1. C:\inetpub\wwwroot\dashboardservice

    2. C:\inetpub\wwwroot\attendantservice

  3. Place back the backed up UCC, Dashboardservice and Attendantservice folders

  4. Start the UCC service

    1. Go to start, type services.msc and hit Enter

    2. Locate the UnifiedContact Center service and choose Start