Course contents

Unit 9: Monitoring and troubleshootingLesson 9.5 (5 of 5 in this unit)57 of 62 in the Cisco SD-WAN course

Backup, change windows and lifecycle fundamentals

What to back up, the upgrade order for the Manager, controllers and edges, a one-page change plan with a rollback, and the dates to track.

Intermediate · 10 min read

You'll learn to list what to back up and where, put a software upgrade in the correct order, plan a change window with a way back, and name the expiry dates to track.

Technical definition

Lifecycle management is the routine work that keeps a fabric supportable over years: backups that can be restored, software upgrades in a safe order, change windows with a plan to undo, and tracking of dates such as certificate and licence expiry.

What to back up

Three kinds of state matter. The Manager holds the configuration database: templates, groups, policies, users and device records. Each controller and edge has its own running configuration and certificates. And the virtual machines that run controllers can be copied with the hypervisor's snapshot feature, which is a quick way back but should not be the only copy.

Diagram
Four things to back up, and how long to keep them
Four things to back up, and how long to keep them

The Manager database is backed up with the built-in command and copied off the Manager. Device configurations are kept with the change ticket. A virtual machine snapshot is short term only. Certificate files are stored with restricted access and a record of their expiry. Policy and template exports go into version control where it is available.

Backup targets
  • Manager databasebuilt-in backup,copy off the box
  • Configskept with thechange ticket
  • VM snapshotshort term only,then delete
  • Certificatesrestricted access,expiry noted
The snapshot is the only item meant to be deleted soon after the change is safe.
Diagram
Backup targets
Backup targets
WhatHow (typical)Keep it
Manager configuration databaseBuilt-in backup command or scheduled backupOff the Manager, in more than one place
Edge and controller running configurationSaved from the CLI, or exported from the ManagerWith the change ticket
Virtual machine snapshotHypervisor snapshot before a changeShort term only; delete after the change is safe
Root CA and certificate filesStored securely by the CA ownerRestricted access, with a record of expiry
Policy and template exportsExport from the ManagerIn version control if available
Method names depend on whether the Manager is on-premises or hosted, and on the release.
request nms configuration-db backup path /home/admin/db_backup

One example for an on-premises Manager: it writes the configuration database to a file. The exact command, path and options depend on the release, so confirm in the documentation for your version. Copy the file off the Manager afterwards.

Prove the backup with a restore test

A backup file only proves that something was written. A restore test proves that the file can be used. Do it on a spare virtual machine, not on the live Manager, and write down the result. Restores usually need the same software release as the backup and the certificate material the Manager relies on, so check both in the documentation for your release before the test.

Diagram
What a restore test proves, in order
What a restore test proves, in order

The copy exists off the Manager, the spare machine runs the right release, the restore completes, the data matches the live Manager, and the certificates and passwords are on hand.

  1. 1 CopyThe file is off the Managerin a second location, and readable
  2. 2 ReleaseThe spare machine runs the releasethe backup needs
  3. 3 RestoreThe restore finishes without errorsand the time taken is recorded
  4. 4 DataTemplate, policy and device countsmatch the live Manager
  5. 5 KeysCertificate files and passwordsare available, stored separately
Stop at the first row that fails. A backup that fails any row is not a backup yet.

Keep the record short: the date, the backup file name, where it was restored, the release, the counts that were compared and how long it took. The time taken is the number you will need when a real restore is under way and someone asks how long it will be.

Upgrading in order

An upgrade is planned in layers. Read the release notes and the compatibility information first. Upgrade the Manager, then the Validator, then the Controller, then the edges, in that order. On the edges, upgrade a pilot site before the rest, and verify before continuing. Routers install the new image, activate it and then confirm it. On many releases, a router that cannot reach the Manager after activation can return to the old image after a timer, which is why the confirm step matters.

Diagram
Upgrade order
Upgrade order

Manager, Validator, Controller, edges.

  1. Managerfirst
  2. Validatorsecond
  3. Controllerthird
  4. Pilot edgeverify
  5. Other edgesin groups
Do not skip the verify step between layers.
Diagram
Image states on a router
Image states on a router

Installed against active against confirmed.

ActivatedNew image runningTimer may revert it
ConfirmedNew image is defaultTimer cleared
Confirm only after you have checked control connections and BFD.

A change window

A change window is a period agreed for risky work. It needs a short plan with five parts: what will be changed and why, the baseline before, the steps in order, the check that says it worked, and the action that undoes it with a time at which to decide. Without the last part, people tend to keep trying for hours when a rollback was the right call.

Diagram
The plan on one page
The plan on one page

Five parts of a change plan.

  1. What and whyThe change, the sites it touches, who approved it
  2. BaselineControl connections, OMP and BFD summary before the change
  3. StepsIn order, with the pilot site first
  4. Success checkThe same commands as the baseline, with the expected result
  5. RollbackThe steps to undo, and the time at which you will use them
If one part is missing, the plan is not ready.

Worked example: a window on the clock

A plan needs a time at which the answer becomes rollback, and that time can be worked out. Take a window from 22:00 to 01:00. The rollback is estimated at 40 minutes and its verification at 15 minutes. The latest moment to start a rollback is the end of the window minus both: 01:00 minus 55 minutes is 00:05. Anything decided after that cannot be undone and checked inside the window.

Diagram
The window on the clock
The window on the clock

