BI on Cloud using SQL Server on IaaS



Similar documents
SQL Server on Azure An e2e Overview. Nosheen Syed Principal Group Program Manager Microsoft

Building a BI Solution in the Cloud

Scaling Analysis Services in the Cloud

SQL Server Business Intelligence

Implementing Microsoft Azure Infrastructure Solutions

SQL Server Hybrid Features. Luis Vargas, Senior Program Manager Lead Xin Jin, Program Microsoft

Course 20533: Implementing Microsoft Azure Infrastructure Solutions

SharePoint 2013 on Windows Azure Infrastructure David Aiken & Dan Wesley Version 1.0

Azure & SharePoint. Jason Himmelstein, MVP. Senior Technical

SQL Server What s New? Christopher Speer. Technology Solution Specialist (SQL Server, BizTalk Server, Power BI, Azure) v-cspeer@microsoft.

Application Development

Hands on Lab: Building a Virtual Machine and Uploading VM Images to the Cloud using Windows Azure Infrastructure Services

Implementing Microsoft Azure Infrastructure Solutions 20533B; 5 Days, Instructor-led

Course 20533B: Implementing Microsoft Azure Infrastructure Solutions

LEARNING SOLUTIONS website milner.com/learning phone

Harnessing the Power of the Microsoft Cloud for Deep Data Analytics

Designing a Data Solution with Microsoft SQL Server 2014


Managing the PowerPivot for SharePoint Environment

Microsoft Azure for IT Professionals 55065A; 3 days

Assignment # 1 (Cloud Computing Security)

Microsoft Azure. IaaS Networking Storage. Stefan Geiger Gerry

Migrating SaaS Applications to Windows Azure

MS 20532B - Developing Microsoft Azure Solutions

MOC 20467B: Designing Business Intelligence Solutions with Microsoft SQL Server 2012

MS 50511A The Microsoft Business Intelligence 2010 Stack

Cloud Panel Service Evaluation Scenarios

MS 20465C: Designing a Data Solution with Microsoft SQL Server

Course 10977A: Updating Your SQL Server Skills to Microsoft SQL Server 2014


Developing Microsoft Azure Solutions

Managed Self-Service BI & Data As A Service

Developing Microsoft Azure Solutions 20532A; 5 days

System Administration Training Guide. S100 Installation and Site Management

Alfresco Enterprise on Azure: Reference Architecture. September 2014

Microsoft Data Warehouse in Depth

Good Morning Wireless! SSID: MSFTOPEN No Username or Password Required

SHAREPOINT 2013 IN INFRASTRUCTURE AS A SERVICE

10231B: Designing a Microsoft SharePoint 2010 Infrastructure

Updating Your SQL Server Skills from Microsoft SQL Server 2008 to Microsoft SQL Server 2014

Designing a Data Solution with Microsoft SQL Server

Microsoft Implementing Microsoft Azure Infrastructure Solutions

Microsoft Azure Cloud on your terms. Start your cloud journey.

Expert Reference Series of White Papers. Unlock the Power of Microsoft SQL Server 2012

Demystifying the Cloud Computing

Big data variety, 179 velocity, 179 volume, 179 Blob storage containers

End to End Microsoft BI with SQL 2008 R2 and SharePoint 2010

Data Warehouse in the Cloud Marketing or Reality? Alexei Khalyako Sr. Program Manager Windows Azure Customer Advisory Team

Course 20465: Designing a Data Solution with Microsoft SQL Server

Availability for the modern datacentre Veeam Availability Suite v8 & Sneakpreview v9

Designing a Data Solution with Microsoft SQL Server

WHITE PAPER. Migrating an existing on-premise application to Windows Azure Cloud

Updating Your SQL Server Skills to Microsoft SQL Server 2014

LICENSTJEK OUTSOURCING

MATLAB Distributed Computing Server with HPC Cluster in Microsoft Azure

40009A - UPDATING YOUR BUSINESS INTELLIGENCE SKILLS TO MICROSOFT SQL SERVER 2012 Training Course Outline. Course: 40009A

Microsoft Training and Certification Guide. Current as of December 31, 2013

WINDOWS AZURE EXECUTION MODELS

