Skip to content

Commit 2348ab6

Browse files
authored
Merge pull request #268493 from dominicbetts/aio-doe-follow-up
AIO: Quickstart updates
2 parents e915bae + a445a34 commit 2348ab6

File tree

4 files changed

+24
-19
lines changed

4 files changed

+24
-19
lines changed
-46.1 KB
Loading

articles/iot-operations/get-started/quickstart-add-assets.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ When you deployed Azure IoT Operations, you chose to include a built-in OPC PLC
5555

5656
To add an asset endpoint:
5757

58-
1. Select **Asset endpoints** and then **Create asset endpoint**:
58+
1. Select **Manage asset endpoints** and then **Create asset endpoint**:
5959

6060
:::image type="content" source="media/quickstart-add-assets/asset-endpoints.png" alt-text="Screenshot that shows the asset endpoints page in the Azure IoT Operations portal.":::
6161

@@ -84,22 +84,27 @@ To add an asset endpoint:
8484

8585
When the OPC PLC simulator is running, data flows from the simulator, to the connector, to the OPC UA broker, and finally to the MQ broker.
8686

87-
To enable the asset endpoint to use an untrusted certificate:
87+
The following step lowers the security level for the OPC PLC so that it accepts connections from any client without an explicit peer certificate trust operation. To enable the asset endpoint to use an untrusted certificate:
8888

8989
> [!CAUTION]
90-
> Don't use untrusted certificates in production environments.
91-
92-
1. Run the following command on the machine where your cluster is running to apply the configuration to use an untrusted certificate:
93-
94-
```console
95-
kubectl apply -f https://raw.githubusercontent.com/Azure-Samples/explore-iot-operations/main/samples/quickstarts/opc-ua-connector-0.yaml
90+
> Don't use untrusted certificates in production environments. To learn more, see [Configure an OPC PLC simulator](../manage-devices-assets/howto-configure-opc-plc-simulator.md).
91+
92+
1. Run the following command to enable the use of an untrusted certificate. Replace the two placeholders with your cluster name and resource group name:
93+
94+
```azurecli
95+
az k8s-extension update \
96+
--version 0.3.0-preview \
97+
--name opc-ua-broker \
98+
--release-train preview \
99+
--cluster-name <cluster-name> \
100+
--resource-group <azure-resource-group> \
101+
--cluster-type connectedClusters \
102+
--auto-upgrade-minor-version false \
103+
--config opcPlcSimulation.deploy=true \
104+
--config opcPlcSimulation.autoAcceptUntrustedCertificates=true
96105
```
97106

98-
The following snippet shows the YAML file that you applied:
99-
100-
:::code language="yaml" source="~/azure-iot-operations-samples/samples/quickstarts/opc-ua-connector-0.yaml":::
101-
102-
1. Find the name of your `aio-opc-supervisor` pod by using the following command:
107+
1. To enable the configuration change to take effect immediately, first find the name of your `aio-opc-supervisor` pod by using the following command:
103108

104109
```console
105110
kubectl get pods -n azure-iot-operations
@@ -177,7 +182,7 @@ Review your asset and tag details and make any adjustments you need before you s
177182

178183
To verify that the thermostat asset you added is publishing data, view the telemetry in the `azure-iot-operations/data` topic:
179184

180-
:::image type="content" source="media/quickstart-add-assets/mqttui-output.png" alt-text="Screenshot of the mqttui topic display showing the temperature telemetry.":::
185+
:::image type="content" source="media/quickstart-add-assets/mqttui-output.png" alt-text="Screenshot of the mqttui topic display showing the temperature telemetry." lightbox="media/quickstart-add-assets/mqttui-output.png":::
181186

182187
If there's no data flowing, restart the `aio-opc-opc.tcp-1` pod:
183188

@@ -199,7 +204,7 @@ The sample tags you added in the previous quickstart generate messages from your
199204

200205
```json
201206
{
202-
"Timestamp": "2023-08-10T00:54:58.6572007Z",
207+
"Timestamp": "2024-03-08T00:54:58.6572007Z",
203208
"MessageType": "ua-deltaframe",
204209
"payload": {
205210
"temperature": {
@@ -211,7 +216,7 @@ The sample tags you added in the previous quickstart generate messages from your
211216
"Value": 7109
212217
}
213218
},
214-
"DataSetWriterName": "oven",
219+
"DataSetWriterName": "thermostat",
215220
"SequenceNumber": 4660
216221
}
217222
```

articles/iot-operations/get-started/quickstart-process-telemetry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ In the following steps, leave all values at their default unless otherwise speci
7171
| Name | `input data` |
7272
| Broker | `tls://aio-mq-dmqtt-frontend:8883` |
7373
| Authentication| `Service account token (SAT)` |
74-
| Topic | `azure-iot-operations/data/#` |
74+
| Topic | `azure-iot-operations/data/opc-ua-connector-0/#` |
7575
| Data format | `JSON` |
7676

7777
1. Select **Transform** from **Pipeline Stages** as the second stage in this pipeline. Enter the following values and then select **Apply**:
@@ -189,7 +189,7 @@ Create a Data Processor pipeline to process and enrich your data before it sends
189189
| Display name | `OPC UA data` |
190190
| Broker | `tls://aio-mq-dmqtt-frontend:8883` |
191191
| Authentication| `Service account token (SAT)` |
192-
| Topic | `azure-iot-operations/data/thermostat` |
192+
| Topic | `azure-iot-operations/data/opc-ua-connector-0/thermostat` |
193193
| Data Format | `JSON` |
194194

195195
1. To track the last known value (LKV) of the temperature, select **Stages**, and select **Last known values**. Use the information the following tables to configure the stage to track the LKVs of temperature for the messages that only have boiler status messages, then select **Apply**:

articles/iot-operations/process-data/howto-configure-datasource-mq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The following shows an example configuration for the stage:
7575
| Name | `input data` |
7676
| Broker | `tls://aio-mq-dmqtt-frontend:8883` |
7777
| Authentication | `Service Account Token (SAT)` |
78-
| Topic | `azure-iot-operations/data/#` |
78+
| Topic | `azure-iot-operations/data/opc-ua-connector-0/#` |
7979
| Data format | `JSON` |
8080

8181
This example shows the topic used in the [Quickstart: Use Data Processor pipelines to process data from your OPC UA assets](../get-started/quickstart-process-telemetry.md). This configuration then generates messages that look like the following example:

0 commit comments

Comments
 (0)