Scenario:Configuring the Gate Keeper for Multiple Sterling Connect:Direct File Agent Instances
The Sterling Connect:Direct® File Agent gate keeper keeps track of the directories that multiple file agents are configured to watch. If more than one file agent monitors the same directory, the gate keeper determines which Sterling Connect:Direct File Agent monitors that directory. This prevents more than one file agent from monitoring files in the same directory.
If you are using one instance of Sterling Connect:Direct File Agent or do not have multiple file agents monitoring the same directory, set the Gate keeper DNS name to blank for all of your Sterling Connect:Direct File Agent configurations. This will turn off the gate keeper and improve Sterling Connect:Direct File Agent performance.
If you have multiple file agents monitoring the same directory, use the same Gate keeper DNS name and Gate Keeper port for all Sterling Connect:Direct File Agent configurations. The Sterling Connect:Direct File Agent with the address that matches the configured gate keeper address becomes the Sterling Connect:Direct File Agent gate keeper. If you have Sterling Connect:Direct File Agent installed on different servers, decide which Sterling Connect:Direct File Agent to use as the gate keeper and use its Gate keeper DNS name and Gate Keeper port for all Sterling Connect:Direct File Agent configurations.
In the following example, multiple file agents installed on the same server are configured to monitor the C:\invoices directory. All Sterling Connect:Direct File Agent configurations use the same Gate Keeper port, Gate keeper DNS name, and Watched directory. When a file is detected in the C:\invoices directory, the default process, copynewfile.cdp, is submitted.
Tab | Dialog box, Window, or Field | Sample Entry |
---|---|---|
File agent | Gate Keeper port | Type the gate keeper port number Sterling Connect:Direct File Agent connects
to. 65530 (default) |
Gate keeper DNS name | Type the host name of the Sterling Connect:Direct File Agent gate
keeper. 10.10.10.10 |
|
Watched directories | Type one directory per line for each location
monitored for files: C:\invoices |
|
Default Process | Type the Microsoft Windows path and file name for
the Sterling Connect:Direct Process
run when a file is detected in a watched directory: C:\CDProcesses\copynewfile.cdp |