Skip to content

Commit 6c1aa28

Browse files
authored
Merge pull request #312070 from dominicbetts/release-aio-2603-opcua-optional
AIO 2603: OPC UA connector is now optional
2 parents 38a80bb + 694f46a commit 6c1aa28

10 files changed

Lines changed: 30 additions & 9 deletions

File tree

articles/iot-operations/deploy-iot-ops/concept-production-guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ When you create a new resource, manage its authorization:
127127

128128
* [Create a BrokerAuthorization resource](../manage-mqtt-broker/howto-configure-authorization.md) and provide the least privilege needed for the topic asset.
129129

130-
### OPC UA broker
130+
### Connector for OPC UA
131131

132132
For connecting to assets at production, [configure OPC UA authentication](../discover-manage-assets/overview-opc-ua-connector-certificates-management.md):
133133

articles/iot-operations/deploy-iot-ops/howto-deploy-iot-operations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ The Azure portal deployment experience is a helper tool that generates a deploym
6969
| **Cluster name** | Select the cluster that you want to deploy Azure IoT Operations to. |
7070
| **Custom location name** | *Optional*: Replace the default name for the custom location. |
7171
| **Deployment version**| Select **1.2 (latest)** version. For more information, see [IoT Operations versions](https://aka.ms/aio-versions).|
72+
| **Deployment optional components > OPC UA connector** | Choose to deploy the optional connector for OPC UA component. |
7273

7374
1. Select **Next: Configuration**.
7475

articles/iot-operations/deploy-iot-ops/howto-deploy-iot-test-operations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ The Azure portal deployment experience is a helper tool that generates a deploym
6767
| **Cluster name** | Select the cluster that you want to deploy Azure IoT Operations to. |
6868
| **Custom location name** | *Optional*: Replace the default name for the custom location. |
6969
| **Deployment version**| Select **1.2 (latest)** version. For more information, see [IoT Operations versions](https://aka.ms/aio-versions).|
70+
| **Deployment optional components > OPC UA connector** | Choose to deploy the optional connector for OPC UA component. |
7071

7172
1. Select **Next: Configuration**.
7273

articles/iot-operations/deploy-iot-ops/howto-manage-update-uninstall.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ You can view your Azure IoT Operations instance in the Azure portal.
6767

6868
1. Select the name of your Azure IoT Operations instance.
6969

70-
1. On the **Overview** page of your instance, you can see the properties of your instance. For example, you can see the status of the **connectors**, which can be enabled or disabled. To change the status of the connectors, click on **Edit**.
70+
1. On the **Overview** page of your instance, you can see the properties of your instance. For example, you can see the status of the **connectors**, which can be enabled or disabled. To change the status of the connectors, select **Edit**.
7171

7272
:::image type="content" source="./media/howto-manage-update-uninstall/view-enable-connectors.png" alt-text="Screenshot that shows the Azure IoT Operations instance on your Arc-enabled cluster and how to enable connectors." lightbox="./media/howto-manage-update-uninstall/view-enable-connectors.png":::
7373

@@ -181,6 +181,22 @@ To learn more about connector templates, see [Deploy the connector for ONVIF](..
181181

182182
Each Azure IoT Operations instance includes several components, like the MQTT broker, connector for OPC UA, and data flows. To learn more about managing these components, see their respective articles. For example, to manage the MQTT broker, start with [Broker overview](../manage-mqtt-broker/overview-broker.md).
183183

184+
To add or remove the connector for OPC UA from your instance, go to your instance in the Azure portal and select **Edit** next to **Optional components** on the **Overview** page. The **Optional components** configuration panel lets you add or remove the connector for OPC UA from your instance:
185+
186+
:::image type="content" source="media/howto-manage-update-uninstall/optional-components.png" alt-text="Screenshot that shows how to add or remove the optional connector for OPC UA." lightbox="media/howto-manage-update-uninstall/optional-components.png":::
187+
188+
You can also use the Azure CLI to enable or disable the connector for OPC UA. To enable the connector for OPC UA, run:
189+
190+
```azurecli
191+
az iot ops update --name myinstance -g myresourcegroup --feature opcua.mode=Stable
192+
```
193+
194+
To disable the connector for OPC UA, run:
195+
196+
```azurecli
197+
az iot ops update --name myinstance -g myresourcegroup --feature opcua.mode=Disabled
198+
```
199+
184200
### Manage components using Kubernetes deployment manifests (preview)
185201

186202
In general, Azure IoT Operations uses the Azure Arc platform to provide a hybrid cloud experience where you can manage the configuration through Azure Resource Manager (ARM) and front-end tools like the Azure portal, Bicep, and the Azure CLI.
71.7 KB
Loading

articles/iot-operations/discover-manage-assets/howto-configure-opc-ua-certificates-infrastructure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The connector for OPC UA must trust the OPC UA servers it connects to. The conne
2525

2626
## Prerequisites
2727

28-
An Azure IoT Operations instance deployed with secure settings. If you deployed Azure IoT Operations with test settings, you need to first [enable secure settings](../deploy-iot-ops/howto-enable-secure-settings.md).
28+
An Azure IoT Operations instance deployed with secure settings and the connector for OPC UA enabled. If you deployed Azure IoT Operations with test settings, you need to first [enable secure settings](../deploy-iot-ops/howto-enable-secure-settings.md).
2929

3030
## Configure a self-signed application instance certificate for the connector for OPC UA
3131

articles/iot-operations/discover-manage-assets/howto-configure-opc-ua.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The connector can use `anonymous` or `username password` user authentication whe
3232
3333
## Prerequisites
3434

35-
To configure devices and assets, you need an instance of Azure IoT Operations.
35+
To configure devices and assets, you need an instance of Azure IoT Operations with the connector for OPC UA enabled.
3636

3737
[!INCLUDE [iot-operations-entra-id-setup](../includes/iot-operations-entra-id-setup.md)]
3838

@@ -317,7 +317,7 @@ When you create an asset by using the Azure CLI, you can define:
317317
- Software version
318318
- Serial number
319319
- Documentation URI
320-
- Dataset values for sampling interval, publishing interval, key frame count,and queue size.
320+
- Dataset values for sampling interval, publishing interval, key frame count, and queue size.
321321
- Datapoint specific values for sampling interval, publishing interval, and queue size.
322322
- Event specific values for sampling publishing interval, and queue size.
323323
- The observability mode for each data point and event

articles/iot-operations/discover-manage-assets/overview-opc-ua-connector.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ By using the *OPC UA write capability*, industrial developers and operations eng
1919

2020
The write capability is useful in scenarios where latency, autonomy, or local decision making is critical such as in manufacturing lines, predictive maintenance, or in AI-driven control loops.
2121

22-
The connector for OPC UA is a part of Azure IoT Operations. The connector for OPC UA connects to OPC UA servers to retrieve data that it publishes to topics in the MQTT broker and write data based in values from an MQTT broker topic subscription. The connector for OPC UA enables your industrial OPC UA environment to ingress data into your local workloads running on a Kubernetes cluster, and into your cloud workloads.
22+
The connector for OPC UA is an optional part of Azure IoT Operations. The connector for OPC UA connects to OPC UA servers to retrieve data that it publishes to topics in the MQTT broker and write data based in values from an MQTT broker topic subscription. The connector for OPC UA enables your industrial OPC UA environment to ingress data into your local workloads running on a Kubernetes cluster, and into your cloud workloads.
23+
24+
> [!TIP]
25+
> If you didn't include the connector for OPC UA when you deployed Azure IoT Operations, you can add it to your existing instance from the Azure portal. For instructions, see [Manage components using the Azure portal](../deploy-iot-ops/howto-manage-update-uninstall.md#manage-instance-components).
2326
2427
The connector for OPC UA is a client application that runs as a middleware service in Azure IoT Operations. The connector for OPC UA connects to OPC UA servers, lets you browse the server address space, monitor data changes and events in connected assets, and write data to nodes in the server address space. Operations teams and developers use the connector for OPC UA to streamline the task of connecting OPC UA assets to their industrial solution at the edge.
2528

articles/iot-operations/end-to-end-tutorials/tutorial-add-assets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In this tutorial, you use the operations experience web UI to create your assets
2626

2727
An instance of Azure IoT Operations with secure settings enabled deployed in a Kubernetes cluster. To create an instance, use one of the following to deploy Azure IoT Operations:
2828

29-
- [Quickstart: Run Azure IoT Operations in GitHub Codespaces with K3s](../get-started-end-to-end-sample/quickstart-deploy.md) provides simple instructions to deploy an Azure IoT Operations instance that you can use for the tutorials. Then, to enable secure settings follow the steps in [Enable secure settings in Azure IoT Operations](../deploy-iot-ops/howto-enable-secure-settings.md).
29+
- [Quickstart: Run Azure IoT Operations in GitHub Codespaces with K3s](../get-started-end-to-end-sample/quickstart-deploy.md) provides simple instructions to deploy an Azure IoT Operations instance that you can use for the tutorials. These instructions include deploying the connector for OPC UA that's a prerequisite for this tutorial. Then, to enable secure settings follow the steps in [Enable secure settings in Azure IoT Operations](../deploy-iot-ops/howto-enable-secure-settings.md).
3030
- [Deployment overview](../deploy-iot-ops/overview-deploy.md) provides detailed instructions to deploy an Azure IoT Operations instance on Windows using Azure Kubernetes Service Edge Essentials or Ubuntu using K3s. Follow the steps in the deployment article for a secure settings deployment and to install the latest version.
3131

3232
> [!IMPORTANT]

articles/iot-operations/get-started-end-to-end-sample/quickstart-deploy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,10 @@ Run the following CLI commands in your Codespaces terminal.
218218

219219
This command might take several minutes to complete. You can watch the progress in the deployment progress display in the terminal.
220220

221-
1. Deploy Azure IoT Operations.
221+
1. Deploy Azure IoT Operations. This command includes the optional connector for OPC UA that you use in the following quickstarts.
222222

223223
```azurecli
224-
az iot ops create --cluster $CLUSTER_NAME --resource-group $RESOURCE_GROUP --name ${CLUSTER_NAME}-instance --sr-resource-id $(az iot ops schema registry show --name $SCHEMA_REGISTRY --resource-group $RESOURCE_GROUP -o tsv --query id) --ns-resource-id $(az iot ops ns show --name myqsnamespace --resource-group $RESOURCE_GROUP -o tsv --query id) --broker-frontend-replicas 1 --broker-frontend-workers 1 --broker-backend-part 1 --broker-backend-workers 1 --broker-backend-rf 2 --broker-mem-profile Low
224+
az iot ops create --cluster $CLUSTER_NAME --resource-group $RESOURCE_GROUP --name ${CLUSTER_NAME}-instance --sr-resource-id $(az iot ops schema registry show --name $SCHEMA_REGISTRY --resource-group $RESOURCE_GROUP -o tsv --query id) --ns-resource-id $(az iot ops ns show --name myqsnamespace --resource-group $RESOURCE_GROUP -o tsv --query id) --broker-frontend-replicas 1 --broker-frontend-workers 1 --broker-backend-part 1 --broker-backend-workers 1 --broker-backend-rf 2 --broker-mem-profile Low --feature opcua.mode=Stable
225225
```
226226

227227
This command might take several minutes to complete. You can watch the progress in the deployment progress display in the terminal.

0 commit comments

Comments
 (0)