When you install Event Import, the wgnimpsv.exe service is installed automatically. You can use this service for continuous import operations. But first you must configure the service by creating and editing a configuration file, import.ini. In detail:
Wgnimpsv.exe requires a configuration file containing the import parameters. You must name this configuration file ‘import.ini’ and save it in the same folder as wgnimpsv.exe. It can contain any of the import parameters available for wgnimp.exe.
File.ContinuousInput=yes
Note: Even if you have changed wgnimpsv.exe from a ‘Manual’ to an ‘Automatic’ startup service, you must still add this line to import.ini to prevent the service stopping prematurely.
When you run Event Import, you must log on to the CMS as a CA DataMinder administrator. So that you do not need to store the CMS credentials in import.ini (which would represent a security loophole), you can configure wgnimpsv.exe to securely cache the credentials itself. To do this, use the following command line syntax to open a new command window where you can enter a valid user name and password:
wgnimpsv -setcredentials
Note: The corresponding parameters for setting these credentials in import.ini are Engine.BulkImportUsername and Engine.BulkImportUserpasswd
If you subsequently need to reset the CMS logon credentials, you can do so by running the following command:
wgnimpsv -clearcredentials
By default, the Event Import service installs as a ‘Manual’ startup type. You must change this to ‘Automatic’ startup type as soon as you have created your import.ini configuration file.
If necessary, change the service logon properties to reflect the requirements on Wgnimpsv.exe and continuous importing.
To do this, simply restart wgnimpsv.exe.
Note: After wgnimpsv.exe has started, any subsequent changes to import.ini will only take effect after you restart the service.
Copyright © 2014 CA.
All rights reserved.
|
|