---
schema_version: "1"
id: c2288033f841d751e0e584849a680117e5e941a0f762112034ab978bdb07e617
title: 步骤 1（新安装）：安装包含 Tableau Prep Conductor 的 Tableau Server
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/server/prep_conductor_new_install.md
canonical_url: https://help.tableau.com/v0.0/server/zh-cn/prep_conductor_new_install.htm
source_site: help.tableau.com
content_type: documentation
content_hash: f3489ec9cd44af88862f9f48798334d912419aa3ebb0909856a3865ae30b473d
description: Install Tableau Server with Tableau Prep Conductor on a new installation.
---
[跳转到主要内容](#main-content)

# 步骤 1（新安装）：安装包含 Tableau Prep Conductor 的 Tableau Server

本主题介绍如何在新安装的 Tableau Server 上安装 Tableau Prep Conductor。

仅 Tableau Server 2019.1 或更高版本支持 Tableau Prep Conductor。

Tableau Prep Conductor 通过 Data Management 在每次部署时获得许可。部署包括许可的生产 Tableau Server 安装和许可的非生产 Tableau Server 安装（支持生产安装）。有关部署的详细信息，请参见 [Tableau 部署指南](https://help.tableau.com/current/desktopdeploy/zh-cn/desktop_deploy_welcome.htm)。

## 安装之前

用于生产 Tableau Server 安装的推荐拓扑是用于运行流程的专用节点。如果当前打算安装单节点 Tableau Server，则建议您添加第二个节点并将其专用于运行流程。

- 查看T ableau Server 和 Tableau Prep Conductor 的硬件建议。
    - 在 Windows 上安装 [Tableau Server 的最低硬件要求和建议](https://help.tableau.com/current/server/zh-cn/server_hardware_min.htm)。
    - 在 Linux 上安装 [Tableau Server的最低硬件要求和建议](https://help.tableau.com/current/server-linux/zh-cn/server_hardware_min.htm)。

## 安装 Tableau Server 并启用 Tableau Prepare Conductor

使用以下主题中提供的说明安装 Tableau Server。

[Windows：安装 Tableau Server](https://help.tableau.com/current/server/zh-cn/jumpstart.htm)

[Linux：安装 Tableau Server 主题](https://help.tableau.com/current/server-linux/zh-cn/jumpstart.htm)

进入“**激活**”步骤时，使用 Tableau Server 产品密钥来激活 Tableau Server。

所有产品密钥均通过[客户门户](http://customer.tableau.com/)提供。

### 配置公共网关设置

如果您的 Tableau Server 设置具有以下各项之一：

- 负载平衡器，用于跨网关分发请求。
- 反向代理，用于验证外部 (Internet) 客户端请求和卸载基于 SSL 的加密。

您必须配置以下公共网关设置：

`tsm configuration set -k gateway.public.host -v <name>` （这应该是用户用于访问 Tableau Server 的 URL）

`tsm configuration set -k gateway.public.port -v 443`

有关配置网关设置的详细信息，请参见[为 Tableau Server 配置代理](https://help.tableau.com/current/server/zh-cn/proxy.htm#configure-tableau-server-to-work-with-a-reverse-proxy-server)。

### 启用 Tableau Prep Conductor

使用以下步骤将 Data Management 产品密钥添加到 Tableau Server。此过程需要重新启动 Tableau Server。

**注意**：如果您使用基于内核的许可，则必须将 Data Management 产品密钥和资源内核产品密钥应用于 Tableau 部署。第一个密钥允许通过 Tableau Prep Conductor 在 Tableau Server 上运行流程，第二个密钥为 Tableau Prep Conductor 节点添加其他内核。所有产品密钥均通过[客户门户](http://customer.tableau.com/)提供。

1. 如果已将运行 Tableau Server 的计算机配置为通过转发代理连接到 Internet，请按照[使用转发代理配置产品密钥操作](https://help.tableau.com/current/server/zh-cn/activate_proxy.htm)主题中的过程进行操作，然后再继续。
2. 在浏览器中打开 TSM：
    
    `https://<tsm-computer-name>:8850`
3. 在“配置”选项卡上单击“许可”，并单击“激活许可证”。
4. 输入或粘贴 **Data Management 产品密钥**，并单击**“激活”**。
5. 在“注册”页面上的字段中输入您的信息，然后单击“注册”。
6. 注册完成后，按照提示进行操作并重新启动 Tableau Server。

### 验证 Tableau Prep Conductor 是否已启用并正在运行

激活 Data Management 产品密钥后，将在启用了后台程序的任何节点上自动启用 Tableau Prep Conductor 的单个实例。

**使用以下步骤验证是否其已启用并正在运行：**

1. 打开浏览器并输入 Tableau Server URL，然后附加专用 TSM Web UI 端口。URL 看起来可能与下面一些示例类似：
    
    https://localhost:8850/（如果直接在服务器计算机上工作）
    
    https://MarketingServer:8850/（如果您知道服务器名称）
    
    https://10.0.0.2:8850/（如果您知道服务器的 IP 地址）
    
    在出现的登录页面中，输入您的管理员用户名和密码。
    
    **注意：**Tableau Server 会在安装过程中创建和配置自签名证书。此证书用于对进入 TSM Web UI 的流量进行加密。由于它是自签名证书，因此您的浏览器默认情况下将不会信任它。因此，您的浏览器将在允许您连接之前显示一条警告，指明证书的可信度。
2. 在 Tableau 服务管理器 Web 界面中，单击“**状态**”选项卡以查看状态。
    
    - 如果 Tableau Prep Conductor 已启用并正在运行，您应会在进程列表中看到 Tableau Prep Conductor，并至少在一个节点上显示为“**活动**”。如果未启用 Tableau Prep Conductor，您将在进程列表中看到 Tableau Prep Conductor，但没有任何节点的状态信息。
        
        **Tableau Prep Conductor 未启用：**
        
        ![Tableau Prep Conductor 未启用](/tableau/next/zh-cn/server/zh-cn/Img/prep_conductor_TPC_disabled_multinode.png)
    
    **Tableau Prepare Conductor 已启用并正在运行。在下图中，Tableau Prep Conductor 已在节点 1 和节点 3 上启用：**
    
    ![Tableau 服务管理器 Web 界面的“状态”选项卡，显示 Tableau Prep Conductor 已启用并正在运行。](/tableau/next/zh-cn/server/zh-cn/Img/prep_conductor_TPC_enabled_multinode.png)

## 将节点专用于 Tableau Prep Conductor

在打算专用于运行流程的节点上，如果尚未启用后台程序进程，请启用该进程。建议您不要在此节点上运行诸如 VizQL 服务器之类的其他进程。

由于您将此节点专用于运行流程，因此必须配置后台程序以仅运行流程任务。默认情况下，后台程序进程运行所有类型的任务，包括流程、数据提取刷新和订阅。有关详细信息，请参见 [Tableau Server 上的节点角色](https://help.tableau.com/current/server/zh-cn/server_node_roles.htm)。

在专用节点上运行以下 tsm 命令以仅运行流程任务：

1. 运行以下命令以允许此节点上的后台程序只运行流程任务。
    
    `tsm topology set-node-role -n node1 -r flows`
2. 将初始节点上的节点角色设置为无流程。此节点上的后台程序将运行除流程之外的所有作业：
    
    `tsm topology set-node-role -n node1 -r no-flows`
3. 应用更改并重新启动 Tableau Server：
    
    `tsm pending-changes apply`

### 多节点安装

如果 Tableau Server 安装中有 2 个以上的节点，则可以选择将其他节点配置为运行除流程之外的所有任务：

1. 限制节点以不允许流程。此命令从此节点移除 Tableau Prep Conductor，此节点上的后台程序将不会运行流程任务。
    
    `tsm topology set-node-role -n node1 -r no-flows`
2. 应用更改并重新启动 Tableau Server：
    
    `tsm pending-changes apply`

## 后续步骤

[步骤 2：配置 Tableau Server 的流程设置](https://help.tableau.com/v0.0/server/zh-cn/prep_conductor_configure_server_site_settings.htm)

### 谁可以执行此操作

服务器管理员可以安装 Tableau Server 并启用 Tableau Prep Conductor。