The standard guide to upgrade ServiceControl from 4 to 5 assumes that all failed messages can be retried without side-effects. In cases where this cannot be confirmed, the approach below can be used to upgrade ServiceControl v4.
This setup results in two separate error instances.
ServicePulse cannot show data from both simultaneously.
ServicePulse can be reconfigured to connect to another instance.
Monitor Instances
Monitor instances are stateless and can be safely reinstalled elsewhere:
- Remove the old instance from (virtual) machine 1.
- Install the same monitor instance name on (virtual) machine 2.
No special migration steps required.
Audit Instances
Audit v4 instances do not need to be migrated. They can remain active until the retention period expires.
To stop ingesting audit messages:
- Stop and disable the old audit instance in Windows Services.
- Add the following setting to
servicecontrol.
:audit. exe. config <add key="ServiceControl.Audit/IngestAuditMessages" value="False" />
- Start and enable the instance again.
- Confirm it's no longer ingesting by checking that the audit queue is building up.
Error Instances
The error instance needs to be prevented from ingesting, renamed, and replaced.
Steps:
- Stop and disable the v4 error instance
- Prevent error queue ingestion
- Change the instance’s queue name
- Run setup
- Enable and start the v4 error instance
- Verify the instance
- Add a new error instance
Stop and Disable v4 Error Instance
- Open Windows Services.
- Locate the error instance, right-click → Properties.
- Set
Startup type
toDisabled
→ Apply. - Click Stop.
Configure to Stop Ingestion of Error Queue
- Locate the instance folder (via ServiceControl Management Utility → Installation location → 📁 Browse...)
- Open
servicecontrol.
in an elevated text editorexe. config - Add:
<add key="ServiceControl/IngestErrorMessages" value="False" />
- Save the file
Change ServiceControl Instance Queue
The swapping of the instance names is only needed if heartbeats are used to avoid requiring to update the configuration of all endpoints.
- Open regedit and navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
- Find the key representing the ServiceControl service
- Export it as a backup
- Locate
ImagePath
, note the--serviceName
argument - Modify the service name to a unique value, e.g.:
--serviceName=particular.servicecontrol_v4
Run Setup
- Open an elevated command prompt
- Navigate to the install folder, e.g.:
C:\Program Files (x86)\Particular Software\Particular.ServiceControl
- Run:
servicecontrol.exe -s --serviceName=particular.servicecontrol_v4
Enable and Start v4 Error Instance
- Open Windows Services
- Locate the error instance, right-click → Properties
- Set
Startup type
toAutomatic
→ Apply - Click Start
Verify Instance is Running Without Issues
- Open the log folder (via ServiceControl Management Utility → Log Path → 📁 Browse...)
- Open the latest
logfile.
{YYYY-MM-DD} - Scroll to the end and ensure no errors are present
Add New Error Instance
Use the original service name (before the rename) for this new instance.
- Add a new error instance as usual (on the same machine or a new one)
- Configure it as needed to take over ingestion