locked
Skype for Business CU patching process RRS feed

  • Question

  • Hi Guys,

     

    Can you please help me by verifying CU install process.

     

    I find installation of CU on backend a bit confusing and I am not able to find consistent information on blogs so wanted to clarify.

     

    Environment:

     

    1. 2 Pools with 3 FE each

     

    2. 1 edge pool with 2 Edge servers /pool

     

    3. SQL backend with co-located monitoring and archiving db

     

    CU upgrade process-

     

    1. Start with Front end server

    • Health checks
      • Get-CsPoolUpgradeReadinessState
      • Get-CsPoolFabricState -PoolFqdn SkypePool.contoso.com.com  (Check for any missing replicas- fix by using Reset-CsPoolRegistrarState -ResetType QuorumLossRecovery)
    • Stop-cswindowsservice or invoke-cscomputerfailover -computername
    • Install CU
    • Invoke-cscomputerfailback -computername
    • Start-cspool

     

    2. Follow the same process on other 2 fe

     

    3. Install CU on edge server- One after the other

    • Stop-cswindowsservice
    • Install CU
    • Start-cswindowsservice

     

    4. SQL Backend (Monintoring/Archiving/SQL server store are on the same instance)

     

    • Log on to any one of the front end server
      • Stop-CsWindowsService
      • net stop w3svc
      • From that front end run Install-CsDatabase -Update -ConfiguredDatabases -SqlServerFqdn site.abc.com -ExcludeCollocatedStores
      • net start w3svc
      • Start-cswindows service (No need to bounce the server)

     

    5. Run bootstrapper?

     

    Confusion area-

    1. How do I update local sql instances? Commands and process

    2. Is the process for updating CU on SQL Backend correct?

    3. Do I need to update cms?

    4. Do I need to run bootstrapper?




    • Edited by asahni2014 Thursday, December 8, 2016 3:43 AM
    Monday, December 5, 2016 12:45 AM

All replies

  • Hi Guys,

     

    Can you please help me by verifying CU install process.

     

    I find installation of CU on backend a bit confusing and I am not able to find consistent information on blogs so wanted to clarify.

     

    Environment:

     

    1. 2 Pools with 3 FE each

     

    2. 1 edge pool with 2 Edge servers /pool

     

    3. SQL backend with co-located monitoring and archiving db

     

    CU upgrade process-

     

    1. Start with Front end server

    • Health checks
      • Get-CsPoolUpgradeReadinessState
      • Get-CsPoolFabricState -PoolFqdn SkypePool.contoso.com.com  (Check for any missing replicas- fix by using Reset-CsPoolRegistrarState -ResetType QuorumLossRecovery)
    • Stop-cswindowsservice or invoke-cscomputerfailover -computername
    • Install CU
    • Invoke-cscomputerfailback -computername
    • Start-cspool

     

    2. Follow the same process on other 2 fe

     

    3. Install CU on edge server- One after the other

    • Stop-cswindowsservice
    • Install CU
    • Start-cswindowsservice

     

    4. SQL Backend

     

    • Log on to any one of the front end server
      • Stop-CsWindowsService
      • net stop w3svc
      • From that front end run Install-CsDatabase -Update -ConfiguredDatabases -SqlServerFqdn site.abc.com -ExcludeCollocatedStores
      • net start w3svc
      • Start-cswindows service (No need to bounce the server)

     

    5. Run bootstrapper?

     

    Confusion area-

    1. How do I update local sql instances? Commands and process

    2. Is the process for updating CU on SQL Backend correct?

    3. Do I need to update cms?

    4. Do I need to run bootstrapper?

     

     

    •  

     


    Akki


    • Edited by asahni2014 Sunday, December 4, 2016 5:04 AM
    • Moved by Just Karl Wednesday, December 7, 2016 11:01 PM Looking for the correct forum.
    • Merged by jim-xu Thursday, December 8, 2016 2:20 AM same thread
    Sunday, December 4, 2016 5:02 AM
  • 1 : during the CU updates on the FE server the SQL bits are dropped and they get patched when you  run  the install-csdatabase cmd on each server 

    2: Backed is updated with Install-csdatabase command , but you can run that from the FE server it self specifying the SQL backend server FQDN and insance as mentioned in this KB

    https://support.microsoft.com/en-us/kb/3061064

    3: CMS is not mentioned in the KB so we dont need to do any update on that 

    4: There is no need to run boot strapper after the CU update. 


    Linus || Please mark posts as answers/helpful if it answers your question.

    Monday, December 5, 2016 6:35 AM
  • Hi aman,

    Welcome to our forum.

    I agree with Akampa, and the order which you update is correct: Upgrade the topology from the inside to the outside. Upgrade all your pools first, then the edge servers, and finally the Central Management Store (CMS) pool. In the final step, we will run Install-CsDatabase command to update CMS, after you run this command, it means you have updated for SQL server. You could refer to the following link for Skype for business server 2015 update:

    https://technet.microsoft.com/en-us/library/dn951396.aspx

    If there are any questions or issues, please be free to let me know.   


    Best Regards,
    Jim Xu
    TechNet Community Support


    Please remember to mark the replies as answers if they helped.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, December 6, 2016 2:17 AM
  • Thanks Akampa,

    Just to confirm.

    After front end and edges are done. I will Update the local sql express database first

    1. Stop windows services on front end and run below to update local data base

    - Install-CsDatabase -LocalDatabases -Verbose

    2. Follow process on other 2 front ends to update their Local data bases

    3. Finally to update backend SQL, I will log on to one of the front end again and follow

    • Stop-CsWindowsService
    • net stop w3svc
    • From that front end run Install-CsDatabase -Update -ConfiguredDatabases -SqlServerFqdn "Backend db" -ExcludeCollocatedStores
    • net start w3svc
    • Start-cswindows service (No need to bounce the server)

    Sorry, I might have convoluted the process because I have got confused reading n number of blogs. Thanks in advance for your help




    Akki



    • Edited by asahni2014 Wednesday, December 7, 2016 3:33 AM
    Wednesday, December 7, 2016 3:30 AM
  • Hello,

    The TechNet Sandbox forum is designed for users to try out the new forums functionality. Please be respectful of others, and do not expect replies to questions asked here.

    As it's off-topic here, I am moving the question to the Skype For Business forum.

    Karl

    Wednesday, December 7, 2016 11:01 PM
  • Hi akki,

    Welcome to our forum.     

    As I am concerned, we needn’t run “Install-CsDatabase –LocalDatabase –Verbose” command, because local database will sync data from CMS once there are any updates in CMS. So you could just update CMS in the third steps. You could refer to the following link:

    https://blogs.technet.microsoft.com/jenstr/2010/10/13/what-is-central-management-store-cms/

    If there are any questions or issues, please be free to let me know.   


    Best Regards,
    Jim Xu
    TechNet Community Support


    Please remember to mark the replies as answers if they helped.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by jim-xu Monday, December 12, 2016 8:32 AM
    Thursday, December 8, 2016 2:28 AM