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: samples/features/sql-big-data-cluster/deployment/aks/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ Using this sample Python script, you will deploy a Kubernetes cluster in Azure u
16
16
python -m pip install requests
17
17
python -m pip install requests --upgrade
18
18
```
19
-
- Install mssqlctl CLI latest version using . Run the command below using elevated priviledges (sudo or admin cmd window):
19
+
- Install latest version of the cluster management tool **azdata** (previously named mssqlctl) using below command. Run the command below using elevated priviledges (sudo or admin cmd window):
# Run `az login` at least once BEFORE running this script
7
7
#
@@ -38,21 +38,24 @@ def executeCmd (cmd):
38
38
CLUSTER_NAME=input("Provide name of AKS cluster and SQL big data cluster - Press ENTER for using `sqlbigdata`:").strip() or"sqlbigdata"
39
39
40
40
#This password will be use for Controller user, Knox user and SQL Server Master SA accounts
41
+
#
41
42
CONTROLLER_USERNAME=input("Provide username to be used for Controller user - Press ENTER for using `admin`:").strip() or"admin"
42
43
PASSWORD=getpass.getpass("Provide password to be used for Controller user, Knox user and SQL Server Master SA accounts - Press ENTER for using `MySQLBigData2019`").strip() or"MySQLBigData2019"
43
44
44
-
#docker registry details
45
-
DOCKER_REGISTRY="private-repo.microsoft.com"
46
-
DOCKER_REPOSITORY="mssql-private-preview"
47
-
DOCKER_IMAGE_TAG="ctp3.1"
45
+
# Docker registry details
46
+
# Use this only if you are using a private registry different than mcr. If so, make sure you are also setting the environment variables for DOCKER_USERNAME and DOCKER_PASSWORD
# Use this only if you are using a private registry different than mcr. If so, you must set the environment variables for DOCKER_USERNAME and DOCKER_PASSWORD
57
+
# os.environ['DOCKER_USERNAME']=DOCKER_USERNAME
58
+
# os.environ['DOCKER_PASSWORD']=DOCKER_PASSWORD
56
59
os.environ['ACCEPT_EULA']="Yes"
57
60
58
61
print ("Set azure context to subcription: "+SUBSCRIPTION_ID)
@@ -71,29 +74,30 @@ def executeCmd (cmd):
71
74
executeCmd (command)
72
75
73
76
print("Creating SQL Big Data cluster:"+CLUSTER_NAME)
Script that validates and prepares virtual network and subnet for Managed Instance creation to comply with [networking requirements](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance-vnet-configuration#requirements).
4
+
5
+
### Contents
6
+
7
+
[About this sample](#about-this-sample)<br/>
8
+
[Before you begin](#before-you-begin)<br/>
9
+
[Run this sample](#run-this-sample)<br/>
10
+
[Sample details](#sample-details)<br/>
11
+
[Disclaimers](#disclaimers)<br/>
12
+
[Related links](#related-links)<br/>
13
+
14
+
15
+
<aname=about-this-sample></a>
16
+
17
+
## About this sample
18
+
19
+
-**Applies to:** Azure SQL Database
20
+
-**Key features:** Managed Instance
21
+
-**Workload:** n/a
22
+
-**Programming Language:** PowerShell
23
+
-**Authors:** Srdan Bozovic
24
+
-**Update history:** n/a
25
+
26
+
<aname=before-you-begin></a>
27
+
28
+
## Before you begin
29
+
30
+
To run this sample, you need the following prerequisites.
31
+
32
+
**Software prerequisites:**
33
+
34
+
1. PowerShell 5.1 or PowerShell Core 6.0
35
+
2. Azure PowerShell Az module
36
+
37
+
**Azure prerequisites:**
38
+
39
+
1. Permission to manage Azure virtual network
40
+
41
+
<aname=run-this-sample></a>
42
+
43
+
## Run this sample
44
+
45
+
Run the script below from either Windows or Azure Cloud Shell
This sample shows how to prepare Azure virtual network and subnet for Managed Instance deployment using PowerShell
67
+
68
+
This is done in three simple steps:
69
+
- Validate - Selected virtual netwok and subnet are validated for Managed Instance networking requirements
70
+
- Confirm - User is shown a set of changes that need to be made to prepare subnet for Managed Instance deployment and asked for consent
71
+
- Prepare - Virtual network and subnet are configured properly
72
+
73
+
<aname=disclaimers></a>
74
+
75
+
## Disclaimers
76
+
The scripts and this guide are copyright Microsoft Corporations and are provided as samples. They are not part of any Azure service and are not covered by any SLA or other Azure-related agreements. They are provided as-is with no warranties express or implied. Microsoft takes no responsibility for the use of the scripts or the accuracy of this document. Familiarize yourself with the scripts before using them.
77
+
78
+
<aname=related-links></a>
79
+
80
+
## Related Links
81
+
<!-- Links to more articles. Remember to delete "en-us" from the link path. -->
82
+
83
+
For more information, see these articles:
84
+
85
+
-[What is a Managed Instance?](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance)
86
+
-[Configure a VNet for Azure SQL Database Managed Instance](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance-vnet-configuration)
0 commit comments