Home
%3CLINGO-SUB%20id%3D%22lingo-sub-48014%22%20slang%3D%22en-US%22%3EUnderstanding%20Cloud%20Connector%20Edition%20Auto%20Update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-48014%22%20slang%3D%22en-US%22%3E%3CP%3EStarting%20with%20Skype%20for%20Business%20Cloud%20Connector%20(Cloud%20Connector)%201.4.1%2C%20we%20introduced%20an%20automated%20update%20process%3A%20Cloud%20Connector%20automatically%20update%20based%20on%20the%20update%20schedule%20that%20administrators%20have%20configured%20for%20their%20Cloud%20Connector%20Hybrid%20PSTN%20Sites.%20This%20article%20goes%20into%20the%20details%20of%20this%20automatic%20update.%3C%2FP%3E%0A%3CDIV%20class%3D%22lia-message-body%20lia-component-body%22%3E%0A%3CDIV%20class%3D%22lia-message-body-content%22%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3ENote%3A%3C%2FEM%3E%3C%2FSTRONG%3E%20Cloud%20Connector%20should%20be%20viewed%20as%20a%20part%20of%20Skype%20for%20Business%20Service.%20We%20are%20constantly%20improving%20the%20service%20and%20make%20changes%20in%20the%20Service%20and%20in%20Cloud%20Connector.%20If%20you%20do%20not%20update%20the%20Cloud%20Connector%20to%20the%20latest%20release%2C%20you%20might%20end%20up%20in%20the%20situation%20when%20your%20Cloud%20Connector%20will%20not%20work%20properly.%20Imagine%20the%20situation%2C%20Microsoft%20updated%20the%20service%2C%20added%20changes%20in%20Cloud%20Connector%20code%20to%20make%20it%20work%20with%20the%20new%20version%20of%20the%20service%2C%20but%20if%20you%20don%E2%80%99t%20update%20the%20Cloud%20Connector%2C%20your%20telephony%20will%20not%20work.%20Because%20of%20these%2C%20Microsoft%20supports%20only%20the%20latest%20version%20of%20Cloud%20Connector%20software.%20Also%2C%20to%20accommodate%20Update%20Window%2C%20we%20support%20the%20N-1%20version%20for%2060%20days%20after%20releasing%20a%20new%20version.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EAuto%20Update%20Requirements%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EOutbound%20internet%20access%20to%20install%2C%20manage%2C%20and%20update%20Cloud%20Connector%20on%20Host%20Appliance.%3C%2FLI%3E%0A%3CLI%3EOutbound%20internet%20access%20on%20all%20Cloud%20Connector%20VM%E2%80%99s%20to%20download%20Windows%20updates%2C%20or%2C%20access%20to%20WSUS%20server%20as%20defined%20in%20Cloud%20Connector%20configuration%20file.%3C%2FLI%3E%0A%3CLI%3ESkype%20for%20Business%20Online%20PowerShell%20Module%20installed%20on%20Host%20Appliance.%3C%2FLI%3E%0A%3CLI%3ECCE%20Management%20Service%20is%20running%20on%20Host%20Appliance.%3C%2FLI%3E%0A%3CLI%3EGroup%20Policy%20to%20prevent%20forcefully%20unloading%20user%20registry%20at%20log%20off%20(required%20for%201.4.1).%3C%2FLI%3E%0A%3CLI%3ESkype%20for%20Business%20Tenant%20Admin%20account.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3EInitial%20Setup%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EWhen%20the%20first%20Cloud%20Connector%20appliance%20is%20registered%2C%20a%20PSTN%20site%20is%20configured%20in%20the%20Office%20365%20Skype%20for%20Business%20Tenant%2C%20with%20the%20name%20of%20the%20Site%20as%20defined%20in%20the%20Cloud%20Connector%20configuration%20file%20Auto%20update%20is%20enabled%2C%20and%20default%20time%20windows%20are%20configured%20for%20both%20the%20software%20(bits)%20and%20operating%26nbsp%3Bsystem%20(windows)%20with%20corresponding%20Tenant%20Update%20Time%20Windows%20that%20are%20configured%20in%20the%20tenant%20as%20part%20of%20this%20registration%20process.%20See%20the%20image%20below.%20%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20516px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F11114iB26D13AEBD818C41%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22CCE%20code%20block.png%22%20title%3D%22CCE%20code%20block.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EConfirm%20or%20Modify%20the%20Update%20Schedule%20for%20Hybrid%20PSTN%20Site(s)%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3ETo%20confirm%20the%20schedule%20for%20updating%20Cloud%20Connector%20software%2C%20administrators%20can%20view%20the%20Hybrid%20PSTN%20site%20update%20schedule%20in%20Skype%20for%20Business%20Admin%20Center%20in%20the%20%3CSTRONG%3Eon%20premises%20PSTN%3C%2FSTRONG%3E%20tab%20of%20the%20Voice%20section.%20%3CSTRONG%3ENote%3C%2FSTRONG%3E%20that%20updates%20will%20run%20based%20on%20the%20local%20host%20time%20of%20the%20Cloud%20Connector%20appliance.%3C%2FP%3E%0A%3CP%3EPlease%20be%20sure%20to%20confirm%20that%20auto%20update%20is%20%3CSTRONG%3Eenabled%20%3C%2FSTRONG%3Eand%20that%20a%20bits%20update%20time%20window%20is%20set%20to%20correspond%20to%20the%20maintenance%20window%20that%20you%20want%20the%20updates%20to%20run.%20The%20time%20that%20updates%20will%20occur%20is%20based%20on%20the%20local%20time%20of%20the%20Cloud%20Connector%20host%20appliance.%20For%20example%2C%20if%20the%20update%20time%20window%20is%20set%20for%2011PM%20and%20the%20Cloud%20Connector%20appliance%20is%20in%20Amsterdam%2C%20the%20updates%20will%20occur%20at%2011PM%20CET%20(UTC%2B1).%3C%2FP%3E%0A%3CP%3EFor%20details%20on%20how%20to%20configure%20update%20time%20windows%2C%20please%20refer%20to%20%3CA%20title%3D%22Modify%20the%20configuration%20of%20an%20existing%20Cloud%20Connector%20deployment.%22%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fmt740655.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%20color%3D%22%230066cc%22%3EModify%20the%20configuration%20of%20an%20existing%20Cloud%20Connector%20deployment%3C%2FFONT%3E%3CU%3E%3CFONT%20color%3D%22%230066cc%22%3E.%3C%2FFONT%3E%3C%2FU%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECloud%20Connector%20Update%20Process%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThe%20CCE%20Management%20service%20uses%20cached%20update%20time%20window%20information%20stored%20in%20the%20root%20of%20the%20CCE%20Site%20Directory%5CTenant%3CEM%3E_%3CEDGEFQDN%3E%20%3C%2FEDGEFQDN%3E%3C%2FEM%3Efile%20when%20checking%20if%20updates%20run.%20This%20file%20is%20updated%20from%20O365%20tenant%20every%2030%20minutes.%20Therefore%2C%20if%20you%20modify%20the%20schedule%20online%2C%20it%20can%20take%20up%20to%2030%20minutes%20for%20the%20change%20to%20be%20implemented%20on%20the%20host%20appliance.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EOverall%20Auto%20Update%20Process%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EThe%20auto%20update%20process%20will%20run%20on%20the%20schedule%20set%20by%20Tenant%20Administrator%20based%20on%20local%20host%20appliance%20clock%3C%2FLI%3E%0A%3CLI%3EUpdate%20detection%20will%20continue%20to%20run%20for%20the%20duration%20specified%20in%20the%20update%20time%20window.%3C%2FLI%3E%0A%3CLI%3EIf%20an%20update%20is%20detected%2C%20the%20update%20process%20is%20invoked.%3C%2FLI%3E%0A%3CLI%3E%3CP%3EThe%20appliance%20will%20be%20put%20in%20maintenance%20mode%20and%20only%20one%20appliance%20per%20site%20can%20enter%20maintenance%20mode.%20The%20maintenance%20mode%20lock%20is%20written%20to%20the%20root%20of%20the%20CCE%20Appliance%20Directory%5CCceSevicePersistent%20file%3C%2FP%3E%0A%3CPRE%3E%7B%22AutoMaintenanceStatus%22%3A%23%2C%22IsInManualMaintenance%22%3Afalse%7D%0A0%3DNone%2C%201%3DBits%20Update%2C%202%3DOS%20Update%2C%203%3DRecoveryMode%0A%3C%2FPRE%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3EUpdate%20tasks%20will%20run.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3EOnce%20updates%20are%20completed%20and%20all%20services%20are%20confirmed%20running%2C%20the%20Appliance%20will%20be%20taken%20out%20of%20maintenance%20mode.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3ERepeat%20steps%20for%20the%20next%20appliance%20in%20site.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3EMonitor%20Update%20Process%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThe%20Cloud%20Connector%20management%20service%20will%20log%20events%20to%20the%20Windows%20Application%20log%20with%20a%20source%20of%20CCEManagementService%20and%20detailed%20information%20will%20be%20written%20to%20%22C%3A%5CProgram%20Files%5CSkype%20for%20Business%20Cloud%20Connector%20Edition%5CManagementService%5CCceManagementService.log%22.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENote%3C%2FSTRONG%3E%3A%20the%20CCEManagementService.log%20can%20grow%20quite%20large%2C%20so%20you%20might%20want%20to%20stop%20the%20CCE%20Management%20Service%2C%20and%20rename%20this%20log%20periodically.%26nbsp%3B%20There%20are%20plans%20to%20modify%20logging%20in%20the%20future%20to%20prevent%20log%20growth.%20If%20the%20log%20file%20size%20becomes%20too%20large%20to%20open%20in%20a%20text%20editor%2C%20you%20must%20use%20a%20text%20file%20splitter%20to%20break%20into%20smaller%20segments.%3C%2FP%3E%0A%3CP%3EYou%20can%20also%20see%20the%20status%20of%20the%20appliance%20by%20running%20%3CSTRONG%3EGet-CsPSTNHybridAppliance%3C%2FSTRONG%3E%20in%20Remote%20PowerShell%20or%20by%20viewing%20in%20on%20premises%20PSTN%20tab%20in%20the%20Voice%20section%20of%20the%20Skype%20for%20Business%20Admin%20Center.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CSTRONG%3EBits%20Update%20Process%3C%2FSTRONG%3E%0A%3CP%3EDuring%20this%20process%2C%20the%20running%20version%20remains%20in%20service%2C%20and%20an%20interim%20switch%20is%20used%20to%20connect%20to%20the%20new%20VM%E2%80%99s.%20Once%20the%20new%20version%20installation%20is%20complete%20and%20services%20are%20confirmed%20to%20be%20running%2C%20the%20old%20version%20is%20drained%20stopped%20and%20the%20network%20connections%20are%20switched%20to%20the%20new%20version.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EBits%20update%20is%20detected%26nbsp%3Bbased%20on%20the%20scheduled%20time%20window.%3C%2FLI%3E%0A%3CLI%3EBits%20update%20task%20is%20triggered.%3C%2FLI%3E%0A%3CLI%3EThe%20Cloud%20Connector%20download%20site%20is%20queried%20and%20if%20a%20new%20build%20is%20detected%2C%20then%20the%20update%20will%20occur.%3C%2FLI%3E%0A%3CLI%3EThe%20appliance%20is%20put%20in%20maintenance%20mode%2C%20and%20the%20appliance%20status%20is%20updated%20in%20the%20Tenant%20showing%20Status%20of%20Maintenance%2C%20and%20DeploymentStatus%20of%20Upgrading%2C%20with%20the%20new%20version%20and%20the%20start%20time%20that%20the%20update%20began.%3C%2FLI%3E%0A%3CLI%3ECloud%20Connector%20bits%20are%20downloaded.%3C%2FLI%3E%0A%3CLI%3EThe%20CCE%20management%20service%20is%20stopped.%3C%2FLI%3E%0A%3CLI%3EThe%20Skype%20for%20Business%20Online%20Cloud%20Connector%20edition%20software%20is%20updated%20which%20requires%20uninstalling%20the%20old%20version%20and%20installing%20the%20new%20version.%3C%2FLI%3E%0A%3CLI%3ENew%20virtual%20machines%20are%20built%20from%20the%20existing%20VHDX%20file.%20If%20the%20VHDX%20is%20detected%20to%20be%20older%20than%2090%20days%2C%20the%20Install%20Instance%20script%20will%20log%20the%20following%20warning%3A%0A%3CUL%3E%0A%3CLI%3ESFBServer.vhdx%20was%20generated%20more%20than%2090%20days%20before.%20Use%20Convert-CcIsoToVhdx%20to%20generate%20it%20again%20and%20apply%20windows%20updates.%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CSTRONG%3ENote%3C%2FSTRONG%3E%3A%20It%20is%20recommended%20that%20a%20new%20VHDX%20be%20built%20periodically%20to%20reduce%20the%20amount%20of%20time%20to%20perform%20Windows%20updates%20for%20new%20and%20updated%20Cloud%20Connector%20machines.%20It%E2%80%99s%20not%20supported%20to%20update%20the%20VHDX%20with%20Windows%20update%20and%20re-run%20Sysprep%20as%20there%20are%20a%20limited%20number%20of%20times%20that%20Sysprep%20can%20run%20on%20a%20computer.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EOnce%20the%20deployment%20of%20the%20new%20Cloud%20Connector%20is%20completed%20and%20services%20confirmed%20running%2C%20the%20switch%20to%20the%20new%20version%20will%20occur%20as%20follows%3A%0A%3COL%3E%0A%3CLI%3EChange%20virtual%20network%20connections%20to%20new%20Cloud%20Connector%20virtual%20machines%3C%2FLI%3E%0A%3CLI%3EShut%20down%20the%20N%2B1%20version%3C%2FLI%3E%0A%3CLI%3ERemove%20N%2B2%20version%20and%20delete%20the%20virtual%20disks.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3CLI%3EThe%20appliance%20will%20be%20taken%20out%20of%20maintenance%20mode%2C%20and%20the%20appliance%20status%20is%20updated%20in%20the%20Tenant%20to%20reflect%20updated%20Status%20of%20running%2C%20Version%20number%20of%20new%20build%2C%20and%20DeploymentStatus%20of%20Upgraded.%3C%2FLI%3E%0A%3CLI%3EDetailed%20logs%20for%20the%20download%2C%20upgrade%20of%20the%20Cloud%20Connector%20software%2C%20new%20version%20installation%20and%20switch%20to%20new%20build%20will%20be%20written%20to%20the%20Logs%20folder%20located%20in%20the%20root%20of%20the%20Appliance%20directory.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3EWindows%20Update%20Process%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EWindows%20update%20process%20is%20performed%20on%20the%20active%20running%20version.%20Therefore%2C%20when%20a%20windows%20update%20is%20detected%2C%20the%20appliance%20is%20drained%20stopped%20and%20put%20in%20maintenance%20mode.%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EOS%20update%20is%20detected%20during%20scheduled%20time%20window.%3C%2FLI%3E%0A%3CLI%3EOS%20update%20task%20is%20triggered.%3C%2FLI%3E%0A%3CLI%3EThe%20appliance%20is%20put%20in%20maintenance%20mode%2C%20and%20the%20appliance%20status%20is%20updated%20in%20the%20Tenant%20showing%20Status%20of%20Maintenance%2C%20and%20OsUpdateStatus%20of%20Upgrading%2C%20with%20start%20time.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20800px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F11128iD825FB88211DBF51%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22CCE%20small%20image.png%22%20title%3D%22CCE%20small%20image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3EThe%20RTCSRV%20service%20on%20Edge%20and%20the%20RTCSRV%20and%20RTCMEDSRV%20services%20on%20Mediation%20server%20are%20drained%20stopped.%3C%2FLI%3E%0A%3CLI%3EOS%20update%20PowerShell%20script%20is%20copied%20to%20the%20root%20of%20the%20System%20drive%20on%20all%20CCE%20VM%E2%80%99s.%3C%2FLI%3E%0A%3CLI%3ELocal%20windows%20update%20service%20is%20triggered%20to%20check%20for%20updates%20either%20against%20Windows%20Updates%20Internet%20service%2C%20or%20the%20local%20WSUS%20server%20defined%20in%20Cloud%20Connector%20configuration%20file.%3C%2FLI%3E%0A%3CLI%3EUpdates%20are%20installed%20and%20a%20check%20for%20virtual%20machine%20restart%20is%20run.%3CBR%20%2F%3EIf%20a%20restart%20is%20required%2C%20all%20Cloud%20Connector%20virtual%20machines%20are%20restarted%2C%20then%20a%20second%20check%20for%20restart%20is%20run.%3C%2FLI%3E%0A%3CLI%3EOnce%20updates%20are%20completed%20on%20all%20virtual%20machines%2C%20the%20updates%20are%20run%20on%20the%20host%20appliance%20and%20its%20restarted.%3C%2FLI%3E%0A%3CLI%3EOnce%20the%20host%20has%20been%20restarted%20and%20no%20additional%20restarts%20are%20confirmed%2C%20the%20appliance%20is%26nbsp%3B%20taken%20out%20of%20maintenance%20mode%2C%20and%20the%20appliance%20status%20is%20updated%20in%20the%20Tenant%20to%20reflect%20updated%20%3CSTRONG%3EStatus%3C%2FSTRONG%3E%20of%20Running%2C%20and%20%3CSTRONG%3EOSUpdateStatus%3C%2FSTRONG%3E%20of%20Updated.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CSTRONG%3E%3CFONT%20size%3D%225%22%3ETroubleshooting%20Auto%20Update%3C%2FFONT%3E%3C%2FSTRONG%3E%0A%3CP%3E%3CSTRONG%3ECCE%20Management%20Service%20Logging%20Level%3A%20%3C%2FSTRONG%3EIf%20you%20need%20more%20diagnostic%20logging%2C%20you%20can%20modify%20the%20logging%20level%20to%20%3CSTRONG%3Everbose%3C%2FSTRONG%3E%20for%20the%20following%20two%20settings%20in%20the%20Microsoft.Rtc.CCE.ManagementService.exe.config%20located%20in%20the%26nbsp%3B%22C%3A%5CProgram%20Files%5CSkype%20for%20Business%20Cloud%20Connector%20Edition%5CManagementService%20folder.%20(This%20will%20cause%20rapid%20log%20growth)%3A%3C%2FP%3E%0A%3CPRE%3E%26lt%3Badd%20name%3D%22serviceSwitch%22%20value%3D%22Information%22%2F%26gt%3B%0A%26lt%3Badd%20name%3D%22powershellSwitch%22%20value%3D%22Warning%22%2F%26gt%3B%0A%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EIf%20updates%20are%20not%20running%20because%20another%20maintenance%20task%20is%20detected%3C%2FSTRONG%3E%2C%20check%20the%20status%20of%20the%20CCE%20Appliance%20Directory%5CCceSevicePersistent%20file%20to%20determine%20what%20task%20is%20running.%3C%2FP%3E%0A%3CPRE%3E%7B%22AutoMaintenanceStatus%22%3A%23%2C%22IsInManualMaintenance%22%3Afalse%7D%0A0%3DNone%2C%201%3DBits%20Update%2C%202%3DOS%20Update%2C%203%3DRecoveryMode%0A%3C%2FPRE%3E%0A%3CP%3E%3CSTRONG%3EBits%20update%20failed%20to%20switch%20version%20%3C%2FSTRONG%3Eis%20logged%20by%20the%20CCE%20Management%20Service%20with%20following%20error%3A%3C%2FP%3E%0A%3CPRE%20style%3D%22width%3A%20725px%3B%20height%3A%2076px%3B%22%3ECceService%20Error%3A%2020003%3A%20Bits%20update%20failed%20to%20switch%20version.%20Appliance%20running%20status%3A%20Running%2C%3CBR%20%2F%3Eerror%20detail%3A%20Failed%20to%20drain%20services%20with%20exception%3A%20%5B192.168.213.4%5D%20Connecting%20to%20remote%20server192.168.213.4%20failed%20with%20the%20following%20error%20message%3A%20Access%20is%20denied%0A%3C%2FPRE%3E%0A%3CP%3ECheck%20the%20networking%20status%20on%20the%20virtual%20machines%20and%20be%20sure%20there%20are%20no%20duplicate%20IP%E2%80%99s%20configured.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-48014%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOperate%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174412%22%20slang%3D%22en-US%22%3ERe%3A%20Understanding%20Cloud%20Connector%20Edition%20Auto%20Update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174412%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F25085%22%20target%3D%22_blank%22%3E%40Carolyn%20Blanding%20(MS%20TEAMS)%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-161339%22%20slang%3D%22en-US%22%3ERe%3A%20Understanding%20Cloud%20Connector%20Edition%20Auto%20Update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-161339%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Trent%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20determine%20the%20CCE%20Site%20Directory%20path%20by%20running%20Get-CcSiteDirectory%20from%20Administrative%20PowerShell%20on%20the%20CCE%20host%20appliance.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-160556%22%20slang%3D%22en-US%22%3ERe%3A%20Understanding%20Cloud%20Connector%20Edition%20Auto%20Update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-160556%22%20slang%3D%22en-US%22%3E%3CP%3EWhere%20do%20I%20determine%20what%20my%26nbsp%3B%3CSPAN%3ECCE%20Site%20Directory%20path%20is%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3ECloud%20Connector%20Update%20Process%0A%0AThe%20CCE%20Management%20service%20uses%20cached%20update%20time%20window%20information%20stored%20in%20the%20root%20of%20the%20%3CSTRONG%3ECCE%20Site%20Directory%3C%2FSTRONG%3E%5CTenant_%26lt%3BEdgeFQDN%26gt%3B%26nbsp%3Bfile%20when%20checking%20if%20updates%20run.%20This%20file%20is%20updated%20from%20O365%20tenant%20every%2030%20minutes.%20Therefore%2C%20if%20you%20modify%20the%20schedule%20online%2C%20it%20can%20take%20up%20to%2030%20minutes%20for%20the%20change%20to%20be%20implemented%20on%20the%20host%20appliance.%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-107558%22%20slang%3D%22en-US%22%3ERe%3A%20Understanding%20Cloud%20Connector%20Edition%20Auto%20Update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-107558%22%20slang%3D%22en-US%22%3EShould%20Windows%20update%20be%20enabled%20on%20each%20VM%20when%20using%20the%20AUTO%20UPDATE%20feature%20or%20does%20one%20not%20have%20anything%20to%20do%20with%20the%20other%3F%20If%20they%20do%20not%20have%20anything%20to%20do%20with%20the%20other%2C%20should%20windows%20updates%20be%20enabled%20on%20each%20VM%20or%20no%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-67496%22%20slang%3D%22en-US%22%3ERe%3A%20Understanding%20Cloud%20Connector%20Edition%20Auto%20Update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-67496%22%20slang%3D%22en-US%22%3EThank%20you%20for%20the%20update.%20Glad%20you%20were%20able%20to%20resolve.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-67429%22%20slang%3D%22en-US%22%3ERe%3A%20Understanding%20Cloud%20Connector%20Edition%20Auto%20Update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-67429%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Eto%20not%20leave%20a%20question%20unanswered%2C%20issue%20came%20from%20accounts'%20password%20desync%20it%20seems.%3C%2FP%3E%3CP%3EAfter%20deleting%20CCE%20xml%20password%20files%20and%20re-register%20ccappliances%20to%20recreate%20these%20files%20with%20correct%20passwords%2C%20all%20went%20back%20to%20normal%20and%20upgrades%20were%20able%20to%20be%20performed.%3C%2FP%3E%3CP%3EMany%20thanks%20for%20directions.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-62913%22%20slang%3D%22en-US%22%3ERe%3A%20Understanding%20Cloud%20Connector%20Edition%20Auto%20Update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62913%22%20slang%3D%22en-US%22%3EThank%20you%20for%20the%20update%20and%20I%20look%20forward%20to%20your%20results.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-62882%22%20slang%3D%22en-US%22%3ERe%3A%20Understanding%20Cloud%20Connector%20Edition%20Auto%20Update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62882%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20this%20answer%2C%20I%20confirm%20the%20complete%20subnet%20on%20each%20CCE%20(192.168.213.*%2C%20and%20192.168.214.*)%20has%20been%20set.%3C%2FP%3E%3CP%3EI%20saw%20in%20the%20meantime%20the%20Technet%20has%20been%20updated%20to%20define%20proxy%20at%20computer%20level%20and%20not%20user%20level%2C%20through%20a%20registry%20or%20GPO.%20will%20try%20that%20and%20post%20result.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-59610%22%20slang%3D%22en-US%22%3ERe%3A%20Understanding%20Cloud%20Connector%20Edition%20Auto%20Update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-59610%22%20slang%3D%22en-US%22%3EPer%20posting%20in%20TechNet%2C%20did%20you%20resolve%20connectivity%20to%20Download%20site%20by%20running%20netsh%20winhttp%20set%20proxy%20%3CPROXY%3E%20bypass-list%3D%22192.168.213.1%3B192.168.213.2%3B192.168.213.3%3B192.168.213.4%3B192.168.213.5%22.%20%0A%0ANote%20that%20the%20bypass%20list%20is%20for%20default%20management%20switch%20IP's.%20If%20your%20cloud%20connector%20configuration%20was%20defined%20with%20different%20management%20switch%20subnet%2C%20replace%20those%20addresses%20with%20correct%20IP's.%20%3C%2FPROXY%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-58928%22%20slang%3D%22en-US%22%3ERe%3A%20Understanding%20Cloud%20Connector%20Edition%20Auto%20Update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-58928%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Carolyn%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20this%20article%20describing%20the%20update%2Fupgrade%20process%2C%20useful%20to%20know.%3C%2FP%3E%3CP%3ECan%20you%20please%20add%20some%20update%20issues%20FAQ%2C%20mainly%20for%20multiple%20CCE%20on%20a%20site%20trying%20to%20upgrade%20to%201.4.2%20through%20web%20proxy%2C%20I%20am%20stuck%20with%20both%20CCE%20displaying%20in%20their%20DeploymentStatus%3A%3C%2FP%3E%3CP%3EFailed%20to%20download%20installation%20files%20with%20exception%3A%20Exception%20callling%20%5C%22DownloadFile%5C%22%20with%20%5C%222%5C%22%20argument(s)%3A%20%5C%22Unable%20to%20connect%20to%20the%20remote%20server%5C%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EException%20calling%20%22DownloadFile%22%20with%20%222%22%20argument(s)%3A%20%22Unable%20to%20connect%20to%20the%20remote%20server%22%3C%2FP%3E%3CP%3EAt%20C%3A%5CProgram%20Files%5CWindowsPowerShell%5CModules%5CCloudConnector%5CInternal%5CMtDownloadCommon.ps1%3A160%3C%2FP%3E%3CP%3Echar%3A5%3C%2FP%3E%3CP%3E%2B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%24webclient.DownloadFile(%24url%2C%24dest)%3C%2FP%3E%3CP%3E%2B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2B%20CategoryInfo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20NotSpecified%3A%20(%3A)%20%5B%5D%2C%20MethodInvocationException%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2B%20FullyQualifiedErrorId%20%3A%20WebException%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDon't%20know%20how%20to%20exit%20this%20RegisteredAndFailed%20%26amp%3B%20Maintenance%20mode%20for%20one%20CCE%2C%20the%20other%20still%20displaying%20Running%20mode%20but%20same%20error.%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E

