Monday, September 2, 2013

Install Analysis Services Server in SharePoint Mode for SharePoint 2013 (SQL Server 2012 SP1)

 

PowerPivot for SharePoint is a collection of middle-tier and backend services that provide PowerPivot data access in a SharePoint 2013 farm.

· Backend services: If you use PowerPivot for Excel to create workbooks that contain analytical data, you must have PowerPivot for SharePoint to access that data in a server environment. You can run SQL Server Setup on a computer that has SharePoint Server 2013 installed, or on a different computer that has no SharePoint software. Analysis Services does not have any dependencies on SharePoint.

· Middle-tier: Enhancements to the PowerPivot experiences in SharePoint including PowerPivot Gallery, Schedule data refresh, Management dashboard, and data providers.

You do not need to deploy the PowerPivot for SharePoint 2013 add-in into the farm. You only need to install an Analysis Services server in SharePoint mode and register the server within the Excel Services Data Model settings.

Deploying the PowerPivot for SharePoint 2013 add-in enables additional functionality and features in your SharePoint farm. The additional features include PowerPivot Gallery, Schedule Data Refresh, and the PowerPivot Management Dashboard

In this blog I will explain the installation and configuration of the Analysis Services (SQL Server PowerPivot for SharePoint) and the integration with Excel Services

 

Prerequisites

1. You must be a local administrator to run SQL Server Setup.

2. SharePoint Server 2013 enterprise edition is required for PowerPivot for SharePoint. You can also use the evaluation enterprise edition.

3. The computer must be joined to a domain in the same Active Directory forest as Excel Services.

4. The PowerPivot instance name must be available. You cannot have an existing PowerPivot-named instance on the computer on which you are installing Analysis Services in SharePoint mode.

5. Review Hardware and Software Requirements for Analysis Services Server in SharePoint Mode (SQL Server 2012 SP1).

