Decommission a site
Decommission a site
Use this when a site is permanently closing (lease ended, tenant moved out, site consolidated). Cameras are soft-deleted — event history is preserved for the retention window — but the gateway and site records are removed outright.
Procedure
-
Confirm the customer has authorised decommissioning, in writing. Keep the email with the work order.
-
Export all clips of interest. Admin → Events → filter by site → Bulk export (US-OPS-07). Expect ~2 GB per camera per month of 24/7 recording.
-
Export the site’s audit log. Admin → Audit log → filter by site → Export CSV. This is your evidentiary record.
-
Disable all alert rules scoped to this site. Admin → Alert rules → filter by site → Disable. Prevents spurious cool-down alerts while cameras go dark.
-
Soft-delete every camera at the site. Cameras → filter by site → bulk select → Delete. Confirms one by one.
-
At the physical site, cut PoE at each switch port. Unmount cameras. Reclaim cable if re-use is planned.
-
Power off the gateway host. Unplug it from the rack. Tag with site name + decommission date for RMA or inventory.
-
In the UI, Gateways → (this gateway) → Delete. If the delete button is disabled, a camera is still attached — return to step 5.
-
Admin → Sites → (this site) → Delete. Confirm by typing the site name.
-
Verify in Audit log that
site.deleted,gateway.deleted, and N ×camera.deletedentries are present with the same correlation timestamp.
Common variations
- Gateway hardware being redeployed to another site — factory-reset the gateway (wipe
/etc/novavms/gateway.yaml) before re-pairing at the new site. Re-using an API key across sites is not supported. - Cameras being redeployed — factory-reset each camera via its web UI before remounting. Old motion zones and NTP config are scene-specific.
- Partial decommission (one floor of a multi-floor site) — don’t delete the site. Delete only those cameras and leave the gateway.
If this didn’t work
- Gateway delete returns 409 → one or more cameras are still attached or disabled-but-not-deleted. Re-check the camera list.
- Site delete hangs → check the audit log for a
camera.deletestill pending; wait 30 s and retry.