Starting with Skype for Business Cloud Connector (Cloud Connector) 1.4.1, we introduced an automated update process: Cloud Connector automatically update based on the update schedule that administrators have configured for their Cloud Connector Hybrid PSTN Sites. This article goes into the details of this automatic update.

 

Note: Cloud Connector should be viewed as a part of Skype for Business Service. We are constantly improving the service and make changes in the Service and in Cloud Connector. If you do not update the Cloud Connector to the latest release, you might end up in the situation when your Cloud Connector will not work properly. Imagine the situation, Microsoft updated the service, added changes in Cloud Connector code to make it work with the new version of the service, but if you don’t update the Cloud Connector, your telephony will not work. Because of these, Microsoft supports only the latest version of Cloud Connector software. Also, to accommodate Update Window, we support the N-1 version for 60 days after releasing a new version.

 

Auto Update Requirements

  • Outbound internet access to install, manage, and update Cloud Connector on Host Appliance.
  • Outbound internet access on all Cloud Connector VM’s to download Windows updates, or, access to WSUS server as defined in Cloud Connector configuration file.
  • Skype for Business Online PowerShell Module installed on Host Appliance.
  • CCE Management Service is running on Host Appliance.
  • Group Policy to prevent forcefully unloading user registry at log off (required for 1.4.1).
  • Skype for Business Tenant Admin account.