The baseline is taken at 22:00. The pilot site is checked at 22:45. The remaining sites are changed from 23:00. At 00:05 the choice is made to keep the change or start the rollback. The window ends at 01:00.

  1. 22:00baseline
  2. 22:45pilot check
  3. 23:00rest ingroups
  4. 00:05keep orroll back
  5. 01:00windowends
The 00:05 decision point is the end of the window minus the rollback and its checks.
Diagram
One change window, with its decision points
One change window, with its decision points
TimeWhat happensDecision
22:00 to 22:15Record the baseline: control connections, OMP peers and BFD sessions for every site in scopeNone. Do not start if the baseline is already unhealthy
22:15 to 22:45Make the change on the pilot siteNone
22:45 to 23:00Run the same commands as the baseline on the pilotAt 23:00: go on, or undo the pilot
23:00 to 00:00Make the change on the remaining sites in groupsAfter each group: the same checks, or stop
00:00 to 00:05Final checks on every siteAt 00:05: keep the change, or start the rollback
00:05 to 01:00Rollback and its checks, only if needed (40 plus 15 minutes)Latest possible start is 00:05
Example times. Replace the 40 and 15 minutes with the figures measured in the lab for your own rollback.

A slower rollback moves the decision point earlier and leaves less time for the change itself. The table below was computed by script for the same three-hour window, with the 15-minute baseline kept as in the table above.

Diagram
Latest rollback start for other rollback times (computed)
Latest rollback start for other rollback times (computed)
Rollback plus checksLatest rollback startMinutes left to change and check
40 plus 15 minutes00:05110
60 plus 15 minutes23:4590
90 plus 20 minutes23:1055
120 plus 30 minutes22:3015
Window 22:00 to 01:00, 180 minutes, baseline 15 minutes. A rollback that takes 150 minutes in all leaves 15 minutes, so the change must be split into smaller windows.

Two habits make the clock work. The rollback estimate comes from a rehearsal, not a guess. And the person who decides is named before the window starts, so the call at 00:05 takes seconds instead of a discussion.

Dates to watch

Diagram
Four dates and their lead times
Four dates and their lead times

Certificates are renewed starting 90 days before expiry in the example register. The root certificate authority is replaced two years before expiry. Software end of support goes into yearly planning. The subscription is renewed starting 60 days before the term ends.

Dates to track
  • Certificatesstart 90 daysbefore expiry
  • Root CAstart two yearsbefore expiry
  • Support endput in theyearly plan
  • Subscriptionstart 60 daysbefore term ends
Lead times in the example register. Use the ones that match how long approvals take at your organisation.
Diagram
Lifecycle dates
Lifecycle dates
DateWhy it mattersWhen to act
Controller and device certificate expiryExpired certificates break control connectionsMonths before, not days
Root CA expiryEvery certificate it signed becomes untrustedPlan a replacement well in advance
Software end of supportNo fixes for security issuesInclude in yearly planning
Licence or subscription termFeatures and support depend on itBefore the renewal date
Put these dates in a calendar that is shared by the team, not only in one person's mailbox.

A register turns those dates into dates to act on. The expiry dates below are examples, with the reminders worked out from them.

Diagram
An expiry register (example dates)
An expiry register (example dates)
ItemIssued or startedExpiresStart renewal by
Controller certificate, valid one year1 March 20261 March 20271 December 2026 (90 days before)
Edge certificate, same term1 March 20261 March 20271 December 2026, then 31 December and 30 January
Root CA, valid ten years15 June 202415 June 203415 June 2032 (two years before)
Subscription term1 October 202630 September 20271 August 2027 (60 days before)
The lead time depends on how long approvals and re-issue take at your organisation. Ninety days is a common starting point, not a rule.

Learn more: Manager Workflows and Change ControlsPKI, Root CA, Certificates and Authorization

Test yourself

Predict · scenario 1

You will upgrade a small fabric. Which order is correct?

Predict · scenario 2

A change plan lists the steps and the success check but not the rollback. What is missing?

Predict · scenario 3

A Manager backup exists but has not been test-restored. What is the concern?

Predict · scenario 4

A change window ends at 01:00. The rollback takes 40 minutes and its checks take 15. What is the latest time to start the rollback?

Predict · scenario 5

A certificate was issued on 1 March 2026 with a one-year term, and renewal is planned to start 90 days before expiry. When does renewal start?

Predict · scenario 6

What does a restore test show that a backup file on its own does not?

Predict · scenario 7

The rollback takes 90 minutes and its checks take 20, in a window that ends at 01:00. What is the latest time to start the rollback?

Predict · scenario 8

Which backup target is meant to be kept for a short time only and deleted once the change is safe?

Predict · scenario 9

A subscription term ends on 30 September 2027 and the renewal lead time is 60 days. When does renewal start?

FAQ

Who backs up the controllers when the Manager is cloud-hosted?
That depends on the service you bought. Some deployments are operated by Cisco or a partner, who take snapshots. Ask what is backed up, how often, and how you request a restore, and keep your own copy of exported configuration.
Why upgrade the controllers before the edges?
Controllers need to understand what the edges send. Edges running a newer release than the controllers can use features the controllers do not support. The compatibility rules are in the release notes.
Is a backup enough if it has not been restored once as a test?
No. A backup that has not been test-restored is a hope. Test a restore in a lab or a spare VM on a regular schedule.