AVEVA Global User Guide
Setting up a Global Project
:
Running the Global Daemon
: Multiple Project Service
Multiple Project Service
To set up a multiple project for a project ABC as a background service, in a command line window type:
DemonServiceMulti /install /location
base product
install path\multids
As with the Single Project Service the batch file multids.bat is in the default install folder. This will set all environment variables required to run the required projects. The /location parameter specifies the file location of the batch file, not the base product location name.
The sample multids batch file should be edited so that the environment variables are set as described in
Using the admind command
:
In order to add projects to, or remove projects from, the service, the service must be stopped and then restarted with a modified batch file.
The start commands in this batch file to start or stop the daemon use parameters. Do not replace parameter %1 by an explicit ‘start’, since this batch file is also used when stopping the service.
When using a service which interacts with the desktop (see below), individual daemons can be started using an iconised window if the /MIN argument is used with the start command. For example:-
start ‘Project bas’ /MIN base product
install path
\admindwcf.exe %1 aps service
Note:
This command must be run from a directory located on the local machine for the service to install. If it is executed from a mapped drive or UNC pathname then the service will not start when requested.
To remove the service, in a command line window type:
DemonServiceMulti /remove
If for any reason, the service will not start, it is possible to run the service from a command line window using:
DemonServiceMulti /debug
This will assist in identifying the cause of the problem (for example, Project directory not set up).
Note:
The debug option runs the service program from the current user, whereas the service itself runs as a Local system administrator.
If the installation is unsuccessful, remove the service and install it again.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.