Initial Setup

When the first Cloud Connector appliance is registered, a PSTN site is configured in the Office 365 Skype for Business Tenant, with the name of the Site as defined in the Cloud Connector configuration file Auto update is enabled, and default time windows are configured for both the software (bits) and operating system (windows) with corresponding Tenant Update Time Windows that are configured in the tenant as part of this registration process. See the image below.
CCE code block.png

 

Confirm or Modify the Update Schedule for Hybrid PSTN Site(s)

To confirm the schedule for updating Cloud Connector software, administrators can view the Hybrid PSTN site update schedule in Skype for Business Admin Center in the on premises PSTN tab of the Voice section. Note that updates will run based on the local host time of the Cloud Connector appliance.

Please be sure to confirm that auto update is enabled and that a bits update time window is set to correspond to the maintenance window that you want the updates to run. The time that updates will occur is based on the local time of the Cloud Connector host appliance. For example, if the update time window is set for 11PM and the Cloud Connector appliance is in Amsterdam, the updates will occur at 11PM CET (UTC+1).

For details on how to configure update time windows, please refer to Modify the configuration of an existing Cloud Connector deployment.

 

Cloud Connector Update Process

The CCE Management service uses cached update time window information stored in the root of the CCE Site Directory\Tenant_<EdgeFQDN> file when checking if updates run. This file is updated from O365 tenant every 30 minutes. Therefore, if you modify the schedule online, it can take up to 30 minutes for the change to be implemented on the host appliance.

 

