Before you start
Infrastructure setup- A Windows virtual or physical machine with storage space for model files.
- Simulation software installed with valid licenses.
- Windows administrator access for service configuration.
- Registered service application in your Identity Provider (IdP).
- Client secret for authentication.
- Properly configured access groups in your IdP.
- Dedicated data set in CDF for storing simulator data.
- Appropriate CDF group access capabilities.
-
Firewall allowing outbound traffic to
https://{cluster}.cognitedata.com. - TLS certificate validation settings.
- Proxy configuration (if applicable).
Configuration settings
To configure a simulator connector, you must edit the configuration file. The file is in YAML format, and you’ll find configuration file examples listed under theconfig folder in the directory where the connector is installed.
1
Configure the file setup
- Download simulator connectors from Data fusion > Integrate > Extractors and connectors.
-
Create
config.ymlin the connector’s installation directory. Start withconfig.minimal.ymlas a baseline. - Configure authentication values using your IdP credentials.
2
Set up a local service account
- Create a dedicated Windows service/user account on the connector machine.
-
Set
readandwriteaccess for the service account to the connector installation folder.
3
Start the Windows service
- Configure the Windows service to use the local dedicated account.
- Start the Windows service.
- Monitor startup using Windows Event Viewer.
- Verify the connector registration under Integrations in the Simulators tool in the CDF user interface or by listing simulator integrations through the Cognite API.
4
Run the connector
- When the connector starts, it reads the configuration file, authenticates with CDF, registers itself as a simulator integration, and starts processing models and routines.
- When you’ve configured the connector, it registers itself and the associated simulator in CDF, and you can create models and routines.
For on-premises connectors, customers are responsible for maintaining connector uptime. Connectors are designed to operate as always-on services to ensure consistent compute availability for users.
Using values from environment variables
In the configuration file, values wrapped in${} are replaced with environment variables with that name. For example, ${COGNITE_PROJECT} will be replaced with the value of the environment variable called COGNITE_PROJECT.
The configuration file also contains the global parameter version, which holds the version of the configuration schema used in the configuration file. This document describes version 1 of the configuration schema.
Configuration sections
Connector
This section contains information on how the current connector appears in Simulators.Logger
Log entries are eitherFatal, Error, Warning, Information, Debug, Verbose, in order of decreasing importance. Each level covers the ones of higher importance.
Cognite
This is the configuration of the connection to CDF.State store
This section includes the configuration parameters for storing state in a local database.Maintain connectors
- Connectors might require significant disk space for caching model files stored in CDF
- Connectors don’t have auto-update features, so regular manual updates are necessary to get bug fixes and new features
- The underlying simulation software may also require periodic updates
- When troubleshooting problems, check the connector logs in the installation directory and Windows Event Logs