<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Microsoft SQL Server Development Customer Advisory Team</title><link>http://blogs.msdn.com/b/sqlcat/</link><description /><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Performance Guidance for SQL Server in Windows Azure Virtual Machines</title><link>http://blogs.msdn.com/b/sqlcat/archive/2013/06/17/performance-guidance-for-sql-server-in-windows-azure-virtual-machines.aspx</link><pubDate>Mon, 17 Jun 2013 23:18:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10426550</guid><dc:creator>Sanjay Mishra</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlcat/rsscomments.aspx?WeblogPostID=10426550</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlcat/archive/2013/06/17/performance-guidance-for-sql-server-in-windows-azure-virtual-machines.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Authors&lt;/strong&gt;: Silvano Coriani, Jasraj Dange, Ewan Fairweather, Xin Jin, Alexei Khalyako, Sanjay Mishra, Selcin Turkarslan&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Technical Reviewers&lt;/strong&gt;: Mark Russinovich, Brad Calder, Andrew Edwards, Suraj Puri, Flavio Muratore, Hanuma Kodavalla, Madhan Arumugam Ramakrishnan, Naveen Prakash, Robert Dorr, Roger Doherty, Steve Howard, Yorihito Tada, Kun Cheng, Chris Clayton, Igor Pagliai, Shep Sheppard, Tim Wieman, Greg Low, Juergen Thomas, Guy Bowerman, Evgeny Krivosheev&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Editor&lt;/strong&gt;: Beth Inghram&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Summary&lt;/strong&gt;: Developers and IT professionals should be fully knowledgeable about how to optimize the performance of SQL Server workloads running in Windows Azure Infrastructure Services and in more traditional on-premises environments. This technical article discusses the key factors to consider when evaluating performance and planning a migration to SQL Server in Windows Azure Virtual Machines. It also provides certain best practices and techniques for performance tuning and troubleshooting when using SQL Server in Windows Azure Infrastructure Services. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Read on: &lt;a title="http://download.microsoft.com/download/D/2/0/D20E1C5F-72EA-4505-9F26-FEF9550EFD44/Performance%20Guidance%20for%20SQL%20Server%20in%20Windows%20Azure%20Virtual%20Machines.docx" href="http://download.microsoft.com/download/D/2/0/D20E1C5F-72EA-4505-9F26-FEF9550EFD44/Performance%20Guidance%20for%20SQL%20Server%20in%20Windows%20Azure%20Virtual%20Machines.docx" target="_blank"&gt;Performance Guidance for SQL Server in Windows Azure Virtual Machines&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10426550" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/SQL+Server/">SQL Server</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/iaas/">iaas</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Performance/">Performance</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Infrastructure+Services/">Infrastructure Services</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Windows+Azure/">Windows Azure</category></item><item><title>Access Azure Blob Stores from HDInsight</title><link>http://blogs.msdn.com/b/sqlcat/archive/2013/04/25/access-azure-blob-stores-from-hdinsight.aspx</link><pubDate>Thu, 25 Apr 2013 20:38:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10414080</guid><dc:creator>Cindy Gross</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlcat/rsscomments.aspx?WeblogPostID=10414080</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlcat/archive/2013/04/25/access-azure-blob-stores-from-hdinsight.aspx#comments</comments><description>&lt;p&gt;One of the great enhancements in Microsoft's HDInsight distribution of Hadoop is the ability to store and access Hadoop data on an Azure Blob Store. We do this via the HDFS API extension called Azure Storage Vault (ASV). This allows you to persist data even after you spin down an HDInsight cluster and to make that data available across multiple programs or clusters from persistent storage. Blob stores can be replicated for redundancy and are highly available. When you need to access the data from Hadoop you point your cluster at the existing data and the data persists even after the cluster is spun down.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Azure Blob Storage&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Let's start with how your data is stored. A storage account is created in the Azure portal and has access keys associated with it. All access to your Azure blob data is done via storage accounts. Within a storage account you need to create at least one container, though you can have many. Files (blobs) are put in the container(s). For more information on how to create and use storage accounts and containers see: &lt;a title="http://www.windowsazure.com/en-us/develop/net/how-to-guides/blob-storage/" href="http://www.windowsazure.com/en-us/develop/net/how-to-guides/blob-storage/"&gt;http://www.windowsazure.com/en-us/develop/net/how-to-guides/blob-storage/&lt;/a&gt;. Any storage accounts associated with HDInsight should be in the same data center as the cluster and must not be in an affinity group.&lt;/p&gt;
&lt;p&gt;You can create a container from the Azure portal....&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Read the complete blog post at:&lt;/strong&gt; &lt;a href="http://blogs.msdn.com/b/cindygross/archive/2013/04/25/access-azure-blob-stores-from-hdinsight.aspx"&gt;http://blogs.msdn.com/b/cindygross/archive/2013/04/25/access-azure-blob-stores-from-hdinsight.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10414080" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Big+Data/">Big Data</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Hadoop/">Hadoop</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/storage/">storage</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/HDInsight/">HDInsight</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Azure+Blob+Store/">Azure Blob Store</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/ASV/">ASV</category></item><item><title>Self-Service BI Works!</title><link>http://blogs.msdn.com/b/sqlcat/archive/2013/04/16/self-service-bi-works.aspx</link><pubDate>Tue, 16 Apr 2013 16:51:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10411544</guid><dc:creator>Cindy Gross</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlcat/rsscomments.aspx?WeblogPostID=10411544</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlcat/archive/2013/04/16/self-service-bi-works.aspx#comments</comments><description>&lt;p&gt;When I talk to people about adding self-service BI to their company's environment I generally get a list of reasons why it won't work. Some things I commonly hear:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I can't get anyone in IT or on the business side to even try it.&lt;/li&gt;
&lt;li&gt;The business side doesn't know how to use the technology.&lt;/li&gt;
&lt;li&gt;This threatens my job.&lt;/li&gt;
&lt;li&gt;I just don't know where to start either politically/culturally or with the technology.&lt;/li&gt;
&lt;li&gt;I have too many other things to do.&lt;/li&gt;
&lt;li&gt;How can it possibly be secure, allow standardization, or result in quality data and decisions?&lt;/li&gt;
&lt;li&gt;That's not the way we do things.&lt;/li&gt;
&lt;li&gt;I don't really know what self-service BI means.&lt;/li&gt;
&lt;/ul&gt;
&lt;p align="left"&gt;&lt;img style="margin: 0px 10px 0px 0px; display: inline;" title="#PASSBAC 2013 Cindy and Eduardo" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-58-metablogapi/7128.PASSBAC2013CindyEduardo_5F00_thumb_5F00_63647A24.jpg" alt="#PASSBAC 2013 Cindy and Eduardo" width="240" height="171" align="left" border="0" /&gt;&amp;nbsp;So what is a forward thinking BI implementer to do? Well, Intel just went out and did it, blowing through the supposed obstacles. Eduardo Gamez of Intel's Technology Manufacturing Engineering (TME) group interviewed business folks....&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;Read the complete post and get the slides at Self-Service BI Works! &lt;a href="http://blogs.msdn.com/b/cindygross/archive/2013/04/16/self-service-bi-works.aspx"&gt;http://blogs.msdn.com/b/cindygross/archive/2013/04/16/self-service-bi-works.aspx&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10411544" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/BI/">BI</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/PowerPivot/">PowerPivot</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Business+Intelligence/">Business Intelligence</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Power+View/">Power View</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/PASSBAC/">PASSBAC</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Presentations/">Presentations</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/SQLPASS/">SQLPASS</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Self_2D00_Service/">Self-Service</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/PASS/">PASS</category></item><item><title>Hurricane Sandy Mash-Up: Hive, SQL Server, PowerPivot &amp; Power View</title><link>http://blogs.msdn.com/b/sqlcat/archive/2013/02/01/mash-up-hive-sql-server-data-in-powerpivot-amp-power-view-hurricane-sandy-2012.aspx</link><pubDate>Sat, 02 Feb 2013 01:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10390482</guid><dc:creator>Cindy Gross</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlcat/rsscomments.aspx?WeblogPostID=10390482</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlcat/archive/2013/02/01/mash-up-hive-sql-server-data-in-powerpivot-amp-power-view-hurricane-sandy-2012.aspx#comments</comments><description>&lt;p&gt;For my #SQLPASS Summit 2012 talk SQLCAT: Big Data &amp;ndash; All Abuzz About Hive (&lt;a href="http://blogs.msdn.com/b/cindygross/archive/2012/11/06/big-data-all-abuzz-about-hive-at-sqlpass-summit-2012.aspx"&gt;&lt;span style="color: #0000ff;"&gt;slides available to all&lt;/span&gt;&lt;/a&gt; | &lt;a href="http://www.sqlpass.org/summit/2012/Sessions/SessionDetails.aspx?sid=2686"&gt;&lt;span style="color: #0000ff;"&gt;recording available to PASS Summit 2012 attendees&lt;/span&gt;&lt;/a&gt;) I showed a mash-up of Hive, SQL Server, and Excel data that had been imported to PowerPivot and then displayed via Power View in Excel 2013 (using the new SharePoint-free self-service option). PowerPivot brings together the new world of unstructured data from Hadoop with structured data from more traditional relational and multi-dimensional sources to gain new business insights and break down data silos. We were able to take very recent data from Hurricane Sandy, which occurred the week before the PASS Summit, and quickly build a report to pinpoint some initial areas of interest. The report provides a sample foundation for exploring to find additional insights. If you need more background on Big Data, Hadoop, and Hive please see my &lt;a href="http://blogs.msdn.com/b/cindygross/archive/tags/hadoop/"&gt;&lt;span style="color: #0000ff;"&gt;previous blogs and talks&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I will walk you through the steps to create the report including loading population demographics (&lt;a href="http://www.census.gov/main/www/access.html"&gt;&lt;span style="color: #0000ff;"&gt;census&lt;/span&gt;&lt;/a&gt;), weather (&lt;a href="http://www.srh.noaa.gov/rfcshare/ffg_download/ffg_download.php"&gt;&lt;span style="color: #0000ff;"&gt;NOAA&lt;/span&gt;&lt;/a&gt;), and lookup table (state abbreviations) data into Hive, SQL Server, Excel, and PowerPivot then creating visualizations in Power View to gain additional insights. Our initial goal is to see if there are particular geographic areas in the path of Hurricane Sandy that might need extra assistance with evacuation. One hypothesis is that people above a given age might be more likely to need assistance, so we want to compare age data with the projected rainfall patterns related to the path of the hurricane. Once you see this basic demonstration you can envision all sorts of additional data sets that could add value to the model, along with different questions that could be asked given the existing data sets. Data from the &lt;a href="http://www.cdc.gov/DataStatistics/"&gt;&lt;span style="color: #0000ff;"&gt;CDC&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://www.infochimps.com/datasets/household-pet-ownership-2001"&gt;&lt;span style="color: #0000ff;"&gt;pet ownership figures&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://www.data.gov/search/node/housing"&gt;&lt;span style="color: #0000ff;"&gt;housing details&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://www.data.gov/search/node/jobs"&gt;&lt;span style="color: #0000ff;"&gt;job statistics&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://www.cdc.gov/phpr/zombies.htm"&gt;&lt;span style="color: #0000ff;"&gt;zombie predictions&lt;/span&gt;&lt;/a&gt;, and &lt;a href="http://www.data.gov/search/node/public%20utility"&gt;&lt;span style="color: #0000ff;"&gt;public utility&lt;/span&gt;&lt;/a&gt; data could be added to Hive or pulled directly from existing sources and added to the report to gain additional insights. Those insights might, for example, help first responders during future storms, assist your business to understand various ways it can help after a storm or major cleanup effort, or aid future research into reducing the damage done by natural disasters.&lt;/p&gt;
&lt;p&gt;Read the complete post at&amp;nbsp;&lt;a href="http://blogs.msdn.com/b/cindygross/archive/2013/01/31/mash-up-hive-sql-server-data-in-powerpivot-amp-power-view-hurricane-sandy-2012.aspx"&gt;http://blogs.msdn.com/b/cindygross/archive/2013/01/31/mash-up-hive-sql-server-data-in-powerpivot-amp-power-view-hurricane-sandy-2012.aspx&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Arial','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;a href="https://twitter.com/sqlcindy"&gt;Cindy Gross&lt;/a&gt; Microsoft SQLCAT PM&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10390482" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/PowerPivot/">PowerPivot</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Big+Data/">Big Data</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Hadoop/">Hadoop</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/hive/">hive</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Business+Intelligence/">Business Intelligence</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Power+View/">Power View</category></item><item><title>New version of Partition Management Utility supports SQL2012, ColumnStore Indexes</title><link>http://blogs.msdn.com/b/sqlcat/archive/2012/12/03/new-version-of-partition-management-utility-supports-sql2012-columnstore-indexes.aspx</link><pubDate>Mon, 03 Dec 2012 20:02:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10374196</guid><dc:creator>Stuart Ozer MSFT</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlcat/rsscomments.aspx?WeblogPostID=10374196</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlcat/archive/2012/12/03/new-version-of-partition-management-utility-supports-sql2012-columnstore-indexes.aspx#comments</comments><description>&lt;p&gt;A new version of the&lt;strong&gt; Partition Management Utility for SQL Server&lt;/strong&gt; is now available on Codeplex at &lt;strong&gt;&lt;a href="http://sqlpartitionmgmt.codeplex.com/"&gt;http://sqlpartitionmgmt.codeplex.com/&lt;/a&gt;&lt;/strong&gt;.&amp;nbsp;&amp;nbsp; This is a tool that helps you create necessary staging tables and indexes and associated check constraints, to support partition-switch operations against existing partitioned tables.&amp;nbsp;&amp;nbsp; This solves the problem of keeping staging table scripts in synch when a permanent partitioned table evolves to contain new boundary values or column attributes.&lt;/p&gt;
&lt;p&gt;The latest version adds some significant new capabilities:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support for SQL Server 2012 Columnstore Indexes&lt;/li&gt;
&lt;li&gt;Option to create TSQL scripts for staging stables, rather than executing DDL&lt;/li&gt;
&lt;li&gt;Date constraints are now specified in a locale-independent format better supporting globalized deployments&lt;/li&gt;
&lt;li&gt;Compatible with a broader range of partitioning column types&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The utility is a command line tool but it also can be integrated into an SSIS process or used to generate SQL scripts that then become part of a regular "sliding window" partition management scenario.&amp;nbsp;&amp;nbsp; The new version is backward-compatible with SQL Server 2005, 2008 and 2008 R2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10374196" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Data+Warehouse/">Data Warehouse</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Partitioning/">Partitioning</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/SQL+Server+2012/">SQL Server 2012</category></item><item><title>Review a working option to setup a SQL Server 2012 BI solution using Azure’s IaaS VMs</title><link>http://blogs.msdn.com/b/sqlcat/archive/2012/07/18/review-a-working-option-to-setup-a-sql-server-2012-bi-solution-using-azure-s-iaas-vms.aspx</link><pubDate>Wed, 18 Jul 2012 02:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10330933</guid><dc:creator>ndr</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlcat/rsscomments.aspx?WeblogPostID=10330933</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlcat/archive/2012/07/18/review-a-working-option-to-setup-a-sql-server-2012-bi-solution-using-azure-s-iaas-vms.aspx#comments</comments><description>&lt;p&gt;&lt;b&gt;By: Nicholas Dritsas&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Reviewers: James Podgorski, Olivier Matrat, Sanjay Mishra&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Overview&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Azure&amp;rsquo;s Iaas VMs plus Virtual Networks can be used to configure easily a set of servers/VMs to host the main components of a BI solution. This process assumes you already have an Azure subscription plus access to add new VMs and Virtual Networks.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Setting up a virtual network&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the Azure portal here: &lt;a href="https://windows.azure.com/"&gt;https://windows.azure.com/&lt;/a&gt;. &amp;nbsp;Ensure you connect to the preview portal.&lt;/li&gt;
&lt;li&gt;Select +New bottom left of the welcome screen and choose Network, Custom Create. (for setup details, look &lt;a href="http://msdn.microsoft.com/en-us/library/windowsazure/jj156074.aspx"&gt;here&lt;/a&gt;.)&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Enter a network name and choose either an existing Affinity Group or choose to create a new one.&lt;/li&gt;
&lt;li&gt;For Address space, you can give a range such as 10.4.0.0/16.&amp;nbsp; If you like, you can break it down to a few subnets for better segmentation.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Then select to Create a DNS, give it a name and use as IP address the&amp;nbsp;5th IP of your range, eg 10.4.0.4.&amp;nbsp;&amp;nbsp;The first&amp;nbsp;4 IP addresses of a specified IP range are reserved.&lt;/li&gt;
&lt;li&gt;This IP is expected to be used by the first VM we will create below as our Domain controller.&amp;nbsp; Mind you, in Azure a VM keeps its provided IP&lt;br /&gt;the same during its lifetime.&amp;nbsp; So, even if your settings remain DHCP, your IP remains the same even if the VM restartsor fails over.&amp;nbsp; For more details, see &lt;a href="http://msdn.microsoft.com/en-us/library/windowsazure/jj156090.aspx#BKMK_IPAddressDNS."&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;
&lt;p&gt;Creating a DC (this step &lt;b&gt;must&lt;/b&gt; be done first before adding any other VM in the network you just created).&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a new VM from the Gallery using Windows 2008 R2 image.&amp;nbsp; Small or medium is fine since this will be used only as DC and DNS.&amp;nbsp;Then, ensure you choose VM as standalone, choose your storage account in&lt;br /&gt;the same region to host it and select the Virtual Network name you created above.&lt;/li&gt;
&lt;li&gt;After the new VM creation is complete, attach to it a new empty disk of 10GB or so by choosing the VM and selecting Attach at the bottom panel, then choose Attach empty disk.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Then, connect to the VM by selecting the VM name and selecting Connect at the bottom.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;ol&gt;&lt;/ol&gt;&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;i.&amp;nbsp;After you connect, ensure its IP is indeed 10.4.0.4 by running ipconfig in command prompt.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ii.&amp;nbsp;Using the disk management found in server manager, format the new disk as F: (or any other drive letter you like) drive.&amp;nbsp;Create 3 subdirectories there to host AD db, logs and sysvol files later on.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;iii.Then, we need to promote to it to DC, look &lt;a href="http://www.techiwarehouse.com/engine/ff1cb340/How-to-Promote-Windows-Server-2008-R2-to-a-Domain-Controller"&gt;here&lt;/a&gt;&amp;nbsp;for details.&amp;nbsp; In simple terms, run the program dcpromo.exe from the command prompt and follow instructions to create a new forest.&lt;/p&gt;
&lt;ol&gt;&lt;ol&gt;&lt;ol&gt;&lt;ol&gt;&lt;ol&gt;&lt;ol&gt;
&lt;li&gt;Choose DHCP and ignore the warning&lt;/li&gt;
&lt;li&gt;Store AD db, logs and sysvol on the 3 subdirectories in the F: drive&lt;/li&gt;
&lt;li&gt;After all setup is done, restart the VM.&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;/ol&gt;
&lt;p style="padding-left: 180px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;iv.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;After it restarts, go to Windows Explorer, select Network and Enable file sharing and discovery.&lt;/p&gt;
&lt;p style="padding-left: 180px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;v.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Create a new domain admin account user too for future use&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;4. Now, you have a domain in azure.&amp;nbsp; Create one new VM from the Gallery using SQL 2012.&amp;nbsp; Then, join the domain you just created.&amp;nbsp; Go to Windows Explorer, select Network and Enable file sharing and discovery.&amp;nbsp;&lt;br /&gt;Now, you should be able to ping the DC by IP and name.&lt;/p&gt;
&lt;p style="padding-left: 120px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;i.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;You have to open inbound ports in the vm that hosts ssas and sql server (or you disable the firewall for domain networks if you like).&amp;nbsp; See here:&amp;nbsp; &lt;a href="http://msdn.microsoft.com/en-us/library/bb934283.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb934283.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p style="padding-left: 120px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;ii. You can find the ssas ports or any process ports from this link:&amp;nbsp; &lt;a href="http://support.microsoft.com/kb/2466860"&gt;http://support.microsoft.com/kb/2466860&lt;/a&gt;.&amp;nbsp; I added a new inbound rule to allow ports 1433 and 2383. 1433 is for sql server when 2383 is the port for the default&lt;br /&gt;ssas instance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;5. Create another new VM from the Gallery using Windows 2008 R2.&amp;nbsp; Then, join the domain you just created.&amp;nbsp; Go to Windows Explorer, select Network and Enable file sharing and discovery.&amp;nbsp; Now, you should be able to ping the DC.&lt;/p&gt;
&lt;ol&gt;&lt;ol&gt;&lt;ol&gt;&lt;ol&gt;
&lt;li&gt;Install Excel 2010 and try to connect to SSAS server. It should work fine.&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10330933" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/BI/">BI</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/SQL+2012/">SQL 2012</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/VM/">VM</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/iaas/">iaas</category></item><item><title>AlwaysOn Availability Groups Generate Network Traffic with No User Activity</title><link>http://blogs.msdn.com/b/sqlcat/archive/2012/06/21/alwayson-availability-groups-generate-network-traffic-with-no-user-activity.aspx</link><pubDate>Thu, 21 Jun 2012 21:31:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10322740</guid><dc:creator>Kevin Cox SQL Server</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlcat/rsscomments.aspx?WeblogPostID=10322740</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlcat/archive/2012/06/21/alwayson-availability-groups-generate-network-traffic-with-no-user-activity.aspx#comments</comments><description>&lt;h1&gt;&lt;ins datetime="2012-06-20T11:34" cite="mailto:kevincox"&gt;&lt;/ins&gt;&amp;nbsp;&lt;/h1&gt;
&lt;p&gt;Author: Kevin Cox&lt;/p&gt;
&lt;p&gt;Contributors:&amp;nbsp; Min He,Steve Lindell&lt;/p&gt;
&lt;p&gt;Reviewers: Sanjay Mishra, Juergen Thomas, Jimmy May&lt;ins datetime="2012-06-20T11:36" cite="mailto:kevincox"&gt;&lt;/ins&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Creating an availability group needs pings and status checks across the different servers involved.&amp;nbsp;This accounts for approximately 500 bytes &lt;i&gt;per database &lt;/i&gt;in the group.&amp;nbsp; The PerfMon counter used to track the activity is &amp;ldquo;Bytes Received from Replica/sec&amp;rdquo;.&amp;nbsp; Books Online has recently been changed to reflect a high level description.&amp;nbsp; The purpose of this blog is to provide a bit more detail.&lt;/p&gt;
&lt;p&gt;Books Online&amp;nbsp;&amp;nbsp; &lt;a href="http://msdn.microsoft.com/en-us/library/ff878472.aspx"&gt;http://msdn.microsoft.com/en-us/library/ff878472.aspx&lt;/a&gt;&lt;/p&gt;
&lt;table style="width: 100%;" border="0" cellspacing="3" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p align="center"&gt;&lt;b&gt;Counter Name&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p align="center"&gt;&lt;b&gt;Description&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;b&gt;Bytes&lt;br /&gt; Received from Replica/sec&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Number of&amp;nbsp;&amp;nbsp; bytes received from the availability replica per second. Pings and status updates will generate network&lt;br /&gt; traffic even on databases with no user updates.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The key to understanding this counter is that the traffic is &lt;i&gt;per database&lt;/i&gt;.&amp;nbsp; On one customer project with 40 databases in one availability group, this counter was showing about 8k/sec when there was no&amp;nbsp;user traffic.&amp;nbsp; This consists of bi-directional&lt;br /&gt;ping and status checks.&lt;/p&gt;
&lt;p&gt;What does the primary do with this data it gets back from pings and status checks?&amp;nbsp; It displays the information on the Always On Dashboard.&amp;nbsp;There are two main sources for the dashboard data.&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ff877972.aspx"&gt;sys.dm_hadr_database_replica_states&lt;/a&gt;.&amp;nbsp; This runs every second unless the primary is too busy, then it will run as soon as it can. This is used to display the information from the latest status checks, but does not drive any network traffic.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ff878233(v=sql.110).aspx"&gt;sp_server_diagnostics&lt;/a&gt;. It is called by the Availability Group (AG) Resource DLL, which is only run on the AG primary node and only connects to the local instance.&amp;nbsp; It does not contribute to the network traffic mentioned above, but is useful to know that it is running periodically according to the &lt;a href="http://msdn.microsoft.com/en-us/library/ff878399.aspx"&gt;HEALTH_CHECK_TIMEOUT&lt;/a&gt;&amp;nbsp;setting.&amp;nbsp;&amp;nbsp; All the Availability Groups on one instance share a single resource DLL.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Hopefully, with this information you will be able to understand why the Bytes Received from Replica/sec counter is showing activity even when there is no user activity.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10322740" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/network/">network</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/SQL+2012/">SQL 2012</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Availability+Groups/">Availability Groups</category></item><item><title> Always On Availability Group: Connection to readable secondary fails when login SIDs are different or missing</title><link>http://blogs.msdn.com/b/sqlcat/archive/2012/04/23/always-on-availability-group-connection-to-readable-secondary-fails-when-login-sids-are-different-or.aspx</link><pubDate>Mon, 23 Apr 2012 14:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10296544</guid><dc:creator>Kevin Cox SQL Server</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlcat/rsscomments.aspx?WeblogPostID=10296544</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlcat/archive/2012/04/23/always-on-availability-group-connection-to-readable-secondary-fails-when-login-sids-are-different-or.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-size: small;"&gt;When using &lt;a href="http://msdn.microsoft.com/en-us/library/gg471494(v=SQL.110).aspx"&gt;ApplicationIntent=ReadOnly&lt;/a&gt; to access a readable secondary via the Availability &lt;/span&gt;&lt;span style="font-size: small;"&gt;Group Listener, the login SIDs have to be the same between primary and &lt;/span&gt;&lt;span style="font-size: small;"&gt;secondary. The connection attempt generates an error saying the login does not exist. &lt;/span&gt;&lt;span style="font-size: small;"&gt;This happens because the restored database on &lt;/span&gt;&lt;span style="font-size: small;"&gt;the secondary has a defined user, but no associated login.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Two scenarios can cause this behavior:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;1. Logins exist on primary but not on &lt;/span&gt;&lt;span style="font-size: small;"&gt;secondary&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;2. Logins exist on both primary and secondary &lt;/span&gt;&lt;span style="font-size: small;"&gt;but have mismatched SIDs&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-size: small;"&gt;Both scenarios give same results.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Reproducing the problem:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Create several &lt;/span&gt;&lt;span style="font-size: small;"&gt;logins and users on a standalone SQL instance.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Create a simple &lt;/span&gt;&lt;span style="font-size: small;"&gt;RS report in VS2010 while connected as one of the new users&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Click Preview and &lt;/span&gt;&lt;span style="font-size: small;"&gt;the report runs fine.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Create an &lt;/span&gt;&lt;span style="font-size: small;"&gt;Availability Group with a readable secondary, restore, and make sure everything &lt;/span&gt;&lt;span style="font-size: small;"&gt;is active and synchronized.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Create a Listener.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;In the Visual &lt;/span&gt;&lt;span style="font-size: small;"&gt;Studio report, change the connection string to connet to the listener and add &lt;/span&gt;&lt;span style="font-size: small;"&gt;ApplicationIntent=Readonly.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Click Preview. A &lt;/span&gt;&lt;span style="font-size: small;"&gt;login error is generated on the screen.&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: small;"&gt;And an error gets generated in the SQL Server log.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Add the logins &lt;/span&gt;&lt;span style="font-size: small;"&gt;and users to secondary server, but in a different order than on the primary.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Click Preview on the report. &lt;/span&gt;&lt;span style="font-size: small;"&gt;Again, the login error is generated.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Sync the SIDs &lt;/span&gt;&lt;span style="font-size: small;"&gt;using either method in the links below.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Click Preview. &lt;/span&gt;&lt;span style="font-size: small;"&gt;The report is generated immediately.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;br clear="all" /&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Fixing the problem:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Either of the following methods can be employed to synchronize Login SIDs:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Create the logins on the secondary with the &lt;/span&gt;&lt;span style="font-size: small;"&gt;SID=sid option in the &lt;a href="http://msdn.microsoft.com/en-us/library/ms189751.aspx"&gt;CREATE LOGIN&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: small;"&gt;command.&amp;nbsp; In order to do this one, you &lt;/span&gt;&lt;span style="font-size: small;"&gt;will have to get the SIDs and logins from the primary before you create them on &lt;/span&gt;&lt;span style="font-size: small;"&gt;the secondary.&amp;nbsp; Or you can get them from &lt;/span&gt;&lt;span style="font-size: small;"&gt;the user record in the secondary database.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Follow the instructions and use the script from &lt;a href="http://support.microsoft.com/kb/918992"&gt;KB 918992&lt;/a&gt;.&amp;nbsp; Even though it says it is used to transfer &lt;/span&gt;&lt;span style="font-size: small;"&gt;logins from SQL Server 2005 to SQL Server 2008, it can also be used to create a &lt;/span&gt;&lt;span style="font-size: small;"&gt;script from your primary server to be run on the secondary to create the same &lt;/span&gt;&lt;span style="font-size: small;"&gt;logins with the same SIDs.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10296544" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/SQL+Server+2012/">SQL Server 2012</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Always+On/">Always On</category></item><item><title>Tuning Spatial Point Data Queries in SQL Server 2012</title><link>http://blogs.msdn.com/b/sqlcat/archive/2012/04/18/tuning-spatial-point-data-queries-in-sql-server-2012.aspx</link><pubDate>Wed, 18 Apr 2012 04:48:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10294809</guid><dc:creator>ndr</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlcat/rsscomments.aspx?WeblogPostID=10294809</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlcat/archive/2012/04/18/tuning-spatial-point-data-queries-in-sql-server-2012.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Written by&lt;/strong&gt;: Ed Katibah, Milan Stojic, Michael Rys, Nicholas Dritsas&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Technical reviewers&lt;/strong&gt;: Chuck Heinzelman&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Introduction&lt;/strong&gt;: &lt;/span&gt;&lt;span style="font-size: small;"&gt;Spatial Point Data queries require particular tuning efforts to enhance performance and improve overall application throughput.&amp;nbsp; SQL&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Server 2012 introduces a few key new features and improvements to assist you in that goal.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Below, we go over a few key best practices and suggestions on how to achieve that.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Read more here: &lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/9694.tuning-spatial-point-data-queries-in-sql-server-2012.aspx"&gt;http://social.technet.microsoft.com/wiki/contents/articles/9694.tuning-spatial-point-data-queries-in-sql-server-2012.aspx&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10294809" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/sql/">sql</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/spatial/">spatial</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/server/">server</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/2012/">2012</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/tuning/">tuning</category></item><item><title>Technical Reference Guides for Designing Mission-Critical Solutions using SQL Server are available</title><link>http://blogs.msdn.com/b/sqlcat/archive/2012/03/06/technical-reference-guides-for-designing-mission-critical-solutions-using-sql-server-are-available.aspx</link><pubDate>Wed, 07 Mar 2012 01:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10278840</guid><dc:creator>Prem Mehra</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/sqlcat/rsscomments.aspx?WeblogPostID=10278840</wfw:commentRss><comments>http://blogs.msdn.com/b/sqlcat/archive/2012/03/06/technical-reference-guides-for-designing-mission-critical-solutions-using-sql-server-are-available.aspx#comments</comments><description>&lt;p&gt;The &lt;strong&gt;&lt;i&gt;Technical Reference Guides for Designing Mission-Critical Solutions&lt;/i&gt;&lt;/strong&gt; &lt;br /&gt;provide planning and architecture guidance for various mission-critical workloads deployed by users. These guides&lt;br /&gt;reflect the knowledge gained by the CAT team while working with customers on&lt;br /&gt;mission-critical deployments, many of these deployments being the result of&lt;br /&gt;deep customer engagements by the CAT organization. Each guide provides not only&lt;br /&gt;the key technical concepts and information helpful for design, but also&lt;br /&gt;&amp;ldquo;lessons learned,&amp;rdquo; best practices, and references to customer case studies.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;i&gt;Technical Reference Guides for Designing Mission-Critical Solutions&lt;/i&gt; cover three workloads:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;Online Transactional Processing (OLTP)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;These guides cover transactional and batch processing, relational and &amp;ldquo;beyond relational&amp;rdquo; data, scale-up and scale-out,&lt;br /&gt;data center optimization, compliance, high availability and disaster recovery,&lt;br /&gt;and data access.&lt;/li&gt;
&lt;li&gt;&lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;Data Warehousing (DW)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;These guides cover massively parallel processing (PDW), symmetric multi-processing (SMP), reference and custom architectures, data&lt;br /&gt;sources, ETL, warehouse consumers, data center optimization, compliance, and&lt;br /&gt;high availability and disaster recovery.&lt;/li&gt;
&lt;li&gt;&lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;Middleware&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;These guides cover messaging, workflow, distributed caching, web services, complex&lt;br /&gt;event processing, enterprise integration patterns, high availability and disaster recovery, and operations.&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These technical reference guides are useful after one has made the conceptual architectural decisions to address&lt;br /&gt;specific business needs and is ready to work through the technical design alternatives to choose a solution.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can access these guides through their home page at &lt;a href="http://technet.microsoft.com/en-us/sqlserver/hh273157"&gt;http://technet.microsoft.com/en-us/sqlserver/hh273157&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Applies to:&lt;/b&gt; SQL Server 2005, SQL Server 2008, SQL Server 2008 R2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10278840" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Performance+and+Scalability/">Performance and Scalability</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Manageability+_2600_amp_3B00_+Serviceability/">Manageability &amp;amp; Serviceability</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Reliability+and+Availability/">Reliability and Availability</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/SQL+Server+Best+Practices/">SQL Server Best Practices</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Security/">Security</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Data+Warehouse/">Data Warehouse</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/SQL+Server/">SQL Server</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/OLTP/">OLTP</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Middleware/">Middleware</category><category domain="http://blogs.msdn.com/b/sqlcat/archive/tags/Technical+Reference+Guides/">Technical Reference Guides</category></item></channel></rss>