Overall Auto Update Process

 

  1. The auto update process will run on the schedule set by Tenant Administrator based on local host appliance clock
  2. Update detection will continue to run for the duration specified in the update time window.
  3. If an update is detected, the update process is invoked.
  4. The appliance will be put in maintenance mode and only one appliance per site can enter maintenance mode. The maintenance mode lock is written to the root of the CCE Appliance Directory\CceSevicePersistent file

    {"AutoMaintenanceStatus":#,"IsInManualMaintenance":false}
    0=None, 1=Bits Update, 2=OS Update, 3=RecoveryMode
    
  5. Update tasks will run.

  6. Once updates are completed and all services are confirmed running, the Appliance will be taken out of maintenance mode.

  7. Repeat steps for the next appliance in site.

Monitor Update Process

The Cloud Connector management service will log events to the Windows Application log with a source of CCEManagementService and detailed information will be written to "C:\Program Files\Skype for Business Cloud Connector Edition\ManagementService\CceManagementService.log".

Note: the CCEManagementService.log can grow quite large, so you might want to stop the CCE Management Service, and rename this log periodically.  There are plans to modify logging in the future to prevent log growth. If the log file size becomes too large to open in a text editor, you must use a text file splitter to break into smaller segments.

You can also see the status of the appliance by running Get-CsPSTNHybridAppliance in Remote PowerShell or by viewing in on premises PSTN tab in the Voice section of the Skype for Business Admin Center.

 

Bits Update Process

During this process, the running version remains in service, and an interim switch is used to connect to the new VM’s. Once the new version installation is complete and services are confirmed to be running, the old version is drained stopped and the network connections are switched to the new version.

 

  1. Bits update is detected based on the scheduled time window.
  2. Bits update task is triggered.
  3. The Cloud Connector download site is queried and if a new build is detected, then the update will occur.
  4. The appliance is put in maintenance mode, and the appliance status is updated in the Tenant showing Status of Maintenance, and DeploymentStatus of Upgrading, with the new version and the start time that the update began.
  5. Cloud Connector bits are downloaded.
  6. The CCE management service is stopped.
  7. The Skype for Business Online Cloud Connector edition software is updated which requires uninstalling the old version and installing the new version.
  8. New virtual machines are built from the existing VHDX file. If the VHDX is detected to be older than 90 days, the Install Instance script will log the following warning:
    • SFBServer.vhdx was generated more than 90 days before. Use Convert-CcIsoToVhdx to generate it again and apply windows updates.
    • Note: It is recommended that a new VHDX be built periodically to reduce the amount of time to perform Windows updates for new and updated Cloud Connector machines. It’s not supported to update the VHDX with Windows update and re-run Sysprep as there are a limited number of times that Sysprep can run on a computer.

  9. Once the deployment of the new Cloud Connector is completed and services confirmed running, the switch to the new version will occur as follows:
    1. Change virtual network connections to new Cloud Connector virtual machines
    2. Shut down the N+1 version
    3. Remove N+2 version and delete the virtual disks.
  10. The appliance will be taken out of maintenance mode, and the appliance status is updated in the Tenant to reflect updated Status of running, Version number of new build, and DeploymentStatus of Upgraded.
  11. Detailed logs for the download, upgrade of the Cloud Connector software, new version installation and switch to new build will be written to the Logs folder located in the root of the Appliance directory.

Windows Update Process

Windows update process is performed on the active running version. Therefore, when a windows update is detected, the appliance is drained stopped and put in maintenance mode.

  1. OS update is detected during scheduled time window.
  2. OS update task is triggered.
  3. The appliance is put in maintenance mode, and the appliance status is updated in the Tenant showing Status of Maintenance, and OsUpdateStatus of Upgrading, with start time.CCE small image.png
  4. The RTCSRV service on Edge and the RTCSRV and RTCMEDSRV services on Mediation server are drained stopped.
  5. OS update PowerShell script is copied to the root of the System drive on all CCE VM’s.
  6. Local windows update service is triggered to check for updates either against Windows Updates Internet service, or the local WSUS server defined in Cloud Connector configuration file.
  7. Updates are installed and a check for virtual machine restart is run.
    If a restart is required, all Cloud Connector virtual machines are restarted, then a second check for restart is run.
  8. Once updates are completed on all virtual machines, the updates are run on the host appliance and its restarted.
  9. Once the host has been restarted and no additional restarts are confirmed, the appliance is  taken out of maintenance mode, and the appliance status is updated in the Tenant to reflect updated Status of Running, and OSUpdateStatus of Updated.
Troubleshooting Auto Update

CCE Management Service Logging Level: If you need more diagnostic logging, you can modify the logging level to verbose for the following two settings in the Microsoft.Rtc.CCE.ManagementService.exe.config located in the "C:\Program Files\Skype for Business Cloud Connector Edition\ManagementService folder. (This will cause rapid log growth):

<add name="serviceSwitch" value="Information"/>
<add name="powershellSwitch" value="Warning"/>

 

If updates are not running because another maintenance task is detected, check the status of the CCE Appliance Directory\CceSevicePersistent file to determine what task is running.

{"AutoMaintenanceStatus":#,"IsInManualMaintenance":false}
0=None, 1=Bits Update, 2=OS Update, 3=RecoveryMode

Bits update failed to switch version is logged by the CCE Management Service with following error:

CceService Error: 20003: Bits update failed to switch version. Appliance running status: Running,
error detail: Failed to drain services with exception: [192.168.213.4] Connecting to remote server192.168.213.4 failed with the following error message: Access is denied

Check the networking status on the virtual machines and be sure there are no duplicate IP’s configured.

 

10 Comments
Visitor

Hi Carolyn,

 

Thank you for this article describing the update/upgrade process, useful to know.

Can you please add some update issues FAQ, mainly for multiple CCE on a site trying to upgrade to 1.4.2 through web proxy, I am stuck with both CCE displaying in their DeploymentStatus:

Failed to download installation files with exception: Exception callling \"DownloadFile\" with \"2\" argument(s): \"Unable to connect to the remote server\"

 

Exception calling "DownloadFile" with "2" argument(s): "Unable to connect to the remote server"

At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Internal\MtDownloadCommon.ps1:160

char:5

+     $webclient.DownloadFile($url,$dest)

+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : WebException

 

Don't know how to exit this RegisteredAndFailed & Maintenance mode for one CCE, the other still displaying Running mode but same error.

Thanks.

Per posting in TechNet, did you resolve connectivity to Download site by running netsh winhttp set proxy bypass-list="192.168.213.1;192.168.213.2;192.168.213.3;192.168.213.4;192.168.213.5". Note that the bypass list is for default management switch IP's. If your cloud connector configuration was defined with different management switch subnet, replace those addresses with correct IP's.
Visitor

Thank you for this answer, I confirm the complete subnet on each CCE (192.168.213.*, and 192.168.214.*) has been set.

I saw in the meantime the Technet has been updated to define proxy at computer level and not user level, through a registry or GPO. will try that and post result.

Thank you for the update and I look forward to your results.
Visitor

Hi,

to not leave a question unanswered, issue came from accounts' password desync it seems.

After deleting CCE xml password files and re-register ccappliances to recreate these files with correct passwords, all went back to normal and upgrades were able to be performed.

Many thanks for directions.

Thank you for the update. Glad you were able to resolve.
Senior Member
Should Windows update be enabled on each VM when using the AUTO UPDATE feature or does one not have anything to do with the other? If they do not have anything to do with the other, should windows updates be enabled on each VM or no?
Contributor

Where do I determine what my CCE Site Directory path is?

 

Cloud Connector Update Process

The CCE Management service uses cached update time window information stored in the root of the CCE Site Directory\Tenant_<EdgeFQDN> file when checking if updates run. This file is updated from O365 tenant every 30 minutes. Therefore, if you modify the schedule online, it can take up to 30 minutes for the change to be implemented on the host appliance.

 

Hi Trent,

 

You can determine the CCE Site Directory path by running Get-CcSiteDirectory from Administrative PowerShell on the CCE host appliance. 

Contributor