Set Up MonitorMeasBufferDB (the Data Connector) as a Service
- Last UpdatedAug 27, 2024
- 1 minute read
-
Open a PowerShell session as an administrator.
-
Create one or both of the following services depending on your version of AVEVA Measurement Advisor: "ACM MonitorMeasBufferDB OnPrem" and/or "ACM MonitorMeasBufferDB Cloud" for the MonitorMeasBufferDB executable with the following commands:
New-Service `
-Name "ACM MonitorMeasBufferDB OnPrem" `
-BinaryPathName "$env:DNAInstallRoot\CloudData\bin\MonitorMeasBufferDB.exe AsService onPrem" `
-DisplayName "AVEVA Measurement Advisor Data Connector for ACM (on-premises)" `
-Description "Transfers queued raw gas measurement data to AVEVA Measurement Advisor on-premises" `
-StartupType "Automatic"
New-Service `
-Name "ACM MonitorMeasBufferDB Cloud" `
-BinaryPathName "$env:DNAInstallRoot\CloudData\bin\MonitorMeasBufferDB.exe AsService Cloud" `
-DisplayName "AVEVA Measurement Advisor Data Connector for ACM (cloud)" `
-Description "Transfers queued raw gas measurement data to AVEVA Measurement Advisor in the cloud" `
-StartupType "Automatic"
Note: If your files are installed in a location different from the default, please adjust the file paths in the above code accordingly.
-
Open the Windows Services console.
-
Open the Properties for the "AVEVA Measurement Advisor Data Connector for ACM" service.
-
Go to the Log On tab.
-
Set the Log On account to your local or domain user (for example, AVEVADataConnector).
Note: On a standalone server, you can use Network Service to run this since it will likely already have the permissions needed. Add "obj="NT Authority\NetworkService" to the commands above.
Note: Modify the services to start up as the appropriate service account that has access to the required resources such as Microsoft SQL Server. You can also specify the account name and password as part of the "New-Service" command.