6. Review the release notes at SQL Server 2012 Service Pack 1 Release Notes (http://go.microsoft.com/fwlink/?LinkID=248389)

SQL Server Edition Requirements

Business intelligence features are not all available in all editions of SQL Server 2012. For details, see Features Supported by the Editions of SQL Server 2012 (http://go.microsoft.com/fwlink/?linkid=232473) and Editions and Components of SQL Server 2012.

The current release notes can be found at SQL Server 2012 SP1 Release Notes (http://go.microsoft.com/fwlink/?LinkID=248389).

Microsoft SQL Server 2012 Release Notes (http://go.microsoft.com/fwlink/?LinkId=236893).


Step 1: Install PowerPivot for SharePoint


In this step, you run SQL Server Setup to install an Analysis Services server in SharePoint mode. In a subsequent step, you configure Excel Services to use this server for workbook data models.

1. Run the SQL Server Installation Wizard (Setup.exe). (SQL Server 2012 + SP1)

2. Click Installation on the navigation pane to the left.

3. Click New SQL Server stand-alone installation or add features to an existing installation.

4. On the Setup Support Rules, review any warnings and click OK.

5. If you see the Product Key, specify the evaluation edition or enter a product key for a licensed copy of the enterprise edition. Click Next.

6. Accept the Microsoft Software License Terms of agreement, and then click Next.

7. The Install Setup Files page runs for several minutes.

8. If you see another Setup Support Rules, review any warnings and click Next.

Note: Because Windows Firewall is enabled, you see a warning to open ports to enable remote access.

9. On the Setup Role page, select SQL Server PowerPivot for SharePoint. This option installs Analysis Services in SharePoint mode.

Optionally, you can add an instance of the Database Engine to your installation. You might add the Database Engine when setting up a new farm and need a database server to run the farm’s configuration and content databases. This option also installs SQL Server Management Studio.

If you add the Database Engine, it is installed as a PowerPivot named instance. Whenever you specify a connection to this instance, enter the database name in this format: [servername]\PowerPivot.

Click Next.

clip_image001

10. In Feature Selection, a read-only list of the features is displayed for informational purposes. You cannot add or remove items the preselected items for this role. Click Next.

11. On the Installation Rules page, review any warnings and click Next.

12. On the Instance Configuration page, a read-only instance name of 'PowerPivot' is displayed for informational purposes. This instance name is required and it cannot be modified. However, you can enter a unique Instance ID to specify a descriptive directory name and registry keys. Click Next.

13. One the Disk Space Requirements page, verify that you have sufficient disk capacity to install the feature and then click Next.

14. On the Server Configuration page, configure all of the services for Automatic Startup Type. Specify the desired domain account and password for SQL Server Analysis Services, (1) in the following diagram.

o For Analysis Services, you can use a domain user account or NetworkService account. Do not use LocalSystem or LocalService accounts.

o If you added the SQL Server Database Engine and SQL Server Agent, you can configure the services to run under domain user accounts or under the default virtual account.

o Never provision service accounts with your own domain user account. Doing so grants the server the same permissions that you have to the resources in your network. If a malicious user compromises the server, that user is logged in under your domain credentials. The user has the permissions to download or use the same data and applications that you do.

o

Click Next.

clip_image002

15. If you are installing the Database Engine, the Database Engine Configuration page appears. In Database Engine Configuration, click Add Current User to grant your user account administrator permissions on the Database Engine instance.

Click Next.

16. On the Analysis Services Configuration page, click Add Current User to grant your user account administrative permissions. You will need administrative permission to configure the server after Setup is finished.

o In the same page, add the Windows user account of any person who also requires administrative permissions. For example, any user who wants to connect to the Analysis Services service instance in SQL Server Management Studio to troubleshoot database connection problems must have system administrator permissions. Add the user account of any person who might need to troubleshoot or administer the server now.

clip_image003 Note

All service applications that require access to the Analysis Services server instance need to have Analysis Services Administrative permissions. For example, add the service accounts for Excel Services, Power View, and Performance Point Services. Also, add the SharePoint farm account, which is used as the identity of the web application that hosts Central Administration.

17. Click Next.

18. On the Error Reporting page, click Next.

19. On the Installation Configuration Rules page, review any warnings and click Next.

20. On the Ready to Install page, click Install.

21. If you see the dialog Computer Restart Required, click OK.

22. When the installation is complete, click Close.

23. Restart the computer.

24. If you have a firewall in your environment, review the SQL Server Books Online topic, Configure the Windows Firewall to Allow Analysis Services Access.

 

Verify the SQL Server Installation

Verify that the Analysis Services Service is running.

  1. In Microsoft Windows click Start, click All Programs, and click the Microsoft SQL Server 2012 group.
  2. Click SQL Server Management Studio.
  3. Connect to the Analysis Services instance, for example [your server name]\POWERPIVOT. If you can connect to the instance, you have verified the Service is running.

 

 

Step 2: Configure Basic Analysis Services SharePoint Integration

Grant Excel Services Server Administration Rights on Analysis Services

You do not need to complete this section if during the Analysis Services installation; you added the Excel Services Application service account as an Analysis Services administrator.

  1. On the Analysis Services server, start SQL Server Management Studio and connect to the Analysis Services instance, for example [MyServer]\POWERPIVOT.
  2. In Object Explorer, Right-click the instance name and click Properties.

clip_image004

  1. In the left pane, click Security. Add the domain login you configured for the Excel Services Application.

clip_image005

In case you have already defined service accounts for PowerView and/or Performance Point Services, add them as well.

Configure Excel Services for Analysis Services integration

  1. In SharePoint Central Administration, in the Application Management group, click Manage Service Applications.
  2. Click the name of your service application, the default is Excel Services Application.
  3. On the Manage Excel Services Application page, click Data Model Settings.
  4. Click Add Server.
  5. In Server Name, type the Analysis Services server name and the PowerPivot instance name. For example MyServer\POWERPIVOT. The PowerPivot instance name is required.

Type a description.

  1. Click Ok.
  2. The changes will take effect in a few minutes or you can Stop and Start the service Excel Calculation Services.

Another option is to open a command prompt with administrative privileges, and type iisreset /noforce.

You can verify the server is recognized by Excel Services by reviewing entries in the ULS log. You will see entries similar to the following:

Excel Services Application            Data Model        27           Medium                Check Administrator Access ([ServerName]\POWERPIVOT): Pass.        f127bd9b-bae3-e0e0-9b48-3f7b5ad1eae6

Excel Services Application            Data Model        27           Medium                Check Server Version ([ServerName]\POWERPIVOT): Pass (11.0.2809.24 >= 11.0.2800.0).         f127bd9b-bae3-e0e0-9b48-3f7b5ad1eae6

Excel Services Application            Data Model        27           Medium                Check Deployment Mode ([ServerName]\POWERPIVOT): Pass.            f127bd9b-bae3-e0e0-9b48-3f7b5ad1eae6

Make sure you see the above entries, if not visible, your connection is not OK!!

 

1 comment:

  1. Good article, I got some info about Analysis Services Server in SharePoint Mode. Thanks for sharing
    sharepoint solution providers

    ReplyDelete