Microsoft SharePoint Architectural Models

Gladinet Cloud Enterprise

AZP: Microsoft Azure Infrastructure for IT Professional

Microsoft SQL Server 2012: What to Expect

SharePoint Server for Business Intelligence

How To Use Arcgis For Free On A Gdb (For A Gis Server) For A Small Business

Microsoft Azure. Rich Lilly Project Leadership Associates

Microsoft Services Exceed your business with Microsoft SharePoint Server 2010

Upgrading Your SQL Server Skills to Microsoft SQL Server 2014 va

Updating Your SQL Server Skills to Microsoft SQL Server 2014

Course 20465C: Designing a Data Solution with Microsoft SQL Server

MS 10977B Upgrading Your SQL Server Skills to Microsoft SQL Server 2014

MS-55115: Planning, Deploying and Managing Microsoft Project Server 2013

What is the BI DBA? Jorge Segarra Sr. DBA Consultant, SQL Server MVP

10977B: Updating Your SQL Server Skills to Microsoft SQL Server 2014

Every Silver Lining Has a Vault in the Cloud

Designing a Data Solution with Microsoft SQL Server 2014

Retail POS Data Analytics Using MS Bi Tools. Business Intelligence White Paper

20465C: Designing a Data Solution with Microsoft SQL Server

Getting Started with Sitecore Azure

Bridging the gap between local IT and Cloud services, keeping you in control

Interact Intranet Version 7. Technical Requirements. August Interact

70-467: Designing Business Intelligence Solutions with Microsoft SQL Server

Bridging the gap between local IT and Cloud services, keeping you in control

SQL 2016 and SQL Azure

Planning the Installation and Installing SQL Server

Guide to Setting up Docs2Manage using Cloud Services

March Lynn Langit twitter

ICONICS Using the Azure Cloud Connector

Always On to the Top Nein zu Datenverlust Verfügbarkeit für das Moderne Datacenter

Metalogix Replicator. Quick Start Guide. Publication Date: May 14, 2015

Bridging the gap between local IT and Cloud services, keeping you in control

Metalogix SharePoint Backup. Advanced Installation Guide. Publication Date: August 24, 2015

New hybrid cloud scenarios with SQL Server Matt Smith 6/4/2014

Implementing a Data Warehouse with Microsoft SQL Server 2012 (70-463)

IT Service Management with System Center Service Manager

Release Notes. LiveVault. Contents. Version Revision 0

Microsoft SQL Database Administrator Certification

Course 20532B: Developing Microsoft Azure Solutions

Developing Microsoft Azure Solutions 20532B; 5 Days, Instructor-led

Windows Azure Pack Installation and Initial Configuration

For windows erver, Which edition of Windows server 2008 is required ( i. e. Web / Standard / Enterprise )?? Kindly suggest.

Transcription:

BI on Cloud using SQL Server on IaaS Abstract Today s Business Intelligence (BI) Systems are analysing huge volumes of data, which is growing at a rapid pace requiring organizations to scale the hardware/infrastructure at the same pace to continue to do BI and make the best use of the available data. Procuring and adding hardware/infrastructure is a time consuming process in any organization and hence leading to delay in getting access to the right information at the right time. To overcome this and the other limitations of on-premise BI Systems, BI Applications can be hosted to Cloud and various benefits of Cloud can be leveraged to deliver efficient/effective BI Solutions to the organization s decision makers. This white paper focuses on hosting a Microsoft (SQL Server) Business Intelligence (BI) Application on Cloud using Microsoft s IaaS offering Windows Azure Virtual Machines (Currently in Preview). Since Windows Azure Virtual Machines are currently in preview, these VMs or the steps outlined in this white paper should not be used in a production/mission critical environment. Here after we will use the terms Cloud, Windows Azure, and IaaS interchangeably. Why BI on Cloud Many BI Projects fail due to various reasons including Lack of Vision, Overly Complex Design, Inappropriate Choice of Tools/Technologies, Poorly Defined Metrics/KPIs, Inadequate Business User/Decision Maker Involvement, Lack of Room/Flexibility for change during implementation phase, Insufficient Funding/Budget Allocation, Increased Time to Market, and many others. Of these reasons, Lack of Flexibility for change, Insufficient Funding / Budget Allocation, and Time to Market are few major reasons for failure. Organizations often fail to realize the importance of BI System and hence allocate inadequate funds. Procuring Hardware, Software, and Setting up Infrastructure takes up a lot of time due to processes (approvals etc.) involved at the organization level, thereby increasing the Time to Market, and often does

