70
Heavy Metal PowerPivot ReMastered Jason Himmelstein & Cornelius J. van Dyk

Heavy Metal PowerPivot Remastered - Experts Conference

  • Upload
    sentri

  • View
    1.103

  • Download
    0

Embed Size (px)

DESCRIPTION

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

Citation preview

Page 1: Heavy Metal PowerPivot Remastered - Experts Conference

Heavy Metal PowerPivot

ReMastered Jason Himmelstein &

Cornelius J. van Dyk

Page 2: Heavy Metal PowerPivot Remastered - Experts Conference

• 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

Page 3: Heavy Metal PowerPivot Remastered - Experts Conference

• Chief Architect, Crayveon Corporation

• 7 time MVP, MCITP, MCTS

• Blog: www.cjvandyk.com/blog

• Twitter: @cjvandyk

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

Page 4: Heavy Metal PowerPivot Remastered - Experts Conference

• Architecture

• Installation

• SharePoint & PowerPivot

• PowerPivot in Action (demo time)

Page 5: Heavy Metal PowerPivot Remastered - Experts Conference
Page 6: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 7: Heavy Metal PowerPivot Remastered - Experts Conference

How does it work?

Page 8: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 9: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 10: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 11: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 12: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 13: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 14: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 15: Heavy Metal PowerPivot Remastered - Experts Conference

POWERPIVOT FOR SHAREPOINT Server Action > c2wts

Page 16: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 17: Heavy Metal PowerPivot Remastered - Experts Conference

POWERPIVOT FOR SHAREPOINT Server Action

SharePoint Farm

WFE App

Data sources

Content Client

ImageLoad

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

Page 18: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 19: Heavy Metal PowerPivot Remastered - Experts Conference
Page 20: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 21: Heavy Metal PowerPivot Remastered - Experts Conference

Installing PowerPivot 2008 R2

Page 22: Heavy Metal PowerPivot Remastered - Experts Conference

Installing PowerPivot v1 / 2008 R2

• New 2010 farm

• Pre-existing 2010 farm

Page 23: Heavy Metal PowerPivot Remastered - Experts Conference

Pre-existing 2010 Farm

• App Server

• SharePoint Admin Service account

• MS Data Access Engine 2010 Redist

• SQL Server 2008 R2 Setup in Admin mode

Page 24: Heavy Metal PowerPivot Remastered - Experts Conference

Pre-existing 2010 Farm

• Add Features

• New Installation NOT Add Features

• SQL Server PowerPivot for SharePoint

• HACK IT!

Page 25: Heavy Metal PowerPivot Remastered - Experts Conference

Pre-existing 2010 Farm

Page 26: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 27: Heavy Metal PowerPivot Remastered - Experts Conference

Installing PowerPivot v2 / SQL 2012

Page 28: Heavy Metal PowerPivot Remastered - Experts Conference
Page 29: Heavy Metal PowerPivot Remastered - Experts Conference
Page 30: Heavy Metal PowerPivot Remastered - Experts Conference
Page 31: Heavy Metal PowerPivot Remastered - Experts Conference
Page 32: Heavy Metal PowerPivot Remastered - Experts Conference
Page 33: Heavy Metal PowerPivot Remastered - Experts Conference
Page 34: Heavy Metal PowerPivot Remastered - Experts Conference
Page 35: Heavy Metal PowerPivot Remastered - Experts Conference
Page 36: Heavy Metal PowerPivot Remastered - Experts Conference
Page 37: Heavy Metal PowerPivot Remastered - Experts Conference
Page 38: Heavy Metal PowerPivot Remastered - Experts Conference
Page 39: Heavy Metal PowerPivot Remastered - Experts Conference
Page 40: Heavy Metal PowerPivot Remastered - Experts Conference
Page 41: Heavy Metal PowerPivot Remastered - Experts Conference
Page 42: Heavy Metal PowerPivot Remastered - Experts Conference
Page 43: Heavy Metal PowerPivot Remastered - Experts Conference
Page 44: Heavy Metal PowerPivot Remastered - Experts Conference
Page 45: Heavy Metal PowerPivot Remastered - Experts Conference
Page 46: Heavy Metal PowerPivot Remastered - Experts Conference
Page 47: Heavy Metal PowerPivot Remastered - Experts Conference
Page 48: Heavy Metal PowerPivot Remastered - Experts Conference
Page 49: Heavy Metal PowerPivot Remastered - Experts Conference
Page 50: Heavy Metal PowerPivot Remastered - Experts Conference
Page 51: Heavy Metal PowerPivot Remastered - Experts Conference
Page 52: Heavy Metal PowerPivot Remastered - Experts Conference
Page 53: Heavy Metal PowerPivot Remastered - Experts Conference
Page 54: Heavy Metal PowerPivot Remastered - Experts Conference
Page 55: Heavy Metal PowerPivot Remastered - Experts Conference
Page 56: Heavy Metal PowerPivot Remastered - Experts Conference

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'

Page 57: Heavy Metal PowerPivot Remastered - Experts Conference
Page 58: Heavy Metal PowerPivot Remastered - Experts Conference
Page 59: Heavy Metal PowerPivot Remastered - Experts Conference

• 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

Page 60: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 61: Heavy Metal PowerPivot Remastered - Experts Conference

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.

Page 62: Heavy Metal PowerPivot Remastered - Experts Conference

DEMO

• Some cool examples of PowerPivot in action.

Page 63: Heavy Metal PowerPivot Remastered - Experts Conference

Enabling PowerPivot & Power View

Page 64: Heavy Metal PowerPivot Remastered - Experts Conference

Issues using PowerPivot & OData Feeds

Not on your local desktop!

Page 65: Heavy Metal PowerPivot Remastered - Experts Conference

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

Page 66: Heavy Metal PowerPivot Remastered - Experts Conference
Page 67: Heavy Metal PowerPivot Remastered - Experts Conference

Check your Loopback settings!

Page 68: Heavy Metal PowerPivot Remastered - Experts Conference

In the end, it’s all about perspective

Page 69: Heavy Metal PowerPivot Remastered - Experts Conference

Special announcements

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

Page 70: Heavy Metal PowerPivot Remastered - Experts Conference

Handy Reference Information • Useful Links

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

[email protected]

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

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

[email protected]

• 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!