Add processes
- Last UpdatedOct 04, 2024
- 2 minute read
- PI System
- PI Server 2023
- PI Server
To add, run and monitor existing PI processes that are not already part of the core PI system, you can edit the pisrvsitestart.bat file. Processes added to this file are started automatically when pisrvstart.bat is used to start Data Archive. When a process is included in this file, the process is monitored by PI Services manager, provided it is configured to run as a Windows service.
Processes may be added in one of the following formats:
-
net start ServiceName, where ServiceName is the name of the service to be monitored. For example, the PI Performance Monitor Interface basic version would use the syntax:
net start piperfmon_basic
-
net start DisplayName, where DisplayName is the display name of the service to be monitored. For example the same interface would use the syntax:
net start “PI-Performance Monitor Interface (basic version)”
-
Note: Double quotes are required for pisrvsitestart.bat to function properly.
You may also add rem to either format to prevent automatic startup of the service. For example:
rem net start piperfmon_basic
rem net start “PI-Performance Monitor Interface (basic
version)”
The following is an example pisrvsitestart.bat file:
REM Non-Interactive Site Specific startup file. This file
REM should be modified to start site specific services
REM related to PI. This file will not be overwritten
REM on upgrade. Instead new versions will be written
REM as pisrvsitestart.bat.new for review and integration
REM by the PI Administrator.
REM $Workfile: pisrvsitestart.bat $ $Revision: 11$
echo Starting Site Specific PI System Services...
net start rmp_sk
net start random
rem
rem The following interfaces are not started by default.
rem Remove the remarks "rem" below to start the interfaces.
rem
rem net start piperfmon_basic
rem net start piping_basic
rem net start pisnmp_basic
rem net start pibagen
rem net start pirecalc
:theend