not offer enough flexibility for change, and hence lead to Project failure. There is a need for a system/offering which allows sufficient flexibility during the phase of implementation of a BI Project, allow sufficient agility, affordable hardware/software, and faster procurement of Hardware / Software and Setting up of Infrastructure. These things are offered by a Cloud Computing offering like Windows Azure. In fact, those are some of the attractive features offered by Cloud Offering making Cloud most appropriate for hosting BI Applications in various scenarios. Apart from that, following are other advantages of hosting BI Systems on Windows Azure: Code can be moved from onpremise to cloud and vice-versa with minimal or no changes. Procurement, Maintenance, and Management of infrastructure is taken care by vendor. Server, Hardware, and Network failures are handled by vendor and high SLAs are guaranteed. The development/administration tools to be used while working with SQL Server in a Windows Azure VM are same as the ones which are used for working with on-premise SQL Server. Ability to scale up/down rapidly on-demand. It s highly elastic! Eliminates the hassles and processes involved in procuring hardware in an on-premise scenario. Allows you to use your piece of software/applications on the Virtual Machine. Ability to upload an Image (VHD) of your own and use it in the Virtual Machine makes it super convenient. Pay as you go model. Pay for # of hours and decommission after use. Say you need a Windows Server with SQL Server 2012 and 15 TB of storage for 5 days. Provision it, use it, and drop it when done. It s as simple, convenient, and cost effective as that! Very suitable especially for scenarios like Pilot Projects, Startup Companies etc. Hosting BI Application on Cloud Hosting a BI Application on Cloud involves setting up/hosting of various components like Databases, Integration Services Packages (SSIS), SQL Server Agent Jobs, Analysis Services Cubes (SSAS), Reporting Services Reports (Reports), and SharePoint Portals etc. Below is a high level architecture of how a Simple SQL Server BI Application can be setup on Cloud. In the above architecture diagram, VM1, VM2, & VM3 can be scaled out by using appropriate techniques for the type of components installed on the respective VMs like Database Sharding can be used for SQL Databases, Multiple Cubes can be created for OLAP Cubes etc. Scaling out offers various additional benefits including Load Balancing, High Availability, and Disaster Recovery etc. Microsoft Windows Azure is both a PaaS as well as IaaS offering since it offers components like SQL Database (formerly known as SQL Azure ), Reporting Server as part of PaaS offering and it offers components like Virtual Machines, Storage etc. as part of its IaaS offering. Currently Windows Azure has SQL Database and Reporting Server as part of its PaaS offering and does not have other components like Integration Services, SQL Server Agent, and Analysis Services etc. SharePoint is available as a SaaS offering as part of Office 365. As a result of this, we can take one of the following two approaches for hosting a BI Application on Cloud: Hybrid Model (Combination of SaaS, PaaS, & IaaS): Use Office365 for SharePoint, and Windows Azure SQL Database & Reporting Server for hosting data and reports respectively. Use Windows Azure Virtual Machines for hosting Integration Services Packages, SQL Server Agent Jobs, and Analysis Services Cubes etc. IaaS Model (IaaS Only): Use only Windows Azure Virtual Machines to host all the components end-to-end including Databases, SSIS Packages, SSAS Cubes, SSRS Reports, Excel/PowerPivot Reports, and SharePoint etc. Since Data and Reports can be hosted in both PaaS and IaaS models, we will take a look at pros and cons of hosting them in each of the two models. Windows Azure SQL Database vs. SQL Server Database in a Virtual Machine Following is a simple comparison of Windows Azure SQL Database and SQL Server Database in a Windows Azure Virtual Machine based on few common criteria.

