Skip to content

Commit 0ec5090

Browse files
committed
DMA tweaks
1 parent 23790cd commit 0ec5090

2 files changed

Lines changed: 44 additions & 11 deletions

File tree

‎docs/dma/dma-commandline.md‎

Lines changed: 42 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Run Data Migration Assistant from the command line (SQL Server) | Microsoft Docs"
33
description: Learn how to run Data Migration Assistant from the command line to assess SQL Server databases for migration
44
ms.custom: ""
5-
ms.date: "08/17/2018"
5+
ms.date: "08/18/2018"
66
ms.prod: sql
77
ms.prod_service: "dma"
88
ms.reviewer: ""
@@ -52,7 +52,7 @@ DmaCmd.exe /AssessmentName="string"
5252
|`/AssessmentResultCsv` | Full path to the CSV result file | Y <br>(Either AssessmentResultJson or AssessmentResultCsv is required)
5353

5454

55-
## Examples for assessments using the CLI
55+
## Examples of assessments using the CLI
5656

5757
**Dmacmd.exe**
5858

@@ -154,7 +154,7 @@ Catalog=DatabaseName3;Integrated Security=true"***
154154
|`/SkuRecommendationHtmlResultsFilePath` | Full path to the HTML result file | Y <br>(Either TSV or JSON or HTML file path is required)
155155
|`/SkuRecommendationPreventPriceRefresh` | Prevents the price refresh from occurring. Use if running in offline mode. | Y <br>(Either this argument is selected for static prices or all the arguments below need to be selected for getting latest prices)
156156
|`/SkuRecommendationCurrencyCode` | The currency in which to display prices (e.g. "USD") | Y <br>(If you want to get the latest prices)
157-
|`/SkuRecommendationOfferName` | The offer name (e.g. "MS-AZR-0003P"). See the [Microsoft Azure Offer Details](https://azure.microsoft.com/support/legal/offer-details/) page for more information. | Y <br>(If you want to get the latest prices)
157+
|`/SkuRecommendationOfferName` | The offer name (e.g. "MS-AZR-0003P"). For more information, see the [Microsoft Azure Offer Details](https://azure.microsoft.com/support/legal/offer-details/) page. | Y <br>(If you want to get the latest prices)
158158
|`/SkuRecommendationRegionName` | The region name (e.g. "WestUS") | Y <br>(If you want to get the latest prices)
159159
|`/SkuRecommendationSubscriptionId` | The subscription ID. | Y <br>(If you want to get the latest prices)
160160
|`/AzureAuthenticationTenantId` | The authentication tenant. | Y <br>(If you want to get the latest prices)
@@ -164,13 +164,13 @@ Catalog=DatabaseName3;Integrated Security=true"***
164164
|`/AzureAuthenticationCertificateThumbprint` | Set to the cert thumbprint. | Y <br>(If you want to get the latest prices) <br>(Pick one of the 3 authentication options - option 2)
165165
|`/AzureAuthenticationToken` | Set to the certificate token. | Y <br>(If you want to get the latest prices) <br>(Pick one of the 3 authentication options - option 3)
166166

167-
## Examples for SKU assessments using the CLI
167+
## Examples of SKU assessments using the CLI
168168

169169
**Dmacmd.exe**
170170

171171
`Dmacmd.exe /? or DmaCmd.exe /help`
172172

173-
**Azure SQL DB SKU recommendation with price refresh (get latest prices)**
173+
**Azure SQL DB SKU recommendation with price refresh (get latest prices) - Interactive authentication**
174174
```
175175
.\DmaCmd.exe /Action=SkuRecommendation
176176
/SkuRecommendationInputDataFilePath="C:\TestOut\out.csv"
@@ -181,19 +181,52 @@ Catalog=DatabaseName3;Integrated Security=true"***
181181
/SkuRecommendationOfferName=MS-AZR-0044p
182182
/SkuRecommendationRegionName=UKWest
183183
/SkuRecommendationSubscriptionId=<Your Subscription Id>
184-
/AzureAuthenticationInteractiveAuthentication=true
185184
/AzureAuthenticationClientId=<Your AzureAuthenticationClientId>
186185
/AzureAuthenticationTenantId=<Your AzureAuthenticationTenantId>
186+
/AzureAuthenticationInteractiveAuthentication=true
187187
```
188-
189-
**Azure SQL DB SKU recommendation without price refresh (use static prices)**
188+
189+
**Azure SQL DB SKU recommendation with price refresh (get latest prices) - Certificate authentication**
190190
```
191191
.\DmaCmd.exe /Action=SkuRecommendation
192192
/SkuRecommendationInputDataFilePath="C:\TestOut\out.csv"
193193
/SkuRecommendationTsvOutputResultsFilePath="C:\TestOut\prices.tsv"
194194
/SkuRecommendationJsonOutputResultsFilePath="C:\TestOut\prices.json"
195195
/SkuRecommendationOutputResultsFilePath="C:\TestOut\prices.html"
196-
/SkuRecommendationPreventPriceRefresh=true
196+
/SkuRecommendationCurrencyCode=USD
197+
/SkuRecommendationOfferName=MS-AZR-0044p
198+
/SkuRecommendationRegionName=UKWest
199+
/SkuRecommendationSubscriptionId=<Your Subscription Id>
200+
/AzureAuthenticationClientId=<Your AzureAuthenticationClientId>
201+
/AzureAuthenticationTenantId=<Your AzureAuthenticationTenantId>
202+
/AzureAuthenticationCertificateStoreLocation=<Your Certificate Store Location>
203+
/AzureAuthenticationCertificateThumbprint=<Your Certificate Thumbprint>
204+
```
205+
206+
**Azure SQL DB SKU recommendation with price refresh (get latest prices) - Token authentication**
207+
```
208+
.\DmaCmd.exe /Action=SkuRecommendation
209+
/SkuRecommendationInputDataFilePath="C:\TestOut\out.csv"
210+
/SkuRecommendationTsvOutputResultsFilePath="C:\TestOut\prices.tsv"
211+
/SkuRecommendationJsonOutputResultsFilePath="C:\TestOut\prices.json"
212+
/SkuRecommendationOutputResultsFilePath="C:\TestOut\prices.html"
213+
/SkuRecommendationCurrencyCode=USD
214+
/SkuRecommendationOfferName=MS-AZR-0044p
215+
/SkuRecommendationRegionName=UKWest
216+
/SkuRecommendationSubscriptionId=<Your Subscription Id>
217+
/AzureAuthenticationClientId=<Your AzureAuthenticationClientId>
218+
/AzureAuthenticationTenantId=<Your AzureAuthenticationTenantId>
219+
/AzureAuthenticationToken=<Your Authentication Token>
220+
```
221+
222+
**Azure SQL DB SKU recommendation without price refresh (use static prices)**
223+
```
224+
.\DmaCmd.exe /Action=SkuRecommendation
225+
/SkuRecommendationInputDataFilePath="C:\TestOut\out.csv"
226+
/SkuRecommendationTsvOutputResultsFilePath="C:\TestOut\prices.tsv"
227+
/SkuRecommendationJsonOutputResultsFilePath="C:\TestOut\prices.json"
228+
/SkuRecommendationOutputResultsFilePath="C:\TestOut\prices.html"
229+
/SkuRecommendationPreventPriceRefresh=true
197230
```
198231

199232
## See also

‎docs/dma/dma-sku-recommend-sql-db.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Identify the right Azure SQL Database SKU for your on-premises database (Data Migration Assistant) | Microsoft Docs"
33
description: Learn how to use Data Migration Assistant to identify the right Azure SQL Database SKU for your on-premises database
44
ms.custom: ""
5-
ms.date: "08/17/2018"
5+
ms.date: "08/18/2018"
66
ms.prod: sql
77
ms.prod_service: "dma"
88
ms.reviewer: ""
@@ -151,7 +151,7 @@ With just a few clicks, you can use the recommendations from the previous step t
151151
- **Region** – The region in which to provision databases. Make sure your subscription supports the select region.
152152
- **Resource Group** – The resource group to which you want to deploy the databases. Enter a resource group that exists.
153153
- **Server Name** – The Azure SQL Database server to which you want the databases deployed. If you enter a server name that does not exist, it will be created.
154-
- **Admin Username\Password** – The credentials you use to login to the subscription in Azure.
154+
- **Admin Username\Password** – The server admin username and password.
155155
156156
2. Review recommendations for each database, and modify the pricing tier, compute level, and max data size as needed. Be sure to deselect any databases that you do not currently want to provision.
157157

0 commit comments

Comments
 (0)