tag:blogger.com,1999:blog-14683471361644036822024-03-17T13:08:30.087+05:30SQLBlogHi, I am Vinay. I am a Certified Azure Architect and I am experience in Azure Architecting, Database Architecting, Cloud migrations, DBA by profession for more than a decade. This blog I use for sharing the new things I learn and the day-to-day issues I face. I also share other technical topics which I find useful to the readers. I invite you to follow me on LinkedIn, Twitter and this blog.Unknownnoreply@blogger.comBlogger131125tag:blogger.com,1999:blog-1468347136164403682.post-40777252046222636542024-01-24T16:58:00.003+05:302024-01-24T17:03:25.521+05:30Azure Devops Pipelines Basics <p>In this article we will see what are the different components of Azure Devops Pipelines.</p><p>These components are there basic foundation of Azure Devops Pipelines, understanding these plays a key role while working on Azure Devops.</p><p>Trigger : As the name suggests it will start the Pipeline execution. Trigger can start a pipeline as per schedule or if any activity happens. In short, when the pipeline should run is defined in a trigger.</p><p>Stages : It is the logical separation between different environments like we can a stage for Dev environment, one for QA and so on. A pipeline can have single or multiple stages. By default the stages will run one after another, we can also specify conditions when a stage to run.</p><p>Job : A job is collection of single or multiple steps. It is the smallest unit in a pipeline which can be scheduled. Each Stage in a Azure Pipeline will have single or multiple Jobs. Every pipeline will have at least one job.</p><p>Job Agent : To build or deploy code we need at least one job agent. Job agent acts as a compute infrastructure for the jobs to run. Note: Few jobs can run without agent also.</p><p>Step : Step is the smallest building block of a Azure Pipeline. Each job step will have details of the actual action that needs to be done. Each job will have single or multiple Steps.</p><p>Task : A task can be a script or procedure to perform certain action. Action can be building an application, deploy IoT image, push docket images and so on. There are many built-In tasks and custom tasks can be created as well.</p><p></p><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/a/AVvXsEi1IXWMZmlLiE6kVeNU0nZVUx9d2TT037sBWF5wj16Vmk80JDCORYAEZ7UdaexzZd86J7fmGuqaYV4HzOYrQm_uNQP9klNA9WgTKHpS5JvaiUuyjDH6Q7E258qcRHwf1Wn5PctuALR4dkTdLwSoFRS711hLgzWxfJh6YN7t8Zl8ddtj5PIFWSi9mdCv" imageanchor="1" style="margin-left: 1em; margin-right: 1em;">
<img border="0" src="https://blogger.googleusercontent.com/img/a/AVvXsEi1IXWMZmlLiE6kVeNU0nZVUx9d2TT037sBWF5wj16Vmk80JDCORYAEZ7UdaexzZd86J7fmGuqaYV4HzOYrQm_uNQP9klNA9WgTKHpS5JvaiUuyjDH6Q7E258qcRHwf1Wn5PctuALR4dkTdLwSoFRS711hLgzWxfJh6YN7t8Zl8ddtj5PIFWSi9mdCv" width="400">
</a></div><p><br></p><p><br></p><p>#AzureDevOps #AzurePipelines</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-61815527959533979892024-01-03T09:57:00.001+05:302024-01-03T09:57:39.915+05:30Azure Devops Common mistakes - 1<p dir="ltr">One of the most common mistakes people commit in Azure Devops is not having identical Development, Test and Production environments.</p>
<p dir="ltr">The better way to address this is to use infrastructure as code (IaC) tools like Azure Resource Manager (ARM) templates or Bicep to define your infrastructure in a consistent and repeatable way. </p>
<p dir="ltr">This will ensure that all environments are identical, regardless of who created them.</p>
<p dir="ltr"><b>#</b><b>azuredevops</b> <b>#</b><b>azurearchitect</b> </p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-4724698758179336792023-12-19T18:37:00.001+05:302023-12-19T18:37:04.889+05:30Cost of CosmosDB.Request Units of CosmosDB is like fuel of your car. When you drive your car, it consumes fuel. Similarly, when you use CosmosDB the resources it consumes are measured in Request Units (RUs). You may drive your car on plain road, off-road or anywhere your car consumption is measured in fuel. Similarly, you may perform different actions on CosmosDB it could be a Read query or Write Query the amount of resources consumed is measured in RUs.<div><br></div><div>Each database operation will have a response header which tracks the number of RUs consumed by the database operation. The cost of your CosmosDB depends on the number of RUs being consumed by it.</div><div><br></div><div>#azure #azuresql #azurecosmosdb </div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-31136859664537805852023-12-18T16:27:00.001+05:302023-12-18T16:27:22.622+05:30Cost saving in Azure SQL Managed Instance.We have the option to stop the Azure SQL Managed Instance when it is not in use. Like Azure SQL database which will go to pause state automatically as explained in previous article Azure SQL MI cannot go to pause or stop state automatically, we need to manually Stop/Start it.<div><br></div><div>Either we need to manually stop the Azure SQL MI instance from azure portal or by executing command. A way to automate this is to schedule the Stop and Stop activity using azure portal Under 'Settings' of Azure SQL MI there is an option 'Start/Stop Schedule'.</div><div><br></div><div>Stopping the Azure SQL MI instance will save the vCore and SQL License costs only data and backup storage cost will continue.</div><div><br></div><div>If the Azure SQL MI is part of Failover group then such instance cannot be stopped.</div><div><br></div><div>#azure #azuresql #azuresqlmi</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-10550167596995319582023-12-15T11:13:00.002+05:302023-12-15T11:23:36.474+05:30Cost saving in Azure SQL Database.<p dir="ltr">In your mobile phone there is a setting to turn off the screen if there is no activity for a certain amount of time. This helps in saving battery.</p>
<p dir="ltr">Similarly, if there is no activity in Azure SQL Database, we have an option to pause the database. This helps in saving cost.</p>
<p dir="ltr">The feature is called 'Auto-Pause' which is available in the Serverless Compute tier.</p>
<p dir="ltr">Once enabled the database will be paused if the CPU = 0 and number of sessions = 0 for a certain amount of time. The threshold that can be set is between 1 HR to 7 Days. </p>
<p dir="ltr">Eg: If we set auto-pause to 1 HR then if the CPU = 0 and number of sessions = 0 for more than 1 HR then the Azure SQL database will be paused.</p>
<p dir="ltr">This feature is supported only in vCore Purchase model and the Hardware Type supported is Standard-series (Gen-5).</p>
<p dir="ltr">The billing is done per second. For a minimum configuration of East US region, it would cost roughly 43 rupees per hour so almost 2000 rupee (almost $24) per weekend for a single database. </p>
<p dir="ltr">If we do a simple math approximately there are total 105 days as weekend in the year 2023. So if we calculate cost for all these days it would total to around 1 lakh rupees ($1300 roughly per year) for a single database.</p>
<p dir="ltr">If your DB will not have any activity during the weekend and by enabling this auto-pause feature this amount of cost saving can be done.</p>
<p dir="ltr">Thanks VV!!</p>
<p dir="ltr"><b>#</b><b>azuresql</b> <b>#</b><b>azurearchitect</b></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-28793530879998130832023-07-28T12:04:00.000+05:302023-07-28T12:04:26.023+05:30How to move a Database from one Azure SQL Managed Instance to another Azure SQL Managed Instance.<p><span face="Verdana, sans-serif" style="font-size: 10pt;">In
Azure SQL Managed Instance we have the option to move the database between
Azure SQL Managed Instances. It is quite simple to move the database from one
SQL managed instance to another SQL managed instance. In this article we will see how to move or copy an sql managed instance database from one azure sql managed instance to another azure sql managed instance.</span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;">Login
to the Azure portal and search for SQL managed instance.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxvmJHeC12aPPT3U_hGHjmCAM-Shwm3DviKhMFUCs2NcQRVSaegdLIV8G3gS-9w6npTWoIJkoATeBOEKNApPiMds5JErzU1SE-mlE0YbY-hDKk6W6p8nx3QoyTdvwEfxIY_xtcSbTcmJyFo72J9d2SdohzMaqzgniDKU3CwQ0ZTrbAYK5qAhkrukJW/s579/search%20for%20SQL%20MI.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="280" data-original-width="579" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxvmJHeC12aPPT3U_hGHjmCAM-Shwm3DviKhMFUCs2NcQRVSaegdLIV8G3gS-9w6npTWoIJkoATeBOEKNApPiMds5JErzU1SE-mlE0YbY-hDKk6W6p8nx3QoyTdvwEfxIY_xtcSbTcmJyFo72J9d2SdohzMaqzgniDKU3CwQ0ZTrbAYK5qAhkrukJW/w400-h194/search%20for%20SQL%20MI.png" width="400" /></a></span></div><span face=""Verdana",sans-serif" style="font-size: 10pt;"><br /></span><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;">Click
on the SQL managed instance and the database inside the managed instance which
you want to move. Here I have only one sample database named ‘WideWorldImporters’ o</span><span style="font-size: 10pt;">nce
you click on the database you should see an </span><span style="font-size: 13.3333px;">overview</span><span style="font-size: 10pt;"> </span><span style="font-size: 13.3333px;">page</span><span style="font-size: 10pt;"> like below</span></p><p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoN7wieoPgzHP0JzfsZk3YmRahMpEUemBW7xr14WzUsPZqpnEHBV4v6wPwW1a0q40Oq2VehWkZ-esn0tpNj2EkS8hp048nsu7eqD5-gLEJjYHINfQsWz9FUqnXL5UQq2P35cfu2Zsm1DzRc9ZB5_vGi5EQ0shHxeNvlzsr9sCWw-Z36v5E7kJ7uwJM/s1285/go%20to%20sqlmi%20db.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="337" data-original-width="1285" height="168" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoN7wieoPgzHP0JzfsZk3YmRahMpEUemBW7xr14WzUsPZqpnEHBV4v6wPwW1a0q40Oq2VehWkZ-esn0tpNj2EkS8hp048nsu7eqD5-gLEJjYHINfQsWz9FUqnXL5UQq2P35cfu2Zsm1DzRc9ZB5_vGi5EQ0shHxeNvlzsr9sCWw-Z36v5E7kJ7uwJM/w640-h168/go%20to%20sqlmi%20db.PNG" width="640" /></a></div><br /><span style="font-size: 10pt;"><br /></span><p></p><p class="MsoNormal"><span style="font-size: 10pt;">on the Overview page you can see several options and
among them, there are 2 options COPY and MOVE. Copy is to copy the database to
another subscription by keeping the original database in its source and move
will move the database from the source location to the destination location.</span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEx91QbC1ZZXc095cUC8KVDgpdJ6DsQ_sRet0lnstSKxCm-XwGhrKJMj5JJIZdg8VEcybMPCs-yfVLmSzrh3MO2yftB6ZKZvS7lYBp2wHmTER63TPyhq2ukM_-d9V8o8G0Kw81-EpMD3KZPgzKsXyhkAUVWQVitmaXVNxzH6ZaZCf2oryjBQFJ-A6e/s1285/u%20can%20copy%20r%20move.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="337" data-original-width="1285" height="168" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEx91QbC1ZZXc095cUC8KVDgpdJ6DsQ_sRet0lnstSKxCm-XwGhrKJMj5JJIZdg8VEcybMPCs-yfVLmSzrh3MO2yftB6ZKZvS7lYBp2wHmTER63TPyhq2ukM_-d9V8o8G0Kw81-EpMD3KZPgzKsXyhkAUVWQVitmaXVNxzH6ZaZCf2oryjBQFJ-A6e/w640-h168/u%20can%20copy%20r%20move.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" style="font-size: 10pt;"><br /></span><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;">Now
click on copy and we should see a similar page like below. <o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYsvqWhLgccn9tVh8YnzW4YmG3YjIAw9mZqQVM816B9oAC2b_QoeAYC2R7YIaVWQb9y3ZIukenOukIZlnV-v2-8EPkVaLwjB3XLqCkh6lpk2T5D-qxINYnEUb8JWQ05i6vfGA1ti-t9PqR3I-T5eihJEJ1PNvkLbsbHkW4VR47w3urTg1PpKF3QS2o/s1269/similarly%20clck%20copy.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="341" data-original-width="1269" height="172" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYsvqWhLgccn9tVh8YnzW4YmG3YjIAw9mZqQVM816B9oAC2b_QoeAYC2R7YIaVWQb9y3ZIukenOukIZlnV-v2-8EPkVaLwjB3XLqCkh6lpk2T5D-qxINYnEUb8JWQ05i6vfGA1ti-t9PqR3I-T5eihJEJ1PNvkLbsbHkW4VR47w3urTg1PpKF3QS2o/w640-h172/similarly%20clck%20copy.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" style="font-size: 10pt;"><br /></span><p></p><p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p><span style="font-size: 13.3333px;">Here we can see source details like the source database, resource group, source sql managed instance name. After verifying all details </span><span style="font-size: 13.3333px;">Click on 'Next: Destination details' button.</span></o:p></span></p><p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXliEmrLHc8uSOXlq5KAMdOur-mz4dY3Zr0rS0DbnUw0YekokoktbF4WXOqShQheBvdTNn1wesLZ5g4oQbW6XuHJlyYvrryln6HhADKm2xeuLB6EGZtAEP_uYIkQvKgnewGUYn2kn269_ZfZdyDb-fVQ7c4CvkW241rGPOUBZWc38MQDL0Q4Mj2k5l/s671/similarly%20clck%20copy%202.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="572" data-original-width="671" height="546" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXliEmrLHc8uSOXlq5KAMdOur-mz4dY3Zr0rS0DbnUw0YekokoktbF4WXOqShQheBvdTNn1wesLZ5g4oQbW6XuHJlyYvrryln6HhADKm2xeuLB6EGZtAEP_uYIkQvKgnewGUYn2kn269_ZfZdyDb-fVQ7c4CvkW241rGPOUBZWc38MQDL0Q4Mj2k5l/w640-h546/similarly%20clck%20copy%202.PNG" width="640" /></a></span></div><span face=""Verdana",sans-serif" style="font-size: 10pt;"><br /><span style="font-size: 13.3333px;"><br /></span></span><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;">Here
we need to provide the destination resource group and the SQL managed instance.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9VNxL0tKA1NLnAf5aCLtq3LS0yb9RCzUmRad3HjYToVsXjrzBlm0T5qX4uZGoNnfYtcU9fT9oOK6Y8pFO1dBLuUC_fmeTTTGe9bgYpJ7SsJjw1ccWr9YB8Nf47wL_MBsRzLp6ImOAwx9Rc06iqYn9z__AVp2hQPIW6p_pKy8gz8gPbgObjgMHPLmI/s721/select%20rg%20n%20instance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="581" data-original-width="721" height="517" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9VNxL0tKA1NLnAf5aCLtq3LS0yb9RCzUmRad3HjYToVsXjrzBlm0T5qX4uZGoNnfYtcU9fT9oOK6Y8pFO1dBLuUC_fmeTTTGe9bgYpJ7SsJjw1ccWr9YB8Nf47wL_MBsRzLp6ImOAwx9Rc06iqYn9z__AVp2hQPIW6p_pKy8gz8gPbgObjgMHPLmI/w640-h517/select%20rg%20n%20instance.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" style="font-size: 10pt;"><br /></span><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;">After
that once we click on ‘Review+Start’ the copy process will start and if any
errors pop up we need to remediate those before copying can start.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMIAyPnCbAY1EKiYER8SQIHHfT5hsDCNz5JMAX69B9PFR3IBSdFbW4r6687hbky0QUZuyuAmax-q4EUYl7bL-VlmnlY_HZJdZgDp6vqOip1ob9BYZkmq46EWndxOOevbOWm9Rrp4nGdC1RXw8Bi5tBRsk1agvNM3QUIvvxH2Ad0sCN-5x-4JVaV4Qg/s721/review+start.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="581" data-original-width="721" height="517" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMIAyPnCbAY1EKiYER8SQIHHfT5hsDCNz5JMAX69B9PFR3IBSdFbW4r6687hbky0QUZuyuAmax-q4EUYl7bL-VlmnlY_HZJdZgDp6vqOip1ob9BYZkmq46EWndxOOevbOWm9Rrp4nGdC1RXw8Bi5tBRsk1agvNM3QUIvvxH2Ad0sCN-5x-4JVaV4Qg/w640-h517/review+start.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" style="font-size: 10pt;"><br /></span><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;">Similarly,
we can also move the database by clicking on the MOVE button and selecting
source and destination SQL managed instances and their respective resource
groups and click on Review+Create as shown in below pictures.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7plEo27PLN-NMagwArR1psmbQklnz47gMHKdaaiE2DCwG6ZzTui6gCuV8feLqCJOl4Fg8o9jE_SvD0GQb7JS2VrPrABzxLE8aPXhCnHjBFe9iWLza0OEqf1aiQM8wsH3YTrgG-VHCQ_-G0j8iC0RZUOCoMvPOpHeZTnQTQSN2vNs8tYDRut86qs91/s1285/move.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="337" data-original-width="1285" height="168" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7plEo27PLN-NMagwArR1psmbQklnz47gMHKdaaiE2DCwG6ZzTui6gCuV8feLqCJOl4Fg8o9jE_SvD0GQb7JS2VrPrABzxLE8aPXhCnHjBFe9iWLza0OEqf1aiQM8wsH3YTrgG-VHCQ_-G0j8iC0RZUOCoMvPOpHeZTnQTQSN2vNs8tYDRut86qs91/w640-h168/move.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" style="font-size: 10pt;"><br /></span><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjswhH5WR8gqciUigpyyFQs422aK0B4oD7yfviWzA6GvjcnR19Bah8udy7oJObnCmUKNsOOH3RynfNJ-a3mwr94XPJN_p-kH4h_nYle-650pRfPqBjiF46nBqxwDV7_mffI1Vw3ChVfLuw3LJVIvejAcpaNqwAiJRE7dP5PVd08CiGYcyk5m0UnSBpG/s1139/clck%20move%20in%20b4%20scrnsht%202.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="608" data-original-width="1139" height="342" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjswhH5WR8gqciUigpyyFQs422aK0B4oD7yfviWzA6GvjcnR19Bah8udy7oJObnCmUKNsOOH3RynfNJ-a3mwr94XPJN_p-kH4h_nYle-650pRfPqBjiF46nBqxwDV7_mffI1Vw3ChVfLuw3LJVIvejAcpaNqwAiJRE7dP5PVd08CiGYcyk5m0UnSBpG/w640-h342/clck%20move%20in%20b4%20scrnsht%202.PNG" width="640" /></a></span></div><span face=""Verdana",sans-serif" style="font-size: 10pt;"><br /></span><p></p><p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRQ456OrhudsW19bDy1mYa7dfgupaVI5k597BCOKFxJIKYSzQ2wwsLPYGqtgeuKCmICG5FjgNIA5gX9fFQv1w4Cfp5lmXHVpFpWo4c_OhJMk7Os5Sfj53q0Bn9-RCJtdGRWxTGQHv02-g7IMr_1uf6XY-lSDwT865S2JR7T37_kd2-miQioVXJAMXj/s724/slct%20dest%20to%20move%20and%20stat%20move.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="614" data-original-width="724" height="542" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRQ456OrhudsW19bDy1mYa7dfgupaVI5k597BCOKFxJIKYSzQ2wwsLPYGqtgeuKCmICG5FjgNIA5gX9fFQv1w4Cfp5lmXHVpFpWo4c_OhJMk7Os5Sfj53q0Bn9-RCJtdGRWxTGQHv02-g7IMr_1uf6XY-lSDwT865S2JR7T37_kd2-miQioVXJAMXj/w640-h542/slct%20dest%20to%20move%20and%20stat%20move.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" style="font-size: 10pt;"><br /><o:p><br /></o:p></span><p></p><p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;">Thanks
VV!!<o:p></o:p></span></p><p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana",sans-serif" style="font-size: 13.3333px;">#sqlmanagedinstance #azure #azuresql #azurearchitect #cloudarchitect</span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-41486962736518058662023-07-12T05:37:00.000+05:302023-07-12T05:37:11.588+05:30How to share Azure compute gallery to all Azure users.<p><span face="Verdana, sans-serif">In the
<a href="https://sqlserverstore.blogspot.com/2023/07/how-to-create-our-own-vm-image-in-azure.html" target="_blank">previous article</a>, we have seen how to create an image of Azure VM. When we
create an Azure VM Image it will reside in storage and can be used any number
of times we want for the creation of identical VMs. But let’s say we want this
VM Image to be available across the entire company or multiple subscriptions so
that any authorized team in the organization can create new VMs based on the
image. We will see in this article how to achieve this requirement.</span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif">In Azure, we
have the option to share the images and Azure compute gallery to make them
available for all the required resources. In the <a href="https://sqlserverstore.blogspot.com/2023/07/how-to-create-our-own-vm-image-in-azure.html" target="_blank">previous article</a> while
creating an Azure VM Image we first created an Azure Compute Gallery. This
Azure Compute Gallery acts as a repository of all the images we create. <o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span face=""Verdana",sans-serif" style="color: red;">Note:</span></b><span face=""Verdana",sans-serif"> Microsoft does not recommend sharing
the VM images individually and only recommends sharing the Azure compute
gallery. Hence in this article, we will see how to share the Azure compute
gallery.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif">When we login
to the Azure portal and search for ‘image’ in the search box, we can see
‘Images’, click on it<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx0INtUXmcx1qezcZREmK_VSI1FZEPUmXbzkZpyVazXHNqVkNhyrfDz2hr3W1yNoF9_9ql8uEjzGl08DQW9eAzwTqnH-baNDdKaxHebhV97ZFvBiS4FKpjwwjOA9ciUymU1vb5U4JzwpyQV_R0pS_-kCmoUopU1y9_l0gvHfDZBoeLz-crkjBj9sJH/s881/select%20vm%20image%20versions.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="325" data-original-width="881" height="237" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx0INtUXmcx1qezcZREmK_VSI1FZEPUmXbzkZpyVazXHNqVkNhyrfDz2hr3W1yNoF9_9ql8uEjzGl08DQW9eAzwTqnH-baNDdKaxHebhV97ZFvBiS4FKpjwwjOA9ciUymU1vb5U4JzwpyQV_R0pS_-kCmoUopU1y9_l0gvHfDZBoeLz-crkjBj9sJH/w640-h237/select%20vm%20image%20versions.png" width="640" /></a></div><br /><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif">After
clicking it will show us all the VM image versions<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOStWFyJfUzy5KAd7eA2jnAJ8-qwsvHivZksG8W4Dir8iRLMDrrOPYIXzc0moIjsQi-3Nf7InyRpR7bG8qR0RZ6emn78J0vX44NhisBBDFjUJG43-dEtBzXTeL8JTG1LGfwxSDyjtW7PNFwJeyBlw2QvsNdkB5-8K-GmmRKjh5kehu70e4Ru2bSGkr/s1284/select%20image%20version%20avlb.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="285" data-original-width="1284" height="142" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOStWFyJfUzy5KAd7eA2jnAJ8-qwsvHivZksG8W4Dir8iRLMDrrOPYIXzc0moIjsQi-3Nf7InyRpR7bG8qR0RZ6emn78J0vX44NhisBBDFjUJG43-dEtBzXTeL8JTG1LGfwxSDyjtW7PNFwJeyBlw2QvsNdkB5-8K-GmmRKjh5kehu70e4Ru2bSGkr/w640-h142/select%20image%20version%20avlb.PNG" width="640" /></a></div><br /><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif">Click on the
‘1.1.0’ image version which we created in the previous article<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5gEH2imZbXmTfP4sNf1oLJPOXVXTI3pQnPcAsICz7ObavDjNp5wFS04mK2VvgTvEXc83wCRi1gKoGwEMmzI0ekU9wNCnu57mgJdxAjMgNaP5sZQ7aFK02mOHNuWqIPbKY4qt7gzhKCCpWPqD3gI14n0BAI0JFx8SJzEmnB6SbkoetKwbINAAHZIYu/s1284/select%20image%20version%20avlb.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="285" data-original-width="1284" height="142" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5gEH2imZbXmTfP4sNf1oLJPOXVXTI3pQnPcAsICz7ObavDjNp5wFS04mK2VvgTvEXc83wCRi1gKoGwEMmzI0ekU9wNCnu57mgJdxAjMgNaP5sZQ7aFK02mOHNuWqIPbKY4qt7gzhKCCpWPqD3gI14n0BAI0JFx8SJzEmnB6SbkoetKwbINAAHZIYu/w640-h142/select%20image%20version%20avlb.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif">And it will
show the overview page of the image version<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjanWWHTQ6-6Uk7eE1Z8eRrpZMsKvXQOllEikGE_pgLoTZuFHfdPxXvNO-INIacAJCBNzw7fpCYnHmKt-XebpDYJWbUwtF-LjTlBNOaLkODo_C0dJwWZRAmGZ7W5IJgyYDveRD6ZfqmY6wouK_Ettm1JTaaaTUk2N25EfFAAN5tobglQdknZihimKq7/s1098/vm%20image%20def.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="254" data-original-width="1098" height="149" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjanWWHTQ6-6Uk7eE1Z8eRrpZMsKvXQOllEikGE_pgLoTZuFHfdPxXvNO-INIacAJCBNzw7fpCYnHmKt-XebpDYJWbUwtF-LjTlBNOaLkODo_C0dJwWZRAmGZ7W5IJgyYDveRD6ZfqmY6wouK_Ettm1JTaaaTUk2N25EfFAAN5tobglQdknZihimKq7/w640-h149/vm%20image%20def.PNG" width="640" /></a></div><br /><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif">To find to
which Azure compute gallery this image belongs to, on the right-hand side we
can see ‘Azure Compute gallery’. Here we can see this image belongs to the
Azure compute gallery ‘VMIG’. Click on the VMIG<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEA0S7tyJb9P2O1wfmrPreLsWLiweUJy2ZFZkK2cK7TyQ6ZUxdpUgHpuJpX5Okx__csLgB9oAigyjo0HIUJhagpaGYhcfP_c5Ubadac9lxqmx3GovMXngpl7SWXkMpXPTOyftayzgJpAeZ-SO4qyKs8EToFoJUjkNl2966vSxN4j1IIDOHEvC9vlgO/s1098/azure%20compute%20gallery.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="254" data-original-width="1098" height="148" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEA0S7tyJb9P2O1wfmrPreLsWLiweUJy2ZFZkK2cK7TyQ6ZUxdpUgHpuJpX5Okx__csLgB9oAigyjo0HIUJhagpaGYhcfP_c5Ubadac9lxqmx3GovMXngpl7SWXkMpXPTOyftayzgJpAeZ-SO4qyKs8EToFoJUjkNl2966vSxN4j1IIDOHEvC9vlgO/w640-h148/azure%20compute%20gallery.png" width="640" /></a></div><br /><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif">That will
take us to the overview page of Azure compute gallery VMIG and here we can see
all the images that are in this gallery and the details of the image like OS
type, OS state, and so on.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIQsR7ikQn6aDI7Otvc5FoTlqnZ07hRHqkvgymGOqOYt0IL_03gx-rUp8GOzkb79U9V-BYKTGg-4wbJy2DERfkbHd2uetg99rMA26NimXCP0MTUGSPBx67Br-naqaPpCJ5u5uWrQ1nEvGM22GVVTWan3yvurLrCe5_urmnqGU6PpqnRGV3EsR0WdkE/s1055/click%20sharing.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="552" data-original-width="1055" height="334" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIQsR7ikQn6aDI7Otvc5FoTlqnZ07hRHqkvgymGOqOYt0IL_03gx-rUp8GOzkb79U9V-BYKTGg-4wbJy2DERfkbHd2uetg99rMA26NimXCP0MTUGSPBx67Br-naqaPpCJ5u5uWrQ1nEvGM22GVVTWan3yvurLrCe5_urmnqGU6PpqnRGV3EsR0WdkE/w640-h334/click%20sharing.PNG" width="640" /></a></div><br /><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif">On the left
side of the page, we can see a section named ‘Sharing’. Once we click on it, we
can see different sharing options available<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHN5rGSKo32FgKNnbMOfsshuDn-8AmbbI4-XXf4vowz0Xh1y5aQxSYFG_IeFIHLbHmrRX6Tz8RhHZpheda0UyxLQe3cT1ij20hB4q1XkI2pqZ1pCUaPUUJEtbOv6qjoCMbdb56eVfYwUO5-92_BslS5DIuznS4ZoMw1jX8JQsMDzXw7jVykYiGY_9I/s1055/click%20sharing.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="552" data-original-width="1055" height="334" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHN5rGSKo32FgKNnbMOfsshuDn-8AmbbI4-XXf4vowz0Xh1y5aQxSYFG_IeFIHLbHmrRX6Tz8RhHZpheda0UyxLQe3cT1ij20hB4q1XkI2pqZ1pCUaPUUJEtbOv6qjoCMbdb56eVfYwUO5-92_BslS5DIuznS4ZoMw1jX8JQsMDzXw7jVykYiGY_9I/w640-h334/click%20sharing.png" width="640" /></a></div><br /><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif">Based on our
requirement we can select the type of sharing. I’m selecting ‘RBAC+ share
directly’ and at the bottom, we can see ‘Tenants and subscriptions’ under this
we can select to what all tenants and subscriptions we want this has to be
shared. After selecting click on ‘Save’. Once settings are saved this gallery
images will be available for all the selected subscriptions and tenants.<o:p></o:p></span></p>
<p class="MsoNormal">A Tenant in Azure is nothing but an instance of Azure Active Directory (Azure AD) which contains information like objects, users and groups about a single organization. It also contains access and compliance policies and its primary function is resource access management and identity authentication.</p><p class="MsoNormal"> </p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHIqNZKW2gwtJB8ApkY39Rs3SZ3_I2eEAf67Ja4su7g60V-Lw45ExBysQXqJjKq4eZFffwjmIP6oDrcT1Mygu3e8XQRWqAIio_BDJ0MBs5C3fVON24fP--0VlP5fagUMce1T4KzIcmW43T22qE6FahqJWctjmFxxJdWR5Pe7yis43Q39apXNWEX_7n/s1050/3%20sharing%20options.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="607" data-original-width="1050" height="370" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHIqNZKW2gwtJB8ApkY39Rs3SZ3_I2eEAf67Ja4su7g60V-Lw45ExBysQXqJjKq4eZFffwjmIP6oDrcT1Mygu3e8XQRWqAIio_BDJ0MBs5C3fVON24fP--0VlP5fagUMce1T4KzIcmW43T22qE6FahqJWctjmFxxJdWR5Pe7yis43Q39apXNWEX_7n/w640-h370/3%20sharing%20options.PNG" width="640" /></a></div><br /><p></p><p class="MsoNormal"><span face=""Verdana",sans-serif"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9V9xK9BVcE7lyNxRkSiSiyK1KxXOoAp085u4nlJcAEdqt1WY1GprnHkvtp-pwTT4EuNUu7g3lqB3R2QjfG-LnzfoeXy9EhCnFnv8ldK4U8jp6RLQMuIIZu9cjSs7cKKiZpdDHVqIPENRZHbtd4qioNek9YkuMFE_iwbKS7PIPGnLXqVM5d3T9TsAx/s962/add%20all%20subcrps.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="608" data-original-width="962" height="404" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9V9xK9BVcE7lyNxRkSiSiyK1KxXOoAp085u4nlJcAEdqt1WY1GprnHkvtp-pwTT4EuNUu7g3lqB3R2QjfG-LnzfoeXy9EhCnFnv8ldK4U8jp6RLQMuIIZu9cjSs7cKKiZpdDHVqIPENRZHbtd4qioNek9YkuMFE_iwbKS7PIPGnLXqVM5d3T9TsAx/w640-h404/add%20all%20subcrps.png" width="640" /></a></div><br /><o:p><br /></o:p><p></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif">The gallery
can be shared with individual users, groups, service principals, and all users
of specific subscriptions or tenants and also can be shared publicly to all
users in Azure. Based on the sharing type we select it will depend on to whom
we can share. Example: In the above screenshot I selected ‘RBAC+ share
directly’ so when we select this option the gallery can be shared to individual
users, groups, service principal, and all users of specific subscription or
tenant but we cannot share publicly to all users in Azure.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif">You can follow
me on LinkedIn and Twitter for more articles.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif"><span style="mso-spacerun: yes;">Thanks VV!! </span><span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-11170530386941781272023-07-04T21:53:00.002+05:302023-07-12T05:49:14.617+05:30How to create our own VM image in Azure similar to Azure marketplace image.<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">We all know Azure marketplace have wide variety of
images with different combinations like different OS versions, different OS+DB
versions and so on. Let’s say we have a customer VUT and all the Virtual
Machines created for this customer should have some applications running in
them as per their policy or requirement and installing and configuring 100s of them
takes some time. So instead of installing the required applications manually every
time on all the VMs we can create our own VM Image just like Azure marketplace
image and use our VM Image across the company to create new VMs which will have
the required applications comes along with image. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">Another use can be when we have to create multiple VMs
with same configurations like OS disk or both OS and data disks we can use VM
Image concept in Azure. This helps in scenarios like all the VMs in an
environment should have similar configurations for example all the test VMs
should have identical configurations then instead of creating each VM manually and
configuring them we can use VM Images.</span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">How to create a Azure VM Image.</span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">In this article we will see how we can create VM Image
and in the <a href="https://sqlserverstore.blogspot.com/2023/07/how-to-share-azure-compute-gallery-to.html" target="_blank">next article</a> we will see how an VM image can be shared across all
the subscriptions of an organization.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p>
<ol start="1" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Login to Azure portal and search for ‘Virtual
Machine’<o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbr33nzkc2lquZ3-kDXzNg35fPHqOyxZlA7RXBIzYi0V60rWvZAgskJEU0PYhB4s5M_x8y7hP-wcx782aHh1Ex3qWL88ZygD7EcgUky-pUXnoDv7AkNOVVwgcmADcbgBnByuhebrkc3iuBwuGwmwrTstVPaLghT7trsL1k9PI6h9Z74p4HG3jCqWhB/s520/search%20vm.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="211" data-original-width="520" height="163" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbr33nzkc2lquZ3-kDXzNg35fPHqOyxZlA7RXBIzYi0V60rWvZAgskJEU0PYhB4s5M_x8y7hP-wcx782aHh1Ex3qWL88ZygD7EcgUky-pUXnoDv7AkNOVVwgcmADcbgBnByuhebrkc3iuBwuGwmwrTstVPaLghT7trsL1k9PI6h9Z74p4HG3jCqWhB/w400-h163/search%20vm.PNG" width="400" /></a></div><br /><p></p>
<ol start="2" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Select the VM for which you want to create an
image. In my case I want to create an image for virtual machine named
‘VM1’.<o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAWVcVANe57RVW7JFI2BKWcMe-PwdiEX3IaARw4AADih6ojIUTEPWgzvxdW546MtSzt1SFQ_M6cF1cAnM9MCWtWyrcdGrtAYOlvB_d3u76QdKCOAjAXDUOqkdR435IrgJmIRI-BdqqTGLJhqk7Pqkik2ap1C7u7K51W2n7WQqUy--QHGR66dUMhPeR/s960/select%20vm.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="281" data-original-width="960" height="189" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAWVcVANe57RVW7JFI2BKWcMe-PwdiEX3IaARw4AADih6ojIUTEPWgzvxdW546MtSzt1SFQ_M6cF1cAnM9MCWtWyrcdGrtAYOlvB_d3u76QdKCOAjAXDUOqkdR435IrgJmIRI-BdqqTGLJhqk7Pqkik2ap1C7u7K51W2n7WQqUy--QHGR66dUMhPeR/w640-h189/select%20vm.PNG" width="640" /></a></div><br /><p></p>
<ol start="3" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Click on VM1 and you can see settings of VM1. In
the same ‘Overview’ click on ‘Capture’<o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRPB6PcaWTyR0i0llqoa6Pvajl13z3XDXW1qUx3TUuQH8RuVv_sPspUWPXsRya_05FKvVhr0dFjO9t-bFZlwmC4tQHxSU59UAWwWxHHp9Kwdzjk0GQEi85vHO9Wb06bbH7BKuqC9Touf1hhvoci1V604Pgw3nHqTK56xJNmL2I0zxArgGFszim0A-E/s1174/click%20capture.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="330" data-original-width="1174" height="181" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRPB6PcaWTyR0i0llqoa6Pvajl13z3XDXW1qUx3TUuQH8RuVv_sPspUWPXsRya_05FKvVhr0dFjO9t-bFZlwmC4tQHxSU59UAWwWxHHp9Kwdzjk0GQEi85vHO9Wb06bbH7BKuqC9Touf1hhvoci1V604Pgw3nHqTK56xJNmL2I0zxArgGFszim0A-E/w640-h181/click%20capture.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p></p>
<ol start="4" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">‘Create an image’ page will open and here enter
Resource group details where you want create the image and select ‘Yes,
share it to a gallery as a VM image version’. <o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIuB1pChb0rsPfvOIqgQqB7IZCk5cwT0EuFnoJmCpXVWPiMs3CPpyjuSqcXjRyLLXLbscC3Prl7mJESY8dL6Euu90k_QeI14rntSXxd4vp2RdGD3wSJnpkSwRPVkrJlQMygmENgxdLhLl8FrYiGIutVfwJzWj9tHaUExrP79AZfMkezcai-aiiej0Z/s773/create%20image%201.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="537" data-original-width="773" height="445" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIuB1pChb0rsPfvOIqgQqB7IZCk5cwT0EuFnoJmCpXVWPiMs3CPpyjuSqcXjRyLLXLbscC3Prl7mJESY8dL6Euu90k_QeI14rntSXxd4vp2RdGD3wSJnpkSwRPVkrJlQMygmENgxdLhLl8FrYiGIutVfwJzWj9tHaUExrP79AZfMkezcai-aiiej0Z/w640-h445/create%20image%201.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p>
<ol start="5" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">We can store the images in a Gallery which helps
in sharing the image across the company and across the regions. This
gallery in simple terms acts as a repository.<o:p></o:p></span></li>
</ol>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Create an image gallery to store the VM image. If gallery doesn’t exist
already in the resource group click ‘Create new’. <o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtp224axwNbBCGKCXZPgmDSsF850pqitczttGWEK2FMOKKyQYuQttHQ7zWODp-fwymQhjPNndW5dG1CB4Ys_8L_eJ83oYlqScURDnHoOg2aEb-coYCf4qOkoNPvZrUDXjr9R7ExlJOxrp-4qjGNVXqf9cD9JijdBrEd_yXySdk2f7-iEDkP1mxsu1G/s770/create%20image%202.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="542" data-original-width="770" height="450" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtp224axwNbBCGKCXZPgmDSsF850pqitczttGWEK2FMOKKyQYuQttHQ7zWODp-fwymQhjPNndW5dG1CB4Ys_8L_eJ83oYlqScURDnHoOg2aEb-coYCf4qOkoNPvZrUDXjr9R7ExlJOxrp-4qjGNVXqf9cD9JijdBrEd_yXySdk2f7-iEDkP1mxsu1G/w640-h450/create%20image%202.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p><p class="MsoNormal" style="margin-left: 36pt;"><br /><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span></p>
<ol start="6" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Give ‘VMIG’ as image gallery name and click ‘OK’.<o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXWMBOi7zii2frswNPivlhodjclvMJdjgB6j5fBJa4rwHocoBeowKeqDsWV8PahCj-z_3Ii3CqQsEc4k0-jtLPIEab3UubEKqqepRci1DvuA36cwkjyjsmyuyEwyx-NwAvrs_BtsIOh-SWVASfeccmgRPX8-J6yjycUeWydZOypMInC8ylllfQdGGi/s760/create%20image%204.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="259" data-original-width="760" height="218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXWMBOi7zii2frswNPivlhodjclvMJdjgB6j5fBJa4rwHocoBeowKeqDsWV8PahCj-z_3Ii3CqQsEc4k0-jtLPIEab3UubEKqqepRci1DvuA36cwkjyjsmyuyEwyx-NwAvrs_BtsIOh-SWVASfeccmgRPX8-J6yjycUeWydZOypMInC8ylllfQdGGi/w640-h218/create%20image%204.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><b><span style="color: red;">Note:</span></b> Please remember the warning sign in the above screenshot. Once we capture image of a VM the VM will become unusable.</div><p></p>
<ol start="7" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">You can check the option ‘Automatically delete
this virtual machine after creating the image’ if you want to delete the
source VM once the image creation completes. But it is recommended to have
the source VM in place even after image creation.<o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLd2RtJobmUpxph1zmy_GrpvmNSA8dBstRz-e0BbLBVVTKHljOpnIKpz32oTYn3qGw31yo7ZnAACA6Jpw_sAebOTCZkZoZ9hLQj9hAy5Jsvwd9en_tdKcY5Q7WNbUyV-owtONK6v3dzyRTidblEUzOiLJ1MLZF0meaWrnEk13Z3BjyDPAECImFv2bk/s773/auto%20delete%20vm.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="537" data-original-width="773" height="445" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLd2RtJobmUpxph1zmy_GrpvmNSA8dBstRz-e0BbLBVVTKHljOpnIKpz32oTYn3qGw31yo7ZnAACA6Jpw_sAebOTCZkZoZ9hLQj9hAy5Jsvwd9en_tdKcY5Q7WNbUyV-owtONK6v3dzyRTidblEUzOiLJ1MLZF0meaWrnEk13Z3BjyDPAECImFv2bk/w640-h445/auto%20delete%20vm.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p>
<ol start="8" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Azure compute gallery supports 2 Operating System
States. Generalized and Specialized. Generalized means the machine and user
specific information will be removed from the VM before creation of the
image and in Specialized state this information will not be removed. Both
the options have their own advantages and disadvantages. Specialized state
will not have osprofile in it, osprofile helps in passing sensitive
information to VM via secrets but advantage of specialized VMs is they can
start and run faster than the Generalized VMs. So as per your requirement
you can choose suitable option.<o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p>
<p class="MsoNormal" style="text-indent: 36pt;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Here I select Operating system state as ‘Generalized’. <o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent: 36pt;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv4QBUkzTH4ux6vYKK11ojOnLfkCFv9JfWbHH06s4fL-7kReJVh7oxwDY7tCxXE7Upv2UMTRXFcv7PiBIbwlYcD0RgfHymvAzlY29Rh7sGmEqUSpfIeYFrDZaRF5eHcNiVNqCL7WhKyt9eGcnVylPYlLorgEOR9ymEoQU1QxcnW2OCJhaS4x_45vN5/s754/OS%20state.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="122" data-original-width="754" height="104" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv4QBUkzTH4ux6vYKK11ojOnLfkCFv9JfWbHH06s4fL-7kReJVh7oxwDY7tCxXE7Upv2UMTRXFcv7PiBIbwlYcD0RgfHymvAzlY29Rh7sGmEqUSpfIeYFrDZaRF5eHcNiVNqCL7WhKyt9eGcnVylPYlLorgEOR9ymEoQU1QxcnW2OCJhaS4x_45vN5/w640-h104/OS%20state.PNG" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p>
<ol start="9" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Create VM image definition at ‘Target VM image
definition’. Here I’m giving name as ‘VM1Image’. Select publisher and
other details as shown below and click ‘OK’.<o:p></o:p></span></li>
</ol>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Image definition basically will have details about the image like OS
details, SKU details, VM generation and so on. This information helps in
logical group of images and also helps the user who is using this image to identify
the type of image being used.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2oSFbRniAfzTNHdcLENI29wBgE_Ub4RfaBzbl50E7EEQiTuOFmXi8Qfcz1CX0P6c8OLSVMZswpmo8X491flEFALMaJnmuzUV1irJyfuZYqboOKcgxt576O9pGDJlj_ima6l6B4fHGxZcNOPEIVpvRldFzpqLM45ruHGvFNoWlotA0Sj-4ESso_MhE/s824/create%20image%205.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="546" data-original-width="824" height="424" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2oSFbRniAfzTNHdcLENI29wBgE_Ub4RfaBzbl50E7EEQiTuOFmXi8Qfcz1CX0P6c8OLSVMZswpmo8X491flEFALMaJnmuzUV1irJyfuZYqboOKcgxt576O9pGDJlj_ima6l6B4fHGxZcNOPEIVpvRldFzpqLM45ruHGvFNoWlotA0Sj-4ESso_MhE/w640-h424/create%20image%205.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span><p></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjImbnP3WhJngkWPsEKjAEl_9JJXbn2zT9FLyGl30HWRNpyvsneqlqRJyUmztfYKrtDSlVRJu00LtOyB5v4PI_4w-YGS28_b5K11JPj1-8_VFR8lPmezEX446o_JV2oKQzU6vFOZttQD72hfAOQTNjecbPQABvtTUX4iSpO7OrUy11lxJ_h0_NCjvuJ/s819/create%20image%206.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="401" data-original-width="819" height="314" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjImbnP3WhJngkWPsEKjAEl_9JJXbn2zT9FLyGl30HWRNpyvsneqlqRJyUmztfYKrtDSlVRJu00LtOyB5v4PI_4w-YGS28_b5K11JPj1-8_VFR8lPmezEX446o_JV2oKQzU6vFOZttQD72hfAOQTNjecbPQABvtTUX4iSpO7OrUy11lxJ_h0_NCjvuJ/w640-h314/create%20image%206.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /><br /></span><p></p>
<ol start="10" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Under Version details, we can give ‘Version
number’ for the image, I’m giving as 1.1.0 and leaving other details
empty.<o:p></o:p></span></li>
</ol>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Versioning of image helps in segregating the images. For example, we can
have dedicated version for all production images, another dedicated versioning
for development images. Also, versioning helps in identifying the older and
newer versions. <o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiojxm1PVRT5OQ9e6LP__yvtHUW-R9VJ3K3qbTa-2ukyh0v29vPQwIYEeUg7MxNXOdz4n7jYk4rZSzDRcdTddA87bVTDyTO4jV9q93_MwLsoAnpY2pcZicYBDV1u4T-9cFFlxNSzbBC0j33P71OpprwssXHgcb5zDM-OUC-cwcHRc_WAYZHfQtqj55D/s779/create%20image%208.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="562" data-original-width="779" height="462" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiojxm1PVRT5OQ9e6LP__yvtHUW-R9VJ3K3qbTa-2ukyh0v29vPQwIYEeUg7MxNXOdz4n7jYk4rZSzDRcdTddA87bVTDyTO4jV9q93_MwLsoAnpY2pcZicYBDV1u4T-9cFFlxNSzbBC0j33P71OpprwssXHgcb5zDM-OUC-cwcHRc_WAYZHfQtqj55D/w640-h462/create%20image%208.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p>
<ol start="11" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">‘End of life date’ this option helps in making
user aware if the image they are using is latest one or old one. VMs can
still be created after the end-of-life date of the image but it will act
as an indicator for the user to know the image is outdated. I’m leaving this
as empty.<o:p></o:p></span></li>
</ol>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3QjiMCf-BD5pF3ujxC5dv1tuBLDgb9sWaMchz4CKSZahXV4atIXKYn-an-au_C1633KpuVSRwtVr1KL8M6QyeaZS7HNVEtgYCZKLH_EmGQt5KauYbPYLai3Pj3xoPjErb_Mbn6XUCFQ5egdZf8wAJyjr9WfO-9zZ1QHAkN7ltNFNm_wiMxR5LURPU/s385/end%20of%20life.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="201" data-original-width="385" height="209" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3QjiMCf-BD5pF3ujxC5dv1tuBLDgb9sWaMchz4CKSZahXV4atIXKYn-an-au_C1633KpuVSRwtVr1KL8M6QyeaZS7HNVEtgYCZKLH_EmGQt5KauYbPYLai3Pj3xoPjErb_Mbn6XUCFQ5egdZf8wAJyjr9WfO-9zZ1QHAkN7ltNFNm_wiMxR5LURPU/w400-h209/end%20of%20life.PNG" width="400" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">‘Shallow replication’ option creates
the image faster as it will not copy the image. This option can be selected if VMs
have larger disks as image gets created faster but you can’t deploy large number
of VMs concurrently if this option is selected. It is recommended to check this
option for development and test environment. I’m leaving this option unchecked.<o:p></o:p></span></p>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVQrvcZ9m3G65RWo6_JdU6IslSLYpFefxWYit3mcdJDcYClLoWmx8daLK0INNmO_654X8rYjZzCnQoUE8HC_Lj3tEYeYLnIhKl_XpQWfUaZtIdcBmEGzFhZeKdDAfWRLRYRXzz9g_wi1PcxgKRqxX_WBN8hjFkFJvgYNWPRCaXcXjwTDOqbCsPxhmK/s453/shallow%20replication.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="196" data-original-width="453" height="173" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVQrvcZ9m3G65RWo6_JdU6IslSLYpFefxWYit3mcdJDcYClLoWmx8daLK0INNmO_654X8rYjZzCnQoUE8HC_Lj3tEYeYLnIhKl_XpQWfUaZtIdcBmEGzFhZeKdDAfWRLRYRXzz9g_wi1PcxgKRqxX_WBN8hjFkFJvgYNWPRCaXcXjwTDOqbCsPxhmK/w400-h173/shallow%20replication.PNG" width="400" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p>
<ol start="12" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">We can copy the image we are creating to multiple
regions using ‘Replication’ option. To how many regions we want it to be
replicated and to which regions it has to be replicated can be configured
under ‘Replication’.<o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Under ‘Replication’ I’m giving ‘Default replica count’ as ‘1’ and selecting ‘(Asia
Pacific) Central India’ so the image will be replicated to this region.<o:p></o:p></span></p>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCIlIKL2HmP9otel63TEFqHchqRY0A2BpIGzItKaK7bB_GrNFxOjpR42mBIAPjiMMO1qGMsL7si2lMjk5Lqf9ATzbWvGIYmdTVPV6E-3NCS76D4VzOmYkyguycLJPs49PfdNHgzM9-I1oAMLVbt03NR_gAT56PjMWb5Qrk9hE8073xFXX1xRYVA6N9/s767/replication.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="449" data-original-width="767" height="374" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCIlIKL2HmP9otel63TEFqHchqRY0A2BpIGzItKaK7bB_GrNFxOjpR42mBIAPjiMMO1qGMsL7si2lMjk5Lqf9ATzbWvGIYmdTVPV6E-3NCS76D4VzOmYkyguycLJPs49PfdNHgzM9-I1oAMLVbt03NR_gAT56PjMWb5Qrk9hE8073xFXX1xRYVA6N9/w640-h374/replication.PNG" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p>
<ol start="13" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Now click on ‘Review+Create’.<o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAoAedV2e7z0JicYgrzawkA1D6YZoh88Y2uep2eYbYHX6ubFSyj_Qsi410_lyCMmu3qWCjHL4dI7bBv2KW_j5qWR5IMBwC2ZkfvPw8Br5rWSdmmrxnf98Prxbb3UQE3Fc-JlkRu4cNeWwL-AsPJgvJN3JP_7GY7qWHZW2yaGiggMFUXGgQGNZjmbRe/s782/review%20create.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="568" data-original-width="782" height="464" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAoAedV2e7z0JicYgrzawkA1D6YZoh88Y2uep2eYbYHX6ubFSyj_Qsi410_lyCMmu3qWCjHL4dI7bBv2KW_j5qWR5IMBwC2ZkfvPw8Br5rWSdmmrxnf98Prxbb3UQE3Fc-JlkRu4cNeWwL-AsPJgvJN3JP_7GY7qWHZW2yaGiggMFUXGgQGNZjmbRe/w640-h464/review%20create.PNG" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p><p class="MsoListParagraph"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4w387NrbflXhPvF2F0JA6UJ40OXY173OuwG7zXa3fGPNdIav0cWVnauHl9hX3KBdrj5YfVG6Wr3f5U-pjWsKsqhh7iKEKyhDwi35Q0PRRhSrOsYVOZ4Y1YE1monLjAWly9NKFdYUnwOAga0GrQQT-M_ZfhPgN9rsejkY-q9C35r839Ed26nOsnmYR/s597/create%20image%209.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="597" data-original-width="420" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4w387NrbflXhPvF2F0JA6UJ40OXY173OuwG7zXa3fGPNdIav0cWVnauHl9hX3KBdrj5YfVG6Wr3f5U-pjWsKsqhh7iKEKyhDwi35Q0PRRhSrOsYVOZ4Y1YE1monLjAWly9NKFdYUnwOAga0GrQQT-M_ZfhPgN9rsejkY-q9C35r839Ed26nOsnmYR/w450-h640/create%20image%209.PNG" width="450" /></a></div><br /><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p>
<ol start="14" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Wait for the image to be created.<o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirogVmykZpsNTvpeNzfp442xIdFbTXia3D28WxaKcieyFCcUKbbuwEwul2tv1-_e6V3c3pUFGftGNnceyewuSDnPzZTaUQBc9DWhdRj-Ddo_itg3SPSZ46hluSqI-1FLRqmQNoYm6JpsOk0w55ZO7f5v8hnsPOlhBjr7qAual9ZydGQsR2rKtJw9jE/s1022/deployment%20inprogress.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="502" data-original-width="1022" height="314" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirogVmykZpsNTvpeNzfp442xIdFbTXia3D28WxaKcieyFCcUKbbuwEwul2tv1-_e6V3c3pUFGftGNnceyewuSDnPzZTaUQBc9DWhdRj-Ddo_itg3SPSZ46hluSqI-1FLRqmQNoYm6JpsOk0w55ZO7f5v8hnsPOlhBjr7qAual9ZydGQsR2rKtJw9jE/w640-h314/deployment%20inprogress.PNG" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p>
<ol start="15" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Once the image creation is completed click on ‘Go
to resource’ it will take us to the image we created.<o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC5rKX2WRIbHF5h8-BRPJVSK2tYl2x-GktMk1M6B7jXwnbeWkJ-2Yk1K4AvZbEGY90im6SPiMeaLimghVkhRNJW5wCgZVYwsBnBMTrwuRpXitKIEy0Bbo1kFK6VhpbdIDatzmGi9DzkzjmvkM2t6JhDr85PpM3Fs8v564_nZl7VMzENxlH8e9464oe/s1001/deployment%20completed.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="426" data-original-width="1001" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC5rKX2WRIbHF5h8-BRPJVSK2tYl2x-GktMk1M6B7jXwnbeWkJ-2Yk1K4AvZbEGY90im6SPiMeaLimghVkhRNJW5wCgZVYwsBnBMTrwuRpXitKIEy0Bbo1kFK6VhpbdIDatzmGi9DzkzjmvkM2t6JhDr85PpM3Fs8v564_nZl7VMzENxlH8e9464oe/w640-h272/deployment%20completed.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p>
<ol start="16" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">In ‘Overview’ section of the image you can see 2
options like ‘Create VM’ , ‘Create VMSS’. We can use these buttons to
create a new VM or VMSS using the image we created. Click on ‘Create VM’.<o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb69bMtdQcrMsAgZi18R_90tTFZKoiTKMdbJxbsWNAH6X-yfXVG1D-ibGhntbXqQvtshSbc3IZ3GRvrd4fzf7KR4mVurnxrm3Lo_hA0DV1bX62quHGc_mT6rUOQGbKj-TC-uUIFBxAEfBfUvRwo6eAJ5C3u7mhPQTOoEDfZnD6DwkYxcm3Uz4oozIs/s1201/use%20of%20vm%20image.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="408" data-original-width="1201" height="218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb69bMtdQcrMsAgZi18R_90tTFZKoiTKMdbJxbsWNAH6X-yfXVG1D-ibGhntbXqQvtshSbc3IZ3GRvrd4fzf7KR4mVurnxrm3Lo_hA0DV1bX62quHGc_mT6rUOQGbKj-TC-uUIFBxAEfBfUvRwo6eAJ5C3u7mhPQTOoEDfZnD6DwkYxcm3Uz4oozIs/w640-h218/use%20of%20vm%20image.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p>
<ol start="17" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">If we click ‘Create VM’ it opens ‘Create a
virtual machine’ page and here if you scroll down you can see under ‘Image’
section the image we just created already selected. <o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgewYgFnY9B9ZP0YhZZ0LYkdrUxTR8eh7SFVurbDQPUw4vZRbU_lSi4VSHK4U00KBINxHiwv_OtQKlakkePLoO5LIfPz0X87v8r0MeOMmzGL5q3LW6MfSlohJdFA2hGIZ8LK7jX59o72-Y-6U-3ZCNqmNV8-rguXERKj6oJKI5X3P25Raj03o-HDf5h/s756/vm%20frm%20image%203.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="415" data-original-width="756" height="352" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgewYgFnY9B9ZP0YhZZ0LYkdrUxTR8eh7SFVurbDQPUw4vZRbU_lSi4VSHK4U00KBINxHiwv_OtQKlakkePLoO5LIfPz0X87v8r0MeOMmzGL5q3LW6MfSlohJdFA2hGIZ8LK7jX59o72-Y-6U-3ZCNqmNV8-rguXERKj6oJKI5X3P25Raj03o-HDf5h/w640-h352/vm%20frm%20image%203.png" width="640" /></a></span></div><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><br /></span><p></p>
<ol start="18" style="margin-top: 0cm;" type="1">
<li class="MsoListParagraph" style="margin-left: 0cm; mso-list: l0 level1 lfo1;"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">You can fill the other details and simply
click on ‘Review+Create’ and a new VM gets created which will have same
configuration as the image we used.<o:p></o:p></span></li>
</ol>
<p class="MsoListParagraph"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Hope this article helped in learning how to create our
own VM image in Azure similar to Azure marketplace image. Share your inputs in
comment section below.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> </span></p>
<p><span face="Verdana, sans-serif" style="font-size: 10pt;">Thanks VV!!</span> </p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-91972392897422802262023-05-17T22:03:00.004+05:302023-05-17T22:03:46.473+05:30How to save cost in Cloud Environment.<p></p><p class="reader-text-blockparagraph" style="background: white;"><span style="color: black; font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Segoe UI"; mso-color-alt: windowtext;">The common misconception is
that if we move to cloud the cost will reduce automatically but in most
scenarios that is not the case. How much cost you save in cloud will be
determined by the services you choose and next will be determined by which cost
saving strategies you are following in your environment.</span><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Segoe UI";"><o:p></o:p></span></p>
<p class="reader-text-blockparagraph" style="--artdeco-reset-typography_getfontsize: 1.6rem; --artdeco-reset-typography_getlineheight: 1.5; -webkit-text-stroke-width: 0px; background: white; border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; color: rgba(0, 0, 0, 0.9); font-size: var(--font-size-large); font-variant-caps: normal; font-variant-ligatures: normal; margin: 1.6rem 0px; orphans: 2; padding: var(--artdeco-reset-base-padding-zero); text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; vertical-align: var(--artdeco-reset-base-vertical-align-baseline); widows: 2; word-spacing: 0px;"><span style="color: black; font-family: Verdana, sans-serif; font-size: 10pt;">There are several strategies
we can follow to optimize cost in Cloud environment. We will see high level
view of those strategies here.</span></p>
<ol start="1" style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; color: var(--color-text); font-size: var(--font-size-large); margin: var(--artdeco-reset-base-margin-zero); padding: var(--artdeco-reset-base-padding-zero); vertical-align: var(--artdeco-reset-base-vertical-align-baseline);" type="1"><li class="MsoNormal" style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); margin: 0.8rem 0px 0.8rem 3.2rem; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; padding-left: 0.8rem; tab-stops: list 36.0pt; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><strong style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--artdeco-reset-typography-font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); outline: var(--artdeco-reset-base-outline-zero); padding: var(--artdeco-reset-base-padding-zero); vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi;">Removal of Unused
Resources</span></strong><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt;"> :
Yes, as per my experience one of the biggest mistakes cloud teams,
especially migration teams, do is not tracking the resources that are
created as part of migration activities. As multiple technical teams are
involved in cloud migration projects the main vacuum that appears is not
knowing what all resources are getting created by what all technical
teams. So, one important task cloud migration teams should add to their
project is tracking all the resources that are getting created as part of
the project and cleaning up of all the resources that are not in use on a
regular basis. This will amount to lots of cost saving for the customer.
Also, no need to mention separately that most of this tracking and removal
of resources can be automated.</span><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: Calibri;"><o:p></o:p></span></li>
<li class="MsoNormal" style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); margin: 0.8rem 0px 0.8rem 3.2rem; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; padding-left: 0.8rem; tab-stops: list 36.0pt; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><strong style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--artdeco-reset-typography-font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); outline: var(--artdeco-reset-base-outline-zero); padding: var(--artdeco-reset-base-padding-zero); vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi;">Turn off the lights when
not needed</span></strong><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt;"> :
This strategy is straight forward shutting down of the resources when they
are not in use. Except production servers the other servers like Dev, Test
will not be in use round the clock. So, any lower environment servers
which are not required to be running after business hours need to be
stopped on a regular basis. This will save lot of cost its similar to
turning off the lights in the house when you are going out.<o:p></o:p></span></li>
<li class="MsoNormal" style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); margin: 0.8rem 0px 0.8rem 3.2rem; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; padding-left: 0.8rem; tab-stops: list 36.0pt; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><strong style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--artdeco-reset-typography-font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); outline: var(--artdeco-reset-base-outline-zero); padding: var(--artdeco-reset-base-padding-zero); vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi;">Which size fits you? </span></strong><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt;">: This is one of
the most overlooked aspect. We all know there is no one size that fits all
of us in a similar way; we should not assume blindly that one size of VM
or one series of VM will suit all servers in a particular environment. For
example, there is no guarantee that all the VMs in a Test environment will
be of the same size or will require the same level performance. In a
environment each server will have its own resource requirements so while
deciding the server sizes or compute of any environment we should first
carefully calculate how much resources that particular VM require and
accordingly we should select the suitable series\sizing.<o:p></o:p></span></li>
<li class="MsoNormal" style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); margin: 0.8rem 0px 0.8rem 3.2rem; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; padding-left: 0.8rem; tab-stops: list 36.0pt; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><strong style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--artdeco-reset-typography-font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); outline: var(--artdeco-reset-base-outline-zero); padding: var(--artdeco-reset-base-padding-zero); vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi;">Are you using it?</span></strong><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt;"> : This
reminds of my friend who took a loan of 10 lakhs when he needed a loan of
7 lakhs. Now, he pays interest for entire 10 lakhs instead of his required
7 lakhs. Similarly, we should never equip the resources with more than
what they require. So regularly monitor how the cloud resources are used
and if you notice a pattern of any cloud resources which are underutilized
then you should plan and size those resources right. For example, if all a
server needs is the performance of medium web traffic and you are using H
series or F series, then it's obvious that it's underutilized so
monitoring the server usage patterns and reducing it to D series will save
a significant amount of money.<o:p></o:p></span></li>
<li class="MsoNormal" style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); margin: 0.8rem 0px 0.8rem 3.2rem; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; padding-left: 0.8rem; tab-stops: list 36.0pt; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><strong style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--artdeco-reset-typography-font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); outline: var(--artdeco-reset-base-outline-zero); padding: var(--artdeco-reset-base-padding-zero); vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi;">Does this DB need a
dedicated VM ?</span></strong><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt;"> : Now as part of cloud migration the majority
of the SQL Server instances are moved to cloud IaaS environment and this
is one of the sections where a lot of cost can be saved. I have seen
several VMs which are holding 2 to 5 databases that too non-critical
databases and getting migrated to cloud as it is to IaaS. In on-premises
we don't have any such option or facility to run database as
an independent resource but that is not the case in the cloud
where we can run only a single database without needing to configure VM,
we should make use of it. Evaluate all your database servers before
migration or even post migration and wherever possible move to PaaS
instead of IaaS.<o:p></o:p></span></li>
<li class="MsoNormal" style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); margin: 0.8rem 0px 0.8rem 3.2rem; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; padding-left: 0.8rem; tab-stops: list 36.0pt; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><strong style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--artdeco-reset-typography-font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); outline: var(--artdeco-reset-base-outline-zero); padding: var(--artdeco-reset-base-padding-zero); vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi;">Group the DBs</span></strong><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt;"> : One of
our customers has made a correct decision and moved several SQL Server VMs
to PaaS while migrating to cloud. But the catch is they moved each DB to a
separate PaaS resource and ended up resulting in high cost in cloud. Now
after analyzing what we realized is the move to PaaS is correct, but they
should have used DB Elastic Pools instead of individual Azure SQL DBs so
that bunch of DBs in pool would use common resources whenever required and
this would have saved lot of cost instead of allocating resources to each
Azure SQL DB separately. <o:p></o:p></span></li>
<li class="MsoNormal" style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); margin: 0.8rem 0px 0.8rem 3.2rem; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; padding-left: 0.8rem; tab-stops: list 36.0pt; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><strong style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--artdeco-reset-typography-font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); outline: var(--artdeco-reset-base-outline-zero); padding: var(--artdeco-reset-base-padding-zero); vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi;">Budgeting </span></strong><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt;">: Another
strategy to track and optimize cost is budgeting. In Azure you can create
budgeting and set up alerting for actual costs and forecast costs. This
helps in understanding the actual usage and also to forecast the cost
according to the on-going spending. Accordingly, decisions can be made to
optimize the costs. One good example is one of our test subscription which
has to be taken down after analyzing the budget forecast as the cost of
the subscription started to go way more than expected.<o:p></o:p></span></li>
<li class="MsoNormal" style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); margin: 0.8rem 0px 0.8rem 3.2rem; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; padding-left: 0.8rem; tab-stops: list 36.0pt; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><strong style="background: var(--artdeco-reset-base-background-transparent); border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--artdeco-reset-typography-font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); outline: var(--artdeco-reset-base-outline-zero); padding: var(--artdeco-reset-base-padding-zero); vertical-align: var(--artdeco-reset-base-vertical-align-baseline);"><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi;">Licensing </span></strong><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt;">: A lot can be
saved when it comes to Licensing in Azure. There are multiple
strategies like Azure Hybrid Benefit (where you can use your on-prem
license in cloud), Azure Reservations (reserving required resources for
certain time period to avail discount price provided by MS instead of Pay
as you go) and so on.<o:p></o:p></span></li>
</ol>
<p class="reader-text-blockparagraph" style="--artdeco-reset-typography_getfontsize: 1.6rem; --artdeco-reset-typography_getlineheight: 1.5; -webkit-text-stroke-width: 0px; background: white; border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; color: rgba(0, 0, 0, 0.9); font-size: var(--font-size-large); font-variant-caps: normal; font-variant-ligatures: normal; margin: 1.6rem 0px; orphans: 2; padding: var(--artdeco-reset-base-padding-zero); text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; vertical-align: var(--artdeco-reset-base-vertical-align-baseline); widows: 2; word-spacing: 0px;"><span style="color: black; font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Segoe UI"; mso-color-alt: windowtext;">There are many other ways as
well to reduce the cloud spending but as your cloud usage increases and cloud
environment starts expanding you can plan and implement suitable strategies as
per your environment.</span><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Segoe UI";"><o:p></o:p></span></p>
<p class="reader-text-blockparagraph" style="--artdeco-reset-typography_getfontsize: 1.6rem; --artdeco-reset-typography_getlineheight: 1.5; -webkit-text-stroke-width: 0px; background: white; border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; color: rgba(0, 0, 0, 0.9); font-size: var(--font-size-large); font-variant-caps: normal; font-variant-ligatures: normal; margin: 1.6rem 0px; orphans: 2; padding: var(--artdeco-reset-base-padding-zero); text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; vertical-align: var(--artdeco-reset-base-vertical-align-baseline); widows: 2; word-spacing: 0px;"><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Segoe UI";"><o:p> </o:p></span></p>
<p class="reader-text-blockparagraph" style="--artdeco-reset-typography_getfontsize: 1.6rem; --artdeco-reset-typography_getlineheight: 1.5; -webkit-text-stroke-width: 0px; background: white; border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; color: rgba(0, 0, 0, 0.9); font-size: var(--font-size-large); font-variant-caps: normal; font-variant-ligatures: normal; margin: 1.6rem 0px; orphans: 2; padding: var(--artdeco-reset-base-padding-zero); text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; vertical-align: var(--artdeco-reset-base-vertical-align-baseline); widows: 2; word-spacing: 0px;"><span style="color: black; font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Segoe UI"; mso-color-alt: windowtext;">Share what are the different
cost optimization strategies you use in your environment that help readers.</span><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Segoe UI";"><o:p></o:p></span></p>
<p class="reader-text-blockparagraph" style="--artdeco-reset-typography_getfontsize: 1.6rem; --artdeco-reset-typography_getlineheight: 1.5; -webkit-text-stroke-width: 0px; background: white; border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; color: rgba(0, 0, 0, 0.9); font-size: var(--font-size-large); font-variant-caps: normal; font-variant-ligatures: normal; margin: 1.6rem 0px; orphans: 2; padding: var(--artdeco-reset-base-padding-zero); text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; vertical-align: var(--artdeco-reset-base-vertical-align-baseline); widows: 2; word-spacing: 0px;"><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Segoe UI";"><o:p> </o:p></span></p>
<p class="reader-text-blockparagraph" style="--artdeco-reset-typography_getfontsize: 1.6rem; --artdeco-reset-typography_getlineheight: 1.5; -webkit-text-stroke-width: 0px; background: white; border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; color: rgba(0, 0, 0, 0.9); font-size: var(--font-size-large); font-variant-caps: normal; font-variant-ligatures: normal; margin: 1.6rem 0px; orphans: 2; padding: var(--artdeco-reset-base-padding-zero); text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; vertical-align: var(--artdeco-reset-base-vertical-align-baseline); widows: 2; word-spacing: 0px;"><span style="color: black; font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Segoe UI"; mso-color-alt: windowtext;">Thanks VV!!</span><span style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-bidi-font-family: "Segoe UI";"><o:p></o:p></span></p>
<p class="reader-text-blockparagraph" style="--artdeco-reset-typography_getfontsize: 1.6rem; --artdeco-reset-typography_getlineheight: 1.5; -webkit-text-stroke-width: 0px; background: white; border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; color: rgba(0, 0, 0, 0.9); font-size: var(--font-size-large); font-variant-caps: normal; font-variant-ligatures: normal; margin: 1.6rem 0px; orphans: 2; padding: var(--artdeco-reset-base-padding-zero); text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; vertical-align: var(--artdeco-reset-base-vertical-align-baseline); widows: 2; word-spacing: 0px;"><span style="font-family: "Segoe UI",sans-serif;"><o:p> </o:p></span></p>
<p class="reader-text-blockparagraph" style="--artdeco-reset-typography_getfontsize: 1.6rem; --artdeco-reset-typography_getlineheight: 1.5; -webkit-text-stroke-width: 0px; background: white; border: var(--artdeco-reset-base-border-zero); box-sizing: inherit; color: rgba(0, 0, 0, 0.9); font-size: var(--font-size-large); font-variant-caps: normal; font-variant-ligatures: normal; margin: 1.6rem 0px; orphans: 2; padding: var(--artdeco-reset-base-padding-zero); text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; vertical-align: var(--artdeco-reset-base-vertical-align-baseline); widows: 2; word-spacing: 0px;"><span style="color: black; font-family: "Segoe UI",sans-serif; mso-color-alt: windowtext;"><a href="https://www.linkedin.com/feed/hashtag/costoptimization" style="background-color: var(--artdeco-reset-link-background-color-transparent); border: var(--artdeco-reset-link-border-zero); box-sizing: inherit; color: var(--color-action); font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); overflow-wrap: break-word; padding: var(--artdeco-reset-base-padding-zero); text-decoration: var(--artdeco-reset-link-text-decoration-none); touch-action: manipulation; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);">#costoptimization</a> <a href="https://www.linkedin.com/feed/hashtag/cloudmigration" style="background-color: var(--artdeco-reset-link-background-color-transparent); border: var(--artdeco-reset-link-border-zero); box-sizing: inherit; color: var(--color-action); font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); overflow-wrap: break-word; padding: var(--artdeco-reset-base-padding-zero); text-decoration: var(--artdeco-reset-link-text-decoration-none); touch-action: manipulation; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);">#cloudmigration</a> <a href="https://www.linkedin.com/feed/hashtag/azure" style="background-color: var(--artdeco-reset-link-background-color-transparent); border: var(--artdeco-reset-link-border-zero); box-sizing: inherit; color: var(--color-action); font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); overflow-wrap: break-word; padding: var(--artdeco-reset-base-padding-zero); text-decoration: var(--artdeco-reset-link-text-decoration-none); touch-action: manipulation; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);">#azure</a> <a href="https://www.linkedin.com/feed/hashtag/sqlserver" style="background-color: var(--artdeco-reset-link-background-color-transparent); border: var(--artdeco-reset-link-border-zero); box-sizing: inherit; color: var(--color-action); font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); overflow-wrap: break-word; padding: var(--artdeco-reset-base-padding-zero); text-decoration: var(--artdeco-reset-link-text-decoration-none); touch-action: manipulation; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);">#sqlserver</a> <a href="https://www.linkedin.com/feed/hashtag/azurearchitect" style="background-color: var(--artdeco-reset-link-background-color-transparent); border: var(--artdeco-reset-link-border-zero); box-sizing: inherit; color: var(--color-action); font-size: var(--artdeco-reset-base-font-size-hundred-percent); font-weight: var(--font-weight-bold); margin: var(--artdeco-reset-base-margin-zero); overflow-wrap: break-word; padding: var(--artdeco-reset-base-padding-zero); text-decoration: var(--artdeco-reset-link-text-decoration-none); touch-action: manipulation; vertical-align: var(--artdeco-reset-base-vertical-align-baseline);">#azurearchitect</a></span><span style="font-family: "Segoe UI",sans-serif;"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p><br /><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-8255492773469636892022-09-17T19:38:00.002+05:302022-09-17T19:38:27.277+05:30How to open Firewall settings in a VM?<p> </p><p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;">To open the Firewall settings in a VM after connecting
to the VM:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;">First open control panel :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh654YhOJQY5OHTr38QNb9FZhCoZzfvBdKPwlAtMHmRiuYi0hBNrkmOEccgo_CEDs3ZusOIXzTR7hJheSQw2LiOwqhSTZbfgHSIO2BfiV1X1R3UZjFwz6HA9dRvXsU-tKxpCML5gA5NxBHPl8SRuvjsf8l3b_f-o7IfjAVEPcv7fxIVagUHwIq_tg/s671/ControlPanel.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="671" data-original-width="434" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh654YhOJQY5OHTr38QNb9FZhCoZzfvBdKPwlAtMHmRiuYi0hBNrkmOEccgo_CEDs3ZusOIXzTR7hJheSQw2LiOwqhSTZbfgHSIO2BfiV1X1R3UZjFwz6HA9dRvXsU-tKxpCML5gA5NxBHPl8SRuvjsf8l3b_f-o7IfjAVEPcv7fxIVagUHwIq_tg/w414-h640/ControlPanel.PNG" width="414" /></a></div><br /><p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;">Click on ‘System and Security’<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyk5LxAjtn6YVcN3oIZACTuyffpu-GW8K7QEbyJnueefecc_7AueNhnBlyp5tWOeIZEMYwBY2z5WiFWNtSGjuOiuQPOzgqY8fZLk82kent_jQ3rJD6G-xKpuIpl1vTsp41Br-LUTtiIqRVB4gKPEfGgJTuWWXx_sqyBMMn9113YhDw-qGJ09PymQ/s1124/controlpanelsecurity.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="423" data-original-width="1124" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyk5LxAjtn6YVcN3oIZACTuyffpu-GW8K7QEbyJnueefecc_7AueNhnBlyp5tWOeIZEMYwBY2z5WiFWNtSGjuOiuQPOzgqY8fZLk82kent_jQ3rJD6G-xKpuIpl1vTsp41Br-LUTtiIqRVB4gKPEfGgJTuWWXx_sqyBMMn9113YhDw-qGJ09PymQ/w640-h241/controlpanelsecurity.PNG" width="640" /></a></div><br /><p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;">Click on ‘Administrative Tools’<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZokq7ktDj0DPEmaJz1nW7m7hxeplmBsxCyLPV79qtzzElNFEcAyjGvp87xPL54X0CuloG-zSnnu9zXaY4ICtOtl8kRHRCfRGEFvFFd3oJwa7XqAtCodR_yocqPMdaAwvtmUCI7DJunErX4BFFEDWpoRlZU5AVEaWkFk5OzVZi9PvN3YkdDkNE1A/s851/admintools.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="427" data-original-width="851" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZokq7ktDj0DPEmaJz1nW7m7hxeplmBsxCyLPV79qtzzElNFEcAyjGvp87xPL54X0CuloG-zSnnu9zXaY4ICtOtl8kRHRCfRGEFvFFd3oJwa7XqAtCodR_yocqPMdaAwvtmUCI7DJunErX4BFFEDWpoRlZU5AVEaWkFk5OzVZi9PvN3YkdDkNE1A/s16000/admintools.PNG" /></a></div><br /><p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;">Double Click on ‘Windows Firewall with Advanced Security’<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhpfv6Eojy_bPKNCJ4gfCxJoVktXRF-KVf01nbb9gxUT0vg3Y-3dP-dt9lqpWMXrSJO6-_c6DU48IWU8dQIUyhMWL-jQFutEjKmcFvioKO9Yf2dQXEuHH6QrIe-h5ncrUk--f1bU6klf9I5f7nJGaurW3QUC_6vrnRwT3iVGCZoUMnBBDYdPUVYQ/s814/firewall.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="574" data-original-width="814" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhpfv6Eojy_bPKNCJ4gfCxJoVktXRF-KVf01nbb9gxUT0vg3Y-3dP-dt9lqpWMXrSJO6-_c6DU48IWU8dQIUyhMWL-jQFutEjKmcFvioKO9Yf2dQXEuHH6QrIe-h5ncrUk--f1bU6klf9I5f7nJGaurW3QUC_6vrnRwT3iVGCZoUMnBBDYdPUVYQ/s16000/firewall.PNG" /></a></div><br /><p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;">Now you can see all the Inbound and Outbound firewall
rules of the VM.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKDl4bBQobGrwtJhh2_1g2rDQr8lirKsERS1Z9xVUS7B25p8A868VPgI9XHej1JitSa1KuEomk1dS4YKUeW45UVk4sZEvWTXb-kDgv1UnvxV4NJ4BJu4tBPN3_c3VGKSgTaLG7Hz6khscfqxfnTzSSYhR0UiECwFpSnDmSJ_pscEvl1lF-_CfDfQ/s1351/beforefirewallrule.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="363" data-original-width="1351" height="172" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKDl4bBQobGrwtJhh2_1g2rDQr8lirKsERS1Z9xVUS7B25p8A868VPgI9XHej1JitSa1KuEomk1dS4YKUeW45UVk4sZEvWTXb-kDgv1UnvxV4NJ4BJu4tBPN3_c3VGKSgTaLG7Hz6khscfqxfnTzSSYhR0UiECwFpSnDmSJ_pscEvl1lF-_CfDfQ/w640-h172/beforefirewallrule.PNG" width="640" /></a></div><br /><p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;">Thanks VV!!<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family: "Verdana",sans-serif; font-size: 10.0pt; mso-ansi-language: EN-US;">#Firewall #Rules #</span><span style="font-family: Verdana, sans-serif; font-size: 10pt;">Security</span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-78218271980995978122022-08-25T13:36:00.003+05:302022-08-25T13:37:22.529+05:30How to migrate SSISDB to Azure VM. Issues faced during SSISDB upgrade.<p><span face="Verdana, sans-serif" style="font-size: 10pt;">In this article I will share the multiple issues faced
during the <a href="https://sqlserverstore.blogspot.com/2020/07/blog-post.html" target="_blank">migration </a>of SSISDB from the on-prem SQL Server 2016 to SQL Server
2017 version on an Azure VM. The moving of SSISDB is not a straight forward way
as the <a href="https://sqlserverstore.blogspot.com/2020/06/steps-to-migrate-sql-server-database-to.html" target="_blank">regular databases migration</a> to Azure VM. So, if it is not planned and executed properly there
will be multiple issues we need to deal with. So, I am trying to collate all
the issues I have faced during SSISDB migration during different scenarios into
this single article.</span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">After taking backup of the on-prem SSISDB database and
restored it in the Azure VM having SQL Server 2017 we need to upgrade the
SSISDB catalog. To upgrade we need to right click on the SSISDB catalog and
click on the upgrade option. While doing this upgrade we started receiving
below error.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><span face=""Verdana",sans-serif" lang="EN-US" style="color: #c00000; font-size: 10pt; mso-ansi-language: EN-US;">“The system cannot
find the file specified (System)”<o:p></o:p></span></i></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">As the upgrade through GUI is failed another way of
upgrading is by directly executing the "<b>ISDBUpgradeWizard.exe</b>". This exe will be in the location : “C:\Program Files\Microsoft SQL
Server\150\DTS\Binn\ISDBUpgradeWizard.exe”. Once you double click on the exe it
will start upgrading the SSISDB.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">In my scenario this also failed with below error:<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><span face=""Verdana",sans-serif" lang="EN-US" style="color: #c00000; font-size: 10pt; mso-ansi-language: EN-US;">“The SELECT
permission was denied on the object ‘object_permissions’, database ‘SSISDB’,
schema ‘internal’. Drop the certificate the user the user module signing (Microsoft.SqlServer.IntegrationServices.ISServerDBUpgrade)”<o:p></o:p></span></i></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">There could be many reasons why this fails<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Issue : 1</span></b><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> SSISDB was not restored correctly.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Resolution : Please follow the steps mentioned in this
<a href="https://blog.pythian.com/how-to-restore-ssisdb-to-another-server-and-migrate-the-ssis-catalog/">article</a>
which clearly mentioned how to restore SSISDB.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Issue : 2</span></b><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> The user having any DENY privileges assigned.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Resolution : Verify the account and make sure there is
no DENY READER, DENY WRITER permissions by mistake assigned to the user. Grant
all the required permissions.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Issue : 3</span></b><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> Registry not having the correct path of the DTSPath<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Resolution: Many online articles suggest a missing ‘\’
in the registry path also leads to this issue. So make sure you are
not having the same issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">In the registry : “Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft
SQL Server\140\SSIS\Setup\DTSPath”<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Correct path should be “C:\Program Files\Microsoft SQL
Server\140\DTS\” and not “C:\Program Files\Microsoft SQL Server\140\DTS”<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Issue : 4</span></b><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"> After correcting the registry path and above-mentioned other changes some
SQL jobs started executing fine but while deploying new SSIS packages received
below error:<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><span face=""Verdana",sans-serif" lang="EN-US" style="color: #c00000; font-size: 10pt; mso-ansi-language: EN-US;">“The required
components for the 64 bit edition of Integration Services cannot be found. Run
SQL Server setup to install the required components.”<o:p></o:p></span></i></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">To double check if the issue is recurring, we can run
below command:<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">EXECUTE [catalog].[check_schema_version]
@uesr32bitruntime=1<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">The above command also will throw the same error.<o:p></o:p></span></p>
<p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 13.3333px;">Resolution:</span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Make sure the account ‘##MS_SQLEnableSystemAssemblyLoadingUser##’
is created and has Unsafe Assembly permissions granted.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><span style="color: #6aa84f;">Create Login ##MS_SQLEnableSystemAssemblyLoadingUser##
FROM Asymmetric Key MS_SQLEnableSystemAssemblyLoadingKey<span style="mso-spacerun: yes;"> </span><o:p></o:p></span></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><span style="color: #6aa84f;">Grant Unsafe Assembly to
##MS_SQLEnableSystemAssemblyLoadingUser##</span><o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">After granting permission to above login the 64 bit
*** error was not appearing but the SSISDB upgrade was still not happening. <o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Issue : 5<o:p></o:p></span></b></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">To fix the SSISDB upgrade issue go to the stored
procedure in SSISDB and script the stored procedure [catalog].[create_environment]
here if you notice the script of the stored procedure it is created with ‘WITH
EXECUTE AS “accountname”.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Make sure the account mentioned in place of “accountname”
has full permission on the SSISDB. In my case the account was “ALLSchemaOwner”.
Once I granted the permissions to the account “ALLSchemaOwner” and tried upgrading
the SSISDB, the upgrade happened successfully this time.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Now the SSISDB got upgraded successfully, all the SSIS
packages are running successfully and we are able to deploy new packages
without any errors.<o:p></o:p></span></p>
<p class="MsoNormal"><span face="Verdana, sans-serif"><span style="font-size: 13.3333px;">Please let me know in the comments have you faced any issues while migrating or upgrading the SSISDB and how you fixed those issues.</span></span></p>
<p class="MsoNormal"><b><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Note : </span></b><span face="Verdana, sans-serif" lang="EN-US" style="font-size: 10pt;">Please keep in mind you don’t have to apply all the fixes mentioned in
the article. As per your issue you can apply the fix.</span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;">Thanks VV!!<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p> </o:p></span></p><p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="font-size: 10pt; mso-ansi-language: EN-US;"><o:p>Other Articles:</o:p></span></p><p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="color: #0000ee; font-size: 10pt; mso-ansi-language: EN-US;"><o:p><a href="https://sqlserverstore.blogspot.com/2021/02/when-no-one-have-sysadmin-permission-in.html" target="_blank">What to do when no one have sysadmin permission</a>.</o:p></span></p><p class="MsoNormal"><span face=""Verdana",sans-serif" lang="EN-US" style="color: #0000ee; font-size: 10pt; mso-ansi-language: EN-US;"><a href="https://sqlserverstore.blogspot.com/2021/03/powershell-script-for-regsitry-that.html" target="_blank">PowerShell script that displays all SQL Server folder locations from the registry.</a><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 13.3333px;"><o:p><span face="Verdana, sans-serif"><a href="https://sqlserverstore.blogspot.com/2020/11/sql-server-services-are-not-visible-in.html" target="_blank">SQL Server services are missing in SQL Server Configuration manager.</a></span></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 13.3333px;"><o:p><span face="Verdana, sans-serif"><br /></span></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 13.3333px;"><o:p><span face="Verdana, sans-serif"><br /></span></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 13.3333px;"><o:p><span face="Arial, Tahoma, Helvetica, FreeSans, sans-serif" style="background-color: white; color: #222222; font-size: 13.3333px;">#MSSQL #sql #sqlserver #script #sqlblog #SSISDB</span></o:p></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-90608791895744808012021-07-19T17:52:00.008+05:302021-07-19T17:58:22.099+05:30Creation of AlwaysOn group failing as already another AlwaysOn Group exists with the same name. <div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{36}" paraid="372266048" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">When you uninstall SQL Server without manually dropping the existing AAG group and trying to create an AAG group with the same name after reinstalling the SQL Server. or if the existing </span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">AlwaysOn</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;"> group was not dropped correctly and if we try to create a new AAG group with the same name. We sometimes receive the below error:</span></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{57}" paraid="648230034" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{64}" paraid="867139590" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US">"</span><span style="color: red;"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-style: italic; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US">Create failed for Availability Group 'DBAG'.</span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{72}" paraid="44180510" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span style="color: red;"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{79}" paraid="1925819479" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span style="color: red;"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-style: italic; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US">The availability group 'DBAG' already exists. This error could be caused by a previous failed CREATE AVAILABILITY GROUP or DROP AVAILABILITY GROUP operation. If the availability group name you specified is correct, try dropping the availability group and then retry CREATE AVAILABILITY GROUP operation.</span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{86}" paraid="969855173" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-style: italic; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"><span style="color: red;">Failed to create availability group 'DBAG'.</span></span><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US">"</span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{93}" paraid="1896247092" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{100}" paraid="456752053" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US">One of the reasons this error pops up is there will be a registry entry for the AAG name. </span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{107}" paraid="56659325" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{114}" paraid="611350764" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">To check if there is an entry in the registry for the AAG group with the same name already we can check in two </span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">ways:</span></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{121}" paraid="618445722" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="ListContainerWrapper SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; position: relative; user-select: text;"><ol class="NumberListStyle1 SCXW134427276 BCX0" role="list" start="1" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; cursor: text; margin: 0px; overflow: visible; padding: 0px; user-select: text;"><li aria-setsize="-1" class="OutlineElement Ltr BCX0 SCXW134427276" data-aria-level="1" data-aria-posinset="1" data-font="Verdana" data-leveltext="%1." data-listid="1" role="listitem" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; clear: both; cursor: text; direction: ltr; display: block; font-family: Verdana, Verdana_MSFontService, sans-serif; font-size: 11pt; margin: 0px 0px 0px 24px; overflow: visible; padding: 0px; position: relative; user-select: text; vertical-align: baseline;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{128}" paraid="2121658729" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">Query the "</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">sys.dm_hadr_name_id_map</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">".</span></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"134233279":true,"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></li></ol></div><div class="ListContainerWrapper SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; position: relative; user-select: text;"><ol class="NumberListStyle1 SCXW134427276 BCX0" role="list" start="2" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; cursor: text; margin: 0px; overflow: visible; padding: 0px; user-select: text;"><li aria-setsize="-1" class="OutlineElement Ltr BCX0 SCXW134427276" data-aria-level="1" data-aria-posinset="2" data-font="Verdana" data-leveltext="%1." data-listid="1" role="listitem" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; clear: both; cursor: text; direction: ltr; display: block; font-family: Verdana, Verdana_MSFontService, sans-serif; font-size: 11pt; margin: 0px 0px 0px 24px; overflow: visible; padding: 0px; position: relative; user-select: text; vertical-align: baseline;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{147}" paraid="86899568" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">Check the registry location "HKEY_LOCAL_MACHINE\Cluster\</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">HadrAgNameToldMap</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">".</span></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"134233279":true,"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></li></ol></div><div class="ListContainerWrapper SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; position: relative; user-select: text;"><ol class="NumberListStyle1 SCXW134427276 BCX0" role="list" start="3" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; cursor: text; margin: 0px; overflow: visible; padding: 0px; user-select: text;"><li aria-setsize="-1" class="OutlineElement Ltr BCX0 SCXW134427276" data-aria-level="1" data-aria-posinset="3" data-font="Verdana" data-leveltext="%1." data-listid="1" role="listitem" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; clear: both; cursor: text; direction: ltr; display: block; font-family: Verdana, Verdana_MSFontService, sans-serif; font-size: 11pt; margin: 0px 0px 0px 24px; overflow: visible; padding: 0px; position: relative; user-select: text; vertical-align: baseline;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{163}" paraid="1631272689" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"134233279":true,"201341983":0,"335559739":160,"335559740":259}" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></li></ol></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{179}" paraid="1346594546" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">When you query "</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">sys.dm_hadr_name_id_map</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">" and if you see an entry with the same AAG group name in my example if there is an entry with the name "DBAG" then we need to drop it before creating a new AG group with the same name.</span></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{187}" paraid="2076544071" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{195}" paraid="1667483857" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-style: italic; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">Select * from "</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">sys.dm_hadr_name_id_map</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">"</span></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{195}" paraid="1667483857" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><br /></span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{202}" paraid="1958776660" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-style: italic; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US">Go</span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{209}" paraid="547160742" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{216}" paraid="50920674" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US">Use the below command to drop the AAG group:</span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{223}" paraid="111337117" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{230}" paraid="652804661" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-style: italic; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US">DROP AVAILABILITY GROUP DBAG;</span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{237}" paraid="1290691418" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{244}" paraid="867838822" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">After dropping, we can verify the registry </span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">location</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;"> </span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">"HKEY_LOCAL_MACHINE</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">\Cluster\</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">HadrAgNameToldMap</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">" to make sure there is no entry with the same AAG name. </span></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{be1c4231-6813-4dc3-8ae6-0d182289f754}{251}" paraid="1289640025" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{d7e4d71c-9cc9-458e-8d5e-00002d766a0d}{3}" paraid="1166050334" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US">Then if we try to create the AG with the name "DBAG" it will allow us.</span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{d7e4d71c-9cc9-458e-8d5e-00002d766a0d}{10}" paraid="1400730933" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{d7e4d71c-9cc9-458e-8d5e-00002d766a0d}{17}" paraid="1028032416" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US">Please share if there is any easy way to fix this error in the comments section.</span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{d7e4d71c-9cc9-458e-8d5e-00002d766a0d}{24}" paraid="68348745" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{d7e4d71c-9cc9-458e-8d5e-00002d766a0d}{31}" paraid="1636052410" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="LineBreakBlob BlobObject DragDrop SCXW134427276 BCX0" face="WordVisiCarriageReturn_MSFontService, Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"><span class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;"> </span><br class="SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text; white-space: pre;" /></span><span class="TextRun EmptyTextRun SCXW134427276 BCX0" data-contrast="auto" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"></span><span class="EOP SCXW134427276 BCX0" data-ccp-props="{"201341983":0,"335559739":160,"335559740":259}" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; font-size: 11pt; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;"> </span></p></div><div class="OutlineElement Ltr BCX0 SCXW134427276" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: white; clear: both; cursor: text; direction: ltr; font-family: "Segoe UI", "Segoe UI Web", Arial, Verdana, sans-serif; font-size: 12px; margin: 0px; overflow: visible; padding: 0px; position: relative; user-select: text;"><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{d7e4d71c-9cc9-458e-8d5e-00002d766a0d}{38}" paraid="1318139087" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;">Thanks</span><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;"> VV!!</span></span></p><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{d7e4d71c-9cc9-458e-8d5e-00002d766a0d}{38}" paraid="1318139087" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;"><br /></span></span></p><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{d7e4d71c-9cc9-458e-8d5e-00002d766a0d}{38}" paraid="1318139087" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><span class="TextRun SCXW134427276 BCX0" data-contrast="none" face="Verdana, Verdana_EmbeddedFont, Verdana_MSFontService, sans-serif" lang="EN-US" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; color: #0e101a; font-size: 11pt; font-variant-ligatures: none; line-height: 19.425px; margin: 0px; padding: 0px; user-select: text;" xml:lang="EN-US"><span class="NormalTextRun SCXW134427276 BCX0" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; margin: 0px; padding: 0px; user-select: text;"><br /></span></span></p><p class="Paragraph SCXW134427276 BCX0" lang="EN-US" paraeid="{d7e4d71c-9cc9-458e-8d5e-00002d766a0d}{38}" paraid="1318139087" style="-webkit-tap-highlight-color: transparent; -webkit-user-drag: none; background-color: transparent; color: windowtext; font-kerning: none; margin: 0px; overflow-wrap: break-word; padding: 0px; user-select: text; vertical-align: baseline;" xml:lang="EN-US"><br /></p></div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1468347136164403682.post-43510833113238334082021-04-01T21:04:00.001+05:302021-04-01T21:06:53.850+05:30Script to verify Lock Pages in Memory and Instant File Initialization.<p> <span face="Verdana, sans-serif" style="font-size: 10pt;"> </span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">There
are several situations where we need to verify if Lock Pages in Memory and Instant
File Initialization are enabled or not. Like while setting up new servers, sometimes
during performance tuning and sometimes company policy verification and so on.<o:p></o:p></span></p>
<p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">The
general method is to go to run and dig deep in secpol.msc for Instant File
Initialization and gpedit.msc for verifying Lock Pages in Memory.</span></p>
<p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">Below
SQL queries help in verifying Lock Pages in Memory and Instant File
Initialization are enabled or not directly from SSMS:</span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">-- <b>Query to check Lock Pages In Memory</b><o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">--
If sql_memory_model_desc column output is LOCK_PAGES then it means Lock Pages
in Memory is enabled.<o:p></o:p></span></p>
<p class="MsoNormal"><i><span face="Verdana, sans-serif" style="font-size: 10pt;"><span style="color: #2b00fe;"><b>Select
sqlserver_start_time, sql_memory_model_desc from sys.dm_os_sys_info</b></span></span></i></p>
<p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">Go</span></p>
<p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">-- </span><b style="font-family: Verdana, sans-serif; font-size: 13.3333px;">Query to check </b><b style="font-family: Verdana, sans-serif; font-size: 10pt;">Instant File Initialization</b></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">--
If instant_file_initialization_enabled column output is Y, it means <span style="mso-spacerun: yes;"> </span>Instant File Initialization is enabled for that
particular service.<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="color: #2b00fe;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span><i><span face="Verdana, sans-serif" style="font-size: 10pt;">Select
servicename,instant_file_initialization_enabled from sys.dm_server_services</span></i></span></b></p>
<p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">Sample
Output:</span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisuBme0W1aZTMnmizfufh8vB5fVrJAYaWjgPddDQaLNzyfDrmQ4t108UB4qMlCK978KQLA-nj1ioqpjXSInDBvDnaYSwZaBb7ZpKG_c9esD5o3gioVWcBcV6rL6BgFYJVyQMbuRWJP0g/s443/LockPagesInMemory.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="202" data-original-width="443" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisuBme0W1aZTMnmizfufh8vB5fVrJAYaWjgPddDQaLNzyfDrmQ4t108UB4qMlCK978KQLA-nj1ioqpjXSInDBvDnaYSwZaBb7ZpKG_c9esD5o3gioVWcBcV6rL6BgFYJVyQMbuRWJP0g/s16000/LockPagesInMemory.PNG" /></a></div><br /><p></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">Note:</span></b><span face=""Verdana","sans-serif"" style="font-size: 10pt;"> These DMVs works
from SQL Server 2012 SP4 & above versions.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">Let
me know in the comments section below if any other easier way to get these details, it will help me and readers.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">Thanks
VV!!<o:p></o:p></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face="Verdana, sans-serif"><span style="font-size: 13.3333px;">#LockPagesInMemory, #InstantFileInitialization #MSSQL #sql #sqlserver #script #sqlblog</span></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-27273479228243244752021-03-16T12:35:00.009+05:302021-03-16T13:04:01.156+05:30 PowerShell script that displays all SQL Server folder locations from the registry.<p><span face="Verdana, sans-serif" style="background-color: white; color: darkgreen; font-size: 10pt;">Recently I was working
on an issue where the SQL Server agent was missing from the SQL Server configuration
manager. After going through sqlauthority blog realized there was a wrong entry
in the registry. Once I updated the SQL Server agent exe location in the
registry with the correct location then I was able to see the SQL Server agent back
in the configuration manager.</span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">So after this task, I
thought of writing a PowerShell script that can display all the SQL Server
folder locations from the registry instead of searching manually. This script
helps in displaying all the SQL Server registry entries of all the instances
installed in the server where this script is being run. Also, it will store the
output of the script by default in ‘C:\’ drive with the name
“Script_Registry_Entries_1.1_OutPut.txt”.<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-bidi-font-weight: normal;"><span face=""Verdana","sans-serif"" style="color: red; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><b>NOTE:</b></span><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; font-weight: bold; mso-bidi-font-family: "Lucida Console";"> Please remember incorrect updating of the registry will cause permanent damage to the server and data. So, please test
all the scripts in lower environments first.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">This single script named
Script_MSSQL_Registry_Entries_1.1.PS1 will query the registry and display below
details of all the SQL Server instances installed in the current server.<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">1. Startup Parameters <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">2. AgentErrorLog <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">3. SQLBinaryRoot <span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">4. SQLDataRoot<span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">5. ExternalLibraries <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">6. SQLServerPath <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">7.
SQLServerProgramDirectory<span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">8.
SQLServerErrorDump<span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">9.
SQLServerBackupDirectory <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">10.SQLServerBrowser<span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">11.SQLServerCEIPEXE<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">Please be careful while
working with the registry. As any incorrect modification of the registry will cause
data loss.<span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; tab-stops: 153.0pt; text-autospace: none;"><b style="mso-bidi-font-weight: normal;"><u><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">IMPORTANT NOTE: <o:p></o:p></span></u></b></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><span style="mso-spacerun: yes;"> </span>** This script will work only in Powershell
ISE or Powershell 62 bit. <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><span style="mso-spacerun: yes;"> </span>** It should be run as an ADMINISTRATOR. <o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">I invite you to follow
me @my blog: <a href="https://sqlserverstore.blogspot.com/">https://sqlserverstore.blogspot.com/</a>
and @ Twitter: @vinayprasadv for more useful articles.</span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">You can download the
script from below:<o:p></o:p></span></p>
<a href="https://drive.google.com/file/d/1mcxyPwOE_bJs-nFKbVUS2BJEHiH3hIwF/view?usp=sharing">
<input type="button" value="Download" />
</a>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face="Verdana, sans-serif" style="color: darkgreen; font-size: 10pt;">Sample output
screenshots:</span></p><p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face="Verdana, sans-serif" style="color: darkgreen; font-size: 10pt;"><br /></span></p><p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKhn_TedKsyxHgxEapz6qd52Y9huaizwhf5gWbat4pzIAlXUrC6Rz2dFmZjOOaR5lCMqVYuBw7UhZ0PdeKGKLvFpehkiZdKhG5DhGd3bgfBbHxWXSXaCDnzJq980GQZzdrLj9aIw0_Pg/s1004/query+registry.PNG" style="background-color: transparent; margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="616" data-original-width="1004" height="392" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKhn_TedKsyxHgxEapz6qd52Y9huaizwhf5gWbat4pzIAlXUrC6Rz2dFmZjOOaR5lCMqVYuBw7UhZ0PdeKGKLvFpehkiZdKhG5DhGd3bgfBbHxWXSXaCDnzJq980GQZzdrLj9aIw0_Pg/w640-h392/query+registry.PNG" width="640" /></a></div><p></p><br /><p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">I am working on updating
this script further and will re-share details once I complete it.<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><o:p>This script will be very helpful when we need to verify the SQL Server root folder locations in the registry while working on tasks like database migrations, database upgrades, SQL server registry issues, SQL server services missing, and so on.</o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">Thanks VV!!<o:p></o:p></span></p><p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";"><br /></span></p><p class="MsoNormal" style="background: white; mso-layout-grid-align: none; text-autospace: none;"><span face=""Verdana","sans-serif"" style="color: darkgreen; font-size: 10pt; mso-bidi-font-family: "Lucida Console";">#powershell #registry #mssql #sqlserver #sql #script #automation</span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-4160226777753782592021-02-23T13:37:00.013+05:302021-02-23T13:48:23.369+05:30When no one have sysadmin permission in the sql instance including you, what to do?<p><span face="Verdana, sans-serif" style="font-size: 10pt;">Recently I came across a situation where after a
server migration when I logged into the SQL instance I cannot see the SQL
Server agent. Verified the registry location of the SQL server agent and it has
the correct location. Verified folder permissions and the SQL service account
have all the required permissions on all the required folders. The server has 2
SQL instances and only one instance is missing the SQL server agent so
impulsively I have restarted the SQL services and obviously, it didn’t help.</span></p><p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">After verifying realized my account itself doesn’t
have sysadmin permission on the instance. Then noticed none of the accounts in
the instance have sysadmin permission and even ‘sa’ account details are lost.</span></p><p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">So the situation is no login has sysadmin permission
in the SQL instance below are the steps I followed to overcome this issue.</span></p><p class="MsoNormal"><span face="Verdana, sans-serif"><span style="color: red;"><span style="font-size: medium;">**</span><span style="font-size: 10pt;"> </span></span><span style="font-size: 10pt;">Please make sure You must be a member server’s
local administrator's group before performing these steps.</span></span><span face="Verdana, sans-serif" style="font-size: 13.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -18pt;"><span face="Verdana, sans-serif" style="font-size: 10pt;">1.</span><span face="Verdana, sans-serif" style="font-size: 7pt;"> </span><span face="Verdana, sans-serif" style="font-size: 10pt;">Open SQL server configuration manager and open the
properties of SQL server service of the instance you have this issue. In my
case, the instance name is SQL2017.</span><span face="Verdana, sans-serif" style="font-size: 13.5pt;"><o:p></o:p></span></p><p class="MsoNormal">
</p><p class="MsoNormal"><br /></p><p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOLh5t_FVJLwXdy_12NqGXEvmWWCHpboEW_arYZUsVvGBKeO62UEVo2rhErWnT6Avf8SXtyxFFBTCqoA_cTq51PlikkiJ0CaVAjMBc3RtVfnhQQkcsmMTyg9j48zNHhuSJKo8w1DJF2A/s890/missing_sysadmin.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="426" data-original-width="890" height="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOLh5t_FVJLwXdy_12NqGXEvmWWCHpboEW_arYZUsVvGBKeO62UEVo2rhErWnT6Avf8SXtyxFFBTCqoA_cTq51PlikkiJ0CaVAjMBc3RtVfnhQQkcsmMTyg9j48zNHhuSJKo8w1DJF2A/w640-h306/missing_sysadmin.PNG" width="640" /></a></div><br /><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span><p></p>
<p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"><!--[if !supportLists]--><span face=""Verdana","sans-serif"" style="font-size: 10pt; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;"><span style="mso-list: Ignore;">2.<span style="font: 7pt "Times New Roman";"> </span></span></span><span face="Verdana, sans-serif" style="font-size: 10pt;">Now click on startup parameters.</span></p><p class="MsoNormal"><span face=""Verdana","sans-serif""><o:p></o:p></span></p><p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0luMvZ6nh35TKVlNir8M3yCsp7ikB8-dDuec0mU3cZcgLwWZpFpBXtYeB0AlWzYtcvzDaNTU_68O1FcXmoC0cM61uq7rsWHCIYedwHRl8OtOatfS05NAdgEvSpJL6a3qU3clLOFciKQ/s492/missing_sa.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="492" data-original-width="416" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0luMvZ6nh35TKVlNir8M3yCsp7ikB8-dDuec0mU3cZcgLwWZpFpBXtYeB0AlWzYtcvzDaNTU_68O1FcXmoC0cM61uq7rsWHCIYedwHRl8OtOatfS05NAdgEvSpJL6a3qU3clLOFciKQ/w339-h400/missing_sa.PNG" width="339" /></a></div><br /><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span><p></p>
<p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"><!--[if !supportLists]--><span face=""Verdana","sans-serif"" style="font-size: 10pt; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;"><span style="mso-list: Ignore;">3.<span style="font: 7pt "Times New Roman";"> </span></span></span><span face="Verdana, sans-serif" style="font-size: 7pt;"> </span><span face="Verdana, sans-serif" style="font-size: 10pt; text-indent: -18pt;">Now type <span style="color: #2b00fe;">–m</span> in Add
startup parameters section and click on Add startup parameters.</span></p><p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p></o:p></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif""><o:p></o:p></span></p><p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTwh7Z-DYmn7f5oSyaoiiX1UQRDUUZNIaLhlqH8WDKQrudIYhm3Md6rr19OGIr8qt6_Ia_yM_uvkAJjtS3FJcTcGCA5B65oVsUBRgPzUldQtLPRDxrZX6jBYJNwQ3yKBUE65gHvxR6ng/s496/missing_administrator.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="496" data-original-width="417" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTwh7Z-DYmn7f5oSyaoiiX1UQRDUUZNIaLhlqH8WDKQrudIYhm3Md6rr19OGIr8qt6_Ia_yM_uvkAJjtS3FJcTcGCA5B65oVsUBRgPzUldQtLPRDxrZX6jBYJNwQ3yKBUE65gHvxR6ng/w336-h400/missing_administrator.PNG" width="336" /></a></div><br /><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span><p></p>
<p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"><!--[if !supportLists]--><span face=""Verdana","sans-serif"" style="font-size: 10pt; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;"><span style="mso-list: Ignore;">4</span></span><span face="Verdana, sans-serif" style="font-size: 10pt; text-indent: -18pt;">.</span><span face="Verdana, sans-serif" style="font-size: 7pt; text-indent: -18pt;"> </span><span face="Verdana, sans-serif" style="font-size: 10pt; text-indent: -18pt;">Now
restart the SQL services of the instance. Now the SQL instance will be started
in single-user mode. <u>Which allows any one member of the server’s local
administrator to connect to the SQL instance as a sysadmin.</u></span></p><p class="MsoListParagraph" style="text-indent: -18pt;"><o:p></o:p></p>
<o:p>
<p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"><span face="Verdana, sans-serif" style="font-size: 10pt;">5.</span><span face="Verdana, sans-serif" style="font-size: 7pt;"> </span><span face="Verdana, sans-serif" style="font-size: 10pt;">Open
SSMS and login to the instance with your windows login.</span><span face="Verdana, sans-serif" style="font-size: 13.5pt;"></span><o:p></o:p></p>
<o:p>
<p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"><span face="Verdana, sans-serif" style="font-size: 10pt;">6.</span><span face="Verdana, sans-serif" style="font-size: 7pt;"> </span><span face="Verdana, sans-serif" style="font-size: 10pt;">Now
grant sysadmin permission to your account.</span><span face="Verdana, sans-serif" style="font-size: 13.5pt;"></span><o:p></o:p></p>
<o:p>
<p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"><span face="Verdana, sans-serif" style="font-size: 10pt;">7.</span><span face="Verdana, sans-serif" style="font-size: 7pt;"> </span><span face="Verdana, sans-serif" style="font-size: 10pt;">Go back
to SQL server configuration manager and remove the <span style="color: #2b00fe;">–m</span> startup parameter. By
selecting the -m parameter and click on Remove.</span><span face="Verdana, sans-serif" style="font-size: 13.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal"><br /></p></o:p></o:p></o:p><p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYRydFYAvAtxbFdTP3OjgwfAkQHBM4QtjpaE2YFvgF2ePHufUTmXYLmXgxgDI1cDUajgPgbdYvr3aM_fZwZn_999kZU4byJOTGODk2ZnbQCJgA25dThymhU85JZasXVQrCqWaf3CAkJA/s496/lost_admin_access.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="496" data-original-width="419" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYRydFYAvAtxbFdTP3OjgwfAkQHBM4QtjpaE2YFvgF2ePHufUTmXYLmXgxgDI1cDUajgPgbdYvr3aM_fZwZn_999kZU4byJOTGODk2ZnbQCJgA25dThymhU85JZasXVQrCqWaf3CAkJA/w338-h400/lost_admin_access.PNG" width="338" /></a></div><br /><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span><p></p>
<p class="MsoListParagraph" style="mso-list: l0 level1 lfo1; text-indent: -18pt;"><!--[if !supportLists]--><span face=""Verdana","sans-serif"" style="font-size: 10pt; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;"><span style="mso-list: Ignore;">8.<span style="font: 7pt "Times New Roman";"> </span></span></span><span face="Verdana, sans-serif" style="font-size: 7pt; text-indent: -18pt;"> </span><span face="Verdana, sans-serif" style="font-size: 10pt; text-indent: -18pt;">Restart the SQL services.</span></p>
<p class="MsoNormal" style="mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-indent: -18pt;"><span face="Verdana, sans-serif" style="font-size: 10pt;">9.</span><span face="Verdana, sans-serif" style="font-size: 7pt;"> </span><span face="Verdana, sans-serif" style="font-size: 10pt;">Now you can log in back to SQL instance using ssms
and your account will have sysadmin permission.</span><span face="Verdana, sans-serif" style="font-size: 13.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;"> The same can be achieved via SQLCMD as well.</span><span face="Verdana, sans-serif" style="font-size: 13.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;"> Please share how you fixed this issue in your
environment in the comments section below.</span><span face="Verdana, sans-serif" style="font-size: 13.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;"> </span></p>
<p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">Thanks VV!!</span><span face="Verdana, sans-serif" style="font-size: 13.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 13.5pt;"> </span></p>
<p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">#backtobasics #sqlserver #mssqlserver #mssql
#singleusermode #administrator</span><span face="Verdana, sans-serif" style="font-size: 13.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif""> </span></p><span face=""Verdana","sans-serif"" style="font-size: 10pt;"></span><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-75989571144605543612020-11-03T16:07:00.008+05:302020-11-05T17:04:06.663+05:30SQL Server Services are not visible in the SQL Server configuration manager.<p><span face="Verdana, sans-serif" style="font-size: medium;"><b>The Curious Case of missing SQL Server Services in the SQL Server Configuration Manager.</b></span></p><p><span face="Verdana, sans-serif" style="font-size: 10pt;"><b>Issue:</b>
Services are not visible in SQL Server configuration manager.</span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p><p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">We
received a mail stating that the application is completely down and they are seeing
SQL Server related errors in the logs. When I connected to the database server noticed
services are not visible in the SQL Server configuration manager. Yes, there are no SQL
Server services in the SQL Server configuration manager. My first
impression, someone worked really hard!!</span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyftUtZ_zP5TFYrcCsW7JiPHJJzrte-1EjQXn6Ma91DXlh0LNZeIOTZT2jEBi0xCw7Noe07ltxPhyphenhyphenVcAILwYeLDjEZD1rtmqykYC_3JxFAsN_xRx-JKrCIESXJuAup16wSZafNLNY8nA/s1109/missing+services.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="services missing" border="0" data-original-height="236" data-original-width="1109" height="136" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyftUtZ_zP5TFYrcCsW7JiPHJJzrte-1EjQXn6Ma91DXlh0LNZeIOTZT2jEBi0xCw7Noe07ltxPhyphenhyphenVcAILwYeLDjEZD1rtmqykYC_3JxFAsN_xRx-JKrCIESXJuAup16wSZafNLNY8nA/w640-h136/missing+services.PNG" title="SQL Server services missing in SQL Server configuration manager" width="640" /></a></span></div><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span><p></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">When
I couldn’t see the SQL Server services in SQL Server Configuration manager the
next place I verified is services.msc. When I opened services.msc, I can see
SQL Server services there at least, but when I tried starting the services it
failed with the below error:<o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 141.0pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="color: red; font-size: 10pt;">Application popup: SQL Server: Your SQL Server installation is
either corrupt or has been tampered with (Could not open default language
SQLEVN70 resource file).<span style="mso-spacerun: yes;"> </span>Please
uninstall then re-run setup to correct this problem<o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 141.0pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 141.0pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">As the error indicates the installation is
either corrupt or there is a missing resource file. When I searched for the “<span style="color: red;">SQLEVN70</span>” resource file, I found it in the server. When
I verified the event logs noticed messages related to windows updates failure. So
next, I verified “View Installed Updates” under Control Panel -> Programs
-> Programs and Features -> Installed Updates (sample screenshot of the location below)</span></p><p class="MsoNormal" style="tab-stops: 141.0pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal" style="tab-stops: 141.0pt;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg2hQSlKXH3eoO3CNWR0QxPdJSoGnL2v99M4W71slusAwILApzyQVNZ5f3thXnSvA-f3Lv6cfXITIfE4SuVlmV3Kc9hNUviFOD7sDlcAlD3DCMB-plciPiUHSR0y_MOhdOedP_cx1-HQ/s972/View_Installed_Updates.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="check installed updates" border="0" data-original-height="273" data-original-width="972" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg2hQSlKXH3eoO3CNWR0QxPdJSoGnL2v99M4W71slusAwILApzyQVNZ5f3thXnSvA-f3Lv6cfXITIfE4SuVlmV3Kc9hNUviFOD7sDlcAlD3DCMB-plciPiUHSR0y_MOhdOedP_cx1-HQ/w640-h180/View_Installed_Updates.PNG" title="check installed updates" width="640" /></a></div><br /><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span><p></p><p class="MsoNormal" style="tab-stops: 141.0pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">and noticed 2 SQL Server updates that got installed
recently. One is Hotfix 5830 and the other is SQL Server 2016 SP2 CU14. Looks like
while these patches are getting installed the installation process got
interrupted due to some reason and the installation failed. This has resulted in the issue.<o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 141.0pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">Below are the troubleshooting steps I
followed for fixing my issue:<o:p></o:p></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"> </span></p><p class="MsoListParagraph" style="margin-left: 54pt; mso-list: l0 level1 lfo1; tab-stops: 141.0pt; text-indent: -18pt;"><!--[if !supportLists]--><span face=""Verdana","sans-serif"" style="font-size: 10pt; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;">1.<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><!--[endif]--><span face=""Verdana","sans-serif"" style="font-size: 10pt;">I have uninstalled
the hotfix 5830 first.<o:p></o:p></span></p><p class="MsoListParagraph" style="margin-left: 54pt; mso-list: l0 level1 lfo1; tab-stops: 141.0pt; text-indent: -18pt;"><!--[if !supportLists]--><span face=""Verdana","sans-serif"" style="font-size: 10pt; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;">2.<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><!--[endif]--><span face=""Verdana","sans-serif"" style="font-size: 10pt;">I have uninstalled
the CU14 hotfix.<o:p></o:p></span></p><p class="MsoListParagraph" style="margin-left: 54pt; mso-list: l0 level1 lfo1; tab-stops: 141.0pt; text-indent: -18pt;"><!--[if !supportLists]--><span face=""Verdana","sans-serif"" style="font-size: 10pt; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;">3.<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><!--[endif]--><span face=""Verdana","sans-serif"" style="font-size: 10pt;">Performed SQL Server
Instance repair.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"> </span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">Below are the details on how I did each of
the steps:<o:p></o:p></span></p><p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">First uninstalling the hotfix 5830. To Uninstall, right-click on the already
installed updates (which can be found here: </span><span face="Verdana, sans-serif" style="font-size: 13.3333px;">Control Panel -> Programs -> Programs and Features -> Installed Updates</span><span face="Verdana, sans-serif" style="font-size: 10pt;">) and click on ‘Uninstall’ and proceed.</span></p><p class="MsoListParagraph" style="margin-left: 54pt; tab-stops: 141.0pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYUuJXPmrl-Ol3va-8oQb-Ow4LMjspljqJmeFS1QFNKOi1QHF2oBlpeCu-ROzZWB14YY1eJY-DlJ5kXFKFhHElDWraFVcKOmnhlFaq2pKXTl90RlS9aAX63RY1X1EzUZoVZ2a6x8FXmA/s550/uninstall+hotifx.jpg" style="margin-left: 1em; margin-right: 1em;"><img alt="uninstall windows updates" border="0" data-original-height="97" data-original-width="550" height="112" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYUuJXPmrl-Ol3va-8oQb-Ow4LMjspljqJmeFS1QFNKOi1QHF2oBlpeCu-ROzZWB14YY1eJY-DlJ5kXFKFhHElDWraFVcKOmnhlFaq2pKXTl90RlS9aAX63RY1X1EzUZoVZ2a6x8FXmA/w640-h112/uninstall+hotifx.jpg" title="uninstall sql server hotifx" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div>Select the components from which you want to uninstall the hotfix or CU. Please note here I am selecting on 'Shared Features' but in the actual production server, we need to select all the components that are applicable like Database Engine and so on.<br /> <div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw5NHGpTpJmFV0Daar3fG1MMIbqJ7_bIpRxWHOtnDd3zI6WZxLG8ZSM3d0NcDxPiiTSMFF9Vqgeh6N4kyONC4a8X6I9OmuFiGySpI2t5MBTxMaP2o1LmXIrZxtlE_JF5l7eGJ_aQoM_Q/s801/uninstall+from+features.jpg" style="margin-left: 1em; margin-right: 1em;"><img alt="remove features" border="0" data-original-height="602" data-original-width="801" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw5NHGpTpJmFV0Daar3fG1MMIbqJ7_bIpRxWHOtnDd3zI6WZxLG8ZSM3d0NcDxPiiTSMFF9Vqgeh6N4kyONC4a8X6I9OmuFiGySpI2t5MBTxMaP2o1LmXIrZxtlE_JF5l7eGJ_aQoM_Q/w640-h480/uninstall+from+features.jpg" title="uninstall sql server patch" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">Click on 'Remove'</div><div class="separator" style="clear: both; text-align: center;"><br /></div><p class="MsoListParagraph" style="margin-left: 54pt; tab-stops: 141.0pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"></span></p><div class="separator" style="clear: both; text-align: left;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxkjelzSZG0Rpjb4tpTjQRuwObycn8GXBjm9AWh6-gV22byExmAxeogKSuK8KmawbxiZS4Udy1SmJxBtgj17cvC7IMc9huY1pFMjWM627V7-eBju_gfrN6N1KoDLg9nvhs6cmJQL5EZw/s807/remove+CU.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="uninstall sql server patch" border="0" data-original-height="603" data-original-width="807" height="478" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxkjelzSZG0Rpjb4tpTjQRuwObycn8GXBjm9AWh6-gV22byExmAxeogKSuK8KmawbxiZS4Udy1SmJxBtgj17cvC7IMc9huY1pFMjWM627V7-eBju_gfrN6N1KoDLg9nvhs6cmJQL5EZw/w640-h478/remove+CU.jpg" title="uninstall sql server patch" width="640" /></a></span></div><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span><p></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span style="font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span style="font-size: 10pt;">To Uninstall the CU14 from all the database
components, follow the same above step i.e.., right-click on the CU14 update in
‘view installed updates’ and select uninstall. Once uninstallation completes restart the server again.</span></p><p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">Now once the server comes up, copy the SQL
Server 2016 setup files to any drive in the server and run the setup.exe. </span><span face="Verdana, sans-serif" style="font-size: 10pt;">Once the window will open, select ‘Maintenance’
and select ‘Repair’, as shown below screenshot. Now select the instance that needs to be repaired and in
my case, it is the default instance.</span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCdOZgMUT70NzdtTIjvGOBw9ECygKFH8yRSNQe_LofRQ94cmulKBgSXXnxvPqUWmonfQj2pt5Ixbee6YM_TnD2xtPkyoU8DE1qO06SCBCgRK6wKeWBND6ODmtDktQ-F-IwHDtFlu2Y6Q/s786/Maintenace.PNG" style="margin-left: 1em; margin-right: 1em;"><img alt="sql server instance repair" border="0" data-original-height="298" data-original-width="786" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCdOZgMUT70NzdtTIjvGOBw9ECygKFH8yRSNQe_LofRQ94cmulKBgSXXnxvPqUWmonfQj2pt5Ixbee6YM_TnD2xtPkyoU8DE1qO06SCBCgRK6wKeWBND6ODmtDktQ-F-IwHDtFlu2Y6Q/w640-h242/Maintenace.PNG" title="sql server instance repair" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMtML8O7_I-HamdHdwJQw52ry_LvwgLb-LeD9U7sTpvMDG2DR-QxUMOzyqkb-AbbwPEOhvnHqXuCSOdfnzUJAwrYr17OpjE6Wp62DEIq31S0sswWMl3geZkSqoDceFxXANQR9-BX_-Gw/s786/repair.jpg" style="margin-left: 1em; margin-right: 1em;"><img alt="sql server instance repair" border="0" data-original-height="335" data-original-width="786" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMtML8O7_I-HamdHdwJQw52ry_LvwgLb-LeD9U7sTpvMDG2DR-QxUMOzyqkb-AbbwPEOhvnHqXuCSOdfnzUJAwrYr17OpjE6Wp62DEIq31S0sswWMl3geZkSqoDceFxXANQR9-BX_-Gw/w640-h272/repair.jpg" title="sql server instance repair" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">Press ‘Repair’ and the selected instance repair will
start</span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSaQvPCTF1qpWTwVACUzRC4Y7afJomf-NKltAUJ3Mv_AXIsHPAQLrBrST7mPmrgBBMaUTsuwQkW5vL14BhNrYsVdTix1dStxLPHNu4NpJkPlX2WBm3AIbSGefyC-yrJwKEJUCdrkghxA/s804/Instance_Repair.jpg" style="margin-left: 1em; margin-right: 1em;"><img alt="sql server instance repair" border="0" data-original-height="604" data-original-width="804" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSaQvPCTF1qpWTwVACUzRC4Y7afJomf-NKltAUJ3Mv_AXIsHPAQLrBrST7mPmrgBBMaUTsuwQkW5vL14BhNrYsVdTix1dStxLPHNu4NpJkPlX2WBm3AIbSGefyC-yrJwKEJUCdrkghxA/w640-h480/Instance_Repair.jpg" title="sql server instance repair" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><p class="MsoNormal"><span style="font-size: 10pt;">Once the repair of the instance completed
successfully I have refreshed the SQL Server Configuration Manager and I was
able to see all the SQL services in the SQL Server configuration manager.</span></p><p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">Now I have started the SQL Server services
and everything started working as usual.</span></p><p class="MsoNormal">
</p><p class="MsoNormal"><span face="Verdana, sans-serif" style="font-size: 10pt;">On searching online I found this issue of
services disappearing from SQL Server configuration manager also happens if
someone renames names in the registry if some dll or resource files are missing
and so on.</span></p>
<p class="MsoNormal" style="tab-stops: 141.0pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 141.0pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">If you have faced this issue share your
experience on how you fixed it in the comments sections below.<o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 141.0pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 141.0pt;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">Thanks VV!!<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><i style="mso-bidi-font-style: normal;"><span face=""Verdana","sans-serif"" style="font-size: 10pt;">“The
best friend you will ever find is you. Love yourself with joy and fill your
heart with bliss and happiness.”<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><b><i><span face=""Verdana","sans-serif"" style="font-size: 10pt;">―
Debasish Mridha</span></i></b></p>
<p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p> </o:p></span></p><p class="MsoNormal"><span face=""Verdana","sans-serif"" style="font-size: 10pt;"><o:p>#MSSQL #SQL #SQLServer #database</o:p></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-81874795247501937682020-08-24T22:56:00.003+05:302020-10-23T19:30:14.620+05:30Different Phases of Azure Database Migration and Tools that help during Azure Migrations.<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;"><p class="MsoNormal" style="text-align: center;"><span face="">A
successful cloud migration project implementation will not only save budget but
it will also result in smooth operations post-migration. It is critical to plan
and implement migration strategies after a thorough study.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face=""> <o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face="">In this article, we will discuss different activities involved in
each of the migration phases and different tools that can be used to perform
these activities. Please note this article is
written keeping in mind MSSQL On-Premise database migration to Azure so the
methods and tools mentioned in this article will be helpful for database
migrations. Few of the tools discussed in this article can be used for
performing many other activities like monitoring, analysis, and so on but the other features of the tools are not discussed here.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face=""> <o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face="">An Azure migration project involves many number of tasks that
needs to be performed such as the <a href="https://sqlserverstore.blogspot.com/2020/07/how-to-collect-information-related-to.html" target="_blank">gathering
of information</a>, validation of source databases\servers, cost analysis and
so on. Azure migration project activities can be mainly divided into 3 phases
as mentioned below.<o:p></o:p></span></p><p class="MsoNormal" style="text-align: left;"><span face=""><br /></span></p>
<p class="MsoNormal" style="text-align: left;"><b><span face=""> </span><span face="" style="text-indent: -18pt;">1. Pre-Migration
Phase.</span></b></p><p class="MsoNormal" style="text-align: left;"><span face="" style="text-indent: -18pt;"><b> 2. Migration
Phase.</b></span></p><p class="MsoNormal" style="text-align: left;"><span face="" style="text-indent: -18pt;"><b> 3. Post-Migration
Phase.</b></span></p>
<p class="MsoNormal" style="text-align: left;"><span face=""> <o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face=""> <o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><b><span face="">1.</span></b><span face=""> <b>Pre-Migration Phase: </b><o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><b><span face=""> </span></b><span face=""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face="">This is the beginning phase of the Azure migration project and it
is one of the important and strong pillars of a migration project. The
successful execution of a migration project depends on how detailed and
accurately this phase is executed. The main tasks of this phase are estimating
the cost of Azure resources, gathering all details of the source servers that
are required to be migrated, and to check if the source server/database can be
migrated or not.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 72pt; text-align: left;"><span face=""> <o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face="">We can estimate the cost savings that can be achieved by migrating
existing servers\databases to Azure, as discussed <a href="https://sqlserverstore.blogspot.com/2020/06/steps-to-migrate-sql-server-database-to.html" target="_blank">here</a>.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face=""> <o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face="">The first task is to gather information about the source
environment. For collecting information about source environment <a href="https://sqlserverstore.blogspot.com/2020/07/how-to-collect-information-related-to.html" target="_blank">MAPToolkit </a>is
one of the free tools available. We have discussed in detail about this tool <a href="https://sqlserverstore.blogspot.com/2020/07/how-to-collect-information-related-to.html" target="_blank">here</a>. After
gathering information about the source environment using <a href="https://sqlserverstore.blogspot.com/2020/07/how-to-collect-information-related-to.html" target="_blank">MAPToolkit</a>,
the next step is to check if the existing source environment or the database(s)
are ready to migrate to the cloud. As this article is written keeping MSSQL
database migrations in mind, to assess the source databases we can use the <a href="https://sqlserverstore.blogspot.com/2020/06/how-to-perform-offline-migration-of-sql.html" target="_blank">DMA</a> (Database
Migration Assistant) tool. <a href="https://sqlserverstore.blogspot.com/2020/06/how-to-perform-offline-migration-of-sql.html" target="_blank">DMA </a>is
discussed in detail <a href="https://sqlserverstore.blogspot.com/2020/06/how-to-perform-offline-migration-of-sql.html" target="_blank">here</a>. After assessing the source databases we will get
details of which databases can be migrated and which can’t be migrated, which
existing features of source environment are not in use in Azure, mainly we need
to identify and fix the migration blockers in the DMA tool output. Migration
blockers are the features or components that will block our Azure migration, these
can be identified using the <a href="https://sqlserverstore.blogspot.com/2020/06/how-to-perform-offline-migration-of-sql.html" target="_blank">DMA
tool</a>. After fixing all the migration blockers only Azure migration can be
performed successfully.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face=""> </span></p><p class="MsoNormal" style="text-align: left;"><b><span face="">2.</span></b><span face=""> <b>Migration Phase:<span style="background: white;"></span><!--[endif]--></b></span></p>
<p class="MsoNormal" style="background: white; text-align: left;"><span face=""> <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; text-align: left;"><span face="">In this phase, we will
perform the actual migration of applications, servers, and databases. There are a number of methods and tools available for performing MSSQL database migration,
in fact, there are various <a href="https://sqlserverstore.blogspot.com/2020/06/steps-to-migrate-sql-server-database-to.html" target="_blank">ways
to migrate</a> MSSQL database using <a href="https://sqlserverstore.blogspot.com/2020/06/how-to-migrate-sql-database-to-azure.html" target="_blank">SSMS
itself</a>. Based on the environment and customer specifications like the
downtime allowed, the volume of data, budget, and so on, the tools and
methods of migration vary. There is no one fixed method of migration which
suits for all environments and databases. There are different tools like
DMS (Database Migration Service), <a href="https://sqlserverstore.blogspot.com/2020/06/how-to-perform-offline-migration-of-sql.html" target="_blank">DMA </a>(Database
Migration Assistant), <a href="https://sqlserverstore.blogspot.com/2020/06/how-to-migrate-sql-database-to-azure.html" target="_blank">Transactional
Replication</a>, and so on.<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; text-align: left;"><span face=""> <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; text-align: left;"><span face="">How we plan and perform
a SQL Server Service Pack upgrade similarly once the type of migration and the
tool for migration is finalized we first need to perform migrations of low-risk
databases\environments like Test or Stage databases. Once we identify the challenges and
fixes during the migration of test or stage databases then we need to plan for
production database migration. Migrating less critical databases will give us a good estimate of how much time it takes to migrate, what are the challenges that
may occur during migration, and which method would be best suitable for
migrating the production database.<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; text-align: left;"><span face=""> <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; text-align: left;"><span face=""> <b>3.</b> <b>Post-Migration:</b><o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; text-align: left;"><span face=""> <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; text-align: left;"><span face="">Once migration is
completed the first step obviously is to validate the application. Once all
validations are completed then the next step is to start tracking and
monitoring the cloud environment. <o:p></o:p></span></p><p class="MsoNormal" style="background: white; text-align: left;"><span face=""><br /></span></p>
<p class="MsoNormal" style="background: white; text-align: left;"><span face="">As one of the main
advantages of moving to the cloud is to reduce cost, as we are billed 'Pay Per
Usage', to take the full advantage of 'Pay Per Usage' we need to keep
tracking our environment continuously and scale up and scale down cloud resources as
needed. Continuous monitoring of the cloud environment helps in removing
unused resources like unused storages, unused snapshots, unused VMs, and
so on. We should start collecting data points of the cloud environment
using different tools available. After gathering multiple data points by
monitoring the environment we can use those data points for optimizing and
cost-saving in the environment.<o:p></o:p></span></p><p class="MsoNormal" style="background: white; text-align: left;"><span face=""><br /></span></p>
<p class="MsoNormal" style="background: white; text-align: left;"><span face=""></span><span face="">Azure Monitor helps in
monitoring and tracking of applications, infrastructure, and networks. The data
gathered while monitoring can be used to perform several analysis and detecting
problems. Log analytics can be used to perform in-depth troubleshooting and
Applications Insight helps in working on application issues and dependencies.
At the time of writing this article Log Analytics and Application Insights also
falls under Azure Monitor. You can read in detail about <a href="https://docs.microsoft.com/en-us/azure/azure-monitor/overview" target="_blank">Azure monitor here.</a> </span></p><p class="MsoNormal" style="background: white; text-align: left;"><span face=""><br /></span></p><p class="MsoNormal" style="background: white; text-align: left;"><span face="">Azure Security Center is a security management system that helps in assessing and alerting about security issues of our environment and resources. It helps in assessing the environment/workloads and gives us the current status of the security of our resources and provides suitable recommendations. </span><span face="">You can read here in detail about <a href="https://docs.microsoft.com/en-us/azure/security-center/security-center-intro#:~:text=Azure%20Security%20Center%20is%20a,as%20well%20as%20on%20premises." target="_blank">AzureSecurity Centre</a>.</span></p><o:p>
<p class="MsoNormal" style="background: white; text-align: left;"><span face=""> <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white; text-align: left;"><span face="">Below picture shows
different phases and steps involved in each phase of MSSQL database migration
to Azure and different tools that will be helpful to perform different
activities.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face=""><o:p> </o:p></span></p></o:p></div>
<p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span></p>
<p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEityHStA45XZh0N19FFYF1T73UqRyYNyvjChPhGyYWQLN61hf1WXbpRogJBVwUg7tJFg7m1H1XqCXq_AJNxgW-nXmZylv_7z7Y5-JFVAAxh0RKYJ6wAePfCUBgXO-sorARYR76J35FsCQ/s1242/Azure+Migration+Phases.png" style="margin-left: 1em; margin-right: 1em;"><img alt="Stages of database migration to azure cloud" border="0" data-original-height="1242" data-original-width="481" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEityHStA45XZh0N19FFYF1T73UqRyYNyvjChPhGyYWQLN61hf1WXbpRogJBVwUg7tJFg7m1H1XqCXq_AJNxgW-nXmZylv_7z7Y5-JFVAAxh0RKYJ6wAePfCUBgXO-sorARYR76J35FsCQ/s16000/Azure+Migration+Phases.png" title="database migration" /></a></div><p></p>
<p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span></p>
<p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span></p><p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><a href="https://sqlserverstore.blogspot.com/2020/06/how-to-create-azure-sql-instance-and.html" target="_blank">How to create an Azure SQL Database?</a></span></p><p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><a href="https://sqlserverstore.blogspot.com/2020/06/how-to-migrate-sql-database-to-azure.html" target="_blank">How to perform ONLINE migration of the database to Azure?</a></span></p><p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><a href="https://sqlserverstore.blogspot.com/2020/06/how-to-perform-offline-migration-of-sql.html" target="_blank">How to perform OFFLINE migration of the database to Azure?</a></span></p><p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><br /></span></p>
<p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Thanks VV!!<o:p></o:p></span></p>
<p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span></p>
<p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span></p>
<p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">#Azuresql #Azuremigration #migration
#SQLServer #Azure #MSSQL #Databasemigration #Database <o:p></o:p></span></p>
<p class="MsoNormal" style="background: white;"><span face="" style="color: #222222; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> <o:p></o:p></span></p>
<p class="MsoNormal"><span face=""> </span></p></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-91301938080267360312020-07-13T14:13:00.002+05:302020-07-14T21:45:38.702+05:30How to collect information related to source servers before Azure migration?<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">While planning for a
migration one of the important steps is to study and understand our existing
source environment. We need to first understand whether our existing source
environment is ready for migration or not, what issues we might face if we
migrate, what dependencies we have between our servers and SQL
instances\databases, what users permissions exist and so on. A careful study of
our source environment helps in avoiding issues during migrations and even
prevents issues that might occur after migration.</span><o:p></o:p></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">We
already studied about <a href="https://sqlserverstore.blogspot.com/2020/06/how-to-perform-offline-migration-of-sql.html" target="_blank">DMA </a>tool, this tool helps greatly in verifying and
<a href="https://sqlserverstore.blogspot.com/2020/06/how-to-perform-offline-migration-of-sql.html" target="_blank">assessing the source databases</a> and it will give us a detailed report of whether
source databases are ready for migration or we need to fix any issues before
migrating and so on. But we should remember <a href="https://sqlserverstore.blogspot.com/2020/06/how-to-perform-offline-migration-of-sql.html" target="_blank">DMA </a>is not a tool for information
collection.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Many
clients manage inventory of the environments. For the people who are unaware of
inventory, it is the collection of all the details of the environment like
applications, servers, Hardware and Software details, database instances,
database details, storage, and so on. Having an inventory helps in planning any
migration activity smoothly because we will be well aware of our environment
and we can plan the migration accordingly. This is true for any kind of
migration not only cloud migrations. It is a time-consuming process to collect
the information manually and consolidate it. Instead of collecting or fetching
the information manually, we can use a tool called MAP Toolkit.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">What is MAP Toolkit?</span></span></strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Microsoft
Assessment and Planning Toolkit (MAP Toolkit) is a free Microsoft tool that can
be used to collect, assess, and display the information gathered in report
format automatically about our environment. This tool saves tons of time by
fetching the information of all the servers in our environment automatically.
We can use this tool to capture the performance metrics as well.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">How to download MAP
Toolkit?</span></span></strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">It
can be downloaded from <a href="https://www.microsoft.com/en-us/download/details.aspx?id=7826" target="_blank">here</a>.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">How to install Map
Toolkit?</span></span></strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">After
downloading the exe from the above location, installing the application is
quite straightforward and easy. Just double-clicking and clicking Next.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">How to use MAP
Toolkit?</span></span></strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">After
installing the tool click on the icon below:</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCe2mIFm2w4fkHZCgosnAI0-uU3CQku7AdCSlxdd7oH7ks_tGjnjdLh3RmWe6dt4laqIVI99vwD2SE4N3xrKYZ0W0QkMYj12ALoRS0QzUf_mD3DJV83NiV9kh14x0TyomlsDNaV844Bw/s1600/MAP_icon.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="106" data-original-width="76" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCe2mIFm2w4fkHZCgosnAI0-uU3CQku7AdCSlxdd7oH7ks_tGjnjdLh3RmWe6dt4laqIVI99vwD2SE4N3xrKYZ0W0QkMYj12ALoRS0QzUf_mD3DJV83NiV9kh14x0TyomlsDNaV844Bw/s1600/MAP_icon.PNG" /></a></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Now
once the tool will open the first step we need to perform is to give a name to
our inventory database</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7IaE0MZSSTuUFyojsfkxjVGYszND61U9XmnsZEj9V7-M6srCir_HjVfz5lFBRzc8cp-_xSjBGUFTt1jtHvoLtRltickWv42EWcKZNtTTFTUxKCF9bO8ChcLNGcJEc0XY5MMf2LEZkjQ/s1600/Open_Map.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="548" data-original-width="595" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7IaE0MZSSTuUFyojsfkxjVGYszND61U9XmnsZEj9V7-M6srCir_HjVfz5lFBRzc8cp-_xSjBGUFTt1jtHvoLtRltickWv42EWcKZNtTTFTUxKCF9bO8ChcLNGcJEc0XY5MMf2LEZkjQ/s1600/Open_Map.png" /></a></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Here
I’m naming my database as “DB Inventory”</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnboGVbn7tYKUkkXAHx7IPtVaTnIUIAJI8M2P1DlY-KIPS3ukUOyNth_28VYKbqnQOUIW3cWi0LfLNUq3cjuF1_ZnMB20GvQl8VjKyueEiRPjTurbRjkFuRQ6X4npI_v57ZHXCSylRAw/s1600/DB+Inventory.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="541" data-original-width="592" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnboGVbn7tYKUkkXAHx7IPtVaTnIUIAJI8M2P1DlY-KIPS3ukUOyNth_28VYKbqnQOUIW3cWi0LfLNUq3cjuF1_ZnMB20GvQl8VjKyueEiRPjTurbRjkFuRQ6X4npI_v57ZHXCSylRAw/s1600/DB+Inventory.png" /></a></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">After
naming the database, on the left side of the tool we can see different types of
information we can fetch using the tool.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb4J1bcuwxKVUYsVgAxKi4Qk5cyRBDMsdG04LeWOGdJUALyNfjTd-QttrYF4CjuyEwkP5f_V6n8ZDKQtARb6eJdV4ul40ppLW4rigGNw25cgXEzzXbitiQxWdQQ0TdOvCamG90F1pXFg/s1600/Options.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="346" data-original-width="252" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb4J1bcuwxKVUYsVgAxKi4Qk5cyRBDMsdG04LeWOGdJUALyNfjTd-QttrYF4CjuyEwkP5f_V6n8ZDKQtARb6eJdV4ul40ppLW4rigGNw25cgXEzzXbitiQxWdQQ0TdOvCamG90F1pXFg/s320/Options.png" width="232" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">As
mentioned earlier this tool is useful in fetching information about the entire
environment but in this article, we will see how we can fetch information about
SQL Server instances and databases within. So lets select ‘Database’ option
from the left side of the tool</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg14HbX9pO2yRgk9IOAsmG7rVpqa_2sntwCIkuqpFGpSroTT7MAJXNB59pcrw7TF8qNbMw8648PzGEyeHtAZqXxqG9CBmQg1ATP4TuuYt4jSKa_l4wSm9PKM7-6A2N0Oy1-Twila4Ojew/s1600/DB.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="436" data-original-width="961" height="289" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg14HbX9pO2yRgk9IOAsmG7rVpqa_2sntwCIkuqpFGpSroTT7MAJXNB59pcrw7TF8qNbMw8648PzGEyeHtAZqXxqG9CBmQg1ATP4TuuYt4jSKa_l4wSm9PKM7-6A2N0Oy1-Twila4Ojew/s640/DB.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Next
Click on the ‘collect inventory data’ option on the right side (highlighted in
below screenshot) of the tool</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1ujZpVl2ZEsYiex1ETkiOYGt5gjOgqbFnFnwuYpBdopn7-9i2P2CHFwDWxQohHVtlUZF8g7-dmRltn7YcDCesklKtKkBwZRUxDcZGopb3kMIPlqbaTMFdZoADjyQy_16RPqz_2ZUEPQ/s1600/DB2.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="436" data-original-width="961" height="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1ujZpVl2ZEsYiex1ETkiOYGt5gjOgqbFnFnwuYpBdopn7-9i2P2CHFwDWxQohHVtlUZF8g7-dmRltn7YcDCesklKtKkBwZRUxDcZGopb3kMIPlqbaTMFdZoADjyQy_16RPqz_2ZUEPQ/s640/DB2.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Now
the ‘Inventory and Assessment Wizard’ will open. Here we can select what different
types of inventories we can collect. </span></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUeTcHCf3xDrerlxp91xyMaiezHZrxEOt7KBFgE52gSGbTNk-3Up4Hf4gRvLS6JvwFvrE0TdQvrfIqc9yN7q3ARHZMlNhTaRrLFTuHJ1syI67Kn-ACyo7cs4YHZZTxFIXXhvbTdDuxKQ/s1600/inventory_scenarios.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="545" data-original-width="653" height="532" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUeTcHCf3xDrerlxp91xyMaiezHZrxEOt7KBFgE52gSGbTNk-3Up4Hf4gRvLS6JvwFvrE0TdQvrfIqc9yN7q3ARHZMlNhTaRrLFTuHJ1syI67Kn-ACyo7cs4YHZZTxFIXXhvbTdDuxKQ/s640/inventory_scenarios.PNG" width="640" /></a></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><br /></span></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><br /></span></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">As we want to collect information specific
to SQL Server, scroll down the list and select SQL Server and SQL Server with
Database Details from the list.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSOQjS_TmLQeqqVLswHE3UH9dc_7qHEc07DlfenZL38eLfYZ2F3Ij7HqBjpD_1ofYysTjQX47_bYGsHHRdMk6j7FuTO0oxBIXVElQWEEjbT6fB9iMIuHFcAlmymroYOySm6nAzK8havg/s1600/select.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="541" data-original-width="653" height="530" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSOQjS_TmLQeqqVLswHE3UH9dc_7qHEc07DlfenZL38eLfYZ2F3Ij7HqBjpD_1ofYysTjQX47_bYGsHHRdMk6j7FuTO0oxBIXVElQWEEjbT6fB9iMIuHFcAlmymroYOySm6nAzK8havg/s640/select.png" width="640" /></a></div>
<br />
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Based
on the scenarios we select above, the tool determines which different
technologies should be used to collect different information. In the next
window, we can select the ‘Discovery Methods’ like whether to use Active
Directory, Windows networking protocols, and so on. As I’m running this on my
local machine I will select the ‘Manually enter computer names and credentials’
option.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVyt9IQNH3kRF8B6Y5orPmy6p5EoXAPHRgW4ENCS6MArdlizyILKbOpj3V47HLqDGEyTghL4tkF0FE5zYkCXsjKP6M2D3JtmuXWelG894ik_ADwPKgwY0yTdyqEwuJB_nyS7ppKO3o4g/s1600/methods.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="542" data-original-width="651" height="531" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVyt9IQNH3kRF8B6Y5orPmy6p5EoXAPHRgW4ENCS6MArdlizyILKbOpj3V47HLqDGEyTghL4tkF0FE5zYkCXsjKP6M2D3JtmuXWelG894ik_ADwPKgwY0yTdyqEwuJB_nyS7ppKO3o4g/s640/methods.png" width="640" /></a></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">As we
are aware we need some credentials to access servers, in the next windows we
need to provide that credential information with which the tool can communicate
with the servers in the network. We can choose different credentials for
different technologies and if required we can validate the credentials using
Domain controller.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioV1_i19eUl22JNTT-EqnXf-3yxfW3GecRb671rVVqE8t6zLHc22PTUURDUrMik0F3N6SY6kyoUQONCUqLKJHiIDcfFZLifef0YCzgOKWy-KUg1pu-F2_Wk-VlFYk5A3GMHPG4rlC2pA/s1600/credentials.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="544" data-original-width="653" height="532" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioV1_i19eUl22JNTT-EqnXf-3yxfW3GecRb671rVVqE8t6zLHc22PTUURDUrMik0F3N6SY6kyoUQONCUqLKJHiIDcfFZLifef0YCzgOKWy-KUg1pu-F2_Wk-VlFYk5A3GMHPG4rlC2pA/s640/credentials.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Here
I want to only one credential for all the technologies, so I’m mentioning as
below</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwAoHNepnxISfegzeuzp-r5I8QBaEMUkaJInJDQtX7pZsgD5ktFCFIAaE7F22LRUpuhUAd_RUdnh6s6-cqagG3d-7VNxJH8BWz9Qc3croDaRF21HXF9iVZPIy5UEVPRU4G_uio1qV8XQ/s1600/credentials2.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="430" data-original-width="445" height="386" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwAoHNepnxISfegzeuzp-r5I8QBaEMUkaJInJDQtX7pZsgD5ktFCFIAaE7F22LRUpuhUAd_RUdnh6s6-cqagG3d-7VNxJH8BWz9Qc3croDaRF21HXF9iVZPIy5UEVPRU4G_uio1qV8XQ/s400/credentials2.png" width="400" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">When
we have multiple credentials in-place then in the next window we can prioritize
the credentials for each technology like in which sequence credentials need to
be used for each technology</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVO7xpgm5v0A8EWkjLhs68CBwFKjDtj5sAqBNg7MmBEoC93vGhnNgtrY73Vn2SBZyZiYOdu4AcjRvbK5Y_i6Nd-flopgvQtLofvcvvib_IQNcHXp4yrY54OT-vE_tv9WmpPPk8CiWOHg/s1600/credentials4.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="546" data-original-width="652" height="534" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVO7xpgm5v0A8EWkjLhs68CBwFKjDtj5sAqBNg7MmBEoC93vGhnNgtrY73Vn2SBZyZiYOdu4AcjRvbK5Y_i6Nd-flopgvQtLofvcvvib_IQNcHXp4yrY54OT-vE_tv9WmpPPk8CiWOHg/s640/credentials4.png" width="640" /></a></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">In
the next window, we need to specify the computer details for which we want to
fetch the information and along with that, we can provide the credential to use.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitmU3oYvIvWG-S8LZZjIpkR54UyxyR_8-x0FRkOpahxP5nMuY9WY3UIlhqxjVuuwlTiOTSLyIQhv1xdPwWGB4u391FP2I8n4hvGk-EkyEqXMqCoeGcUwXXBI2KRZZiU7CXckPu3Vzvkg/s1600/cred_for_compt.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="541" data-original-width="654" height="528" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitmU3oYvIvWG-S8LZZjIpkR54UyxyR_8-x0FRkOpahxP5nMuY9WY3UIlhqxjVuuwlTiOTSLyIQhv1xdPwWGB4u391FP2I8n4hvGk-EkyEqXMqCoeGcUwXXBI2KRZZiU7CXckPu3Vzvkg/s640/cred_for_compt.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Once
we click on ‘create’, we can add the computer names and which credentials to
use for the technologies. Here I’m using the same credentials.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig2AvI2ZFKzxgS_XeTOdTLrt09ec9QFY6rI-P0fEUlTat30EOyjOXBpJRJuEXYf4yFWuhOtkspyY8QFVNCpQ5qnEO43YyXTZJSU661rN2ksq2YauQ4dKKchCLnAkROhlaI8zMMH0XIyg/s1600/compt_cred.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="544" data-original-width="694" height="500" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig2AvI2ZFKzxgS_XeTOdTLrt09ec9QFY6rI-P0fEUlTat30EOyjOXBpJRJuEXYf4yFWuhOtkspyY8QFVNCpQ5qnEO43YyXTZJSU661rN2ksq2YauQ4dKKchCLnAkROhlaI8zMMH0XIyg/s640/compt_cred.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_NojOX17jMwvrR1Oq3L1-MxjeDaVOftJjSXuOZULXBQw4fKkcLGwy0osasfOfUeVapQ4wFJ7R1GZ57XIrH_SSAthsyM-Bc68Uqnf6uENIiJGp_9-2kO1FElLSzv0OCRjBu-ulQHTkQA/s1600/compt_cred2.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="552" data-original-width="694" height="508" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_NojOX17jMwvrR1Oq3L1-MxjeDaVOftJjSXuOZULXBQw4fKkcLGwy0osasfOfUeVapQ4wFJ7R1GZ57XIrH_SSAthsyM-Bc68Uqnf6uENIiJGp_9-2kO1FElLSzv0OCRjBu-ulQHTkQA/s640/compt_cred2.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Now
in the summary window, we can see all the options we selected. Cross check and
modify if any required.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLhyRSaTQBUQ8oJySQxCgnm1pUShdS7qfd9Jkyorzc5gPFYhuLNjCBCTr2kb7oteU3LJNApQfKDbuQp88jcOzsVkwxc1lZJ1nQi9I3Wbe9tI-ZzIOxQJTxpd8D4UC1FYwEC0ggJi5EAA/s1600/summary.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="546" data-original-width="651" height="536" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLhyRSaTQBUQ8oJySQxCgnm1pUShdS7qfd9Jkyorzc5gPFYhuLNjCBCTr2kb7oteU3LJNApQfKDbuQp88jcOzsVkwxc1lZJ1nQi9I3Wbe9tI-ZzIOxQJTxpd8D4UC1FYwEC0ggJi5EAA/s640/summary.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">After
clicking on ‘Finish’ the tool will start collecting the requested information
from the servers. We can see in the ‘Data Collection’ window which pops-up
automatically.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-ePYihhsCZs7OqFYbc4ZG1F1RDlHx2Xg9Bi1wB_ccY2PsTd9wfAiGLOE7e3wyNgvimkwDLUaFPK9slRN5VMG6j2692bqRYg3RDSr5IdBbPREcObAohcurHbQY8Ocbkuhj-AKec_Zm1A/s1600/inven_progress.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="357" data-original-width="848" height="167" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-ePYihhsCZs7OqFYbc4ZG1F1RDlHx2Xg9Bi1wB_ccY2PsTd9wfAiGLOE7e3wyNgvimkwDLUaFPK9slRN5VMG6j2692bqRYg3RDSr5IdBbPREcObAohcurHbQY8Ocbkuhj-AKec_Zm1A/s400/inven_progress.png" width="400" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Once
data collection is completed, click on close</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjij0YieFkizLDg610ag3kgLi8OHitktzeRZE-qsaO0Ibsa26mNncZ_F_HBMfr5mLsGFrCsRv6g94WlDxkeeG7CuiSFsToBzipKFVNPGQYecqcg0dr89AQdd7CHdyQpUo5OgLbNLAdy4Q/s1600/inven_completed.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="352" data-original-width="838" height="167" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjij0YieFkizLDg610ag3kgLi8OHitktzeRZE-qsaO0Ibsa26mNncZ_F_HBMfr5mLsGFrCsRv6g94WlDxkeeG7CuiSFsToBzipKFVNPGQYecqcg0dr89AQdd7CHdyQpUo5OgLbNLAdy4Q/s400/inven_completed.png" width="400" /></a></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><br /></span></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Now
once we go back to MAP Toolkit we can see the tool has identified 2 instances
of SQL Server in my machine and their version is SQL Server 2017. Click on
‘Total count’.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAqfkNz-AlBLy_6zgrnH-SQNHEKHNTqNGhp740dsTRWzR78vKD4AtgKGKHUacRqKfUawmSH3lDQQbRV0BTICALaWNkwtciEqeKtbkW4de1_X74acsvj7H_XiB0tdoLxb-3GgUWz2HagA/s1600/2instances.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="429" data-original-width="802" height="342" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAqfkNz-AlBLy_6zgrnH-SQNHEKHNTqNGhp740dsTRWzR78vKD4AtgKGKHUacRqKfUawmSH3lDQQbRV0BTICALaWNkwtciEqeKtbkW4de1_X74acsvj7H_XiB0tdoLxb-3GgUWz2HagA/s640/2instances.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Now
we can see more information about SQL Server components in my machine. Like
what all SQL Server components have been detected in machine</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiICO4TdHTpL3aoHQbJP3IpnGNoiTEJ0MBOpC2KlWhMYXWw8QLqAJ7mlk5Z2RuiOJyKMNCFVGsg3IIBYa6Uxps8r3_oVZDZ0AlMf7SN4NYHYBHa6vHmXG_IlZQSmIIYzdKkJPWY5uic7g/s1600/sample_output.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="505" data-original-width="938" height="344" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiICO4TdHTpL3aoHQbJP3IpnGNoiTEJ0MBOpC2KlWhMYXWw8QLqAJ7mlk5Z2RuiOJyKMNCFVGsg3IIBYa6Uxps8r3_oVZDZ0AlMf7SN4NYHYBHa6vHmXG_IlZQSmIIYzdKkJPWY5uic7g/s640/sample_output.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbrXAXnq-QGyRQOSRqyhJaPdLr7NqBefMTPd5e7moSVuHUb5_GjZSr1MHYoyOZyaV_D1-xrqz__qGJfumcpAgEOyoskHDKqUkKLTtbHspLYp54E_KMOsl_qcOIhUA5ysGqfTUi0eLow/s1600/sql_components_sample.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="307" data-original-width="902" height="216" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbrXAXnq-QGyRQOSRqyhJaPdLr7NqBefMTPd5e7moSVuHUb5_GjZSr1MHYoyOZyaV_D1-xrqz__qGJfumcpAgEOyoskHDKqUkKLTtbHspLYp54E_KMOsl_qcOIhUA5ysGqfTUi0eLow/s640/sql_components_sample.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">What
editions are available</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrdkvcBeZtseFKaLV5wSDYuxQ-JysC38PflHqiKhBKx2mffN9Hnlr3SoXGGwJdafx8Dxj6QiapSOzehi6BMekF26LTYkmvNEDdy4BT5oVGzLlH7rHeYHnykAt_Z-abBBgaiTgXaHJRAA/s1600/editions_sample.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="443" data-original-width="876" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrdkvcBeZtseFKaLV5wSDYuxQ-JysC38PflHqiKhBKx2mffN9Hnlr3SoXGGwJdafx8Dxj6QiapSOzehi6BMekF26LTYkmvNEDdy4BT5oVGzLlH7rHeYHnykAt_Z-abBBgaiTgXaHJRAA/s640/editions_sample.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Now
scroll up and on right side top corner we can see two reports available as shown
in the picture below</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBpqBn_ibUk_Tru003xslS9Wpmz_lKv5JFmBcTkN81by1KoRKeyxoiGID33rOoF8EGhrJMHakHFXZT0_5PIW1LloBnZ8snpQ1UEc75M10JoWAdIs-AjlZ_7Uh_G_k_jt37f-Zsofeybw/s1600/report_options.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="148" data-original-width="944" height="100" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBpqBn_ibUk_Tru003xslS9Wpmz_lKv5JFmBcTkN81by1KoRKeyxoiGID33rOoF8EGhrJMHakHFXZT0_5PIW1LloBnZ8snpQ1UEc75M10JoWAdIs-AjlZ_7Uh_G_k_jt37f-Zsofeybw/s640/report_options.PNG" width="640" /></a></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><br /></span></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Once
we click on the required report, a report will be generated and saved as shown
below</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaSxNypkSxeDTvfbg9dwZeg6gGxRc42njhWFryhJue5n32YdcASOs381e_Ca3gLwPlikI70LENKkFX3AI7jxg3aaGEihVh7y8YV3SlI0DWGCmIijXFhu3yDQwOWqTaYEpyEekcz5Dwkw/s1600/report_status.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="214" data-original-width="596" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaSxNypkSxeDTvfbg9dwZeg6gGxRc42njhWFryhJue5n32YdcASOs381e_Ca3gLwPlikI70LENKkFX3AI7jxg3aaGEihVh7y8YV3SlI0DWGCmIijXFhu3yDQwOWqTaYEpyEekcz5Dwkw/s640/report_status.PNG" width="640" /></a></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Once
we open the report we can see entire information about the SQL Server
environment. These reports will have detailed information about the SQL instances like components of SQL, their configuration, settings, database details, user details and much more. Below are a few sample screenshots.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWou7RuHPohogIciXWAifbmBL0cSFSSaV7BV1In12anXevKLP6aw09lFQK8hHfYjprs8h3Lj3l0ROELl9UFS3n81RvoxPZtql-ouVAXtUAs9eLLTL3TtPz_9PNRcSPpvayIpWeasuYvQ/s1600/asses_summary.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="295" data-original-width="457" height="206" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWou7RuHPohogIciXWAifbmBL0cSFSSaV7BV1In12anXevKLP6aw09lFQK8hHfYjprs8h3Lj3l0ROELl9UFS3n81RvoxPZtql-ouVAXtUAs9eLLTL3TtPz_9PNRcSPpvayIpWeasuYvQ/s320/asses_summary.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsa5EiESnmXm12fu0QkjUrnejIjXSXDIKGnSjSmwhka6xdpmKPKxRGyi1nosDUTa9CO2IefcJZD0Xtg7zDENNKysr9WZAdqnV39VyA57YelA2TjpkpqnQpZISfarw4ehSjKBlqeudA4A/s1600/sample_output4.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="239" data-original-width="646" height="236" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsa5EiESnmXm12fu0QkjUrnejIjXSXDIKGnSjSmwhka6xdpmKPKxRGyi1nosDUTa9CO2IefcJZD0Xtg7zDENNKysr9WZAdqnV39VyA57YelA2TjpkpqnQpZISfarw4ehSjKBlqeudA4A/s640/sample_output4.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcofUKpYULfxA_1qrYhppaNxy1pTEtxw3PxYkNLupJ567weGLvNyUOKqpII5n0h2OpR3_RT-b0N_H4spXoup_z-UhqbpI1wfwdwLpx9pgTMqQfbP6L93aeOaEFWelYQA3FUW53dZ6-DA/s1600/asses_summary3.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="437" data-original-width="1075" height="260" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcofUKpYULfxA_1qrYhppaNxy1pTEtxw3PxYkNLupJ567weGLvNyUOKqpII5n0h2OpR3_RT-b0N_H4spXoup_z-UhqbpI1wfwdwLpx9pgTMqQfbP6L93aeOaEFWelYQA3FUW53dZ6-DA/s640/asses_summary3.png" width="640" /></a></div>
<br />
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Similarly,
we can use this tool in collecting information about our entire environment
during the planning phase of the migration.</span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><a href="https://sqlserverstore.blogspot.com/2020/06/how-to-perform-offline-migration-of-sql.html" target="_blank">How to assess the source database before performing a migration to the Azure cloud?</a></span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">Thanks
VV!!</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p>The habit of procrastination fatigues you more than the effort it takes to do it. - Shiv Khera</o:p></span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p><br /></o:p></span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;"><o:p> </o:p></span><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 14.6667px;">#Inventory </span><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 11pt;">#migration #AzureSQL #Azure #SQLServer #MSSQL #MAPToolkit #planning #Azuremigration</span></div></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-5193015040786828862020-07-06T10:52:00.003+05:302020-07-06T10:57:59.297+05:30How to choose the target Azure SQL platform while migrating on-premise SQL Server database?<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="MsoNormal" style="background: rgb(248, 249, 250); mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;"><p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">As
part of database migration to cloud one of the important decision to make is which target
platform to choose. As discussed in the <a href="https://sqlserverstore.blogspot.com/2020/06/comparison-of-azure-sql-database-vs.html" target="_blank">previous article</a> there are multiple options
to choose from the Azure SQL family while migrating our on-premise SQL Server. </span><span style="font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">Below
flowchart helps in choosing the </span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">target</span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;"> </span><span style="font-family: verdana, sans-serif; font-size: 10pt;">Azure SQL platform from a database perspective </span><span style="font-family: verdana, sans-serif; font-size: 10pt;">by evaluating scenarios
like if we want to migrate a single database or multiple databases,</span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;"> if want to use only database scoped features or we want to use instance scoped features as well, </span><span style="font-family: verdana, sans-serif; font-size: 10pt;">if we have
any other applications that we need to migrate along with the databases, if we
want the control of underlying instance and OS.</span></p><p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">Remember target platform selection should not be decided solely based on the below chart, because
choosing a target platform should not be done only by evaluating database features and dependencies. We also need to take into account many other important factors like infrastructure, application compatibility,
support requirements after migration, business needs, cost, and so on. </span></p></div><div class="MsoNormal" style="background: rgb(248, 249, 250); mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;"><b><span style="color: black; font-family: verdana, sans-serif; font-size: 13pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-font-kerning: 18.0pt;"><br /></span></b></div><div class="MsoNormal" style="background: rgb(248, 249, 250); mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<b><span style="color: black; font-family: verdana, sans-serif; font-size: 13pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-font-kerning: 18.0pt;">Azure Target Platform Selection Chart:</span></b><b><span style="color: black; font-family: helvetica, sans-serif; font-size: 13pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-font-kerning: 18.0pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="background: rgb(248, 249, 250); mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<b><span style="color: black; font-family: verdana, sans-serif; font-size: 13pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-font-kerning: 18.0pt;"><br /></span></b></div>
<div class="MsoNormal" style="background: rgb(248, 249, 250);">
<span style="color: black; font-family: verdana, sans-serif; font-size: 13pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">This
chart helps as a starting point in deciding which target platform in Azure
suits to your existing on-premise environment.</span><span style="color: black; font-family: helvetica, sans-serif; font-size: 13pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: rgb(248, 249, 250);">
<br /></div>
<div class="MsoNormal" style="background: rgb(248, 249, 250);">
<b><span style="color: #cc0000; font-family: verdana, sans-serif; font-size: 13pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Note: </span></b><span style="color: black; font-family: verdana, sans-serif; font-size: 13pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">This chart gives you only a high-level idea of which target platform can
be selected, but many many other parameters need to be considered before
finalizing the target platform. Please evaluate all the parameters as per
your environment and decide the target platform.</span><span style="color: black; font-family: helvetica, sans-serif; font-size: 13pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: rgb(248, 249, 250);">
<span style="color: black; font-family: verdana, sans-serif; font-size: 13pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><br /></span></div>
<div class="MsoNormal" style="background: rgb(248, 249, 250);">
<span style="color: black; font-family: verdana, sans-serif; font-size: 13pt; mso-bidi-font-family: Helvetica; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYQpqJC9CZhKMxMPyTpVV5ku-MJVL1CR1hlUVKIVEmQdrjw1-vWS2-N_DKXmNZmnReh76qbg9vXvVHL_iueCvmDGKFAdv4L-8MiLT4ITIZnBtXzCIGbe5y-lzjrkWU-aiRU5PKmRGIew/s1312/wSelecting_Azure_Target_Platform.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1312" data-original-width="820" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYQpqJC9CZhKMxMPyTpVV5ku-MJVL1CR1hlUVKIVEmQdrjw1-vWS2-N_DKXmNZmnReh76qbg9vXvVHL_iueCvmDGKFAdv4L-8MiLT4ITIZnBtXzCIGbe5y-lzjrkWU-aiRU5PKmRGIew/d/wSelecting_Azure_Target_Platform.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div>
<div class="MsoNormal" style="background: rgb(248, 249, 250);"><span style="background-color: transparent; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal" style="background: rgb(248, 249, 250);"><span style="background-color: transparent; font-family: verdana, sans-serif; font-size: 10pt;"><a href="https://sqlserverstore.blogspot.com/2020/06/comparison-of-azure-sql-database-vs.html" target="_blank">AzureSQL Database vs Azure SQL Managed Instance vs SQL Server on Azure VMs.</a></span></div><div class="MsoNormal"><p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Thanks
VV!!<o:p></o:p></span></div>
<br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">#azure
#databasemigration #azuremigration #sqlserver #sql #dbmigration #Azure <o:p></o:p></span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">#AzureSQL</span></div>
<br /></div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1468347136164403682.post-22472123887261834102020-06-29T10:52:00.004+05:302020-07-06T10:57:35.103+05:30Azure SQL Database vs Azure SQL Managed Instance vs SQL Server on Azure VMs.<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="MsoNormal"><p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">While
migrating on-premise SQL Server to Azure SQL platform we have 3 options to
choose from Azure SQL family. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p class="MsoListParagraph" style="margin-left: 108pt; mso-list: l0 level1 lfo1; text-indent: -18pt;"><!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Azure
SQL Database.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left: 108pt; mso-list: l0 level1 lfo1; text-indent: -18pt;"><!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Azure
SQL Managed Instance.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left: 108pt; mso-list: l0 level1 lfo1; text-indent: -18pt;"><!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">SQL
Server on Azure VMs. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">Depending
on the requirement, each of these is best suited for different scenarios. <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></p></div>
<div class="MsoNormal">
<p style="margin: 0cm;"><strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Azure SQL Database:</span></strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></p>
<p style="margin: 0cm;"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p style="margin: 0cm;"><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Azure
SQL Database option gives us a single database in the Azure cloud, which is similar
to a SQL Server database. It supports all the features of the SQL Server
database. With the Azure SQL Database option, we are responsible only to manage
and optimize the database, the server and instance are managed by MS. We will
get the latest stable version of SQL Server as Azure SQL Database. We can
process both relational and non-relational data with this database. It falls
under Platform as a Service (PaaS).</span><o:p></o:p></span></p>
<p style="margin: 0cm;"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p style="margin: 0cm;"><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">As we
can see this option is best suited when we don’t want the overhead of
maintaining and managing underlying instance and OS. Also at the same time,
this option is best suited when we want to use only database scoped features.
This option does not suit if we want to use instance level features like SQL
Server Agent and so on. We need to use alternatives like Elastic jobs in-place
of SQL Server jobs if we want to schedule any activities when we opt for Azure SQL Database.</span><o:p></o:p></span></p>
<p style="margin: 0cm;"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p style="margin: 0cm;"><strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Elastic
Pools:</span></span></strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></p>
<p style="margin: 0cm;"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p style="margin: 0cm;"><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Elastic
Pools is a collection of several Azure SQL Databases. This option is suited
when we have applications relying on multiple databases with unpredictable
usage demands. In short, when we have several databases with fluctuating loads instead of allocating resources to each single database and managing them we
can add all those databases under a single pool and allocate resources to the
entire pool. This helps hugely while managing the resources of all the
databases in the pool. All the databases within the pool will share the
resources of the pool and will use the resources whenever required. If we
notice there is a resource crunch on the overall pool itself, we can allocate
more resources to the pool as per the demand.</span><o:p></o:p></span></p>
<p style="margin: 0cm;"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p style="margin: 0cm;"><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">This
option mainly helps in avoiding over and under allocation of resources than
required along with providing all the Azure SQL Database advantages which in turn saves costs included.</span><o:p></o:p></span></p>
<p style="margin: 0cm;"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p style="margin: 0cm;"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p style="margin: 0cm;"><strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Azure
SQL Managed Instance:</span></span></strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></p>
<p style="margin: 0cm;"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p style="margin: 0cm;"><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Azure
SQL Managed instance option is suited when we want to migrate our entire SQL
Server instance to the Azure cloud. As we know with Azure SQL Database we can
use all the database related features, with this managed instance option we can
use instance level features along with database-level features. This option
helps in doing a lift and shift migration to the cloud with minimal to no
changes to the applications. With this option, we will not have the
responsibility of managing and maintaining the underlying OS.</span><o:p></o:p></span></p>
<p style="margin: 0cm;"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p style="margin: 0cm;"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p style="margin: 0cm;"><strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">SQL
Server on Azure VMs:</span></span></strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></p>
<p style="margin: 0cm;"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p style="margin: 0cm;"><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">This
option is suited when we want complete control of the environment like OS, SQL
instance, and the databases. We will have to manage and maintain the entire
infrastructure. We will be responsible for installing and configure SQL
instances and creating / managing required databases, SQL jobs, HA features,
and so on. With this option, we can lift and shift the applications and
databases with minimal to no changes to the existing on-premise environment.</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">These
features will give us flexibility in selecting and managing only the required features,
like if we don’t want to use SQL Server Agent jobs then we can choose Azure SQL
Database or if we don’t need to use linked server then we can use Azure SQL Database
or Elastic pools or if we don’t want to manage the underlying OS but want to
use SQL Server instance level features then we can choose SQL Manage instance
or if we want to complete control of SQL Server instance and the underlying OS
then we can choose SQL Server on Azure VMs and so on.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">Depending
on the requirements and budget, we can choose only required features which in turn
helps in saving costs and will save the time of the support groups.</span></p><p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></p><p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">Below
table outlines the </span><span style="font-family: verdana, sans-serif; font-size: 10pt;">comparison of all these options as of today:</span></p></div>
<br /><span style="font-family: verdana, sans-serif; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;">Azure SQL Database vs Azure
SQL Managed Instance vs SQL Server on Azure VMs</span></div><div dir="ltr" style="text-align: left;" trbidi="on"><font face=""><span style="font-size: 13.3333px;"><br /></span></font>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje8LwHmQmvVoS9P4K864LFtLVB8zs06YOaOtd8lctdPZLtdmFGEBziFZp2RBIH6oEJpgmgaQw_dEcAMb49d3iEdmvSUE6jpIYLgWkgEkzaruVU2jvQKOuuVKgOAltc7TMYmx0TLgtUCA/s1600/wAzure+DB+Platforms.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="506" data-original-width="723" height="447" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje8LwHmQmvVoS9P4K864LFtLVB8zs06YOaOtd8lctdPZLtdmFGEBziFZp2RBIH6oEJpgmgaQw_dEcAMb49d3iEdmvSUE6jpIYLgWkgEkzaruVU2jvQKOuuVKgOAltc7TMYmx0TLgtUCA/s640/wAzure+DB+Platforms.PNG" width="640" /></a></div>
<br />
<br />
<br />
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">This
is a high-level comparison of each of these options and there are many more
differences in each of them. To know the differences between all the features and
administration differences of each of them in detail refer below links.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><a href="https://docs.microsoft.com/en-us/azure/azure-sql/azure-sql-iaas-vs-paas-what-is-overview#overview">https://docs.microsoft.com/en-us/azure/azure-sql/azure-sql-iaas-vs-paas-what-is-overview#overview</a><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><a href="https://docs.microsoft.com/en-us/azure/azure-sql/database/features-comparison">https://docs.microsoft.com/en-us/azure/azure-sql/database/features-comparison</a><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div><div class="MsoNormal"><p class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt;"><a href="https://sqlserverstore.blogspot.com/2020/06/how-to-decide-to-which-azure-platform.html" target="_blank">How to choose the target Azure SQL platform?</a><o:p></o:p></span></p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Thanks
VV!!<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">#azure #azuresqldatabase #azuresqlmanagedinstance #IaaS #PaaS #sqldatabase #cloudmigration #sql #elasticpools #Azure </span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">#AzureSQL</span></div>
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-90136111274595659782020-06-19T10:00:00.003+05:302020-07-06T10:54:38.913+05:30How to perform offline migration of a SQL Server database to Azure?<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">As discussed in the previous
article Data Migration Assistant (DMA) is one of the tools which we can use to
assess a database and it can also migrate the database. DMA is one of the tools
for performing <a href="https://sqlserverstore.blogspot.com/2020/06/steps-to-migrate-sql-server-database-to.html" target="_blank">Offline database migrations</a>. So before performing a production
database migration using DMA we need to schedule sufficient maintenance windows
and thorough testing in a lower environment. Here we will migrate an on-premise
database named “AdventureWorks2016” to Azure SQL Database using DMA. Details of
DMA and different migrations are <a href="https://sqlserverstore.blogspot.com/2020/06/steps-to-migrate-sql-server-database-to.html" target="_blank">discussed in this article..</a></span><o:p></o:p></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">I
have already downloaded and created the “AdventureWorks2016” database. You can
read this article to get details from where this database can be downloaded.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">Download DMA:</span></span></strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">We
can download DMA for free from here.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><a href="https://www.microsoft.com/en-us/download/details.aspx?id=53595" target="_blank"><span style="color: #4a6ee0;"><span data-preserver-spaces="true">https://www.microsoft.com/en-us/download/details.aspx?id=53595</span></span></a><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">Install DMA:</span></span></strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Installing
DMA is quite easy just need to click on 'Next', 'Next' as shown below. </span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-qu1Z5gBlKlWWtHgdGV4iZ3PqgZZp5vZkwI3LPgnSw3NN-N2MYlrMdyCqGKQr1PE-1m5fGNOj8WmWHZa7uTvhw1E6Fjd9bkfGEpbs_ZLGn4oqwT8U9QIHzTn4Ws6h6sdOcehVYHRscA/s1600/Install1.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="390" data-original-width="496" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-qu1Z5gBlKlWWtHgdGV4iZ3PqgZZp5vZkwI3LPgnSw3NN-N2MYlrMdyCqGKQr1PE-1m5fGNOj8WmWHZa7uTvhw1E6Fjd9bkfGEpbs_ZLGn4oqwT8U9QIHzTn4Ws6h6sdOcehVYHRscA/s1600/Install1.png" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfiW96dpZ4fzosluM1Y-AtiWoSU2eKiAXwvtFWOEZQZkMy9n7Lx0rkC4sigDdnLKh_5TywQAGYc3YySGZOG7zCvBbsRtzYv7vipvPHSbVz0CrztS6_f_Uha8WBRDr7Y0DCGw_O3PnIBg/s1600/Install2.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="386" data-original-width="493" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfiW96dpZ4fzosluM1Y-AtiWoSU2eKiAXwvtFWOEZQZkMy9n7Lx0rkC4sigDdnLKh_5TywQAGYc3YySGZOG7zCvBbsRtzYv7vipvPHSbVz0CrztS6_f_Uha8WBRDr7Y0DCGw_O3PnIBg/s1600/Install2.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiehUkg3vh3QlkjomYULJqa6XeULp-MDwe3B5ZBNj6U0da_BfZOdtCdRkeSAwSljX3gxKKA4wRuC2QIbUdMUkxHjUmytxGARCUznfcmDWuZ_rGYRhlX6ZiJefkhzo0pgozjbLzU0ZBU8A/s1600/ins_fnsh.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="383" data-original-width="485" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiehUkg3vh3QlkjomYULJqa6XeULp-MDwe3B5ZBNj6U0da_BfZOdtCdRkeSAwSljX3gxKKA4wRuC2QIbUdMUkxHjUmytxGARCUznfcmDWuZ_rGYRhlX6ZiJefkhzo0pgozjbLzU0ZBU8A/s1600/ins_fnsh.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Once
installation completes successfully, we should see below shortcut on the
desktop.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK3dWM4SpItfqYXOU5bOAycwbiYxYGBm0yGHYXizLr0HjgBwyuo9uuYUb9qOCn6R5mblWHaHeK-0_mGPB9vqKnNu-Dt6_pnwhXzGfZdfdp67dNZfSO2rlh2bQa-D8jPgPsdE3JozvJdw/s1600/icon.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="104" data-original-width="74" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK3dWM4SpItfqYXOU5bOAycwbiYxYGBm0yGHYXizLr0HjgBwyuo9uuYUb9qOCn6R5mblWHaHeK-0_mGPB9vqKnNu-Dt6_pnwhXzGfZdfdp67dNZfSO2rlh2bQa-D8jPgPsdE3JozvJdw/s1600/icon.PNG" /></a></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">Assess A Database
using DMA:</span></span></strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Here
first, we will evaluate if my database is migrated from a SQL Server database to
Azure SQL Database, what existing features might not work in Azure, what issues
the database might face, and at the same time DMA will also suggest remedies
for the issues identified.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Open
DMA by double-clicking the icon. Now click on ‘+’ and create a new project as
shown below</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhFkR4PB5OFjceqC5zjDq9FLfoDRlpgNX39dYJEVVR28fM2aXFlXr8VjzS2VcOPy1d_O4vdeJuzeNPicRwEv1xAOiwbRqwFPogY-u613FJsRWeuxKQiYnxpcy0ZLZ76PLz0okQnH7k7A/s1600/new_proj.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="237" data-original-width="333" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhFkR4PB5OFjceqC5zjDq9FLfoDRlpgNX39dYJEVVR28fM2aXFlXr8VjzS2VcOPy1d_O4vdeJuzeNPicRwEv1xAOiwbRqwFPogY-u613FJsRWeuxKQiYnxpcy0ZLZ76PLz0okQnH7k7A/s1600/new_proj.png" /></a></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Enter
the project name as “AssessDB”, assessment type as ‘Database Engine’. Select
the desired source and target server. I am selecting the source server type as “SQL
Server” and Target Server type as “<a href="https://sqlserverstore.blogspot.com/2020/06/how-to-create-azure-sql-instance-and.html" target="_blank">Azure SQL Database</a>” as shown below</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMEjLNVPgSKTMbnhOpCauFTIxJCsF8zIn-gGA_Q5W_parBdMnQbqrQbEYqULzi60_hHu_iBoaIse953Tk11sAWvrOcg_XTXg_l4E8MDOJy48wRjr2QgehU0d3mE6xqBM971KvS02p-Bw/s1600/asses+r+migrt.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="534" data-original-width="339" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMEjLNVPgSKTMbnhOpCauFTIxJCsF8zIn-gGA_Q5W_parBdMnQbqrQbEYqULzi60_hHu_iBoaIse953Tk11sAWvrOcg_XTXg_l4E8MDOJy48wRjr2QgehU0d3mE6xqBM971KvS02p-Bw/s1600/asses+r+migrt.png" /></a></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">As of
today, we can assess if the source database will have any compatibility issues
if migrated to azure, and also we can check if any of the existing features of
the source database will have issues if migrated to azure. Let’s check both the
options as shown below</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmHkN2h-iRkIoIzkBwfO4X06FwbYoRM4jj3SsAwKjN3AZjdozHuxq5gExJUsDBepy3HDGOOzQaUkJS8UmvrCtH2H5t42GGxP-WVziOc5FHU0_yGuU43BZWysdfbSm0N13NCDl3XMw0tA/s1600/selct_options.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="592" data-original-width="971" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmHkN2h-iRkIoIzkBwfO4X06FwbYoRM4jj3SsAwKjN3AZjdozHuxq5gExJUsDBepy3HDGOOzQaUkJS8UmvrCtH2H5t42GGxP-WVziOc5FHU0_yGuU43BZWysdfbSm0N13NCDl3XMw0tA/s1600/selct_options.png" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Now
connect to the source SQL instance using either Windows or SQL authentication:</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHJOYSRdaJV7a6FTFlQLk_xiJgCcmmZfmDa3EGNheNNUfMx4qQTM250ntJ5raYwYwC8IKilexIq_-QnKIkEj6i-MhCWBNGCA9o5p9QKNJzMd8lGNFtqKPxpD8_yPfl8A6aMHmSRyDKXw/s1600/connect_to_source.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="568" data-original-width="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHJOYSRdaJV7a6FTFlQLk_xiJgCcmmZfmDa3EGNheNNUfMx4qQTM250ntJ5raYwYwC8IKilexIq_-QnKIkEj6i-MhCWBNGCA9o5p9QKNJzMd8lGNFtqKPxpD8_yPfl8A6aMHmSRyDKXw/s1600/connect_to_source.png" /></a></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Now
select the database which we want to assess. Here we are assessing “AdventureWorks2016” database, so select it and click on 'Add':</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiouSqaoi0VMuO8SSZPj8zvGEp75gO1bFaeLBl0jMiOq7jvy1NYnbyRXY9ecHoMlPFe5kHdam9Hwghih_1DpmeAo9hhnYCX4EUHM-vlGM0Ynia6h8SfaEKQFq4Sz13WENPR_nVUxQgTtQ/s1600/select_sourc_db.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="560" data-original-width="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiouSqaoi0VMuO8SSZPj8zvGEp75gO1bFaeLBl0jMiOq7jvy1NYnbyRXY9ecHoMlPFe5kHdam9Hwghih_1DpmeAo9hhnYCX4EUHM-vlGM0Ynia6h8SfaEKQFq4Sz13WENPR_nVUxQgTtQ/s1600/select_sourc_db.png" /></a></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Now
Click on ‘Start Assessment’ and the assessment will start</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgE4idTSu4wIzhCJpxkckAIQ1SL_fFdt5lOH2Jk8TvOpe20oOOMYYkCAYwTsEPlcIppDqKvwfNA0tYyRmf1GZGkTzfgbnr3VTn6BWFYprE2JV4lxXyLN4nBsIADIyl60BZBW1C4reHsA/s1600/strt_assmnt.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="596" data-original-width="978" height="390" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgE4idTSu4wIzhCJpxkckAIQ1SL_fFdt5lOH2Jk8TvOpe20oOOMYYkCAYwTsEPlcIppDqKvwfNA0tYyRmf1GZGkTzfgbnr3VTn6BWFYprE2JV4lxXyLN4nBsIADIyl60BZBW1C4reHsA/s640/strt_assmnt.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Once
the assessment is completed in the results we will have information about
different issues we might face if we migrate the current database to azure. As
you can see I already have some SQL Server jobs on source database hence the
report is saying there are no SQL Server Agent jobs in Azure. So if these jobs
are critical and required to be run after migration also we need to plan for a
fix for this. Either we can select another target platform like SQL Managed
Instance or SQL on Azure VM (Iaas) or use Elastic jobs. But in my case, this is
just a test environment I will ignore the warnings and proceed.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6NjBDRMoeKWtwxbbeqqvcRk0VxCrzta78xvNahNf6gBCeqT2NKApcNXFADCJWdwW9rKCVNSTGoeRxuivqLQSW8V3oJpLGAJDjXuvkn4uY5rDAfYS1Mxu9na7t0-F0_qxiJ6_CLt63mA/s1600/rslt.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="597" data-original-width="974" height="392" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6NjBDRMoeKWtwxbbeqqvcRk0VxCrzta78xvNahNf6gBCeqT2NKApcNXFADCJWdwW9rKCVNSTGoeRxuivqLQSW8V3oJpLGAJDjXuvkn4uY5rDAfYS1Mxu9na7t0-F0_qxiJ6_CLt63mA/s640/rslt.png" width="640" /></a></div>
<br />
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Same
way under ‘Compatibility Issues’ it says ‘Full-Text’ index has changed and so
on.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx65CPL3Tjaja5kINMxpm-3C3aXpsxfwZr_eDVA5w9PzFoagzvCizIJ5f_u3wZwjNk9MuDs4JccBvf7iulXUBXwoKAURDcmHYRStenoPVOyH8_3dy8BEk-ek_hPINQSw_B48WWHPzJxg/s1600/rslt2.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="591" data-original-width="974" height="388" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx65CPL3Tjaja5kINMxpm-3C3aXpsxfwZr_eDVA5w9PzFoagzvCizIJ5f_u3wZwjNk9MuDs4JccBvf7iulXUBXwoKAURDcmHYRStenoPVOyH8_3dy8BEk-ek_hPINQSw_B48WWHPzJxg/s640/rslt2.png" width="640" /></a></div>
<br />
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">So we
need to review this Assessment report thoroughly and need to apply fixes for
any issues identified or might need to exclude any of the objects\components
from source, if we don’t need to use them in Azure and so on. We can save or
export this report.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">Migrate Database
using DMA:</span></span></strong><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Once
database assessment is completed next we can use DMA itself to migrate the
database to Azure.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Now
click on ‘+’ symbol again and create a new project named “MigrateDB”. Same as
we did for assessing the database select the source and target servers. In the “Migration
scope”, we can choose what we want to migrate either only data or only schema
or both schema\data. Here we will migrate both the schema and data, so I am
selecting the option ‘Schema and data’.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_mQyOhPf-KpUT27UY9ukETfnMbFI7qu3mp9RxwPrllWedxDr6zpJi_z5VXTyE6ckZnhENGGlRL8-4W_ZAD3gImhz_h2KiJpJMAirtWkFKgtN87lHGR8fdJtYgwkCUoqyRXYjGHsz2KQ/s1600/new_proj.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="237" data-original-width="333" height="227" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_mQyOhPf-KpUT27UY9ukETfnMbFI7qu3mp9RxwPrllWedxDr6zpJi_z5VXTyE6ckZnhENGGlRL8-4W_ZAD3gImhz_h2KiJpJMAirtWkFKgtN87lHGR8fdJtYgwkCUoqyRXYjGHsz2KQ/s320/new_proj.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp9wRCArArkhUtuI9ds2u9sWkEOulpM_0Kmopi921acZr-gTeWu0oJJjrFaQ5YbdIOvK_YoPmlqPOo919PSttkxPrWtN1nPYTSBagiS80aydvNEwC07HXn9uoE9x45nj9XzrX8PdJ4OA/s1600/schma_r_dat.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="516" data-original-width="339" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp9wRCArArkhUtuI9ds2u9sWkEOulpM_0Kmopi921acZr-gTeWu0oJJjrFaQ5YbdIOvK_YoPmlqPOo919PSttkxPrWtN1nPYTSBagiS80aydvNEwC07HXn9uoE9x45nj9XzrX8PdJ4OA/s400/schma_r_dat.png" width="262" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvh9V9L6r2bzkOJoeZ_irtMhgG_LrQNPYZ62TvSjgxoCINOVdlXS6Y8gsJYFrKbt-Ee3eFzU2OvfVyeauX_C5qfDKvwEwkqfKvx1mkEUsSimhGQGT0VmqkdLpGurjZdWU0bPPHB0nKfg/s1600/new_migr_proj.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="573" data-original-width="339" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvh9V9L6r2bzkOJoeZ_irtMhgG_LrQNPYZ62TvSjgxoCINOVdlXS6Y8gsJYFrKbt-Ee3eFzU2OvfVyeauX_C5qfDKvwEwkqfKvx1mkEUsSimhGQGT0VmqkdLpGurjZdWU0bPPHB0nKfg/s400/new_migr_proj.png" width="236" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Now
select the source server and authentication type either windows or SQL
authentication</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhcxRN9Ey2Qa5XgXRnpqlQQaWUUXpzFASqtB7h3tLMrnKt4C_ZL2JDgrTszlIoU_VFUqES5QvSTj3G8XLl4e1OgePl_gPQJzO-6YPqg3OyTYSiao5B0bBtrTF7r-7C4rM0CIrpucfuxQ/s1600/selct_src.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="488" data-original-width="330" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhcxRN9Ey2Qa5XgXRnpqlQQaWUUXpzFASqtB7h3tLMrnKt4C_ZL2JDgrTszlIoU_VFUqES5QvSTj3G8XLl4e1OgePl_gPQJzO-6YPqg3OyTYSiao5B0bBtrTF7r-7C4rM0CIrpucfuxQ/s400/selct_src.png" width="270" /></a></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Then
select the source database which we want to migrate. Here it is
‘AdventureWorks2016’ and click 'Next'</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisyGtzXGhUi8xG9BDPKm9Fek6FmiXQ1_jMwlGUg9MC0H2XgiTki9GC_1jKSvAtJZTHvqaJPzicLU-CDpHVDkGDEZbi10bhyq5g_3ybS-ppSvt7t0Os82wODdvMPqw5fPePaa2xdJhoeQ/s1600/selct_src_db.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="590" data-original-width="977" height="386" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisyGtzXGhUi8xG9BDPKm9Fek6FmiXQ1_jMwlGUg9MC0H2XgiTki9GC_1jKSvAtJZTHvqaJPzicLU-CDpHVDkGDEZbi10bhyq5g_3ybS-ppSvt7t0Os82wODdvMPqw5fPePaa2xdJhoeQ/s640/selct_src_db.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Connect
to the target Azure server using SQL authentication.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmNubydsmKw0Iwp3zrKFPA8rYlm4G3t1vL3ziiFrkzN5OjvVoJdcQOesGyqPp-_PKOdG3wVDEdgzUoV3ZSvt-ZcaR0y4izLpyB2cKbFb1ZBXp7lT7pn6-3SrMY0jQoDDb3xB1AlH6vOw/s1600/cnct_tgt.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="537" data-original-width="245" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmNubydsmKw0Iwp3zrKFPA8rYlm4G3t1vL3ziiFrkzN5OjvVoJdcQOesGyqPp-_PKOdG3wVDEdgzUoV3ZSvt-ZcaR0y4izLpyB2cKbFb1ZBXp7lT7pn6-3SrMY0jQoDDb3xB1AlH6vOw/s1600/cnct_tgt.png" /></a></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Now
select the target database to which we want to migrate the data and schema of
our source server. I have already created an empty <a href="https://sqlserverstore.blogspot.com/2020/06/how-to-create-azure-sql-instance-and.html" target="_blank">Azure SQL database</a> named
‘AdventureWorks2016’ and I will migrate my source database to this. <a href="https://sqlserverstore.blogspot.com/2020/06/how-to-create-azure-sql-instance-and.html" target="_blank">Read here</a>
to know how to create an empty <a href="https://sqlserverstore.blogspot.com/2020/06/how-to-create-azure-sql-instance-and.html" target="_blank">Azure SQL database</a>.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdUpHRi9WO7pWyQkkh6sgp-p50YJVsgmM_hVmDpi54IhmBqLim7fujxoHtS5xKPyVSPeDh4vQ52Aq46eM372v0jqU93x8nrSlscsPAJZMDfWtaEaAZVoDudvTrf2YYQp15TApp4diBKg/s1600/mig_con_dbtgt.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="636" data-original-width="988" height="411" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdUpHRi9WO7pWyQkkh6sgp-p50YJVsgmM_hVmDpi54IhmBqLim7fujxoHtS5xKPyVSPeDh4vQ52Aq46eM372v0jqU93x8nrSlscsPAJZMDfWtaEaAZVoDudvTrf2YYQp15TApp4diBKg/s640/mig_con_dbtgt.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">In
‘Select Objects’ page we can select what all objects we wish to migrate.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTcN683nNck7lNnhr5Px6nSNUzF0mPUfLHwoSfS31leXHVO4wmf5rLliVf6L8hRneS8dWJVp5WygS_0jTKWiX643oKm2Y5XeN1Y9XsNifUmjg9ZcJ1V9LYmY3qWx8CGbxEYR7rwOn-Cg/s1600/mig_con_objtgt.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="625" data-original-width="988" height="403" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTcN683nNck7lNnhr5Px6nSNUzF0mPUfLHwoSfS31leXHVO4wmf5rLliVf6L8hRneS8dWJVp5WygS_0jTKWiX643oKm2Y5XeN1Y9XsNifUmjg9ZcJ1V9LYmY3qWx8CGbxEYR7rwOn-Cg/s640/mig_con_objtgt.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Also
on the same ‘Select Objects’ page, we can view object-specific issues that
might encounter after migration. Like in the below screenshot you can see
‘HumanResources.JobCandidate’ table has Full-Text index on a column and DMA
suggests ‘we can migrate this object but might face issue related Full-Text’.
So we can take necessary actions and alternatives as per suggestions provided
by DMA. Then click on ‘Generate SQL script’.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiMV3l3JK-oR4UKiZ0cOzpJGhUkD5wWRdEqvCiwF5HpquMR_1vH9Ahyphenhyphen8hdR9nAX2dFuYlEThQdsoua-Z7lAFhimdcUtXzJB_QPpCh1Vo053FgJ2-320-YHhUrjXU-Qd648-JpxD77ZMQ/s1600/mig_con_objtgt_isssu.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="638" data-original-width="995" height="409" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiMV3l3JK-oR4UKiZ0cOzpJGhUkD5wWRdEqvCiwF5HpquMR_1vH9Ahyphenhyphen8hdR9nAX2dFuYlEThQdsoua-Z7lAFhimdcUtXzJB_QPpCh1Vo053FgJ2-320-YHhUrjXU-Qd648-JpxD77ZMQ/s640/mig_con_objtgt_isssu.png" width="640" /></a></div>
<br />
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">In
this page ‘Script & Deploy Schema’, first SQL script will be generated for
all the objects selected on the previous page. </span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuPX__tfXYytwWGDgQD1o4SKcp-tuNPXvPRokfVR3H_Ch12QpXhdLOZu61Bk41cq4kSsUv94EuR9dxoAcc8w_jctZ82TnFXKmjddjDwKVzV7cMh5jD-AF8bsRsgLtWox7yK0XsExx6kQ/s1600/mig_con_objtgt_schm.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="633" data-original-width="987" height="410" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuPX__tfXYytwWGDgQD1o4SKcp-tuNPXvPRokfVR3H_Ch12QpXhdLOZu61Bk41cq4kSsUv94EuR9dxoAcc8w_jctZ82TnFXKmjddjDwKVzV7cMh5jD-AF8bsRsgLtWox7yK0XsExx6kQ/s640/mig_con_objtgt_schm.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 13.3333px;">Once the script is generated we can click on ‘Deploy Schema’ to start deployment of the schema.</span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 13.3333px;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt1cUX0ScyJwqqCUWVmZ8JnY2Gr5tS1pCSwemy6igm4cx-LFaK9m6Vf7Pjnkunc0DjXk_0bPH9lvs_Ki84Xmt6eFKG1IJULFt04elDOPFC0DRozdskrqtdtvhrGG8CHA4G4cjKYodVLg/s1600/mig_con_objtgt_schm_depl.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="630" data-original-width="990" height="406" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt1cUX0ScyJwqqCUWVmZ8JnY2Gr5tS1pCSwemy6igm4cx-LFaK9m6Vf7Pjnkunc0DjXk_0bPH9lvs_Ki84Xmt6eFKG1IJULFt04elDOPFC0DRozdskrqtdtvhrGG8CHA4G4cjKYodVLg/s640/mig_con_objtgt_schm_depl.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfQ665vfgpC1LiCwT00IPRixTLX8Y2g4xfL7MpnUOFlkq2S76pjqmR0GVQV6vCMqwk1NQAXuHUSMRgzB1PwU7Y92z5PhB_ef_NzfXMHUjtUvxrEpQX6kUoegqVdunE-HOvPPuzo0zAsw/s1600/mig_con_objtgt_data.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="633" data-original-width="988" height="410" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfQ665vfgpC1LiCwT00IPRixTLX8Y2g4xfL7MpnUOFlkq2S76pjqmR0GVQV6vCMqwk1NQAXuHUSMRgzB1PwU7Y92z5PhB_ef_NzfXMHUjtUvxrEpQX6kUoegqVdunE-HOvPPuzo0zAsw/s640/mig_con_objtgt_data.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 13.3333px;"><br /></span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Once
schema deployment is completed we can either Redeploy the schema or start
migrating the data. Click on ‘Migrate data’</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx3e61yvaYzDnp0Zs3LFPGEwFRUsSVnZq1OXR_D8Qxa7tgfhy98SnKYVbUp3Gs6qSlgm7SnRSOxGhW2oPV8Wll8tmDuybeCC9Mw2WQEzP3tqq5fkX4a9XztRulbvU97afAORmud1kHOw/s1600/mig_con_objtgt_datastrt.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="633" data-original-width="988" height="410" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx3e61yvaYzDnp0Zs3LFPGEwFRUsSVnZq1OXR_D8Qxa7tgfhy98SnKYVbUp3Gs6qSlgm7SnRSOxGhW2oPV8Wll8tmDuybeCC9Mw2WQEzP3tqq5fkX4a9XztRulbvU97afAORmud1kHOw/s640/mig_con_objtgt_datastrt.png" width="640" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">In
the ‘Select tables’ page, select the tables to migrate. Here we will migrate
all the tables. After selecting tables click on ‘Start data migration’</span>. </span><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">The
migration process will start and we can view progress as below</span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCuKpa2Ryx0jp4FhMM7X4crluOyyCEtci25jIEmtQrshSEyxhk5chKeH94SyktJP7aoAp6_beMptRyvaI-6yPZmbTAbRCCh4Ct1aG-BjwhhHpx-ltaAhl92VA2eyYR1ZurCZ1QpZqloQ/s1600/mig_con_objtgt_datastrt3.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="429" data-original-width="722" height="380" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCuKpa2Ryx0jp4FhMM7X4crluOyyCEtci25jIEmtQrshSEyxhk5chKeH94SyktJP7aoAp6_beMptRyvaI-6yPZmbTAbRCCh4Ct1aG-BjwhhHpx-ltaAhl92VA2eyYR1ZurCZ1QpZqloQ/s640/mig_con_objtgt_datastrt3.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNmhIVDm5idb-TvsYOGJHHAeEt9ihNyujtf5ABIfnzc_iNocEBsAkhToo1S2h72Mwbut8dFeQES0MJ_h267LkrafEPSPuNVBncEb0b-MLnHjG3KR5uiWywFzkqQc62t_mnX624qTZ2tA/s1600/mig_compl.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="624" data-original-width="990" height="402" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNmhIVDm5idb-TvsYOGJHHAeEt9ihNyujtf5ABIfnzc_iNocEBsAkhToo1S2h72Mwbut8dFeQES0MJ_h267LkrafEPSPuNVBncEb0b-MLnHjG3KR5uiWywFzkqQc62t_mnX624qTZ2tA/s640/mig_compl.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Once
entire migration is complete let's connect to the Azure database server using
<a href="https://sqlserverstore.blogspot.com/2020/05/how-to-install-and-use-azure-data.html" target="_blank">ADS(Azure Data Studio)</a>. Now we can see the schema and data from our source database
has been migrated to my Azure SQL database ‘AdventureWorks2016’.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMi6aXIwNiuUs_vLl1DXlrrhCSm0xtE6Yl95fdAi-x59ryrMoBPBbIVjNgBMuzYfIDopBXbpRq94BekElMRZXNm2XRZHfTsLjwVXF5dz3Pg8IgVA25z-Fu0COX4yWTEW-Th3O6Tgrmhw/s1600/mig_data_ads.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="548" data-original-width="301" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMi6aXIwNiuUs_vLl1DXlrrhCSm0xtE6Yl95fdAi-x59ryrMoBPBbIVjNgBMuzYfIDopBXbpRq94BekElMRZXNm2XRZHfTsLjwVXF5dz3Pg8IgVA25z-Fu0COX4yWTEW-Th3O6Tgrmhw/s400/mig_data_ads.png" width="219" /></a></div>
<div style="margin: 0cm;">
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Once
we verify and make sure the entire source database has been migrated completely
to the Azure SQL database and after applying fixes if any on the Azure SQL
database now the application connections need to be diverted from on-premise
SQL database to Azure SQL database. After diverting the connections once
thorough testing is done that marks the completion of the migration.</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">Note: </span></span></strong><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><a href="https://sqlserverstore.blogspot.com/2020/06/steps-to-migrate-sql-server-database-to.html" target="_blank">Database Migration Service</a> is one of the most widely used tools
for performing both Offline\Online migrations.</span><o:p></o:p></span></div><div style="margin: 0cm;"><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></span></div><div style="margin: 0cm;"><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><h3 style="background: white; margin: 9pt 0cm 0cm;"><span style="color: #222222; font-family: verdana, sans-serif; font-size: 10pt; mso-bidi-font-family: Arial;"><a href="https://sqlserverstore.blogspot.com/2020/06/how-to-create-azure-sql-instance-and.html" target="_blank">How to create Azure SQL Instance and Azure SQL Database?</a><o:p></o:p></span></h3></span></span></div><div style="margin: 0cm;"><span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;"><h3 class="post-title entry-title" style="background-color: white; color: #222222; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: 22px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: normal; line-height: normal; margin: 0.75em 0px 0px; position: relative;"><p class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; margin-top: 9pt;"><b><span style="font-family: verdana, sans-serif; font-size: 10pt;"><a href="https://sqlserverstore.blogspot.com/2020/06/how-to-migrate-sql-database-to-azure.html" target="_blank">How to perform the migration of SQL database to Azure with minimum downtime.</a><o:p></o:p></span></b></p></h3></span></span></div>
<div style="margin: 0cm;">
<h3 style="background: white; margin: 9pt 0cm 0cm;"><span style="color: #222222; font-family: verdana, sans-serif; font-size: 10pt; mso-bidi-font-family: Arial;"><a href="https://sqlserverstore.blogspot.com/2020/06/steps-to-migrate-sql-server-database-to.html" target="_blank">Steps to migrate SQL Server Database to Azure.</a><o:p></o:p></span></h3><div><span style="color: #222222; font-family: verdana, sans-serif; font-size: 10pt; mso-bidi-font-family: Arial;"><br /></span></div></div><div style="margin: 0cm;"><br /></div>
<div style="margin: 0cm;">
<span data-preserver-spaces="true"><span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt;">Thanks
VV!!</span><o:p></o:p></span></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<div style="margin: 0cm;">
<br /></div>
<span style="color: #0e101a; font-family: verdana, sans-serif; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;">#azure
#databasemigration #migration #database #sqlserver #sql #Azure #DMA
#offlinemigration #dbmigration </span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">#AzureSQL</span></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-49434383184346707572020-06-15T11:42:00.001+05:302020-06-15T11:47:07.559+05:30How to perform migration of SQL database to Azure with minimum downtime.<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><span style="font-size: 13.3333px;"><a href="https://sqlserverstore.blogspot.com/2020/06/steps-to-migrate-sql-server-database-to.html" target="_blank">As discussed earlier there are different methods of performing both ONLINE\OFFLINE database migrations. </a></span></span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">When we need to migrate databases with minimal downtime we will opt for online migration. </span><span style="font-family: verdana, sans-serif; font-size: 10pt;">In
this article we will see how we can perform online migration of an on-premise SQL
Server database to Azure SQL Database using Transactional Replication.</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Below
are the steps we will follow for migrating the database:<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoListParagraph" style="margin-left: 90pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;"><span>·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Create
an On-Premise SQL Database. <o:p></o:p></span></div>
<div class="MsoListParagraph" style="margin-left: 90pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;"><span>·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Create
an Azure SQL Instance. <o:p></o:p></span><a href="https://sqlserverstore.blogspot.com/2020/06/how-to-create-azure-sql-instance-and.html" style="font-family: verdana, sans-serif; font-size: 13.3333px;" target="_blank">Read this on how to do this.</a></div>
<div class="MsoListParagraph" style="margin-left: 90pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;"><span>·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Create
Azure SQL Database. <o:p></o:p></span><a href="https://sqlserverstore.blogspot.com/2020/06/how-to-create-azure-sql-instance-and.html" style="font-family: verdana, sans-serif; font-size: 13.3333px;" target="_blank">Read this on how to do this.</a></div>
<div class="MsoListParagraph" style="margin-left: 90pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;"><span>·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Create
Transactional Replication between On-premise and Azure SQL database.<o:p></o:p></span></div>
<div class="MsoListParagraph" style="margin-left: 90pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;"><span>·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Verify
all the objects migrated to Azure.<o:p></o:p></span></div>
<div class="MsoListParagraph" style="margin-left: 90pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;"><span>·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Remove
transactional replication.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: verdana, sans-serif; font-size: 10pt;">Create an On-Premise sample SQL Server Database:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">All the sample databases which we can use for testing and learning can be downloaded from <a href="https://docs.microsoft.com/en-us/sql/samples/adventureworks-install-configure?view=sql-server-ver15" target="_blank">here</a>. <o:p></o:p></span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">I have downloaded and created the “AdventureWorks2017” database in my local instance.</span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;"> </span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">Change
the database owner of the on-premise database ‘AdventureWorks2017’ to ‘sa’</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: verdana, sans-serif; font-size: 10pt;">Create
Transactional Replication between On-premise and Azure SQL database:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Before
configuring replication between on-premise and Azure SQL database we should
keep in mind below are the limitations as of till date:<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoListParagraph" style="margin-left: 72pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;"><span>·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Only
Transactional Replication and Snapshot Replication can be configured between
on-premise and Azure SQL database. Other types of replications are not
supported. <o:p></o:p></span></div>
<div class="MsoListParagraph" style="margin-left: 72pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;"><span>·<span style="font: 7pt "times new roman";"> </span></span></span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">The</span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;"> </span><span style="font-family: verdana, sans-serif; font-size: 10pt; text-indent: -18pt;">On-premise database acts as both publisher and distributor.</span></div>
<div class="MsoListParagraph" style="margin-left: 72pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;"><span>·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Subscriptions
should always be PUSH SUBSCRIBERs.<o:p></o:p></span></div>
<div class="MsoListParagraph" style="margin-left: 72pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;"><span>·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Replication
can only use SQL authentication to connect to the Azure database.<o:p></o:p></span></div>
<div class="MsoListParagraph" style="margin-left: 72pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;"><span>·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Replicated
tables must have a Primary key.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Connect
to the on-premise SQL instance. Expand the ‘Replication’ tab and right-click on
‘Local Publications’ and select ‘New Publication’ as shown below:<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVCFdsUqVwne57yBwrbUh939iUBuOfxGIOTt2aGM7a-Hz1TvUe20bY8hbVoHugYVqbCBvsmLqXZmI2A6MSyltqGNMaNTHxfpLRJUUmLp8dSedheT1gpRnkq8qE3LijFgnt-ZQDt1cvVg/s349/new_publ.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="327" data-original-width="349" height="375" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVCFdsUqVwne57yBwrbUh939iUBuOfxGIOTt2aGM7a-Hz1TvUe20bY8hbVoHugYVqbCBvsmLqXZmI2A6MSyltqGNMaNTHxfpLRJUUmLp8dSedheT1gpRnkq8qE3LijFgnt-ZQDt1cvVg/w400-h375/new_publ.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Select
the database “AdventureWorks2017” which we want to replicate to Azure.<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ1LihokX5IVi6y76_VmEkiE4sbgWq3FQ1aI_mMl8Vnb_gDOJCaZ31QlTDnFssWmrvTbTbFGVEONiDZZwOZA1ycj7AxeUQT7NDxCIq0G1LcR_Y_WxrdTDf2rh_3QD8sG51Vp4tU6nSEQ/s557/select_adw2017.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="448" data-original-width="557" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ1LihokX5IVi6y76_VmEkiE4sbgWq3FQ1aI_mMl8Vnb_gDOJCaZ31QlTDnFssWmrvTbTbFGVEONiDZZwOZA1ycj7AxeUQT7NDxCIq0G1LcR_Y_WxrdTDf2rh_3QD8sG51Vp4tU6nSEQ/d/select_adw2017.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Select
‘Transactional publication’ and click on ‘Next’<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2n9Zk8mE4IKDP5m5mHbm_jIcn0olWI_shwRYwBGnTdVnKl03-kZIXYxq5-_G-1fuSIKH6aP2VZTfeKMvSHwMV4QsV6fUoZSBDWpyqh3aHF1aqv4Es4aYsRGDG5PIJrRKX5hpavx2jtg/s558/tran_publ.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="446" data-original-width="558" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2n9Zk8mE4IKDP5m5mHbm_jIcn0olWI_shwRYwBGnTdVnKl03-kZIXYxq5-_G-1fuSIKH6aP2VZTfeKMvSHwMV4QsV6fUoZSBDWpyqh3aHF1aqv4Es4aYsRGDG5PIJrRKX5hpavx2jtg/d/tran_publ.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
select the objects that need to be replicated. Here we will replicate
only<span> </span>5 tables of ‘AdventureWorks2017’
database instead of all the objects. After selecting all or required objects click on ‘Next’<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcs3DFMJti3Byf25COM_gC2SJcrTea65iyglorOUf0hwDB-6gPpZe3CzJIB1vr5t4kVfvJcnXvlj3Yr6wrFkixcZe4bkEUYLYrbLsjlpHh-urtj3QdN9mU7grXsbmMWoZC1RvYg5Yt6Q/s556/5tbls.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="444" data-original-width="556" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcs3DFMJti3Byf25COM_gC2SJcrTea65iyglorOUf0hwDB-6gPpZe3CzJIB1vr5t4kVfvJcnXvlj3Yr6wrFkixcZe4bkEUYLYrbLsjlpHh-urtj3QdN9mU7grXsbmMWoZC1RvYg5Yt6Q/d/5tbls.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">In
next window we can select the rows of a table that we don't want to replicate, we will not filter any rows and click on ‘Next’<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1YwSgn6ZExhej4MqLbp-sbzDQTkqWdIBUxKjPPaST22Vbc01L93-LdrBlscbqbb30vAEbZtLy7nAz2zSKypwKwi2cs7pYmZp0kA8K-CnMfT-gtq3MKAer2A-oDt0k8T0R2Wasrz-llw/s549/filter_rows.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="441" data-original-width="549" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1YwSgn6ZExhej4MqLbp-sbzDQTkqWdIBUxKjPPaST22Vbc01L93-LdrBlscbqbb30vAEbZtLy7nAz2zSKypwKwi2cs7pYmZp0kA8K-CnMfT-gtq3MKAer2A-oDt0k8T0R2Wasrz-llw/d/filter_rows.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">In
this window select ‘create a snapshot immediately’ option and click on ‘Next’<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLcr8jTkN2W25O2hy-hjwGltewB6qKA3L7vT9B7nx3b1UtTUanKk6g4BlgPWewILRu-n0hND-pz5J1xT0Y0ULN7ZciAqXEjanT_AEF6pE6cjbeQllmQzauWc8xWP1TBQiJomfbM03jTg/s549/create_snap.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="441" data-original-width="549" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLcr8jTkN2W25O2hy-hjwGltewB6qKA3L7vT9B7nx3b1UtTUanKk6g4BlgPWewILRu-n0hND-pz5J1xT0Y0ULN7ZciAqXEjanT_AEF6pE6cjbeQllmQzauWc8xWP1TBQiJomfbM03jTg/d/create_snap.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Click
on ‘Security Settings’ and </span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">as this not a production environment I will </span><span style="font-family: verdana, sans-serif; font-size: 10pt;">select ‘Run under the SQL Server Agent service
account’ and in the ‘Connect to the
Publisher' section either we can impersonate the account or use an admin login.
I have created an administrator SQL login named ‘azureadmin’, so I will use the
same</span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6VwI1NlEcwOIp6dM_rlUPRKwSFl016R2kmINwC0YspRVe65J18eA5TWeVfmMG0rpDPxSRmqC-U6d3vhEQS2iHlkPdB4sL9YqvpjVFtNoN9Q6uzJqwC9CLmxd-9DhgJI-7j6mR4jOCbw/s545/agent_sec.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="438" data-original-width="545" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6VwI1NlEcwOIp6dM_rlUPRKwSFl016R2kmINwC0YspRVe65J18eA5TWeVfmMG0rpDPxSRmqC-U6d3vhEQS2iHlkPdB4sL9YqvpjVFtNoN9Q6uzJqwC9CLmxd-9DhgJI-7j6mR4jOCbw/d/agent_sec.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqBRXGoDQxjom62HA_80CeiGuDXc5QRsFXcsWKjrtuJccep_QpUbJqUqwM6k5fPd2SSU476oSZ-RLxEV4XlO1HNhYF9vfs_eY9MN7S4CMQAFJagxYyTOuzaBFq1X3PP6wwKRR3Hfmn8g/s521/publ_logn.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="460" data-original-width="521" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqBRXGoDQxjom62HA_80CeiGuDXc5QRsFXcsWKjrtuJccep_QpUbJqUqwM6k5fPd2SSU476oSZ-RLxEV4XlO1HNhYF9vfs_eY9MN7S4CMQAFJagxYyTOuzaBFq1X3PP6wwKRR3Hfmn8g/d/publ_logn.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Select
‘Create the publication’ and click ‘Next’<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiiP8ELwDarS9ypPyEBLUFkmDIC84-5m1e9qZNNyPoHd-ozyM4BV5Gi6d0dOLWQ5oPST8bFUu2BPmzwq3mJsHu17ZzAyY6wD685de0SawywhTN5q4Qa6J9XDZB5wusC4OApDANydV9IQ/s541/create_publ.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="436" data-original-width="541" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiiP8ELwDarS9ypPyEBLUFkmDIC84-5m1e9qZNNyPoHd-ozyM4BV5Gi6d0dOLWQ5oPST8bFUu2BPmzwq3mJsHu17ZzAyY6wD685de0SawywhTN5q4Qa6J9XDZB5wusC4OApDANydV9IQ/d/create_publ.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Give
the publication a name and click on ‘Finish’. For easy identification, I am using my database name itself as a publication name also.<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihlOqHMPXIZp3DglmybRJkr6_OxTY8JWbNK3gFeKNFRZFtHzmX5nGBCl3FLe4hOaXsd2d_4UB43zZZ5NdWNJC1TnFg1fZ3eOsttFvUJeM08oLEwjEP6DFs4it2SsyhlpWB63m8c9hDRA/s552/publ_name.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="492" data-original-width="552" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihlOqHMPXIZp3DglmybRJkr6_OxTY8JWbNK3gFeKNFRZFtHzmX5nGBCl3FLe4hOaXsd2d_4UB43zZZ5NdWNJC1TnFg1fZ3eOsttFvUJeM08oLEwjEP6DFs4it2SsyhlpWB63m8c9hDRA/d/publ_name.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
right-click on ‘Local Subscriptions’ and select ‘New Subscriptions’ <o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFS5sjd_FNgW2cLLpCcmjPawW8S1E_2TuKqHLLep4ZD7E5dO9DXx6ekCnfZ42qJ4Q8w-kIHZw3yGmQ8S2CY7iNRIuEfwlZwCkcMglFBdmvOcJd6tXeBe5s7_rDuxOBT1YRkFwfueKBYg/s385/new_sub1.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="286" data-original-width="385" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFS5sjd_FNgW2cLLpCcmjPawW8S1E_2TuKqHLLep4ZD7E5dO9DXx6ekCnfZ42qJ4Q8w-kIHZw3yGmQ8S2CY7iNRIuEfwlZwCkcMglFBdmvOcJd6tXeBe5s7_rDuxOBT1YRkFwfueKBYg/d/new_sub1.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><span style="font-size: 13.3333px;">and select create the subscription</span></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIn8ie5bguIa5HbWHydsGGU40k55KwhPTeweFxzwsXtMJ3SvGs_qlgcGDo86fJr0ZkDkG321I1kLodG7IgWRhsGUWqb2MDYZC425sc47vk7XqHdwO5LjQa_mhxLBDCrsElMPw9hZR0oQ/s548/new_sub.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="438" data-original-width="548" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIn8ie5bguIa5HbWHydsGGU40k55KwhPTeweFxzwsXtMJ3SvGs_qlgcGDo86fJr0ZkDkG321I1kLodG7IgWRhsGUWqb2MDYZC425sc47vk7XqHdwO5LjQa_mhxLBDCrsElMPw9hZR0oQ/d/new_sub.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">in next window select Publisher and the publication created earlier<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS-aQUr8K1o1jKKv5EhJnomD27S4P8ByAWBwc5ekFK0U8_xUIkFV5A3pB9Lc0NIoA7HRDeTiIbg3SCmUtFfypiGYARrZ9-Vp7yRhkls2scHXeKbJ4GK8z6ZTZYxhxS-b6L-rrilJIk7g/s548/select_publ.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="435" data-original-width="548" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS-aQUr8K1o1jKKv5EhJnomD27S4P8ByAWBwc5ekFK0U8_xUIkFV5A3pB9Lc0NIoA7HRDeTiIbg3SCmUtFfypiGYARrZ9-Vp7yRhkls2scHXeKbJ4GK8z6ZTZYxhxS-b6L-rrilJIk7g/d/select_publ.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Select
‘Run all agents at the Distributor’ and click ‘Next’<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcQ4QN8DX_5JPw5WUc30uzCVUe1Yki3OzlqXtzsPWJrYxDucLktHXSCP8cGW6rPcBCE5X1aWEznB9ejGBKbA8XaaPCjW3eyn3RL30wY_SEEGqcWHaut79Xrv0YuugS3D078FtBtpltUQ/s546/run_agnt.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="437" data-original-width="546" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcQ4QN8DX_5JPw5WUc30uzCVUe1Yki3OzlqXtzsPWJrYxDucLktHXSCP8cGW6rPcBCE5X1aWEznB9ejGBKbA8XaaPCjW3eyn3RL30wY_SEEGqcWHaut79Xrv0YuugS3D078FtBtpltUQ/d/run_agnt.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Click
on ‘Add SQL Server Subscriber’ and enter the azure connection string on which
we have the empty database created with the admin login credentials<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcOxL3YU_i-Y5nVpD_YyAHLCNllX8w_2hYu-gMr_zrWADFamOYq0kHbNTafUDW_ebNVvs1YEXKBT26WA6apyo2B6Bmw9bJNlQw3-aKHn-J78iLOUW6EqIg2y91K88HNDsf8JkAyk-Gbg/s562/add_subsc.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="441" data-original-width="562" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcOxL3YU_i-Y5nVpD_YyAHLCNllX8w_2hYu-gMr_zrWADFamOYq0kHbNTafUDW_ebNVvs1YEXKBT26WA6apyo2B6Bmw9bJNlQw3-aKHn-J78iLOUW6EqIg2y91K88HNDsf8JkAyk-Gbg/d/add_subsc.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzI6v91l9Obda8iLgc8dH7QBLsVeTnwZFOoTu_jmdlbYnzip4eEaowabeYgPayQvdg7N26mPmS9YW_Z21A2y9NuvW0oA19lET-QBn3kFaCFsED8xSPKeZQMGSH8SdvaPhMn-MqIi6FQg/s469/connect_azure.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="303" data-original-width="469" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzI6v91l9Obda8iLgc8dH7QBLsVeTnwZFOoTu_jmdlbYnzip4eEaowabeYgPayQvdg7N26mPmS9YW_Z21A2y9NuvW0oA19lET-QBn3kFaCFsED8xSPKeZQMGSH8SdvaPhMn-MqIi6FQg/d/connect_azure.png" /></a></div><div class="MsoNormal"><br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Even though the connection string we provided is correct, we may receive below error after clicking on 'Connect'<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtgz8bciEUcQl6ivVJBjY6asVms7IW0BWD-JwDNZ2bUo49praMZBrm2pPCUeNWanipX2WcykGSI7zGAv5_lrRm3lbJN6RI4IyknIVOLyWQODrPUyjB22mWPDoIFnKvxftIG52uRUvo3w/s609/no_secure_err.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="157" data-original-width="609" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtgz8bciEUcQl6ivVJBjY6asVms7IW0BWD-JwDNZ2bUo49praMZBrm2pPCUeNWanipX2WcykGSI7zGAv5_lrRm3lbJN6RI4IyknIVOLyWQODrPUyjB22mWPDoIFnKvxftIG52uRUvo3w/d/no_secure_err.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Here
the issue is we need to include ‘secure’ in the connection string like below <o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh79tftgnBamOJWUEFoHFajvWhyBwJCyWJf5h2S7y_Sxvk8D954xIkTWuRox-wKrwHbHcCqfqLILIgM2N2um6DXCKZ6oyHBnYad6lnOxCqXlxD3OjoH6xuAWjl51LDUdGYxT4W0sLTBxQ/s473/connect_secure.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="305" data-original-width="473" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh79tftgnBamOJWUEFoHFajvWhyBwJCyWJf5h2S7y_Sxvk8D954xIkTWuRox-wKrwHbHcCqfqLILIgM2N2um6DXCKZ6oyHBnYad6lnOxCqXlxD3OjoH6xuAWjl51LDUdGYxT4W0sLTBxQ/d/connect_secure.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
we should see ‘AdventureWorks2017’ database under ‘Subscription Database’ and
Click on ‘Next’<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA7MO88mT7SCu79qtGcCGPsk31vwUyjY9iD3zByyLmngXv3J9DK-8ilmVXCQMbV9p4i7jNw9y3DtBHhcyw4YbEgUT9RUWdzFZH_R_DzHRGXf7wgCOyjwIhn1nXaXKB0k_GMmsSXvY0jA/s546/subcrs.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="440" data-original-width="546" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA7MO88mT7SCu79qtGcCGPsk31vwUyjY9iD3zByyLmngXv3J9DK-8ilmVXCQMbV9p4i7jNw9y3DtBHhcyw4YbEgUT9RUWdzFZH_R_DzHRGXf7wgCOyjwIhn1nXaXKB0k_GMmsSXvY0jA/d/subcrs.png" /></a></div><div class="MsoNormal"><br /></div><div class="MsoNormal"><br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">In
this window click on the 3 dots and select the required options for
Distribution agent and Subscriber as below<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaNmPmJ5BgF0grQAonmQtfH2seYlvj36I_7vvXRjnUSoAgLnnnZKVRCxaAKbXdHRAq8SMJv63nAYkJd30pSg_h7PVUKo94XzcdTdKqkXzjhoWHUKiREaMekREpPmyOx1TlLEyGjsmxyg/s547/dots.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="436" data-original-width="547" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaNmPmJ5BgF0grQAonmQtfH2seYlvj36I_7vvXRjnUSoAgLnnnZKVRCxaAKbXdHRAq8SMJv63nAYkJd30pSg_h7PVUKo94XzcdTdKqkXzjhoWHUKiREaMekREpPmyOx1TlLEyGjsmxyg/d/dots.png" /></a></div><div class="MsoNormal"><br /></div><div class="MsoNormal"><br /></div>
<div class="MsoNormal"><br /></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinnExRzRxraUGabKwHc02eu9LOxoUk6Hz6xEXFMTVyNbkfai5d_-rwPXDFQ3ShCXbbl3NNjcswqt1lUtRrg4wo9LgD3n7PZ8jJGg7arFcrK6AFo7M0r_FZX8Rcd5Dd0lxGfgHO4mZITQ/s659/distr_settng.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="659" data-original-width="523" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinnExRzRxraUGabKwHc02eu9LOxoUk6Hz6xEXFMTVyNbkfai5d_-rwPXDFQ3ShCXbbl3NNjcswqt1lUtRrg4wo9LgD3n7PZ8jJGg7arFcrK6AFo7M0r_FZX8Rcd5Dd0lxGfgHO4mZITQ/d/distr_settng.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 13.3333px;">In ‘Synchronization Schedule’ we can select ‘Run on-demand only’ and click Next</span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 13.3333px;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz7kYuY11bUiP2SuLThfloFN6GYj-h9zW_yHj2jVv-TUABqoao6C_SH6ynfAALRp3njxqOxZyn0rKQqybpR2ijKqLqktg2DS_GSBMlyH5erB9ygfP5cTklTK1BpI7AGbANO1cHcmSlbQ/s543/sync_schedl.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="434" data-original-width="543" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz7kYuY11bUiP2SuLThfloFN6GYj-h9zW_yHj2jVv-TUABqoao6C_SH6ynfAALRp3njxqOxZyn0rKQqybpR2ijKqLqktg2DS_GSBMlyH5erB9ygfP5cTklTK1BpI7AGbANO1cHcmSlbQ/d/sync_schedl.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 13.3333px;"><br /></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 13.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Next
select ‘Immediately’ for ‘Initialize when’ option<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqTbvSwNSq3ZyJjGHG9Q78Gn2pEgMUCIHpnyz5VykillLOmdPR6dVQLWfPW7hBDXSZqTPYuB8DOSClM2tNFletPdLqwm4Yhy1-OJnSn9QH61UfkrxnDIwgxMhEtMwoBuyCg-yDQDVXww/s548/initiz_sub.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="433" data-original-width="548" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqTbvSwNSq3ZyJjGHG9Q78Gn2pEgMUCIHpnyz5VykillLOmdPR6dVQLWfPW7hBDXSZqTPYuB8DOSClM2tNFletPdLqwm4Yhy1-OJnSn9QH61UfkrxnDIwgxMhEtMwoBuyCg-yDQDVXww/d/initiz_sub.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Select
‘Create the subscription(s)’ and click on ‘Finish’<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3wi8c4vZ4ScLqQEEOh7kmgc1OLhT8FxVMMlQjAd3q8qpc77qFhY6nAx9_Q248r33hXPfJIxddQwmlhqdY9tzWnixNeWMJh-EkDq7V3ipDUhH4JO5RtWnquugJ3eMcyRXzezr-aQ6uSA/s548/create_new_subc.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="438" data-original-width="548" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3wi8c4vZ4ScLqQEEOh7kmgc1OLhT8FxVMMlQjAd3q8qpc77qFhY6nAx9_Q248r33hXPfJIxddQwmlhqdY9tzWnixNeWMJh-EkDq7V3ipDUhH4JO5RtWnquugJ3eMcyRXzezr-aQ6uSA/d/create_new_subc.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjni8yioblY5aU6W9wiYdI7Oj14syh3ZOKHVgfj69MbHliyjPRjQ_FMpvTYHAWGwxqganXcdvvAkJMZSBNVmDXMWD2kosqWsel7YhsPzAEEMCPWiWoqDT1ea4Kbtn8ES8-nf5BhgcgLg/s544/finish.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="450" data-original-width="544" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjni8yioblY5aU6W9wiYdI7Oj14syh3ZOKHVgfj69MbHliyjPRjQ_FMpvTYHAWGwxqganXcdvvAkJMZSBNVmDXMWD2kosqWsel7YhsPzAEEMCPWiWoqDT1ea4Kbtn8ES8-nf5BhgcgLg/d/finish.png" /></a></div><div class="MsoNormal"><br /></div><div class="MsoNormal"><br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
we can see replication set up completed successfully.<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXViHBS0SiJNdqFTYqEMagknqty57FUqkjR-f4sNLzhAhqwnzGsQEGl_vM3TVDJH3B1hfQJ1WZrSfjyZwbn-V5ZuJ3cNPu8X8mZDB4RFwBcKARom6S11NolkFM4kNEUff-pujQFwo3YA/s544/subcr_succs.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="453" data-original-width="544" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXViHBS0SiJNdqFTYqEMagknqty57FUqkjR-f4sNLzhAhqwnzGsQEGl_vM3TVDJH3B1hfQJ1WZrSfjyZwbn-V5ZuJ3cNPu8X8mZDB4RFwBcKARom6S11NolkFM4kNEUff-pujQFwo3YA/d/subcr_succs.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><span style="font-size: 13.3333px;">Now connect to the Azure SQL database server using the connection string and check we can see all the selected objects have been replicated to the Azure SQL database. Here I have connected to the azure instance using SSMS.</span></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh20Aw3kxPYYP6fWQSIKggiATZmEoeINOZV7GfCyvI5ez9KVmRUTA735VRfZFMO03-IXdr8yQi5g6Sx4AxEon4FeUmeo6ySmUWDuTVPWzCKvQri0DQ2fSH7lFQhh9k0NRS8y8tFsJHn8w/s298/tbls_rplctd.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="277" data-original-width="298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh20Aw3kxPYYP6fWQSIKggiATZmEoeINOZV7GfCyvI5ez9KVmRUTA735VRfZFMO03-IXdr8yQi5g6Sx4AxEon4FeUmeo6ySmUWDuTVPWzCKvQri0DQ2fSH7lFQhh9k0NRS8y8tFsJHn8w/d/tbls_rplctd.png" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
after making sure all the objects got replicated to Azure then we need to
divert the application connections to point to the Azure SQL database instead
of the on-premise database. Once the connections are diverted then we need to
validate all the transactions got replicated successfully. Once we are sure
everything got replicated then we can disable the transaction replication on
the on-premise database.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">As
we can see in the online migration, the duration the database will be
unavailable is during the time when application connections are being diverted
from on-premise to Azure.</span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">In next article, we will see how to migrate an on-premise SQL Server database to the Azure SQL database using offline migration.</span></div><div class="MsoNormal"><br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Thanks
VV!!<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
#azure, #azuresqldatabase #databasemigration #cloudmigration #sqlserver #onlinemigration</div>
<br /><br />
</div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-1468347136164403682.post-71692782308186077022020-06-08T16:28:00.003+05:302020-07-06T10:54:59.086+05:30How to create Azure SQL Instance and Azure SQL Database?<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">In
this article, we will see how to create an Azure SQL instance and how to create
an empty Azure SQL database. Here we will create an Azure SQL instance named ‘databasemigration’
and then we will create an Azure SQL database named ‘AdventureWorks2017’ in it.
I already have a resource group named ‘DBMigration’ in which I will create these resources. If you don't have a resource group first you need to create one.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: verdana, sans-serif; font-size: 10pt;">Resource Group</span></b><span style="font-family: verdana, sans-serif; font-size: 10pt;">:<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">If
vegetables are assumed as resources then the resource group is like a vegetable box
that can contain different vegetables. As in a vegetable box, we can keep
different vegetables the same way, a resource group can contain different resources
in it like virtual machines, SQL instances, databases, and so on. It is up to us which resources to be kept in which resource group. Here we will not discuss how to create a resource group.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="font-family: verdana, sans-serif; font-size: 13.3333px;">Creating new “Azure SQL Server”:</b></div><div class="MsoNormal"><b style="font-family: verdana, sans-serif; font-size: 13.3333px;"><br /></b></div><div class="MsoNormal"><b style="font-family: verdana, sans-serif; font-size: 13.3333px;"><br /></b></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Login
to the Azure portal “</span><a href="https://portal.azure.com/" style="font-family: verdana, sans-serif; font-size: 10pt;">https://portal.azure.com</a><span style="font-family: verdana, sans-serif; font-size: 10pt;">”
and click on “Create a resource”</span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF1kpYUmm6N7o_p25pY75N2Qucnc2yiVripEYd2UGjC-SnsW097HAUKvKGWo9Js-BLIWLEYs4q8wIqUs52CwMS1atEoq-EEzRpUXZgTUHfcP0DOJv_3jgnAuZEPRG1_oQ2-_LHjJHWlQ/s1600/create_resource.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="271" data-original-width="410" height="263" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF1kpYUmm6N7o_p25pY75N2Qucnc2yiVripEYd2UGjC-SnsW097HAUKvKGWo9Js-BLIWLEYs4q8wIqUs52CwMS1atEoq-EEzRpUXZgTUHfcP0DOJv_3jgnAuZEPRG1_oQ2-_LHjJHWlQ/s400/create_resource.png" width="400" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">In
search, search for “Azure SQL” and select it<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyFIHswmk01jQ8IHqtlh4tHHE0gIQg6dFAV0OXQbg7b91eGuq5ibnDKS0QeqUVoAc_iK92Ellq8mvHua3T2gHzoljCBTJNJ1wDsHYsdtApU1_gdLKENJ2o3TKZSLVQodYHL4BOM-PvZw/s1600/azure_marketplace.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="210" data-original-width="580" height="143" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyFIHswmk01jQ8IHqtlh4tHHE0gIQg6dFAV0OXQbg7b91eGuq5ibnDKS0QeqUVoAc_iK92Ellq8mvHua3T2gHzoljCBTJNJ1wDsHYsdtApU1_gdLKENJ2o3TKZSLVQodYHL4BOM-PvZw/s400/azure_marketplace.png" width="400" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcn5FoXXZo__YZ-6Lt958mrbUC2Rpt28l9j8KbptzS6uaVhat0wpt1FvlJhbpqEEGO7WjgG0vaZQJBv2LFgpJvQGGRb9kwXg2UoEOzhDBuZh67Us3rkesJnnGjcotDTiCWSxbz04Eu-A/s1600/select_azureSQL.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="279" data-original-width="575" height="193" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcn5FoXXZo__YZ-6Lt958mrbUC2Rpt28l9j8KbptzS6uaVhat0wpt1FvlJhbpqEEGO7WjgG0vaZQJBv2LFgpJvQGGRb9kwXg2UoEOzhDBuZh67Us3rkesJnnGjcotDTiCWSxbz04Eu-A/s400/select_azureSQL.png" width="400" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
Click on “Create”<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnnmlra4jKD0Ww8XnPURIUkk4BdwwTe9uhqOiluOPWxjwu9jgTK9Ilu8Z7e9mo0sWGwGAa9FnSlxVAEeCvzVUYLNTqhBwLFMrfYwmmyl3Kzi7n4fxCMglQt4CdR0puYId2WDZ5m22KvQ/s1600/create_azuresql.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="248" data-original-width="426" height="232" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnnmlra4jKD0Ww8XnPURIUkk4BdwwTe9uhqOiluOPWxjwu9jgTK9Ilu8Z7e9mo0sWGwGAa9FnSlxVAEeCvzVUYLNTqhBwLFMrfYwmmyl3Kzi7n4fxCMglQt4CdR0puYId2WDZ5m22KvQ/s400/create_azuresql.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">In
the next page click on “Create” under “SQL Databases”<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKU3NRwlknHBP21rd55FmuA0MpfgpHEEtcw1NidNJrOkpC02QW4JMfRl-YXN6g95VAC_4AG9uy2DF2KpnAvxpxHNC0XvEXH2LKu5sWu-rYLVbGUnYHU-o9IrEl40EkKNDLY5vPDikbTQ/s1600/create+azure+sql+database.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="452" data-original-width="1120" height="258" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKU3NRwlknHBP21rd55FmuA0MpfgpHEEtcw1NidNJrOkpC02QW4JMfRl-YXN6g95VAC_4AG9uy2DF2KpnAvxpxHNC0XvEXH2LKu5sWu-rYLVbGUnYHU-o9IrEl40EkKNDLY5vPDikbTQ/s640/create+azure+sql+database.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Under
“Resource Group” if the resource group doesn’t exist create a new one. I have
selected a resource group named “DBMigration” which I already have<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg25AFGtmdLERAgXevW8TzBJ2hGWMDhVzxYYEbO7vSfzAfDircxkVpDj91SoJDHBQxs5kErc80hmmzEMcGDw21vFMvJRcTtagjUgFnBNhUd9iwb-x6F5Usvct-FsqhcVd1gr0mvN_ygGA/s1600/new_srvr.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="557" data-original-width="730" height="488" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg25AFGtmdLERAgXevW8TzBJ2hGWMDhVzxYYEbO7vSfzAfDircxkVpDj91SoJDHBQxs5kErc80hmmzEMcGDw21vFMvJRcTtagjUgFnBNhUd9iwb-x6F5Usvct-FsqhcVd1gr0mvN_ygGA/s640/new_srvr.PNG" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">In
“Server” space click on “Create new”</span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLiyvT1z9K6IN3WCVt-6P0xjb8ijNqZTfOq-ElSR10qpRYYtaidOT9uPJmQPLky9xO2OyqfIVh9mDkiTJgfrVUGBiwBL8W3rTYyLpGh6Tg1cjoAyaAzuwBGXBLoeutjJ236QWyHO-r2A/s734/new_server.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="340" data-original-width="734" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLiyvT1z9K6IN3WCVt-6P0xjb8ijNqZTfOq-ElSR10qpRYYtaidOT9uPJmQPLky9xO2OyqfIVh9mDkiTJgfrVUGBiwBL8W3rTYyLpGh6Tg1cjoAyaAzuwBGXBLoeutjJ236QWyHO-r2A/w640-h296/new_server.png" width="640" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUzWOJCISGp6ddPz5TJocZN3XsqVPk2Oi9XlEaKn8YudPAprgBbdtIbaVsWCfjZo0Fi6ZJFy5uwnJScd-bMjLD1-QN3X-XY0Y68ecYFDY7AA7jI5qHcAn69BpBsOLbAY1iRA7ArsuLZA/s1600/create_new_server.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="573" data-original-width="313" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUzWOJCISGp6ddPz5TJocZN3XsqVPk2Oi9XlEaKn8YudPAprgBbdtIbaVsWCfjZo0Fi6ZJFy5uwnJScd-bMjLD1-QN3X-XY0Y68ecYFDY7AA7jI5qHcAn69BpBsOLbAY1iRA7ArsuLZA/s400/create_new_server.png" width="216" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Enter
the ‘Server name’, here I am creating a SQL server named “databasemigration”
and create an admin login under the “Server admin login” section, here I am creating
a login named “azureadmin” and provide a password this would be the administrator login for the SQL Server. Select the location of the
server, I want to store all my resources in the same location, so I am
selecting the “Central US” location to store all the resources. And click on ‘OK’.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM934tWhSk1gFuYYSuWWVarDcLQY8AsFXYMGG5hg9nJdOOKnS2FfRVyPNx4LeN5Q0XTQ9N2e1RJOjjXtQ27tDJBu0hycFWpejxrOABzHEwseLGiv5e0iPuxfzDE6WS546YSRIoueI1vg/s1600/new_server_details.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="578" data-original-width="309" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM934tWhSk1gFuYYSuWWVarDcLQY8AsFXYMGG5hg9nJdOOKnS2FfRVyPNx4LeN5Q0XTQ9N2e1RJOjjXtQ27tDJBu0hycFWpejxrOABzHEwseLGiv5e0iPuxfzDE6WS546YSRIoueI1vg/s400/new_server_details.png" width="212" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: verdana, sans-serif; font-size: 10pt;">Creating Azure SQL
Database:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
the server gets created, mention the database name as “AdventureWorks2017” in the 'Database name' section and
select the required “Compute+storage” by clicking on “Configure database”
option. In this "Compute Storage" option, we can select which tier, total size, and <a href="https://sqlserverstore.blogspot.com/2017/11/azure-dtus-and-edtus.html" target="_blank">DTUs</a>, in simple terms we can select the required storage and performance options.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW9AhxI8E-sLIax5Gv8i3uPwdoCviyteHXGgbaP_xj0qTBHaT1En6Ks0710bEqfFZBxo0KIBzmi6ytwVJqPgc8FQIWNL7S1gYDBtGHSZBbNSta6cPXBOlL1OYdSjpzK95oosXOWVfGEg/s1600/change_storage.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="421" data-original-width="720" height="374" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW9AhxI8E-sLIax5Gv8i3uPwdoCviyteHXGgbaP_xj0qTBHaT1En6Ks0710bEqfFZBxo0KIBzmi6ytwVJqPgc8FQIWNL7S1gYDBtGHSZBbNSta6cPXBOlL1OYdSjpzK95oosXOWVfGEg/s640/change_storage.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">We
will have the flexibility to select the number of DTUs required and the maximum size of
the database. As I want to create a simple database I will choose the minimal size
and DTUs required. </span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">Click on the required Tier and after selecting the required size click on 'Apply'.</span><span style="font-family: verdana, sans-serif; font-size: 10pt;"> So, I am selecting a ‘Basic’ tier with 5 DTUs and max database size as 2 GB. </span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1E9Xk8xl-Okqa3_3kChUIiafxufRCGRv7_qpLUuJa2xSfbdEnNABSyZ9_TrtW9icJMfxYMHBYbQVbgKz6tsVrFgpi6lyoz2l7TJtnCH7tDg7YdeItDennt928EsmXWz2VvTALcc6onA/s1600/basic_storage.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="454" data-original-width="769" height="376" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1E9Xk8xl-Okqa3_3kChUIiafxufRCGRv7_qpLUuJa2xSfbdEnNABSyZ9_TrtW9icJMfxYMHBYbQVbgKz6tsVrFgpi6lyoz2l7TJtnCH7tDg7YdeItDennt928EsmXWz2VvTALcc6onA/s640/basic_storage.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip5RaU7UJvKxGH0d_ccZg6UyXjddoHBNIdqsWn1l3FAohtg-uXlDM5uAsByBS51FNAuvvyQFnNdc49jvmn0y_deaRPvTSDuw3FQS4hrPUU1HOIpLHm8Ebz7v3lwOfdQoYOqs0ZcyCrJQ/s1600/basic_storage_details.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="564" data-original-width="746" height="482" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip5RaU7UJvKxGH0d_ccZg6UyXjddoHBNIdqsWn1l3FAohtg-uXlDM5uAsByBS51FNAuvvyQFnNdc49jvmn0y_deaRPvTSDuw3FQS4hrPUU1HOIpLHm8Ebz7v3lwOfdQoYOqs0ZcyCrJQ/s640/basic_storage_details.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Next
Click on Networking<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh78_wlWIg9RdO_cJTgOPJSBghqGqn92mZHh4gxz_17Ljli1BqKZUDK1SC8Ggtle72zO5pz1B0lsp7wp1uEjDU2JXUeL4HQelCM_H2xcW7CyW3XaZeosIpGAYnAhBE1ocINz4mE_KSVpg/s1600/networking.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="425" data-original-width="722" height="376" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh78_wlWIg9RdO_cJTgOPJSBghqGqn92mZHh4gxz_17Ljli1BqKZUDK1SC8Ggtle72zO5pz1B0lsp7wp1uEjDU2JXUeL4HQelCM_H2xcW7CyW3XaZeosIpGAYnAhBE1ocINz4mE_KSVpg/s640/networking.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">We
can connect to the server we created either publicly by using ‘Public endpoint’
or we can connect privately by using ‘Private endpoint’. Here let's select the
‘Public endpoint’, so that we can access using the public endpoint.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjatplHtGhZQqf5-obcxVA7ImNRT9ehzfg_RMTQRgs56q_7wuZxdSQ8rwMqaiMat8fG0b6lzQzzvjOqJ1WnXBRs3W3Xi9T1TpG9gekT_h1rnVG2njZl8cq4j3fXwOP9p4eeaH-nfyW0Nw/s1600/public_endpoint.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="382" data-original-width="710" height="344" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjatplHtGhZQqf5-obcxVA7ImNRT9ehzfg_RMTQRgs56q_7wuZxdSQ8rwMqaiMat8fG0b6lzQzzvjOqJ1WnXBRs3W3Xi9T1TpG9gekT_h1rnVG2njZl8cq4j3fXwOP9p4eeaH-nfyW0Nw/s640/public_endpoint.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Under
‘Firewall rules’, select ‘No’ for “Allow Azure services and resources to access
this server” which is not required for us at the moment,<span> </span>select “Yes” for “Add current client IP
address”<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDunRubKofIdPz6wmj5O3nB0aqFONF4hYUqdcB16JKxYCA943cwEeNPS_KsKuZxeBTtyd1L60BPMTL_sFzXdAuwBjgJOKkx4QgbqI3G-1f5FK49-CUmWFXKrrNhB3NeVA9PHq56639aQ/s1600/add_client_IP.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="524" data-original-width="709" height="472" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDunRubKofIdPz6wmj5O3nB0aqFONF4hYUqdcB16JKxYCA943cwEeNPS_KsKuZxeBTtyd1L60BPMTL_sFzXdAuwBjgJOKkx4QgbqI3G-1f5FK49-CUmWFXKrrNhB3NeVA9PHq56639aQ/s640/add_client_IP.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Click
on “Additional settings”, in additional settings under “Use existing data”
select “None” as we want to create an empty database. If we select ‘sample’, the database will be created with sample tables and we can select the ‘Backup’ option if we want to create the new database by restoring any of the backup available on any of the Azure
regions. Leave ‘Collation’ to the default value and click on ‘Tags’<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbl2Jtdv0zDiPJiI4bsmn-pP8dsPFKb4aADPT98CvS8J7oif2QBOJNUgr0VLv_PHwZNYT_DiFfQn75fAs_Wwgg7GzCJ5CcDZ8_KKKdviqEGUTMI4UKqS5_qTdJ5PdnCE5h4cfj6-xQiQ/s1600/additional_settings_defaults.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="530" data-original-width="712" height="475" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbl2Jtdv0zDiPJiI4bsmn-pP8dsPFKb4aADPT98CvS8J7oif2QBOJNUgr0VLv_PHwZNYT_DiFfQn75fAs_Wwgg7GzCJ5CcDZ8_KKKdviqEGUTMI4UKqS5_qTdJ5PdnCE5h4cfj6-xQiQ/s640/additional_settings_defaults.png" width="640" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Leave
tags empty for now and click on ‘Review+create’<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERWLIeyDOZ86kOjNVIWHtPL0gV5N1voPXAxHO6jl2h9qShzv-V6K8es7Z6DqCBZKHm2sWbeot8gs0UQ2gyGwBgl5iknH05KodF8ZyDYKXSLXfgypNKJt5LxZ8ULeTvHdLvknR-D2Vcg/s1600/tags.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="559" data-original-width="693" height="515" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERWLIeyDOZ86kOjNVIWHtPL0gV5N1voPXAxHO6jl2h9qShzv-V6K8es7Z6DqCBZKHm2sWbeot8gs0UQ2gyGwBgl5iknH05KodF8ZyDYKXSLXfgypNKJt5LxZ8ULeTvHdLvknR-D2Vcg/s640/tags.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">In
the final window we can see all the options we selected, we can also see how much this database and server is going to cost for us. Cross-check all the options
and click on ‘Create’<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc1EaFzmzZTdRoJ21SjxaXP7LZkkH6biyLTJBqydCQvmSik-sM_3mBabD49zzqevOWATemETpGDXsJElMnxBtf7w3abKKfLDR4hprNspL7gPzy-Emz6spxgIUKdM84Z_Wt9mTqL9ReSg/s1600/create.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="564" data-original-width="524" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc1EaFzmzZTdRoJ21SjxaXP7LZkkH6biyLTJBqydCQvmSik-sM_3mBabD49zzqevOWATemETpGDXsJElMnxBtf7w3abKKfLDR4hprNspL7gPzy-Emz6spxgIUKdM84Z_Wt9mTqL9ReSg/s640/create.png" width="594" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
we can see deployment is in progress<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGt0VXXTrWkcsQlI7QM0V52YQZZx6xbRkUcHuB-qLrkOXjhyYE1wDySXhpXwgdN9dMgZBFQj7STicm9LW6XM3UKBu18epbJVInkSZdMz2WquD6bfNkygkANkz78Xpsa8Hl8CHwNTswcQ/s1600/deployment_inprogress.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="297" data-original-width="690" height="274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGt0VXXTrWkcsQlI7QM0V52YQZZx6xbRkUcHuB-qLrkOXjhyYE1wDySXhpXwgdN9dMgZBFQj7STicm9LW6XM3UKBu18epbJVInkSZdMz2WquD6bfNkygkANkz78Xpsa8Hl8CHwNTswcQ/s640/deployment_inprogress.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Once
deployment is complete we can see a new server named ‘databasemigration’ and a new database named ‘AdventureWorks2017’ got created in the location ‘Central
US’ we selected.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZe8RBOvkDTBcVodklWpZCkYgLveuvABcSI7NKUBaQl_Coj8Rt1GiJCk7bZGECugfJefhbf2OikWXkn_3X_JNQFDdA3jA8XQBc6jMfmL6_O7X0Hr2mtUTRG8ATPn4wVkGwebMx0kZ7ZA/s1600/deplcmplt.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="486" data-original-width="815" height="380" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZe8RBOvkDTBcVodklWpZCkYgLveuvABcSI7NKUBaQl_Coj8Rt1GiJCk7bZGECugfJefhbf2OikWXkn_3X_JNQFDdA3jA8XQBc6jMfmL6_O7X0Hr2mtUTRG8ATPn4wVkGwebMx0kZ7ZA/s640/deplcmplt.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
go to the ‘Home’ page of the Azure portal and click on ‘SQL databases’, now we
can see the new database '</span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">AdventureWorks2017</span><span style="font-family: verdana, sans-serif; font-size: 10pt;">' we just created</span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJvg9cZlG1vyACmqCfrDkMjf1JBZ5C7p5vmjr4E9ZyC188S1T_ydCFlur2YTKHqzeJMdnoLBxjgWBiwMr6_Me_tTXRSM7c1dsZVGCqeMTQannBxsuTok6jz74u4Zv52Opg-uHToYGC2w/s1600/db_list.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="376" data-original-width="1280" height="188" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJvg9cZlG1vyACmqCfrDkMjf1JBZ5C7p5vmjr4E9ZyC188S1T_ydCFlur2YTKHqzeJMdnoLBxjgWBiwMr6_Me_tTXRSM7c1dsZVGCqeMTQannBxsuTok6jz74u4Zv52Opg-uHToYGC2w/s640/db_list.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: verdana, sans-serif; font-size: 10pt;">How to query Azure
SQL Database:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Click
on the database ‘AdventureWorks2017’ database which we just created and we can
different options available on the left side and click on ‘Query editor(preview)’ and here
enter the admin login credentials which we created earlier ‘azureadmin’ during server creation and
Click on ‘OK’.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPfG8jjBaPBfS_7FL8cafrSDGKbxcFhh7oOwgWdG9mXezeS8wtVc4OTeyTthO3jv8cEjhkfYf2ryjn1wyNQ3coqmkIaxrzBbyxFScLIvAFkSkpQZXArVPrbMO1l0PqHBhyaT8rn-bXyQ/s1600/adw2017_db.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="308" data-original-width="1257" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPfG8jjBaPBfS_7FL8cafrSDGKbxcFhh7oOwgWdG9mXezeS8wtVc4OTeyTthO3jv8cEjhkfYf2ryjn1wyNQ3coqmkIaxrzBbyxFScLIvAFkSkpQZXArVPrbMO1l0PqHBhyaT8rn-bXyQ/s640/adw2017_db.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfK1FOk9WcHOojSNvzb9GrFyCk3a6UtkNBPZgheI32ulyutpMAJx0IDYe-KSfD1907BirWKoqQSa0TqW_V4-djxgHjbXNIdUod2xTAxD7yxSZN0B6R693iLxbhZj5au0hwOpz62HBeUw/s1600/query_editor.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="524" data-original-width="908" height="368" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfK1FOk9WcHOojSNvzb9GrFyCk3a6UtkNBPZgheI32ulyutpMAJx0IDYe-KSfD1907BirWKoqQSa0TqW_V4-djxgHjbXNIdUod2xTAxD7yxSZN0B6R693iLxbhZj5au0hwOpz62HBeUw/s640/query_editor.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
new query window will open for the database and let's run a simple query to
check the number of user objects in the database<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW6PNiZdUDdCWL_kocROhruibAs8oUwMZhXaY8GoBXcqn5y4ak8NK8pwmkl0OxYyP8YHm-CjiHuZjNYVr7nu7VxRHIlz4LoLPSKfG4LlaUtBeMK4bwkGNboaF2YLntjjJAA1sEGGMGHg/s1600/sample_query.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="491" data-original-width="772" height="406" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW6PNiZdUDdCWL_kocROhruibAs8oUwMZhXaY8GoBXcqn5y4ak8NK8pwmkl0OxYyP8YHm-CjiHuZjNYVr7nu7VxRHIlz4LoLPSKfG4LlaUtBeMK4bwkGNboaF2YLntjjJAA1sEGGMGHg/s640/sample_query.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">The
output should be ‘0’ as we created an empty database. </span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">We can use the Azure Data Studio (ADS) to connect and query this newly created Azure SQL database. Read here: <a href="https://sqlserverstore.blogspot.com/2020/05/how-to-install-and-use-azure-data.html" target="_blank">How to use ADS.</a><o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">So to recap, in this article we discussed how to create a new Azure SQL database server, new azure SQL database, how to connect and query the azure SQL database.</span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div><div class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">In the next article, we will see how to migrate an on-premise SQL Server database to the Azure SQL database using online migration with minimal downtime.</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Thanks
VV!!<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">#azure #azuresql #azuresqldatabase #sql #azuresqlserver </span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">#AzureSQL</span></div>
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-16007478083712614152020-06-01T14:03:00.003+05:302020-07-06T10:55:14.756+05:30Steps to migrate SQL Server Database to Azure.<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Based on the criticality of the database, migration can be classified into two ways:<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoListParagraph" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin: 0cm 0cm 0cm 76.5pt; mso-list: l0 level1 lfo3; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-indent: -20.25pt; widows: 2; word-spacing: 0px;">
<!--[if !supportLists]--><span style="color: black; font-family: symbol; font-size: 10pt;"><span style="mso-list: Ignore;">·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Offline Migration.<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoListParagraph" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin: 0cm 0cm 0cm 76.5pt; mso-list: l0 level1 lfo3; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-indent: -20.25pt; widows: 2; word-spacing: 0px;">
<!--[if !supportLists]--><span style="color: black; font-family: symbol; font-size: 10pt;"><span style="mso-list: Ignore;">·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Online Migration.<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<b><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Offline Migration:<u1:p></u1:p></span></b><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">As the names are
self-explanatory if the database that needs to be migrated to Azure is not a
highly critical database and downtime is allowed then we can migrate the
database through offline migration. During offline migration, the databases
will not be available for access and in turn, the applications relying on it
also will not be available.<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<b><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Online Migration:<u1:p></u1:p></span></b><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">If the database is highly
critical then we should plan an online migration of the database with very
minimal downtime. In Online migrations, the source database will be available
during migration activity and once the entire database is migrated then the
application connections need to be pointed newly migrated Azure database. After
diverting connections to the Azure database any pending transactions from the source
servers needs to be replicated to the Azure database.<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<b><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Which database can be
migrated to Azure:<u1:p></u1:p></span></b><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">We can migrate a SQL Server
database if the database is of SQL Server 2005 and above version. We can
migrate DB2, MySQL, MongoDB, Amazon Web Services Elastic Compute Cloud (AWS
EC2), Compute Engine (Google Cloud Platform (GCP)), Amazon Relational Database
(AWS RDS) and many others. The complete list of different source databases that
can be migrated to Azure is mentioned <a href="https://datamigration.microsoft.com/">here.</a><u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<b><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Which Azure tier should
I move my on-premise database to?<u1:p></u1:p></span></b><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Another important decision we
need to make before migrating the on-premise database is “Which Azure </span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">tier</span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;"> </span><span style="font-family: verdana, sans-serif; font-size: 10pt;">subscription should I move my database to?”. As we know there are different
tiers in Azure like Basic, Standard, and Premium. Each tier is suitable for
specific workloads, performance requirements, space requirements, and so
on. </span><a href="https://dtucalculator.azurewebsites.net/" style="font-family: verdana, sans-serif; font-size: 10pt;">This link</a><span style="font-family: verdana, sans-serif; font-size: 10pt;"> helps
in determining the suitable tier and DTU’s.</span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;"><a href="https://sqlserverstore.blogspot.com/2017/11/azure-dtus-and-edtus.html">You can read about what are DTUs and eDTUs here.</a><u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<b><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></b></div><div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;"><p class="MsoNormal"><b><span style="font-family: verdana, sans-serif; font-size: 10pt;">How much money you
can save by migrating to Azure:</span></b></p>
<p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;">We
can use the Total Cost of Ownership (TCO) calculator which gives us details of
how much money we would be saving if we migrate our existing environment to
Azure. Once we enter the details of our existing environment like how many
servers, databases, their configuration and so on this calculator will generate
a detailed report showing what are different costs involved in our environment
and how much cost we would be saving if we migrate to Azure.</span><span style="font-family: verdana, sans-serif; font-size: 10pt;"> </span></p>
<p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><a href="https://azure.microsoft.com/en-in/pricing/tco/calculator/">https://azure.microsoft.com/en-in/pricing/tco/calculator/</a></span></p>
<p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"> </span><span style="font-family: verdana, sans-serif; font-size: 10pt;">Below
is one small part of the TCO report, along with this it provides much more
detailed information report:</span></p><p class="MsoNormal"><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></p></div><div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;"><b><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVpnhKwHUbK43A-dCwhHriQZIlALU3hvhjbBouVmEKfQxkAvd1pM2p_kVRNM_vURwCj6MaGtufEmU2pU5O_-SCaYyquWY01waz3MFfgWv-M-d8Zxh0wfsIHdbDT13uben_5blqAfnwlw/s829/wTCO.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="414" data-original-width="829" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVpnhKwHUbK43A-dCwhHriQZIlALU3hvhjbBouVmEKfQxkAvd1pM2p_kVRNM_vURwCj6MaGtufEmU2pU5O_-SCaYyquWY01waz3MFfgWv-M-d8Zxh0wfsIHdbDT13uben_5blqAfnwlw/w640-h320/wTCO.PNG" width="640" /></a></div><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></b></div><div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;"><b><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></b></div><div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;"><b><span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></b></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<b><span style="font-family: verdana, sans-serif; font-size: 10pt;">Tools\Methods Available
For SQL Server Database Migration:</span></b></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">There are many tools and
methods available for migrating an on-premise SQL database to Azure. Depending on
the environment and requirement each tool can be used for migration.<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoListParagraph" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin: 0cm 0cm 0cm 90pt; mso-list: l1 level1 lfo2; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-indent: -18pt; widows: 2; word-spacing: 0px;">
<!--[if !supportLists]--><span style="color: black; font-family: symbol; font-size: 13.5pt;"><span style="mso-list: Ignore;">·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Data Migration Assistance (DMA)<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoListParagraph" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin: 0cm 0cm 0cm 90pt; mso-list: l1 level1 lfo2; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-indent: -18pt; widows: 2; word-spacing: 0px;">
<!--[if !supportLists]--><span style="color: black; font-family: symbol; font-size: 13.5pt;"><span style="mso-list: Ignore;">·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Database Migration Service (DMS)<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoListParagraph" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin: 0cm 0cm 0cm 90pt; mso-list: l1 level1 lfo2; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-indent: -18pt; widows: 2; word-spacing: 0px;">
<!--[if !supportLists]--><span style="color: black; font-family: symbol; font-size: 13.5pt;"><span style="mso-list: Ignore;">·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Transactional Replication<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoListParagraph" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin: 0cm 0cm 0cm 90pt; mso-list: l1 level1 lfo2; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-indent: -18pt; widows: 2; word-spacing: 0px;">
<!--[if !supportLists]--><span style="color: black; font-family: symbol; font-size: 13.5pt;"><span style="mso-list: Ignore;">·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Bulk Load<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoListParagraph" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin: 0cm 0cm 0cm 90pt; mso-list: l1 level1 lfo2; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-indent: -18pt; widows: 2; word-spacing: 0px;">
<!--[if !supportLists]--><span style="color: black; font-family: symbol; font-size: 13.5pt;"><span style="mso-list: Ignore;">·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Export Data-tier Application<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoListParagraph" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin: 0cm 0cm 0cm 90pt; mso-list: l1 level1 lfo2; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-indent: -18pt; widows: 2; word-spacing: 0px;">
<!--[if !supportLists]--><span style="color: black; font-family: symbol; font-size: 13.5pt;"><span style="mso-list: Ignore;">·<span style="font: 7pt "times new roman";">
</span></span></span><!--[endif]--><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Deploy Database to Microsoft Azure<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">The migration tools list is not
limited to these, there are numerous others as well. The entire list of
Microsoft and Third-Party tools that are useful in Planning, Assessment, and
Migration of databases from different sources to Azure is mentioned in detail
in this <a href="https://docs.microsoft.com/en-gb/azure/dms/dms-tools-matrix">link.</a><u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">We will discuss two important
tools that are very useful during database migrations that are DMA and DMS.</span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<b><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Data Migration
Assistance (DMA):<u1:p></u1:p></span></b><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">This is one of the very useful
tools that help during database migrations. With this tool, we can find out what
existing features of our source server are invalid in the Azure environment.
This tool is helpful in identifying the unsupported or deprecated features of
the source database. With the DMA version 5.2.4764.4 we can assess both the
database engine and SSIS.<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<b><span style="color: black; font-family: verdana, sans-serif; font-size: 8pt;">Below is sample
assessment report of DMA:<u1:p></u1:p></span></b><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">You can see in the screenshot
after assessing my SQL Server 2017 version database it is giving details like that
there are 2 “Unsupported Features” in my database. SQL Server Agent jobs and
Azure Key Vault integration. It will give clear information on what would be
the impact and will provide recommendations like what are the
alternatives\fixes for the issues found. This assessment report can be saved for
reviewing later.<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqCkIo9uFBWOpeiDPMAt540ZAe6Ccd9azZfC_53m1SCzF8T0IWiC3FUAtR-8_3lAjc-AbfZlC-UtMCoqj-u5IDojz0-nrnJppY0i56TyY1lb5bg2SUTqB6A92wkju3NfDF2udQPCV6Jw/s1600/sample_DMA_output.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="676" data-original-width="985" height="436" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqCkIo9uFBWOpeiDPMAt540ZAe6Ccd9azZfC_53m1SCzF8T0IWiC3FUAtR-8_3lAjc-AbfZlC-UtMCoqj-u5IDojz0-nrnJppY0i56TyY1lb5bg2SUTqB6A92wkju3NfDF2udQPCV6Jw/s640/sample_DMA_output.PNG" width="640" /></a></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Remember we can assess and
migrate as well the source database with the DMA tool. But DMA is mainly preferred for
migrations of small databases and also we can migrate one database at a time.<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<b><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Database Migrations
Service (DMS):<u1:p></u1:p></span></b><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">DMS tool helps in migrating
databases both offline and online. Azure Standard tier supports only offline
migration. Online migration is supported only with the premium pricing tier of
the Azure. DMS is useful in migrating big databases and with DMS we can migrating
multiple databases at a time.<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<b><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Below are the basic
steps to migrate SQL database to Azure:<u1:p></u1:p></span></b><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Below steps are written
assuming we are migrating the<b> </b>on-premise SQL database to an Azure
database. In future blogs, we will see how to migrate the SQL database to the
Azure database using different tools and methods.</span><br />
<span style="font-family: verdana, sans-serif; font-size: 10pt; text-indent: -18pt;"><br /></span>
<br />
<div style="text-indent: 0px;">
<div style="margin: 0cm 0cm 0cm 54pt; mso-list: l0 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Gather details of the on-premise SQL
database.</span><span style="font-family: verdana, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0cm 54pt; mso-list: l0 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Create an Azure SQL Server.</span><span style="font-family: verdana, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0cm 54pt; mso-list: l0 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Create an Azure SQL database.</span><span style="font-family: verdana, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0cm 54pt; mso-list: l0 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Install Data Migration Assistant (DMA).</span><span style="font-family: verdana, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0cm 54pt; mso-list: l0 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Assess the source database using DMA.</span><span style="font-family: verdana, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0cm 54pt; mso-list: l0 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Fix if any discrepancies found.</span><span style="font-family: verdana, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0cm 54pt; mso-list: l0 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Test the migration in the lower environment first.</span><span style="font-family: verdana, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0cm 54pt; mso-list: l0 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Migrate the schema and data from the source database to the
Azure database.</span><span style="font-family: verdana, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0cm 54pt; mso-list: l0 level1 lfo1; text-indent: -18pt;">
<!--[if !supportLists]--><span style="font-family: symbol; font-size: 10pt;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-family: verdana, sans-serif; font-size: 10pt;">Verify the migrated data in the Azure database.</span><span style="font-family: verdana, sans-serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
</div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">The above are not fixed
migration steps. Depending on the type of migration, source server, target
server, size these steps will change. Also haven’t included standard steps that
need to be followed for any type of database maintenance activities like
scheduling during a suitable maintenance window, prior client approvals,
backups, and so on.<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<b><span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Post Migration:<u1:p></u1:p></span></b><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Once the database is migrated
successfully, point the applications to Azure and perform testing. Make sure
the required logins also migrated and perform if any performance tuning
required.<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<u1:p></u1:p></div>
<div class="MsoNormal">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Hope this article has given you a brief idea about different steps
involved in the database migration project.</span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Let me know in the comments
section below which method and tool you use for performing database migrations in your environment.<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">Thanks VV!!<u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: verdana, sans-serif; font-size: 10pt;">#azure #azuredatabase
#databasemigration #sqlserver #azuresql #migration #sql <u1:p></u1:p></span><span style="color: black; font-size: 13.5pt;"><o:p></o:p></span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">#AzureSQL</span></div>
<div class="MsoNormal" style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div class="MsoNormal">
<br /></div>
<br />
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-1468347136164403682.post-29051393156996483722020-05-25T13:16:00.002+05:302020-06-29T10:50:59.462+05:30How to install and use Azure Data Studio (ADS)?<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">In
<a href="https://sqlserverstore.blogspot.com/2020/05/what-is-azure-data-studio-should-we-use.html" target="_blank">previous article</a> we discussed what is Azure Data Studio (ADS), its uses, and when to use SSMS and when to use ADS. </span></div><div class="MsoNormal"><font face="verdana, sans-serif"><span style="font-size: 13.3333px;"><br /></span></font></div><div class="MsoNormal"><p class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt;">We
can download the latest version of SSMS from below link:<o:p></o:p></span></p>
<p class="MsoNormal"><a href="https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15" style="font-family: Verdana, sans-serif; font-size: 10pt;">https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15</a></p>
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span>
<span style="font-family: verdana, sans-serif; font-size: 10pt;">I</span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">n this article,</span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;"> w</span><span style="font-family: verdana, sans-serif; font-size: 10pt;">e will see how to install ADS and few
features of ADS.</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: verdana, sans-serif; font-size: 10pt;">How to Install ADS:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">ADS
installation is simple and straightforward. It is free to download the setup
file from <a href="https://docs.microsoft.com/en-gb/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15#get-azure-data-studio-for-windows">here</a>. As of today below </span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">version of the </span><span style="font-family: verdana, sans-serif; font-size: 10pt;">file will be downloaded for the Windows machine.</span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG5hpKYrnM-mfZUwwcIA3kLy_zd4zLi7jo96QYW_pMqQB7fkCv10_hDiB4PJLievQsz5pKYDsACN4XLo0CaVB0w2V82cHNaUBdGKK-5moPxtHPv1OVl1NnGQho5cdPDDJWgF7HW2Je7A/s1600/setup_file.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="40" data-original-width="352" height="45" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG5hpKYrnM-mfZUwwcIA3kLy_zd4zLi7jo96QYW_pMqQB7fkCv10_hDiB4PJLievQsz5pKYDsACN4XLo0CaVB0w2V82cHNaUBdGKK-5moPxtHPv1OVl1NnGQho5cdPDDJWgF7HW2Je7A/s400/setup_file.PNG" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_1" o:spid="_x0000_i1029" type="#_x0000_t75"
alt="Description: Description: cid:image001.png@01D62F98.448BDEC0" style='width:264pt;
height:30pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vutukur\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title="image001.png@01D62F98"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Once the file is downloaded, double click on the exe and accept the license and proceed
clicking 'Next' and finally, click on 'Install'.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><!--[if gte vml 1]><v:shape id="Picture_x0020_2"
o:spid="_x0000_i1028" type="#_x0000_t75" alt="Description: Description: cid:image002.png@01D62F98.B58BC9A0"
style='width:381pt;height:297pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vutukur\AppData\Local\Temp\msohtmlclip1\01\clip_image002.png"
o:title="image002.png@01D62F98"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiVL5p-MtyQSxDN2DWshjrlKNDmeYMADG71cwFIUQKiNB88EhoJNhN6KBwhj9hXfq6JDVSIl2jiCNwvj3ZH2DsnmF8TwN-sq3SSUUBLZzAMFPpQFB5taovmJ85kTVx1qlF4yUxfVMmXQ/s1600/1.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="390" data-original-width="500" height="311" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiVL5p-MtyQSxDN2DWshjrlKNDmeYMADG71cwFIUQKiNB88EhoJNhN6KBwhj9hXfq6JDVSIl2jiCNwvj3ZH2DsnmF8TwN-sq3SSUUBLZzAMFPpQFB5taovmJ85kTVx1qlF4yUxfVMmXQ/s400/1.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUus8dPwN8b0BAp-CxFzxMc2XuxFci67n3q1vkxfM-RP65PrBHCAe_5VBgl9SS8kv_tLwLkx_kbk2eivD304cUHRUfPl3kYVxLLW7ah2i3Jo2sYCpRzaS7Mxl0bpH78epMXlH5jZHNlQ/s1600/2.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="388" data-original-width="501" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUus8dPwN8b0BAp-CxFzxMc2XuxFci67n3q1vkxfM-RP65PrBHCAe_5VBgl9SS8kv_tLwLkx_kbk2eivD304cUHRUfPl3kYVxLLW7ah2i3Jo2sYCpRzaS7Mxl0bpH78epMXlH5jZHNlQ/s400/2.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">After
successful installation, go to Start and open ADS by clicking on the below icon.</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf6YK00CBqqnaL98OD8yoYy90jkvJorXVzPRByHSPy5v9kRVWVRSy9AvijyVunGj9fKSiu1CJrR30yitaO30e8sMBN8qRWOIK9eNTEYBMTgxN68fm3JUZ9r-jJrWGyPWp-onQ03fG2LQ/s1600/ADS_Icon.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="116" data-original-width="81" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf6YK00CBqqnaL98OD8yoYy90jkvJorXVzPRByHSPy5v9kRVWVRSy9AvijyVunGj9fKSiu1CJrR30yitaO30e8sMBN8qRWOIK9eNTEYBMTgxN68fm3JUZ9r-jJrWGyPWp-onQ03fG2LQ/s1600/ADS_Icon.PNG" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Below is the welcome page of
ADS at the time of writing this article. <o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgpz1IM7K1esw7bQCM2h0ROWfc4o2_TeQXkLrTT953AwnpKa1tXttUjmwsOiUZ5nWpf_C18YleJARUbgTSW5r__YInVY4t2_ez6gsKe0drnPXVn8E9Nx0KYrnxCmrowBgmYjKkc24Gpw/s1600/3.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="408" data-original-width="762" height="340" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgpz1IM7K1esw7bQCM2h0ROWfc4o2_TeQXkLrTT953AwnpKa1tXttUjmwsOiUZ5nWpf_C18YleJARUbgTSW5r__YInVY4t2_ez6gsKe0drnPXVn8E9Nx0KYrnxCmrowBgmYjKkc24Gpw/s640/3.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span>
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span>
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p>If you see below pop-up to enable preview features or not, click on 'Yes'. So that we can view and make use of the preview features also.</o:p></span><br />
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span>
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJmt4G3qHhNMdkXhpSalJz8a7u80jwUoy3uXbuXBEq8zllGjPbSpyu-JjINa6az2hvBF7OwvhIeBrzrX2opeGw_TLnfy2FefaV7-KXEI4WeMm2Hb1spWZMCgbSo0BSzh1kjc2BG9fmhA/s1600/preview.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="137" data-original-width="515" height="106" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJmt4G3qHhNMdkXhpSalJz8a7u80jwUoy3uXbuXBEq8zllGjPbSpyu-JjINa6az2hvBF7OwvhIeBrzrX2opeGw_TLnfy2FefaV7-KXEI4WeMm2Hb1spWZMCgbSo0BSzh1kjc2BG9fmhA/s400/preview.PNG" width="400" /></a></div>
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><!--[if gte vml 1]><v:shape id="Picture_x0020_3"
o:spid="_x0000_i1027" type="#_x0000_t75" alt="Description: Description: cid:image005.png@01D62F9A.38C4A9D0"
style='width:571.5pt;height:306pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vutukur\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title="image005.png@01D62F9A"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal">
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">There
have been changes to the ADS layout recently and below is how the new ADS the welcome screen looks like:<o:p></o:p></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX3en-duiT-RW58NritOFQmsCYW-8TLxejZzYxfmewqNi4VmkBbgU9JFgNDEfBla4CFcm6mX0pgGWjB5xZLIISa_iBtbI33XW7nPhtOkS9A8Hyj4yaK4aPfgo0oEPGn3evUDZIpChW9A/s1600/New_Welcome.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="611" data-original-width="615" height="633" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX3en-duiT-RW58NritOFQmsCYW-8TLxejZzYxfmewqNi4VmkBbgU9JFgNDEfBla4CFcm6mX0pgGWjB5xZLIISa_iBtbI33XW7nPhtOkS9A8Hyj4yaK4aPfgo0oEPGn3evUDZIpChW9A/s640/New_Welcome.PNG" width="640" /></a></div>
<br />
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: verdana, sans-serif; font-size: 10pt;">Changing the look Of
ADS:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">We
can change the color Theme as shown in below snippet: Here I am changing the color theme of my ADS to 'blue'<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.blogger.com/video.g?token=AD6v5dzsg-oTJLy7dAU0I7fCBEMWwqUxJX7BIb_Bz7z-oI1tSmr1pWBfNhkVDmoT0w18h95GSP7Qf8WblnEhtDD7ZQ' class='b-hbp-video b-uploaded' frameborder='0'></iframe></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: verdana, sans-serif; font-size: 10pt;">Viewing and
Modifying Keyboard Shortcuts:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">In the below snippet, we will see how to view </span>the Keyboard Shortcuts of ADS and how we can modify the shortcuts. <o:p></o:p></span><br />
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span>
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">Below I’m modifying the shortcut for the “comment” line in code. </span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">The default shortcut for commenting out a line in code is “Ctrl+k Ctrl+c”, I am modifying it to “Ctrl+L Ctrl+C”</span></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.blogger.com/video.g?token=AD6v5dxwJvpz9ntqpZjvbIX1faPvAoYv3rVwKFEhKEtYMqsYaxwyhsXPz7jI7h1c3MaaQHI1a5VYL3SifFAn_N08VA' class='b-hbp-video b-uploaded' frameborder='0'></iframe></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br />
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">With
the new update to ADS, we can view these ‘Color Theme’ and ‘Keyboard Shorcuts’ under
‘File’ as shown below:<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIVejVLoZ9d9UW8a3V3fCdz5U1oLwWveUWwQ4PUsF9U_z8W0KPzPpmbk3z1f1MYT2FFhKGwpjroGBBZEaIXPNvbV9tQewLObmgORZM6sJJVAuIG7hyphenhyphenpJj8yn5bgu_csA2K8kkV-I2aww/s1600/new_shrotcut.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="631" data-original-width="585" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIVejVLoZ9d9UW8a3V3fCdz5U1oLwWveUWwQ4PUsF9U_z8W0KPzPpmbk3z1f1MYT2FFhKGwpjroGBBZEaIXPNvbV9tQewLObmgORZM6sJJVAuIG7hyphenhyphenpJj8yn5bgu_csA2K8kkV-I2aww/s640/new_shrotcut.PNG" width="592" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: verdana, sans-serif; font-size: 10pt;">Run the first query in
ADS:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
let’s run a simple query and will see how we can convert the output to a chart
easily. On the welcome screen click on “New Query”<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgthbacaD6HQiAQ37cpWnq63lmHSkmYyCWkeShNdl0aUuTAyGSKgz7CZQi0tkv8j2WshJqa-SZtyVlkMItAzq6AOBbpZBCwSlH1DyW-EYop8AdD4t_ob5TkNlTAb3ifR7GKjPJJRrxV9g/s1600/4.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="206" data-original-width="284" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgthbacaD6HQiAQ37cpWnq63lmHSkmYyCWkeShNdl0aUuTAyGSKgz7CZQi0tkv8j2WshJqa-SZtyVlkMItAzq6AOBbpZBCwSlH1DyW-EYop8AdD4t_ob5TkNlTAb3ifR7GKjPJJRrxV9g/s400/4.png" width="400" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br />
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Or
we can open ‘New Query’ like below:<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY8jwiCr4M7dONGCnLKYOurTB_U8y1uonZ-Ltv6QZlPEBnaLOdVDpJ3_CSftpeOL1U5lhfDhMgl3AnTPdC32Sbvh1fVX8qRHW2hgTQG2EyQ7axMwI61OGmyOdDP9Tg55-00fQbbsokkg/s1600/new_query_ads.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="142" data-original-width="327" height="172" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY8jwiCr4M7dONGCnLKYOurTB_U8y1uonZ-Ltv6QZlPEBnaLOdVDpJ3_CSftpeOL1U5lhfDhMgl3AnTPdC32Sbvh1fVX8qRHW2hgTQG2EyQ7axMwI61OGmyOdDP9Tg55-00fQbbsokkg/s400/new_query_ads.PNG" width="400" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">This
opens a new query window. First, we need to connect to a server for that click
on “Connect”<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><!--[if gte vml 1]><v:shape id="Picture_x0020_4"
o:spid="_x0000_i1026" type="#_x0000_t75" alt="Description: cid:image003.png@01D6300D.FF860690"
style='width:414pt;height:105pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vutukur\AppData\Local\Temp\msohtmlclip1\01\clip_image004.png"
o:title="image003.png@01D6300D"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1ZseT8MrUYlRis_4PU54iR2ArmEQNvUnHrtc0m34YiE2Eb21kmqmygcZCXbbEH37MhIRfV3IHfb11y86yQvQ4x0tsMsGKTUV8J9fBO6t4zdb_QKurD7gIgJHXpCt06u2p4Vsxqy05yw/s1600/5.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="140" data-original-width="552" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1ZseT8MrUYlRis_4PU54iR2ArmEQNvUnHrtc0m34YiE2Eb21kmqmygcZCXbbEH37MhIRfV3IHfb11y86yQvQ4x0tsMsGKTUV8J9fBO6t4zdb_QKurD7gIgJHXpCt06u2p4Vsxqy05yw/s1600/5.png" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: verdana, sans-serif; font-size: 10pt;">Connecting to
Instance:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
enter “Connection Details”, here I want to query data from my Azure database so
providing my Azure database connection string in “Server”, Authentication type
“SQL Login” and its credentials. After providing all details click on “Connect”. The way to connect to an on-premise instance also similar.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><!--[if gte vml 1]><v:shape id="Picture_x0020_5"
o:spid="_x0000_i1025" type="#_x0000_t75" alt="Description: cid:image004.png@01D6300E.7EE9DF60"
style='width:373.5pt;height:339pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vutukur\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title="image004.png@01D6300E"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkyFWLcp0pjz9mPjVcR0QzihInaxOVeHPYGmyYvug3Rm03ytXg3h1q-206tluoVLHzlmgHeJSya-OpYLqxgHbSvs9AQLSV-bAZfXm9qNPeRVcE6C-JWq4w6scciId57wi5y84f6T4IxA/s1600/6.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="452" data-original-width="498" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkyFWLcp0pjz9mPjVcR0QzihInaxOVeHPYGmyYvug3Rm03ytXg3h1q-206tluoVLHzlmgHeJSya-OpYLqxgHbSvs9AQLSV-bAZfXm9qNPeRVcE6C-JWq4w6scciId57wi5y84f6T4IxA/s1600/6.png" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now the connection will establish to the Azure database. </span><br />
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span>
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Let’s run a simple query on "</span><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">SalesLT.ProductCategory</span><span style="font-family: verdana, sans-serif; font-size: 10pt;">" this is one of the tables in my “ADW” database.</span></div>
<div class="MsoNormal">
<br />
<span style="font-family: verdana, sans-serif; font-size: 13.3333px;">“select * from SalesLT.ProductCategory”</span><br />
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Select
ADW database from the drop-down list in “Change connection”, if it is not already
selected.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvbToeXnenmZnelBMwJyOzbqzaftGHBjo6qVYSXquArtloqPbjUkDGIzHqnW0YQkr6FYVhIggvPw-LjQgc5KFe-es_m-KQL34XD5B1cQo1T8MMwLNJ5D5XEsbycrd0STwDQJGxNMidgQ/s1600/select_ADW.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="165" data-original-width="558" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvbToeXnenmZnelBMwJyOzbqzaftGHBjo6qVYSXquArtloqPbjUkDGIzHqnW0YQkr6FYVhIggvPw-LjQgc5KFe-es_m-KQL34XD5B1cQo1T8MMwLNJ5D5XEsbycrd0STwDQJGxNMidgQ/s1600/select_ADW.PNG" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Write the query and click on 'Run'. After
clicking on “Run”, we can see the output of the query <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaPUxTl8wnKlbKBGKac6D6KKS9-M0FFz0HyHKQ_cVJOc9_zg9a81kfQpMDNeLM4Ll1hnNO0juZmTU0PxbG9cEZX2MH_nKZA0XUTNIMWFUySQ7bt8K2PyRo9pKSYyzTPjG_6EnciqvEGw/s1600/7.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="393" data-original-width="645" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaPUxTl8wnKlbKBGKac6D6KKS9-M0FFz0HyHKQ_cVJOc9_zg9a81kfQpMDNeLM4Ll1hnNO0juZmTU0PxbG9cEZX2MH_nKZA0XUTNIMWFUySQ7bt8K2PyRo9pKSYyzTPjG_6EnciqvEGw/s1600/7.png" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br />
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">On
right-hand side, we can see different icons, each of them helps in saving the
query result to CSV, Excel, JSON, XML.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEg7aQQJQ3MQJnzmjRIotYw5dCdCGVqDv2r3M6xQjIY9UIs1IMoqIj0fSwOEYLTumNLPfCQbmrhDGN9CgPp_WMYe7aiHlsY5jxYjjrqPpEMBZ-BQdOV9AnoruTOtFi4GPGXSBL6a2GgA/s1600/icons.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="130" data-original-width="37" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEg7aQQJQ3MQJnzmjRIotYw5dCdCGVqDv2r3M6xQjIY9UIs1IMoqIj0fSwOEYLTumNLPfCQbmrhDGN9CgPp_WMYe7aiHlsY5jxYjjrqPpEMBZ-BQdOV9AnoruTOtFi4GPGXSBL6a2GgA/s200/icons.PNG" width="56" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: verdana, sans-serif; font-size: 10pt;">Convert OutPut To
Chart Format:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">On the right side of the “Results” window, we can see the icon as pointed below,<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHamepyAnj_0Kg8NvTBBeFhNmOCPGrY39K0hrf0vC-KrAVYkLyBTt4Uo1oL4kuneL66T4LBsQPe8sZso4OqkeJlEpYJAoDzuJ1iyYN9L8zco16UC866PAkIyvsG8_yqxctzybbKLradw/s1600/7.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="393" data-original-width="645" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHamepyAnj_0Kg8NvTBBeFhNmOCPGrY39K0hrf0vC-KrAVYkLyBTt4Uo1oL4kuneL66T4LBsQPe8sZso4OqkeJlEpYJAoDzuJ1iyYN9L8zco16UC866PAkIyvsG8_yqxctzybbKLradw/s1600/7.png" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Clicking
on it will convert the query output to a chart.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCFHXxOhZLJgUmrh8sU5j57-EkfDSf4gzr6VaC3wOPMX6NzuLhoCrPDyaThAXwJy1_iu2n35GZCbuOLLYnUDsuHzZPpCK66eiwzEcHai2zz7dzI5QZiRZnDdM2_iB3bOLEGoND4Zsmxg/s1600/8.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="415" data-original-width="873" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCFHXxOhZLJgUmrh8sU5j57-EkfDSf4gzr6VaC3wOPMX6NzuLhoCrPDyaThAXwJy1_iu2n35GZCbuOLLYnUDsuHzZPpCK66eiwzEcHai2zz7dzI5QZiRZnDdM2_iB3bOLEGoND4Zsmxg/s640/8.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">There
are different types of charts available and based on our requirement we can
select each type of chart like Pie chart, table format, Doughnut, and so on.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGYCJuve_bsxTAkWLbQvBqKqgWNgTbW4Sidk-fioNyt-E3TL7ICeeNnK6dDbHsRxhrdAnZSNGfvvS2OoA7w_cQAVvxaarHgzDykT08OjJh2IgAsysnKR_c4mv_jBY-w3X6woxenLHOUg/s1600/chart+type.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="256" data-original-width="276" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGYCJuve_bsxTAkWLbQvBqKqgWNgTbW4Sidk-fioNyt-E3TL7ICeeNnK6dDbHsRxhrdAnZSNGfvvS2OoA7w_cQAVvxaarHgzDykT08OjJh2IgAsysnKR_c4mv_jBY-w3X6woxenLHOUg/s1600/chart+type.PNG" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: verdana, sans-serif; font-size: 10pt;">Convert OutPut To
3D Visualization:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
to visualize the data in 3D format, go to the home screen in ADS, and click on “Extensions”.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghtIlvLIkop16Z33HFDaZ3I1zuJLcscD1QVuJG0z270MEpqsnm_HtByVKI0WtBdtrvPIzeoYZOp4mhrLWHh_Ok41PRZlsMD9d7LKTKYqN9fSQShrGIaP1qLFNSu9vGU0m2-g_KIrlJ7w/s1600/extensions.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="198" data-original-width="550" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghtIlvLIkop16Z33HFDaZ3I1zuJLcscD1QVuJG0z270MEpqsnm_HtByVKI0WtBdtrvPIzeoYZOp4mhrLWHh_Ok41PRZlsMD9d7LKTKYqN9fSQShrGIaP1qLFNSu9vGU0m2-g_KIrlJ7w/s1600/extensions.PNG" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br />
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Or
use shortcut “Ctrl+Shift+x” to open ‘Extensions’<o:p></o:p></span></div>
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">We
can see different extensions that are available to install. In ADS we get a lot
number of “Extensions”, these extensions help in adding more features to ADS. For
example, by default, we cannot see SQL Agent Jobs in ADS, so if we want to see
SQL Agent jobs in ADS we need to install an extension named “SQL Server Agent”,
after installing this extension we will be able to see SQL Agent jobs in ADS.
Similarly there are many useful extensions that can be downloaded instantly. Another
good thing about these extensions is we can either disable or uninstall these extensions if we no longer require those. <o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><span style="font-family: verdana, sans-serif; font-size: 13.3333px;">For converting the query outputs to 3D charts </span>we need to install an extension named “SandDance”. To install it in the extension search box type “SandDance”
and click on install.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPk9JsN4clwRYhBORLawxMNkuZqYIOo99KYC4oE854FC82Eqhmsjhj0bhDyCgqkpvofWAOW4aViXKoppB-yboD4oaUDDVHwXS-bsUzkc0p5sNdhkkrvWhpthE1BY6BoC3IrjOGuTBJ0g/s1600/install_sanddance.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="153" data-original-width="262" height="233" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPk9JsN4clwRYhBORLawxMNkuZqYIOo99KYC4oE854FC82Eqhmsjhj0bhDyCgqkpvofWAOW4aViXKoppB-yboD4oaUDDVHwXS-bsUzkc0p5sNdhkkrvWhpthE1BY6BoC3IrjOGuTBJ0g/s400/install_sanddance.PNG" width="400" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">It
will get installed immediately, now open a new query window by pressing “Ctrl+N”<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Run
the same above query again and in the” Results” window we can see on the right
side a new icon appears<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6YhXjTlOTlWTGSmmKIoOwTXk0TMmx7EBIIFDi6FpNcZWziryuOkZaxx3KZx1-UtaRA_rno2HqEOsav1j08veJvrfXVXR9adkp0KkapGNf7_FctZ-9IencvjWtl_l92OEfBlRt6BEI-Q/s1600/visualize_output.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="445" data-original-width="609" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6YhXjTlOTlWTGSmmKIoOwTXk0TMmx7EBIIFDi6FpNcZWziryuOkZaxx3KZx1-UtaRA_rno2HqEOsav1j08veJvrfXVXR9adkp0KkapGNf7_FctZ-9IencvjWtl_l92OEfBlRt6BEI-Q/s1600/visualize_output.png" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Clicking
on that icon will convert our output similar to below<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuq4Kqdpi0gZE5WXboH-Dq0hJXE2N9jb_vr00xddVCJ5RCdTXLtpbX7zwmUYVJu4nOdf28gC9bCi1uLBfmx2EQd8gjJoTUKuNWBaia833we31NxotUVLkl3oDyp8G98p91TMZ0GKMNqQ/s1600/9.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="613" data-original-width="616" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuq4Kqdpi0gZE5WXboH-Dq0hJXE2N9jb_vr00xddVCJ5RCdTXLtpbX7zwmUYVJu4nOdf28gC9bCi1uLBfmx2EQd8gjJoTUKuNWBaia833we31NxotUVLkl3oDyp8G98p91TMZ0GKMNqQ/s1600/9.png" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now
Click on the highlighted cubicle icon </span><br />
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-5WbsOcGFg0jIj44dY6aQV85pOtGDi4ToYPRuffOHN3O1Jw4dgoYXPs2mzbr_1w08zOccJgFYQHJYJW3dGkWpq2OO4ueEmIC0q8jgbfxUV_cldQbmRKm8AXRZkh15imw1hA0HuZXGXw/s1600/icon.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="46" data-original-width="94" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-5WbsOcGFg0jIj44dY6aQV85pOtGDi4ToYPRuffOHN3O1Jw4dgoYXPs2mzbr_1w08zOccJgFYQHJYJW3dGkWpq2OO4ueEmIC0q8jgbfxUV_cldQbmRKm8AXRZkh15imw1hA0HuZXGXw/s1600/icon.PNG" /></a></div>
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span>
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span>
<span style="font-family: verdana, sans-serif; font-size: 10pt;">and select the values for “X Axis:” as “Name”,
“Z Axis:” as “ProductCategoryID” and “Color by:” as “Name” <o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_wq7v98rwkUUbAFDjzfwzfj15Bw7W8JbFtwoVFZAf6C2xenOSxa4xgaH4GBiNigQZXlXagMUo-mpsVMFEQED6alKITozvqtkwknAyMAUmgS_3wkpxDLtNnvLyLZl5Qgf6wthmiBGg4Q/s1600/10.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="604" data-original-width="375" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_wq7v98rwkUUbAFDjzfwzfj15Bw7W8JbFtwoVFZAf6C2xenOSxa4xgaH4GBiNigQZXlXagMUo-mpsVMFEQED6alKITozvqtkwknAyMAUmgS_3wkpxDLtNnvLyLZl5Qgf6wthmiBGg4Q/s1600/10.png" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Now the output should convert as below<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCvup4a7yJROZpqh_nKeyK3hRxgdotNupy-pHNPLgQJNeWpDwZEDmdedrDq1B2j6aL2icg7Jb4vUUTADOTTFoHcuaynfIqYx8RZLiJNDPMMY_ZjZTjjeCYmlwndoHibSE2FKCWmUrWNA/s1600/11.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="455" data-original-width="740" height="392" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCvup4a7yJROZpqh_nKeyK3hRxgdotNupy-pHNPLgQJNeWpDwZEDmdedrDq1B2j6aL2icg7Jb4vUUTADOTTFoHcuaynfIqYx8RZLiJNDPMMY_ZjZTjjeCYmlwndoHibSE2FKCWmUrWNA/s640/11.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Same
way we can convert the output into different 3D charts available.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjg3inAz8ghCNWXiLo4LtU7nmW2w6NbugA2AOBrobkmPWOwOOmQ_EefqArr1w7qOE7s2zrTBg_IiVlkg1u1DcMfF_5p8HeWN-53mDurQzQ7q9jpvo0mBOtjW2p-AWcjdXNlN-3sWpA-w/s1600/different_3D_charts.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="204" data-original-width="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjg3inAz8ghCNWXiLo4LtU7nmW2w6NbugA2AOBrobkmPWOwOOmQ_EefqArr1w7qOE7s2zrTBg_IiVlkg1u1DcMfF_5p8HeWN-53mDurQzQ7q9jpvo0mBOtjW2p-AWcjdXNlN-3sWpA-w/s1600/different_3D_charts.png" /></a></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">There
are many other features of ADS like the creation of custom Insights, source
control, server groups, and so on.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Let
me know which feature you like in ADS in the comments section below.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: verdana, sans-serif; font-size: 10pt;">Thanks
VV!!<o:p></o:p></span></div>
<br />
<br />
<br />
<span style="background-color: white; color: #222222; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: 13.2px;">#SQL #SQLServer #SSMS #ADS #AzureDataStudio #SQLServerManagementStudio</span></div>
Unknownnoreply@blogger.com2