Windows Azure SQL Database On-premise Infrastructure Database Servers Application Servers Exchange Servers IIS/Web Servers Cross-Premise Connectivity (Virtual Network) VM1 Database/ETL Server Source Files Staging Warehouse Audit/Log SQL DBs SSIS Packages SQL Jobs VM3 Frontend/Reporting Server Reports Websites SharePoint Portals Front End Tools (PowerPivot Excel rtc.) VM2 OLAP/Cube Server OLAP Cubes Active Directory Servers Windows Azure Virtual Network Criteria Windows Azure SQL Database SQL Server Database in a Windows Azure VM Feature Support Transact-SQL Few Limitations compared to onpremise SQL Server Database. Cross Database Queries Not Supported Supported Others Does not support Heaps. All tables should have a Clustered Index. Supports 100% of the features that are supported on-premise. No restrictions. Same as onpremise. Data Storage Maximum Size Supported Cost of Storage 150 GB (In Business Edition) Low compared to SQL Server in VM 16 TB (Precisely 16 * 1023 GB on Extra Large VM) Little higher compared to SQL Database Connectivity SQL Server Management Studio (SSMS) Supported Supported SQLCMD Supported Supported Scaling-Up Increase the size by changing the database edition. Increase the size by adding more data disks. Scalability Scaling-Out Can be achieved using SQL Database Federation. Can be achieved using Replication, Scalable Shared Databases, and AlwaysOn etc. Manageability Developer Tools Existing SQL Server Tools such as SSMS, BIDS/SSDT Existing SQL Server Tools such as SSMS, BIDS/SSDT Virtual Machine No Control Full Control Control Authentication Operating System No Control Full Control Distribution of Database Files etc. No Control Full Control SQL Authentication Supported Supported Windows Authentication Not Supported Supported

Criteria Windows Azure SQL Database SQL Server Database in a Windows Azure VM SLA Availability Standard SLA (99.9%) High Database Availability can be achieved using multiple VMs in an Availability Set and SQL Server AlwaysOn Availability Groups. Time to Market Migrating Existing Application Some changes might be required in the application layer. Hence moderate time to market. Very minimal or no changes required in the application layer. Hence faster time to market. Building a New Application Provisioning and setting up is simple and hence faster time to market. Provisioning and setting up a VM takes some time and hence moderate time to market. Windows Azure SQL Reporting Services vs. SQL Server Reporting Services in a Virtual Machine Following is a simple comparison of Windows Azure SQL Reporting Services and SQL Server Reporting Services in a Windows Azure Virtual Machine based on few common criteria. Criteria Windows Azure SQL Reporting Services SQL Server Reporting Services in Windows Azure VM SLA 99.9% 99.9% for Single Server. 99.95% for two servers in Availability Set. Developer Tools Supported Data Sources SQL Server Business Intelligence Development Studio (BIDS) Only Windows Azure SQL Database. SQL Server Business Intelligence Development Studio (BIDS), Report Builder All data sources same as on-premise Reporting Services. Report Caching Not Supported Supported Report Parts Not Supported Supported Shared Data Sources Supported Supported Shared Data Sets Not Supported Supported Subscriptions Not Supported Supported Scheduling Not Supported Supported Scaling Not Supported Supported. Can be achieved by increasing the size of VM. Conclusion Based on the above comparisons, we can see that, hosting a SQL Server BI Application in a Windows Azure VM has more advantages for both SQL Databases and SQL Reporting Services, and also offers more features like Integration Services, Analysis Services, SQL Server Agent Jobs, and SharePoint etc. making Windows Azure VM a suitable choice for hosting a SQL Server BI Application.

