Setting up OPC UA Connector and Edge Agent

Learn how to set up the OPC UA connector and edge agents apps.

  1. Navigate to Edge Connectivity Management and select the edge agent for which you prepared the environment.
  2. Select Download Docker Compose File to obtain YAML configuration and other configuration files generated based on the configuration provided in the Edge Connectivity Management app.
  3. Extract the generated template and populate the credential files.
    1. Open the EdgeAgent_<ID> folder generated in step 2.
    2. Open passportpassword.txt and enter the agent password generated in Completing Prerequisites.
    3. Open passportuser.txt and enter the agent ID generated in Completing Prerequisites.
    4. Save both files.
  4. Edit the connector .env file.
    1. Open the Connector_<ID> folder generated in step 2 and navigate to the .env file.
    2. Set the logging level to Debug: Logging__Console__LogLevel__Default=Debug.
    3. Save the .env file.
  5. To start the edge agent and previously configured connectors:
    1. Navigate to the directory in your terminal that contains the EdgeAgent_<ID> folder, Connector_<ID> folder, and the Docker Compose file.
    2. Run the following command: docker compose up.
  6. In Edge Connectivity Management, select Refresh Connection Status on the edge agent and connector levels.