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
- On the Connections tab, Click on the three dots on the top left and choose "New Deployment"
26
-
- From the deployment options, select **Azure SQL Managed Instance - Azure Arc**
22
+
1. Launch Azure Data Studio
23
+
2. On the Connections tab, select on the three dots on the top left and choose **New Deployment...**.
24
+
3. From the deployment options, select **Azure SQL managed instance**.
27
25
> [!NOTE]
28
26
> You may be prompted to install the appropriate CLI here if it is not currently installed.
29
-
- Accept the Privacy and license terms and click **Select** at the bottom
30
-
31
-
- In the Deploy Azure SQL Managed Instance - Azure Arc blade, enter the following information:
32
-
- Enter a name for the SQL Server instance
33
-
- Enter and confirm a password for the SQL Server instance
34
-
- Select the storage class as appropriate for data
35
-
- Select the storage class as appropriate for logs
36
-
- Select the storage class as appropriate for backups
37
-
38
-
> [!NOTE]
39
-
>Note: Starting with the February release, a ReadWriteMany (RWX) capable storage class needs to be specified for backups. Learn more about [access modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes)
40
-
If no storage class is specified for backups, the default storage class in kubernetes is used and if this is not RWX capable, the Arc SQL Managed Instance installation may not succeed.
41
-
42
-
- Click the **Deploy** button
43
-
44
-
- This should initiate the creation of the Azure SQL Managed Instance - Azure Arc on the data controller.
45
-
46
-
- In a few minutes, your creation should successfully complete
47
-
48
-
## Connect to Azure SQL Managed Instance - Azure Arc from Azure Data Studio
49
-
50
-
- View all the Azure SQL Managed Instances provisioned, using the following commands:
51
-
52
-
```azurecli
53
-
az sql mi-arc list --k8s-namespace <namespace> --use-k8s
54
-
```
55
-
56
-
Output should look like this, copy the ServerEndpoint (including the port number) from here.
57
-
58
-
```console
59
-
60
-
Name Replicas ServerEndpoint State
61
-
------------ ---------- ----------------- -------
62
-
sqlinstance1 1/1 25.51.65.109:1433 Ready
63
-
```
64
-
65
-
- In Azure Data Studio, under **Connections** tab, click on the **New Connection** on the **Servers** view
66
-
- In the **Connection** blade, paste the ServerEndpoint into the Server textbox
67
-
- Select **SQL Login** as the Authentication type
68
-
- Enter *sa* as the user name
69
-
- Enter the password for the `sa` account
70
-
- Optionally, enter the specific database name to connect to
71
-
- Optionally, select/Add New Server Group as appropriate
72
-
- Select **Connect** to connect to the Azure SQL Managed Instance - Azure Arc
27
+
28
+
4. Select **Select**.
29
+
30
+
Azure Data Studio opens **Azure SQL managed instance**.
|**Username**| System administrator user name. | Required |
44
+
|**System administrator password**| SQL authentication password for the managed instance. The passwords must be at least eight characters long and contain characters from three of the following four categories: Latin uppercase letters, Latin lowercase letters, numbers, and non-alphanumeric characters.<br/></br> Confirm the password. | Required |
45
+
|**Service tier**| Specify the appropriate service tier: Business Critical or General Purpose. | Required |
46
+
|**I already have a SQL Server License**| Select if this managed instance will use a license from your organization. | Optional |
47
+
|**Storage Class (Data)**| Select from the list. | Required |
48
+
|**Volume Size in Gi (Data)**| The amount of space in gibibytes to allocate for data. | Required |
49
+
|**Storage Class (Database logs)**| Select from the list. | Required |
50
+
|**Volume Size in Gi (Database logs)**| The amount of space in gibibytes to allocate for database transaction logs. | Required |
51
+
|**Storage Class (Logs)**| Select from the list. | Required |
52
+
|**Volume Size in Gi (Logs)**| The amount of space in gibibytes to allocate for logs. | Required |
53
+
|**Storage Class (Backups)**| Select from the list. Specify a ReadWriteMany (RWX) capable storage class for backups. Learn more about [access modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes). If this storage class isn't RWX capable, the deployment may not succeed. | Required |
54
+
|**Volume Size in Gi (Backups)**| The size of the storage volume to be used for database backups in gibibytes. | Required |
55
+
|**Cores Request**| The number of cores to request for the managed instance. Integer. | Optional |
56
+
|**Cores Limit**| The request for the capacity for the managed instance in gigabytes. Integer. | Optional |
57
+
|**Memory Request**| Select from the list. | Required |
58
+
|**Point in time retention (days)**| The number of days to keep your point in time backups. | Optional |
59
+
60
+
After you've set all of the required values, Azure Data Studio enables the **Deploy** button. If this control is disabled, verify that you have all required settings configured.
61
+
62
+
1. Select the **Deploy** button to create the managed instance.
63
+
64
+
After you select the deploy button, the Azure Arc data controller initiates the deployment. The deployment creates the managed instance. The deployment process takes a few minutes to create the data controller.
65
+
66
+
## Connect to Azure Arc-enabled SQL Managed Instance from Azure Data Studio
67
+
68
+
View all the Azure SQL Managed Instances provisioned to this data controller. Use the following command:
69
+
70
+
```azurecli
71
+
az sql mi-arc list --k8s-namespace <namespace> --use-k8s
72
+
```
73
+
74
+
Output should look like this, copy the ServerEndpoint (including the port number) from here.
75
+
76
+
```console
77
+
Name Replicas ServerEndpoint State
78
+
------------ ---------- ----------------- -------
79
+
sqlinstance1 1/1 25.51.65.109:1433 Ready
80
+
```
81
+
82
+
1. In Azure Data Studio, under **Connections** tab, select the **New Connection** on the **Servers** view
83
+
1. Under **Connection**>**Server**, paste the ServerEndpoint
84
+
1. Select **SQL Login** as the Authentication type
85
+
1. Enter *sa* as the user name
86
+
1. Enter the password for the `sa` account
87
+
1. Optionally, enter the specific database name to connect to
88
+
1. Optionally, select/Add New Server Group as appropriate
89
+
1. Select **Connect** to connect to the Azure SQL Managed Instance - Azure Arc
Copy file name to clipboardExpand all lines: articles/azure-arc/data/storage-configuration.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ Some services in Azure Arc for data services depend upon being configured to use
147
147
148
148
At the time the data controller is provisioned, the storage class to be used for each of these persistent volumes is specified by either passing the --storage-class | -sc parameter to the `az arcdata dc create` command or by setting the storage classes in the control.json deployment template file that is used. If you are using the Azure portal to create the data controller in the directly connected mode, the deployment template that you choose will either have the storage class predefined in the template or if you select a template which does not have a predefined storage class then you will be prompted for one. If you use a custom deployment template, then you can specify the storage class.
149
149
150
-
The deployment templates that are provided out of the box have a default storage class specified that is appropriate for the target environment, but it can be overridden during deployment. See the detailed steps to [create custom configuration temmplates](create-custom-configuration-template.md) to change the storage class configuration for the data controller pods at deployment time.
150
+
The deployment templates that are provided out of the box have a default storage class specified that is appropriate for the target environment, but it can be overridden during deployment. See the detailed steps to [create custom configuration templates](create-custom-configuration-template.md) to change the storage class configuration for the data controller pods at deployment time.
151
151
152
152
If you set the storage class using the --storage-class | -sc parameter the storage class will be used for both log and data storage classes. If you set the storage classes in the deployment template file, you can specify different storage classes for logs and data.
153
153
@@ -172,7 +172,10 @@ When creating an instance using either `az sql mi-arc create` or `az postgres ar
172
172
|`--storage-class-data`, `-d`|Used to specify the storage class for all data files including transaction log files|
173
173
|`--storage-class-logs`, `-g`|Used to specify the storage class for all log files|
174
174
|`--storage-class-data-logs`|Used to specify the storage class for the database transaction log files.|
175
-
|`--storage-class-backups`|Used to specify the storage class for all backup files.|
175
+
|`--storage-class-backups`|Used to specify the storage class for all backup files. Use a ReadWriteMany (RWX) capable storage class for backups. Learn more about [access modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes). |
176
+
177
+
> [!WARNING]
178
+
> If you don't specify a storage class for backups, the deployment uses the default storage class in Kubernetes. If this storage class isn't RWX capable, the deployment may not succeed.
176
179
177
180
The table below lists the paths inside the Azure SQL Managed Instance container that is mapped to the persistent volume for data and logs:
0 commit comments