An IT Pro Guide for Managing SharePoint’s BI Infrastructure
-
Upload
randy-williams -
Category
Technology
-
view
958 -
download
1
description
Transcript of An IT Pro Guide for Managing SharePoint’s BI Infrastructure
S H A R E -T H E -P O I N T
CONFERENCES
2014
Randy WilliamsYammer.com/
stpevents
An IT Pro Guide for Managing SharePoint’s BI
Infrastructure
#seaspc
Our Agenda
Excel Services
PowerPivot
Power View
Provision, Configure, Secure and Troubleshoot…
#seaspc
Software requirements
SharePoint Server 2013 Enterprise SQL 2012 SP1 or SQL 2014 Enterprise
Used for PowerPivot & Power ViewYou can use older SQL versions for config, content, service
app databases Note: This session covers on-premises capabilities, not
what you’ll find in Power BI in Office 365
#seaspc
Excel Services
#seaspc
Excel Services architecture
#seaspc
Provisioning Excel Services$server = "APP1"$identity = "contoso\sp.excel"$appName = "Excel Services Application"$appPoolName = "Excel Services App Pool"$cred = Get-Credential $identity$appPoolAccount = New-SPManagedAccount -Credential $cred$url = "https://teams.contoso.com"
$identity = "contoso\sp.excel"$appName = "Excel Services Application"$appPool = New-SPServiceApplicationPool -Name $appPoolName -Account $identityNew-SPExcelServiceApplication -name $appName –ApplicationPool $appPoolName -default
Get-SPServiceInstance | where {$_.typename -eq "Excel Calculation Services" -and $_.Parent -like "*$server"} | ` Start-SPServiceInstance
Get-SPExcelServiceApplication -identity $appName | New-SPExcelFileLocation -address "https://" -includeChildren
$webApp = Get-SPWebApplication $url$webApp.GrantAccessToProcessIdentity($identity)
New-SPWOPISuppressionSetting -Extension "XLSX" -Action "view"New-SPWOPISuppressionSetting -Extension "XLS" -Action "view"
#seaspc
Provisioning Excel gotchas
If you use a unique app pool, make sure you run GrantAccessToProcessIdentity() on web app
If you use Office Web Apps, run New-SPWOPISuppressionSetting to have ECS render
Add/edit default file location when using SSL When troubleshooting, always double check your settings—if
that fails, then review ULS logs!
#seaspc
Demo
Understanding the data refresh problem
#seaspc
Excel data refresh problem
Can ECS connect to the original data source to refresh worksheet data?
Windows auth is the best choice, but when using NTLM you have delegation (double-hop) problems
#seaspc
Data refresh solutions
Use Secure Store Service and store credentials to server within an SSS target applicationUse one unattended service account
or multiple target application IDs Use Kerberos (KCD) Use a standard (non-integrated) username
& passwordStore .ODC (office data connections) within trusted libraries and only
allow trusted connected libraries
#seaspc
Understanding Excel auth settings
Try to delegate with logged on user’s credentials
Use specific App ID from Secure Store Service
Use unattended service account in Excel Services global settings
#seaspc
Demo
Configuring Excel Services Data Refresh
#seaspc
PowerPivot
#seaspc
Two editions of PowerPivot
PowerPivot is available in Excel 2013 client application
PowerPivot is a preinstalled add in. Just enable it Analysis Services in SharePoint mode
This is the server component provided by SQL ServerExcel Services calls into it when needed
#seaspc
PowerPivot server architecture
Excel Services is the hub for all PowerPivot features!
#seaspc
Analysis Services in SharePoint mode
xVelocity engine used by Excel Services Run on one or more SQL Servers (2012 SP1 or 2014) Used when Excel workbooks with embedded data
models are run in Excel ServicesEmbedded data model from Excel workbook is loaded and
processed here This can run alongside relational SQL instances, but for
heavy analysis it should run on dedicated server(s)
#seaspc
Installing Analysis Services in SharePoint mode
Install from SQL Server media
Installs as PowerPivot instance name
Grant Excel Services, PowerPivot, SSRS, and Farm accounts admin permissions
#seaspc
Configuring AS Ports
PowerPivot instance runs on a dynamic TCP port by default Edit C:\Program Files\Microsoft SQL Server\
MSAS11.POWERPIVOT\OLAP\Config\msmdsrv.ini and change to a change to a fixed port
Add this fixed port and SQL Browser (TCP 2382, UDP 1434) to allowed firewall list
Test by using SQL Management Studio from a remote server
#seaspc
Connecting ECS to AS
Add <servername>\powerpivot to Excel Services Data Model settingsName is not case sensitive
#seaspc
PowerPivot for SharePoint Add-in
spPowerPivot.msi Contains the latest drivers, plus
PowerPivot System Service handles scheduled data refreshManagement dashboard in Central AdminPowerPivot Gallery (useful with Power View)PowerPivot Configuration Tool simplifies the provisioning effort
Recommended to install on all SharePoint servers Download from bit.ly/1upf49J (SQL 2012 SP1) or
bit.ly/1qcamtj (SQL 2014)
#seaspc
PowerPivot Configuration Tool
Provisions additional PowerPivot capabilitiesScheduled data refresh allows users to configure
when their workbooks are refreshed automatically. See bit.ly/1iPVkZg
PowerPivot Management dashboardPowerPivot Gallery (library template)
Not required for basic PowerPivot features
#seaspc
PowerPivot Configuration Tool
#seaspc
Configuration Tool gotchas
Create a separate account for PowerPivot service and configure as default account (top page)
Modify “Create PowerPivot Service Application” to remove database GUID
Application pool assigned for PowerPivot service is not configurable
Doesn’t grant permissions properly for PowerPivot management dashboard
#seaspc
Configuration Tool fixes#Reassign app pool$identity = "contoso\sp.powerpivot"$appName = "PowerPivot Service Application"$appPoolName = "PowerPivot Service App Pool"$cred = Get-Credential $identity$appPoolAccount = New-SPManagedAccount -Credential $cred$appPool = New-SPServiceApplicationPool -Name $appPoolName -Account $appPoolAccount $serviceApp = Get-SPServiceApplication | where {$_.DisplayName -eq $appName}$serviceApp.ApplicationPool = $appPool$serviceApp.Update()
#Grant app pool permissions to web applications (add other web apps if needed)$webApp = Get-SPWebApplication https://teams.contoso.com$webApp.GrantAccessToProcessIdentity("contoso\sp.powerpivot")
#Grant Excel identity permissions to central admin content database$identity = "contoso\sp.excel"$centralAdminUrl = "https://contoso-wfe:2013/"$webApp = Get-SPWebApplication –IncludeCentralAdministration | where {$_.Url –eq "$centralAdminUrl"}$webApp.GrantAccessToProcessIdentity($identity)
#seaspc
PowerPivot component review
Level Features Install or Configure
Client only • Interactive PowerPivot capabilities within Excel•Create data models
• Excel 2013•SharePoint is not required
PowerPivot Server support
• Interactive PowerPivot workbooks in the browser (slice, refresh)
• Excel Services unattended service account•Analysis Services in SharePoint Mode •Register server in Excel Services
All PowerPivot features
•Access to workbooks as a data source from outside the farm•Schedule Data refresh• PowerPivot Gallery•Management Dashboard
•Deploy PowerPivot for SharePoint 2013 Add-in•Run Configuration Tool
#seaspc
Demo
Configuring Analysis Services in SharePoint mode
#seaspc
Power View
#seaspc
Power View is based on SSRS
You must have SQL Server Reporting Services (SSRS)installed into the SharePoint farm in integrated mode
Also requires Analysis Services in SharePoint mode
#seaspc
Power View architecture
#seaspc
Installing SSRS Components
Install SQL Server Reporting Services in SharePoint mode (SQL 2012 SP1 or SQL 2014)
Install SSRS in Integrated Mode on one or more SharePoint servers
Install rsSharePoint.msi on all WFE SharePoint servers (found on SQL disc)
#seaspc
Provisioning SSRSInstall-SPRSServiceInstall-SPRSServiceProxy
$identity = "contoso\sp.ssrs"$appName = "SQL Server Reporting Services Service Application"$appPoolName = "SSRS App Pool"$databaseName = "ReportingServices“
$cred = Get-Credential $identity$appPoolAccount = New-SPManagedAccount -Credential $cred$appPool = New-SPServiceApplicationPool -Name $appPoolName -Account $appPoolAccount$app = New-SPRSServiceApplication -name $appName –ApplicationPool $appPoolName ` -DatabaseName $databaseName$proxy = New-SPRSServiceApplicationProxy $appName -ServiceApplication $appGet-SPServiceApplicationProxyGroup | where {$_.FriendlyName -eq "[default]"} | ` Add-SPServiceApplicationProxyGroupMember -Member $proxy
$url = "https://teams.contoso.com"$webApp = Get-SPWebApplication $url$webApp.GrantAccessToProcessIdentity($identity)
#seaspc
Using Power View
Once SSRS is installed and provisioned as described, Power View functionality is ready to go!
Just enable these site collection features:Power View Integration FeaturePowerPivot Feature Integration for Site Collections
Power View reports can be created from Excel workbooks stored in a PowerPivot Gallery
#seaspc
Demo
Testing PowerView
#seaspc
Quick recap…
Excel Services
PowerPivot
Power View
Provision, Configure, Secure and Troubleshoot…
#seaspc
For more information, see chapter 17
Q&A
#seaspc
#seaspc
Thank you to our sponsors!
Valued Supporters