Demo: Setting up a Simple SQL Server BI Solution on IaaS (Windows Azure) Let s setup/host a Simple SQL Server BI Application (Database, SSIS, SSAS, & SSRS) on Windows Azure (SQL Server on IaaS). Following is the architecture of the simple solution which we will be setting up as part of this demo. Following is a step by step procedure to setup/host a Simple SQL Server BI Application on Windows Azure. Note: For this exercise, it is assumed that you have hands-on experience working with all the components of SQL Server (Database Engine, SSIS, SSAS, & SSRS). Windows Azure SQL Database REPORTS VM1 Database/ETL Server Source files Prepareation Staging Warehouse Audit SQL BDs SSIS Packages SQL Jobs VM2 OLAP/Cube Server OLAP Reports BIOnCloudVNET Windows Azure Virtual Network Login to Windows Azure Portal www.windowsazure.com if you already have an account. If not, then sign up for a free trial (http://www.windowsazure.com/enus/pricing/free-trial/) and create an account and then login. 1. Create a Virtual Network Create a Virtual Network (VNET) BIOnCloudVNET in Windows Azure (Reference: Create a Virtual Network in Windows Azure). Create a new Affinity Group BIOnCloudAG.

2. Create Virtual Machines Add two Medium-Size Virtual Machines DemoETLVM and DemoOLAPVM to the BIOnCloudVNET (Reference: Add a Virtual Machine to a Virtual Network). Choose the SQL Server 2012 Evaluation Edition Template from the Windows Azure VM Gallery. For simplicity, we have not set any Availability Set for the above VMs. To achieve High Availability, Availability Set can be configured. Virtual Machines in Windows Azure are currently available in the following sizes/formats: VM Size CPU Cores Memory Bandwidth # of Data Disks* Extra Small Shared 768 MB 5 Mbps 1 Small 1 1.75 GB 100 Mbps 2 Medium 2 3.5 GB 200 Mbps 4 Large 4 7.0 GB 400 Mbps 8 Extra Large 8 14 GB 800 Mbps 16 * Each Data Disk can be of maximum 1 TB (precisely 1023 GB). 3. Add Data Disks to VMs Attach one 2GB data disk to both ETL & OLAP VMs. Login to both the VMs and Initialize the newly added Data Disk and create a new Simple Volume out of it (Control Panel Administrative Tools Computer Management Storage Disk Management).

4. Configure Virtual Machines Add Endpoints to Virtual Machines Add an Endpoint on Port Number 1433 (Default Port for SQL Server Database Engine) on both ETL & OLAP VMs. Add an Endpoint on Port Number 2383 (Default Port for SQL Server Analysis Services) on OLAP VM. Add an Endpoint on Port Number 80 (Default Port for SQL Server Reporting Services) on OLAP VM. Add Firewall Exceptions Configure SQL Server Add an Inbound Rule/Exception in Windows Firewall for SQL Server Database Engine Port # 1433 (Default Port) in both the VMs by running the following command at the Command Prompt. Create required folders in the newly added drive to hold the database files and update the Server Properties to set the default location for Data, Log, & Backup files location and then restart the SQL Server. Add an Inbound Rule/Exception in Windows Firewall for SQL Server Analysis Services Port # 2383 (Default Port) in OLAP VM by running the following command at the Command Prompt. Change the SQL Server Security to Mixed Mode on both the VMs. Add an Inbound Rule/Exception in Windows Firewall for SQL Server Reporting Services Port # 80 (Default Port) in OLAP VM by running the following command at the Command Prompt. Restart the SQL Server Service on both the VMs. Configure the Startup Type of SQL Server Related Services on both ETL & OLAP VMs depending upon the type of server (ETL/OLAP) and the required functionality (DB, ETL, Cube, Reports etc.). Add a SQL User DemoSA to both the servers.

Script to add DemoSA user on SQL Server. Test Connectivity between VMs Try to connect from DemoETLVM to DemoOLAPVM using the SQL Server User created above. Also, try to connect from DemoOLAPVM to DemoETLVM using the SQL Server User created above. Following are the observations when tried to connect: Connects to Database Engine both ways using SQL Server Authentication (from DemoETLVM to DemoOLAPVM and DemoOLAPVM to DemoETLVM) Connects to Analysis Services on DemoOLAPVM from DemoETLVM. ETL Deployment on ETL VM Install Drivers for MS Excel Download and install the 64-bit drivers for Microsoft Excel (Microsoft Access Database Engine 2010 Redistributable). This is for extracting data from sources like Microsoft Excel, Access etc. Deploy ETL Components Deploy the ETL Components on the ETL Server. Chang the Log On As for SQL Server Agent Service on the ETL Server to DemoETLVM\Administrator. Note: This is required since the job needs to access the resources on other VMs on the network. For instance, the package needs to create and process the partitions on a different VM. Control Panel Administrative Tools Services SQL Server Agent Log On Update Account and Password. OLAP Deployment on OLAP VM Deploy OLAP Components Deploy the OLAP Components on the OLAP Server. Execute the newly created SQL Server Agent Job on the ETL Server and monitor to completion.

Reports Deployment on OLAP VM Configure Report Server Configure the Report Server on DemoOLAPVM. Deploy Reports Create required folders on the Report Manager for Data Sources and Reports. Create Data Source (s) pointing to appropriate database (s) on ETL/OLAP Server (s). Upload the Reports to Reports folder on Report Manager. Configure the data source of all the reports and point them to the appropriate data source created above. Next Steps As a next step, you can go over the below resources to setup or use other related features of Windows Azure. SharePoint Deployment Deploying a SharePoint Farm with Windows Azure Virtual Machines Cross-Premise Connectivity Create a Virtual Network for Cross- Premises Connectivity Active Directory Setup Install a Replica Active Directory Domain Controller in Windows Azure Virtual Networks Server BI Solution on Cloud is simple and quick process, and hence SQL Server on IaaS is very suitable for various scenarios including Pilot Projects, Startups, Large Scale BI Applications, and so on. Deployment Verification Install a new Active Directory forest in Windows Azure Monitor the SQL Agent Job to completion and ensure that the jobs are running smoothly without any access or any other issues. Connect to SSAS from both OLAP & ETL Servers and ensure that you are able to connect to and browse SSAS Cubes from both the servers. Access the reports on OLAP Server from both OLAP & ETL Servers and ensure that you are able to run the reports from both the servers. Connect to Relational Database (Data Mart/Warehouse) on the ETL database from Excel, PowerPivot, SSRS, and SSAS etc. from onpremise computer and verify the connectivity. Verify the Overall Deployment. That concludes the step by step demo to setup a Simple SQL Server BI Solution on Cloud. Best Practices for Running SQL Server in a Windows Azure Virtual Machine Following are the recommendations from a Storage and Database standpoint: Consider placing the data and log files on separate drives. Consider placing the tempdb on a non-persistent disk, since the data is required for the duration of the transaction/operation and not permanently. Consider using database page compression. This will help in reducing I/O. Summary Cloud Computing offers various advantages over on-premise systems as discussed above. Setting up a SQL

References Windows Azure Manage Center: https://www.windowsazure.com/enus/manage/windows/ Additional Resources Data Migration to Windows Azure SQL Database - Tools and Techniques: http://msdn.microsoft.com/en-us/library/windowsazure/hh694043.aspx Migrating to SQL Server in a Windows Azure Virtual Machine: http://msdn.microsoft.com/en-us/library/windowsazure/jj156165.aspx Best Practices for Running SQL Server in Windows Azure Virtual Machine: http://social.technet.microsoft.com/wiki/contents/articles/11578.bestpractices-for-running-sql-server-in-windows-azure-virtual-machine.aspx Deployment Considerations for SharePoint 2013 on Windows Azure Virtual Machines: http://gallery.technet.microsoft.com/technical-deploymentdb645804 Dattatrey Sindol (aka Datta) is a Passionate Microsoft BI Developer and has been working in the field of Data Warehousing and Business Intelligence for 6+ years. He has worked on various tools/technologies within Microsoft BI Stack. You can follow Datta on Twitter or read his writings on Microsoft BI at his Blog. About Aditi Aditi helps product companies, web businesses and enterprises leverage the power of cloud, e-social and mobile, to drive competitive advantage. We are one of the top 3 Platform-as-a- Service solution providers globally and one of the top 5 Microsoft technology partners in US. We are passionate about emerging technologies and are focused on custom development. We provide innovation solutions in 4 domains: Digital Marketing solutions that enable online businesses increase customer acquisition Cloud Solutions that help companies build for traffic and computation surge Enterprise Social that enables enterprises enhance collaboration and productivity Product Engineering services that help ISVs accelerate time-to-market www.aditi.com www.facebook.com/adititechnologies www.linkedin.com/company/aditi-technologies www.blog.aditi.com www.twitter.com/weareaditi