Smart Grid Applications Overview > Responder Overview > Implement Responder > Configure Responder > Responder Server > Data Services Configuration |
Version: 10.1 |
The Data Services configuration file (Miner.Responder.DataServices.exe.config) is an XML file that must be configured to use Responder's Data Services. You may edit the file by opening it in an XML application (such as XML Spy) or by opening it in a simple text editing program (such as Notepad). Miner.Responder.DataServices.exe.config is installed in: Responder\Server\. This file contains several sample configurations in the <miner.responder.server.configuration> section. These sample configurations may be deleted and replaced with those specific to your business.
When entering connection information, remember that you must log into the database as the data owner. Therefore, the User ID must belong to the owner of the data. |
Telvent recommends using direct connections to the database. Refer to Esri's ArcGIS for Desktop help for information about setting up direct connections.
You will look for specific XML tags and then edit the properties contained within those tags.
Data Services Configuration
Look for the <Miner.Responder.Server.Configuration> tag. The values within this tag contain connection information for the Responder database. You may create multiple configurations (e.g., Oracle and SQLServer). Each configuration is enclosed with <configuration></configuration> tags. Follow the steps below to configure your Data Services.
Example Title |
Copy Code
|
---|---|
<miner.responder.server.configuration default="ConfigurationName"> <multicast group="239.254.000.007" port="6679" ttl="2"/> <queryService server="ServerName" port="2063" enabled="false"/> <database> <connectionString>Data Source=instance name;User ID=Responder user ID;Password=Responder password</connectionString> <providerFactoryClass type="Miner.Data.Access.ProviderFactories.OracleProviderFactory, Miner.Data.Access"/> <syntaxClass type="Miner.Data.Access.OracleDataSyntax, Miner.Data.Access"/> <schemaConfigurationFile>DatabaseSchemaConfig.xml</schemaConfigurationFile> </database> <geodatabase> <server>geodatabase server name</server> <instance>geodatabase server instance</instance> <database>SQL server database name</database> <user>GIS user ID for the database owner</user> <password>GIS user password</password> <version>version name</version> <dataset>dataset name</dataset> <network>geometric network name</network> </geodatabase> <files> <file name="ControlStyles" path="ControlStylesConfig.xml" /> <file name="ExplorerRules" path="ExplorerRulesConfig.xml" /> <file name="SubmitRules" path="SubmitRulesConfig.xml" /> <file name="DataQueries" path="DataQueriesConfig.xml"/> </files> </configuration> |
Servers hosting Query Windows Service must be allowed to send messages on the Multicast IP group/port. |
Min Pool Size: This optional attribute in the connection string sets the minimum number of pooled database connections. When the number of pooled connections exceeds the Min Pool Size setting any idle connections will be disconnected without falling below that Min Pool Size threshold. Recommended Min Pool Size setting for Data Services: 0 |
Copy Code
|
|
---|---|
<miner.responder.server.configuration default="ConfigurationName"> |
If you have multiple instances of Data Services running on multiple machines (and using the same connection information), the Configuration Name value MUST be the same on all machines. If an instance of Data Services has the same connection information as another instance on another machine, but a different Configuration Name, communication between the Responder components will fail. |
You may run diagnostics to test the database and geometric network connections.
If you choose to start the Responder Services (e.g., Data Services) using the Responder Windows Service, you may log off of the machine if you wish. The Responder Services will continue to run until stopped. If you run Responder Services using the individual executable files (e.g., Miner.Responder.DataServices.exe), you must remain logged on to the server. Logging off will stop the Responder Services.
There are a couple cases in which additional configuration in the Data Services configuration file is required.
Refer to Accessing Remote Message Queues to perform the required configuration.