Heavy Metal PowerPivot Remastered - Experts Conference

Post on 12-May-2015

1.103 views 0 download

Tags:

description

Jason Himmestein & Cornelius J. van Dyk present at TEC2012 on the topic of Heavy Metal PowerPivot ReMastered

Transcript of Heavy Metal PowerPivot Remastered - Experts Conference

Heavy Metal PowerPivot

ReMastered Jason Himmelstein &

Cornelius J. van Dyk

• SharePoint Practice Director, Sentri Inc.

• Microsoft vTSP – virtual Technology Solutions Professional

• SharePoint Foundation Logger

(http://spflogger.codeplex.com)

• Web: www.sentri.com

• Blog: www.sharepointlonghorn.com

• Twitter: @sharepointlhorn

• LinkedIn: www.linkedin.com/in/jasonhimmelstein

• Chief Architect, Crayveon Corporation

• 7 time MVP, MCITP, MCTS

• Blog: www.cjvandyk.com/blog

• Twitter: @cjvandyk

• LinkedIn: http://www.linkedin.com/in/cjvandyk

• Architecture

• Installation

• SharePoint & PowerPivot

• PowerPivot in Action (demo time)

Changes in Terminology

Codename Denali Project Crescent Project Juneau Veritpaq Engine Vertipaq for PowerPivot

SQL Server 2012

Power View

SQL Server Data Tools

xVelocity In-Memory Analytics Engine

xVelocity for Business Intelligence

How does it work?

Analysis Services

Reporting Services

Integration Services

Master Data Services

SharePoint

Collaboration Excel

Workbooks PowerPivot Applications

SharePoint Dashboards &

Scorecards

Microsoft Business Intelligence

Most widely deployed EIM & BI Platform

Most Broadly adopted Productivity &

Collaboration Tools

Odata Feeds

LOB Apps

ANALYSIS SERVICES ARCHITECTURE

Excel Services

PowerPivot for SharePoint

(Analysis Services) Excel

Internet Explorer

Analysis Services

BI Semantic Model

SharePoint

Reporting Services

Third Party Apps

PowerPivot for

Excel

xlsx

xlsx

SQL Server Data Tools

Personal BI Team BI Corporate BI

Power View

POWERPIVOT FOR SHAREPOINT Server, Services, and Components

SharePoint Farm

WFE App

Excel Web Access

c2wts

Excel Services

Application Proxy

Excel Web Service

Excel Calc Services

PowerPivot Web

Service

Client

MSOLAP Driver

c2wts/proxy

PowerPivot Services

PowerPivot Service

Application Proxy

Data sources

SQL Server Content

Excel Calculation

Services

Analysis Services in

VertiPaq Mode

PowerPivot System

Service

MSOLAP

TCP

HTTP

Channel

Excel Services

POWERPIVOT FOR SHAREPOINT Rendering the PowerPivot Workbook

SharePoint Farm

WFE App

Excel Web Access

c2wts

Excel Services

Application Proxy

Excel Web Service

Excel Calc Services

PowerPivot Web

Service

Client

PowerPivot Service

Application Proxy

Data sources

SQL Server Content

Excel Calculation

Services

Analysis Services in

VertiPaq Mode

PowerPivot System

Service

MSOLAP

Channel

POWERPIVOT FOR SHAREPOINT Rendering the PowerPivot Workbook

SharePoint Farm

WFE App

Excel Web Access

c2wts

Excel Services

Application Proxy

Excel Web Service

Excel Calc Services

PowerPivot Web

Service

Client

PowerPivot Service

Application Proxy

Data sources

SQL Server Content

Excel Calculation

Services

Analysis Services in

VertiPaq Mode

PowerPivot System

Service

MSOLAP

Channel

c:\Program Files\...\OLAP\Backup

POWERPIVOT FOR SHAREPOINT PowerPivot does NOT require Kerberos

SharePoint Farm

WFE App

Excel Web Access

c2wts

Excel Services

Application Proxy

Excel Web Service

Excel Calc Services

PowerPivot Web

Service

Client

PowerPivot Service

Application Proxy

Data sources

SQL Server Content

Excel Calculation

Services

Analysis Services in

VertiPaq Mode

PowerPivot System

Service

MSOLAP

Channel

POWERPIVOT FOR SHAREPOINT Server Action

SharePoint Farm

WFE App

Excel Web Access

c2wts

Excel Services

Application Proxy

Excel Web Service

Excel Calc Services

PowerPivot Web

Service

Client

PowerPivot Service

Application Proxy

Data sources

SQL Server Content

Excel Calculation

Services

Analysis Services in

VertiPaq Mode

PowerPivot System

Service

MSOLAP

Channel

POWERPIVOT FOR SHAREPOINT Server Action > c2wts

POWERPIVOT FOR SHAREPOINT Server Action > c2wts

SharePoint Farm

WFE App

Excel Web Access

c2wts

Excel Services

Application Proxy

Excel Web Service

Excel Calc Services

PowerPivot Web

Service

Client

PowerPivot Service

Application Proxy

Data sources

Content Excel Calculation

Services

Analysis Services in

VertiPaq Mode

PowerPivot System

Service

MSOLAP

Channel

POWERPIVOT FOR SHAREPOINT Server Action

SharePoint Farm

WFE App

Data sources

Content Client

ImageLoad

c:\Program Files\...\OLAP\Backup

POWERPIVOT FOR SHAREPOINT Load Balancing

SharePoint Farm

App1 App2

By default, set to round-robin

health allocation

Testing notes that BP to set to

health-based allocation

Uses more resources than round-robin

BUT, pro-actively evicts

unnecessary VertiPaq dBs when under

memory pressure

Installing PowerPivot

• PowerPivot v1 for SQL 2008 R2

– New 2010 farm – Pre-existing 2010 farm

• PowerPivot v2 for SQL 2012

– Stand alone install – Wizard driven – PowerShell

Installing PowerPivot 2008 R2

Installing PowerPivot v1 / 2008 R2

• New 2010 farm

• Pre-existing 2010 farm

Pre-existing 2010 Farm

• App Server

• SharePoint Admin Service account

• MS Data Access Engine 2010 Redist

• SQL Server 2008 R2 Setup in Admin mode

Pre-existing 2010 Farm

• Add Features

• New Installation NOT Add Features

• SQL Server PowerPivot for SharePoint

• HACK IT!

Pre-existing 2010 Farm

Pre-existing 2010 Farm – Hack Part

• ConfigurationFile.ini

• FARMADMINPORT

• Microsoft.AnalysisServices.SharePoint.Integration.dll

• http://bit.ly/PowerPivotDLL

• C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x64

Installing PowerPivot v2 / SQL 2012

The Code Behind the Build # Open PowerShell library from: C:\Program Files\Microsoft SQL Server\110\Tools\PowerPivotTools\ConfigurationTool\Resources\ConfigurePowerPivot.ps1

Add-SPSolution -LiteralPath 'C:\Program Files\Microsoft SQL Server\110\Tools\PowerPivotTools\ConfigurationTool\Resources\PowerPivotFarm.wsp'

Add-SPSolution -LiteralPath 'C:\Program Files\Microsoft SQL Server\110\Tools\PowerPivotTools\ConfigurationTool\Resources\PowerPivotWebApp.wsp'

DeployFarmSolution

DeployWebAppSolutionToCentralAdmin

Install-SPFeature -path PowerPivot

Install-SPFeature -path PowerPivotAdmin

Install-SPFeature -path PowerPivotSite

SetEngineServiceCredentials 'spflogger\b_powerpivotv2' $password; New-PowerPivotEngineServiceInstance -Provision:$true

New-PowerPivotSystemServiceInstance -Provision:$true

New-PowerPivotServiceApplication -ServiceApplicationName 'PowerPivot Service Application' -DatabaseServerName 'SQL2012' -DatabaseName 'PowerPivotServiceApplicationDB' -AddToDefaultProxyGroup:$true;Set-PowerPivotSystemService -WorkbookUpgradeOnDataRefresh:$True -Confirm:$false

DeployWebAppSolution 'http://sp2010sp1/' 2047

EnableSiteFeatures 'http://sp2010sp1' $true

StartService "Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance"

UpdateSecureStoreMasterKey 'Secure Store Service Proxy' '********'

CreateUnattendedAccountForDataRefresh 'http://sp2010sp1' 'PowerPivotUnattendedAccount' 'PowerPivot Unattended Account for Data Refresh' 'SPFLOGGER\b_spAdmin' $password

AddMSOLAP5AsECSTrustedProvider 'Excel Services Application'

• Builds upon V1 release in SQL Server 2008 R2

• New administrative capabilities

– Lots of bug fixes

– Default allocation algorithm changed to health-based rather than round-robin

– Manage the amount of database caching done on the app servers

– Database caching cleanup (based on inactivity)

– Disable data refresh jobs if they are constantly failing, or if they succeed but are not being viewed

SQL Server 2012 PowerPivot

SQL Server 2012 PowerPivot

• A new setup experience – Rather than installing and configuring SharePoint directly, setup now just lays down

the bits and there is a new standalone configuration wizard

• Capabilities:

– Wizard has both a one-click “GO” option as well as a step-by-step experience

– Existing farm steps integrated with the wizard

– Individual steps can be scripted

– History is directly integrated into the tool

– Able to uninstall, upgrade, repair and patch separately

SQL Server Denali PowerPivot

• Important note: SharePoint SP1 is required – SQL Setup will issue a warning if SharePoint SP1 has not been

installed when the PowerPivot bits are laid down. This gives you some time to upgrade to SP SP1.

– However, if you still haven’t upgraded to SP1, by the time you get to

run the PowerPivot configuration wizard, we will throw a fatal error and you will be blocked from configuring your SharePoint farm until you upgrade to SP1.

DEMO

• Some cool examples of PowerPivot in action.

Enabling PowerPivot & Power View

Issues using PowerPivot & OData Feeds

Not on your local desktop!

Scaling out PowerPivot Installations

• Installation at the App tier

– Requires SQL Server media

• Install SQL PowerPivot for SharePoint

• Requires separate install of SSRS

• Installation at the Web tier

– Does not require SQL Server media

• Reporting Services Add-in for SharePoint Products is shipped as a web downloadable add-in – http://www.microsoft.com/download/en/details.aspx?amp;a

mp;displaylang=en&id=29068

Check your Loopback settings!

In the end, it’s all about perspective

Special announcements

• New book coming for SharePoint and SQL Server 2012 Business Intelligence:

Handy Reference Information • Useful Links

• http://www.sharepointlonghorn.com – Jase’s blog – @sharepointlhorn

– jase@sharepointlonghorn.com

– http://aurl.to/v - THE Authoratative SharePoint Versions and Downloads list

• http://www.cjvandyk.com/blog - Corne’s blog – @cjvandyk

– c@crayveon.com

• Microsoft References

– Power View Demos • http://blogs.msdn.com/b/oneclickbi/archive/2011/12/27/more-demos-of-power-view-

available.aspx

• Download links • http://powerpivotgeek.com

– Dave Wickert & Lee Graber (Microsoft Product Team Members)

» Best exclusively PowerPivot blog around

• http://spflogger.codeplex.com – Its not PowerPivot, but its wicked cool so check it out!