Hi all
I have been discusing a zero downtime approach for a standard Episerver CMS 9 site (no Commerce or Find and doesn't use Forms). The approach will be using traditional infrastructure on VMs so I'm afraid using Azure deployment slots isn't an option right now :)
Current thoughts revolve around two load balanced servers (A) and (B) using a shared database. The approach is as follows:
- Put Episerver into readonly mode
- Take server (A) out of load balancing pool
- Replicate DB
- Point server (B) to replicated DB
- Apply changes (code and DB) to server (A)
- Smoke test server (A)
- Bring server (A) back online
- Take server (B) out of load balancing pool
- Apply changes to server (B)
- Bring server (B) back into load balancing pool
Does anyone have any thoughts inisights/they can share on this? Have you done this yourself?
Appreciate your thoughts!
David