Getting Started
Architecture
NServiceBus
Transports
Persistence
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Samples

Replacing an Error instance using Containers

Component: ServiceControl

This article describes how to replace an Error instance with zero downtime when using containers.

Disable error message ingestion

Modify the old Error instance container by specifying the INGESTERRORMESSAGES environment variable with a value of false.

Replace the Error instance

Deploy a new Error instance container with its own database container. The REMOTEINSTANCES environment variable should match the configuration of the old Error instance so that it can communicate to the same Audit instance(s).

Now, the old and new Error instance's are both available, but the old Error instance is not ingesting messages.

When confident of a successful upgrade, the old Error instance can be removed. If the old Error instance is not deployed in a container, refer to the instructions for removing the old instance in the ServiceControl Management or PowerShell guides.

Related Articles