PowerPivot 服务应用程序

在 SharePoint 2010 体系结构中,服务应用程序是在场中各站点上共享的场级资源。它向在应用程序服务器上运行的一个或多个服务提供端点。Access Database Services、Business Data Connectivity 和 Excel Calculation Services 是通过在您部署服务时必须创建的服务应用程序访问的所有服务示例。在 PowerPivot for SharePoint 安装中,PowerPivot 系统服务也要求一个服务应用程序。该服务应用程序为查询和管理场中的 PowerPivot 数据提供运行时上下文。

本主题包含以下各节:

如何创建和配置 PowerPivot 服务应用程序

如何在场中使用 PowerPivot 服务应用程序

PowerPivot 应用程序数据库

如何创建和配置 PowerPivot 服务应用程序

当您使用“新服务器”安装选项安装 SQL Server PowerPivot for SharePoint 时,系统将自动创建并配置一个 PowerPivot 服务应用程序。否则,场管理员或服务管理员在场中部署 PowerPivot for SharePoint 时,必须在 SharePoint 管理中心作为安装后步骤手动创建 PowerPivot 服务应用程序。

若要为 PowerPivot 系统服务提供运行时上下文,您必须具有至少一个 PowerPivot 服务应用程序。该服务应用程序指定与 PowerPivot 系统服务相关联的服务标识和配置设置。该服务应用程序将使用自己的内部数据库来存储与数据刷新计划有关的信息、为报告目的而收集的使用情况数据以及场中当前正使用的 PowerPivot 数据文件的状态。

尽管只需一个服务应用程序就可以实现 PowerPivot 查询处理,但您可以创建其他服务应用程序,以便在 PowerPivot 管理面板中单独管理它们或者支持不同的配置。例如,您的组织可能具有数据保密性要求,其中,各部门要求自己的应用程序数据不显示给其他部门。在此情况下,如果为每个部门创建单独的服务应用程序,将有助于通过在管理面板中为每个服务应用程序单独显示管理数据来满足上述数据保密性要求。

有关如何创建服务应用程序的详细信息,请参阅创建和配置 PowerPivot 服务应用程序

如何在场中使用 PowerPivot 服务应用程序

PowerPivot 服务应用程序向 PowerPivot 系统服务提供端点。它在部署了 PowerPivot for SharePoint 的应用程序服务器上运行。在场中具有多个 PowerPivot 服务器的扩展部署中,单个服务应用程序将可用于所有物理服务器。

为了使服务应用程序可用于场中的 Web 应用程序和网站集,SharePoint 2010 体系结构提供服务关联列表。服务关联列表是 Web 应用程序可使用的共享服务的集合。有一个可由许多 Web 应用程序使用的默认列表,或者为单个 Web 应用程序专门创建的自定义列表。服务关联列表可以包括场中任何或所有共享服务,包括 Excel Calculation Services、安全存储区服务和 PowerPivot 服务应用程序。

为了使 PowerPivot 查询处理可用于场中的各站点,您应该将 PowerPivot 服务应用程序添加到默认或自定义服务关联列表中。如果您创建多个 PowerPivot 服务应用程序以便改变配置或隔离数据,则必须创建自定义服务关联以便确保 Web 应用程序使用您创建的特定 PowerPivot 服务应用程序。

应始终在默认连接组中包括一个 PowerPivot 服务应用程序。为您添加的任何新的服务应用程序使用自定义服务关联。在默认连接组中具有 PowerPivot 服务应用程序是管理中心中的 PowerPivot 管理面板所必需的。管理中心仅将默认连接列表用于其服务关联。如果某一 PowerPivot 服务应用程序不在该列表中,该面板将不会正确工作。

有关 PowerPivot 查询请求如何流过场的详细信息,请参阅 PowerPivot 系统服务。有关如何向服务关联列表添加 PowerPivot 服务应用程序的详细信息,请参阅将 PowerPivot 服务应用程序连接到 SharePoint Web 应用程序

PowerPivot 应用程序数据库

每个 PowerPivot 服务应用程序都将应用程序数据和计划存储在一个 SQL Server 关系数据库中。应用程序数据包括数据刷新计划、使用情况数据以及在系统中加载或缓存的 PowerPivot 数据。应用程序数据由 PowerPivot 服务应用程序在内部使用。服务应用程序数据库不存储内容文件。PowerPivot 数据存储在内容数据库存储区的 Excel 工作簿中。