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
# Manage Azure SQL Databases Across Different Data Centers (Java)
12
+
# Getting Started with Sql - Manage Sql Databases Across Different Data Centers - in Java #
13
13
14
-
Azure SQL sample for managing SQL Database.
15
14
16
-
- Create 3 SQL Servers in different region.
17
-
- Create a master database in master SQL Server.
18
-
- Create 2 more SQL Servers in different azure regions
19
-
- Create secondary read only databases in these server with source as database in server created in step 1.
20
-
- Create 5 virtual networks in different regions.
21
-
- Create one VM in each of the virtual network.
22
-
- Update all three databases to have firewall rules with range of each of the virtual network.
15
+
Azure SQL sample for managing SQL Database -
16
+
- Create 3 SQL Servers in different region.
17
+
- Create a master database in master SQL Server.
18
+
- Create 2 more SQL Servers in different azure regions
19
+
- Create secondary read only databases in these server with source as database in server created in step 1.
20
+
- Create 5 virtual networks in different regions.
21
+
- Create one VM in each of the virtual network.
22
+
- Update all three databases to have firewall rules with range of each of the virtual network.
23
23
24
24
25
-
## Running this sample
25
+
## Running this Sample ##
26
26
27
27
To run this sample:
28
28
29
29
Set the environment variable `AZURE_AUTH_LOCATION` with the full path for an auth file. See [how to create an auth file](https://github.com/Azure/azure-libraries-for-java/blob/master/AUTH.md).
cd sql-database-java-manage-sql-databases-across-regions
34
+
35
+
mvn clean compile exec:java
36
+
37
+
## More information ##
38
38
39
39
[http://azure.com/java](http://azure.com/java)
40
40
41
-
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212).
41
+
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)
42
+
43
+
---
42
44
43
-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
45
+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
Copy file name to clipboardExpand all lines: src/main/java/com/microsoft/azure/management/sql/samples/ManageSqlDatabasesAcrossDifferentDataCenters.java
0 commit comments