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
# Getting Started with Sql - Manage Sql Databases Across Different Data Centers - in Java #
12
+
# Manage Azure SQL Databases Across Different Data Centers (Java)
12
13
14
+
Azure SQL sample for managing SQL Database.
13
15
14
-
Azure SQL sample for managing SQL Database -
15
-
- Create 3 SQL Servers in different region.
16
-
- Create a master database in master SQL Server.
17
-
- Create 2 more SQL Servers in different azure regions
18
-
- Create secondary read only databases in these server with source as database in server created in step 1.
19
-
- Create 5 virtual networks in different regions.
20
-
- Create one VM in each of the virtual network.
21
-
- Update all three databases to have firewall rules with range of each of the virtual network.
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.
22
23
23
24
24
-
## Running this Sample ##
25
+
## Running this sample
25
26
26
27
To run this sample:
27
28
28
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
+
mvn clean compile exec:java
35
+
```
31
36
32
-
cd sql-database-java-manage-sql-databases-across-regions
33
-
34
-
mvn clean compile exec:java
35
-
36
-
## More information ##
37
+
## More information
37
38
38
39
[http://azure.com/java](http://azure.com/java)
39
40
40
-
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
-
42
-
---
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).
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.
0 commit comments