The Particular Service Platform is licensed based on the number of NServiceBus endpoints and the message throughput of those endpoints. In order to determine these values, a process needs to be run that queries the transport broker for up to 24 hours, and a report generated from this data to be sent to Particular.
The minimal installation required to generate the usage report is a single ServiceControl error instance running ServicePulse in integrated mode:
- The error instance contains the broker querying logic.
- ServicePulse is the UI used to specify which endpoints are NServiceBus related and to generate the usage report to send to Particular. In integrated mode, ServicePulse runs inside the error instance, so no separate installation is required. Integrated mode is available in ServiceControl 6.13 and later.
Certain transports cannot query the broker directly; for these an audit or monitoring instance will also be required and all endpoints will need to be configured to send data to these instances.
Installation options
By default, the ServiceControl instance will immediately start reading from the error queue when it starts. If this is not desired, e.g. if you have another process that monitors the error queue, then set the SERVICECONTROL_INGESTERRORMESSAGES environment variable to false in any of the following installation options. This variable needs to be set for the account under which the ServiceControl instance is running or on the container.
ServiceControl can be installed in the following ways, each running ServicePulse in integrated mode:
- Containers, on Linux, Windows, or in cloud environments
- Windows, using the ServiceControl Management Utility or PowerShell
When installing ServiceControl, a connection string to a transport is required. Since this may differ in format from the native connection string for the underlying queuing technology, please check the associated Configuration or Connection Settings page for your selected transport.
Container Installation
Run a ServiceControl container with the ENABLEINTEGRATEDSERVICEPULSE environment variable set to true, and provide a database for its data.
Storage
From ServiceControl 7, the ServiceControl container must select its storage with the STORAGETYPE environment variable; there is no default. Versions before 7 support only RavenDB.
- SQL Server or PostgreSQL: Set
STORAGETYPEtoSQLServerorPostgreSQLand point ServiceControl at an existing database, such as a managed SQL Server or PostgreSQL service from the cloud provider. These options also need an external message body store, such as Azure Blob Storage or Amazon S3. See SQL Server storage or PostgreSQL storage. - RavenDB: Set
STORAGETYPEtoRavenDBand run a RavenDB container, or supply the connection string of an external RavenDB server. See RavenDB licensing for ServiceControl. Examples are available in the Platform Container Examples repository, including Kubernetes manifests for AKS or EKS. Where RavenDB's storage requirements cannot be met, use RavenDB Cloud to host the database.
Windows Installation
ServiceControl is installed as a Windows service and starts automatically. From ServiceControl 7, choose a storage type when creating the instance. RavenDB runs embedded in ServiceControl, so it needs no separate database server, while SQL Server and PostgreSQL use an existing database. Versions before 7 always use embedded RavenDB.
ServiceControl Management Utility (SCMU)
- Download the latest SCMU
- Run the executable. This will require Admin privileges.
- Add a new ServiceControl instance

- Choose your transport and supply the connection string

- From ServiceControl 7, choose a STORAGE TYPE
- Leave ENABLE INTEGRATED SERVICEPULSE set to
On - Click 'Add'
Once the instance is installed and running, SCMU shows a link to launch ServicePulse. 
When upgrading an existing instance from an older version of ServiceControl, click the Enable Integrated ServicePulse option. 
PowerShell
- Ensure you meet the prerequisites
- Install and import the Particular.ServiceControl.Management module
- Run the New-ServiceControlInstance cmdlet
- Most parameters can remain as shown in the example, which includes
-EnableIntegratedServicePulse, with the-Transportand-ConnectionStringvalues set according to your environment. From ServiceControl 7,-StorageTypeis also required.
- Most parameters can remain as shown in the example, which includes