You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-explorer/ingest-data-event-hub.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ In this article, you generate sample data and send it to an event hub. The first
35
35
36
36
1. To create an event hub, use the following button to start the deployment. Right-click and select **Open in new window**, so you can follow the rest of the steps in this article.
37
37
38
-
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstarts-templates%2Fmaster%2F201-event-hubs-create-event-hub-and-consumer-group%2Fazuredeploy.json)
38
+
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F201-event-hubs-create-event-hub-and-consumer-group%2Fazuredeploy.json)
39
39
40
40
The **Deploy to Azure** button takes you to the Azure portal to fill out a deployment form.
Copy file name to clipboardExpand all lines: articles/iot-hub/quickstart-send-telemetry-python.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,13 @@ The simulated device application connects to a device-specific endpoint on your
108
108
The following screenshot shows the output as the simulated device application sends telemetry to your IoT hub:
109
109
110
110

111
+
112
+
### To avoid the import iothub_client error
113
+
The current version of the Azure IoT SDK for Python is a wrapper over [our C SDK](https://github.com/azure/azure-iot-sdk-c). It is generated using the [Boost](https://www.boost.org/) library. Because of that, it comes with several significant limitations. See more details [here](https://github.com/Azure/azure-iot-sdk-python#important-installation-notes---dealing-with-importerror-issues)
114
+
115
+
1. Check that you have the right version of [Python](https://github.com/Azure/azure-iot-sdk-python#important-installation-notes---dealing-with-importerror-issues). Be aware that only certain versions works fine for this sample.
116
+
2. Check that you have the right version of C++ runtime [Microsoft Visual C++ Redistributable for Visual Studio 2019](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads). (We recommend the latest).
117
+
3. Verify that you have installed the iothub client: `pip install azure-iothub-device-client`.
111
118
112
119
## Read the telemetry from your hub
113
120
@@ -134,4 +141,4 @@ In this quickstart, you've setup an IoT hub, registered a device, sent simulated
134
141
To learn how to control your simulated device from a back-end application, continue to the next quickstart.
135
142
136
143
> [!div class="nextstepaction"]
137
-
> [Quickstart: Control a device connected to an IoT hub](quickstart-control-device-python.md)
144
+
> [Quickstart: Control a device connected to an IoT hub](quickstart-control-device-python.md)
Copy file name to clipboardExpand all lines: articles/mariadb/howto-data-in-replication.md
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.date: 09/24/2018
10
10
11
11
# How to configure Azure Database for MariaDB Data-in Replication
12
12
13
-
In this article, you will learn how to set up Data-in Replication in the Azure Database for MariaDB service by configuring the master and replica servers. Data-in Replication allows you to synchronize data from a master MariaDB server running on-premises, in virtual machines, or database services hosted by other cloud providers into a replica in the Azure Database for MariaDB service.
13
+
In this article, you will learn how to set up Data-in Replication in the Azure Database for MariaDB service by configuring the master and replica servers. Data-in Replication allows you to synchronize data from a master MariaDB server running on-premises, in virtual machines, or database services hosted by other cloud providers into a replica in the Azure Database for MariaDB service. We recommanded you setup the data-in replication with [Global Transaction ID](https://mariadb.com/kb/en/library/gtid/) when your master server's version is 10.2 or above.
14
14
15
15
This article assumes that you have at least some prior experience with MariaDB servers and databases.
16
16
@@ -111,7 +111,16 @@ The following steps prepare and configure the MariaDB server hosted on-premises,
111
111
The results should be like following. Make sure to note the binary file name as it will be used in later steps.
112
112
113
113

114
+
115
+
6. Get GTID position (Optional, needed for replication with GTID)
116
+
117
+
Run the function [`BINLOG_GTID_POS`](https://mariadb.com/kb/en/library/binlog_gtid_pos/) command to get the GTID position for the correspond binlog file name and offset.
@@ -137,17 +146,24 @@ The following steps prepare and configure the MariaDB server hosted on-premises,
137
146
138
147
All Data-in Replication functions are done by stored procedures. You can find all procedures at [Data-in Replication Stored Procedures](reference-data-in-stored-procedures.md). The stored procedures can be run in the MySQL shell or MySQL Workbench.
139
148
140
-
To link two servers and start replication, login to the target replica server in the Azure DB for MariaDB service and set the external instance as the master server. This is done by using the `mysql.az_replication_change_master` stored procedure on the Azure DB for MariaDB server.
149
+
To link two servers and start replication, login to the target replica server in the Azure DB for MariaDB service andset the external instance as the master server. This is done by using the `mysql.az_replication_change_master`or`mysql.az_replication_change_master_with_gtid`stored procedure on the Azure DB for MariaDB server.
- master_log_file: binary log file name from running `show master status`
150
165
- master_log_pos: binary log position from running `show master status`
166
+
- master_gtid_pos: GTID position from running `select BINLOG_GTID_POS('<binlog file name>', <binlog offset>);`
151
167
- master_ssl_ca: CA certificate’s context. If not using SSL, pass in empty string.
152
168
- It is recommended to pass this parameter inas a variable. See the following examples for more information.
153
169
@@ -194,6 +210,10 @@ The following steps prepare and configure the MariaDB server hosted on-premises,
194
210
195
211
If the state of `Slave_IO_Running`and`Slave_SQL_Running` are "yes"and the value of `Seconds_Behind_Master` is “0”, replication is working well. `Seconds_Behind_Master` indicates how late the replica is. If the value is not "0", it means that the replica is processing updates.
196
212
213
+
4. Update correspond server variables to make data-in replication more safe (Only needed for replication without GTID)
214
+
215
+
Because of MariaDB native replication limitation, you need to setup [`sync_master_info`](https://mariadb.com/kb/en/library/replication-and-binary-log-system-variables/#sync_master_info) and [`sync_relay_log_info`](https://mariadb.com/kb/en/library/replication-and-binary-log-system-variables/#sync_relay_log_info) variables on replication without GTID scenario. We recommand you check your slave server's `sync_master_info` and `sync_relay_log_info` variables and change them ot `1` if you want to make sure the data-in replication is stable.
Copy file name to clipboardExpand all lines: includes/storage-sync-files-agent-update-policy.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ There are four approved and tested ways to install the Azure File Sync agent upd
25
25
#### Automatic agent lifecycle management
26
26
With agent version 6, the file sync team has introduced an agent auto-upgrade feature. You can select either of two modes and specify a maintenance window in which the upgrade shall be attempted on the server. This feature is designed to help you with the agent lifecycle management by either providing a guardrail preventing your agent from expiration or allowing for a no-hassle, stay current setting.
27
27
1. The **default setting** will attempt to prevent the agent from expiration. Within 21 days of the posted expiration date of an agent, the agent will attempt to self-upgrade. It will start an attempt to upgrade once a week within 21 days prior to expiration and in the selected maintenance window. **This option does not eliminate the need for taking regular Microsoft Update patches.**
28
-
2. Optionally, you can select that the agent will automatically upgrade itself as soon as a new agent version becomes available. This will also occur during the selected maintenance window and allow your server to benefit from new features and improvements as soon as they become generally available. This is the recommended, worry-free setting that will provide major agent versions as well as regular update patches to your server.
28
+
2. Optionally, you can select that the agent will automatically upgrade itself as soon as a new agent version becomes available (currently not applicable to clustered servers). This update will occur during the selected maintenance window and allow your server to benefit from new features and improvements as soon as they become generally available. This is the recommended, worry-free setting that will provide major agent versions as well as regular update patches to your server. Every agent released is at GA quality. If you select this option, Microsoft will flight the newest agent version to you. Clustered servers are excluded. Once flighting is complete, the agent will also become available on [Microsoft Download Center](https://go.microsoft.com/fwlink/?linkid=858257) aka.ms/AFS/agent.
29
29
30
30
#### Agent lifecycle and change management guarantees
31
31
Azure File Sync is a cloud service, which continuously introduces new features and improvements. This means that a specific Azure File Sync agent version can only be supported for a limited time. To facilitate your deployment, the following rules guarantee you have enough time and notification to accommodate agent updates/upgrades in your change management process:
0 commit comments