Tableau Server 需要静态 IPv4 或 IPv6 地址。如果群集启用了临时 IPv6 地址(动态地址),您可能会注意到不良症状。
如果运行 Tableau Server 群集,并且一个或多个服务器启用了临时 Pv6 地址,您可能会注意到以下一类或多类症状。
如果主 Tableau Server 启用了临时 IPv6 地址,则运行数据引擎和/或存储库的工作服务器的进程可能会有红色的停机状态。这是因为它们无法与主服务器通信。例如,在下图中,TAB-SERVER 启用了临时 IPv6 地址,但 TAB-WORKER 未启用:
如果一个或多个工作服务器启用了临时 IPv6 地址(但主服务器未启用),您可能会为任何服务器看到红色的停机状态图标,但在工作服务器尝试与主 Tableau Server 上的服务通信并失败时,您将在日志文件中看到连接错误。
下面是在主 Tableau Server 或 Tableau 工作服务器启用了临时 IPv6 地址的情况下可能写入到 Tableau Server 日志文件的错误的示例。
数据引擎连接错误
运行数据引擎的服务器的日志文件 (ProgramData\Tableau\Tableau Server\data\tabsvc\logs\dataengine\tabspawnde0.log) 中可能会出现类似于如下消息:
2013-10-23 16:02:41.234 -0700 ERROR root: connection to database failed
产生数据引擎的进程无法查询 Tableau 的 PostgreSQL 数据库来确定哪个是活动数据引擎,以及哪个是备用数据引擎。此信息位于以下位置中:ProgramData\Tableau\Tableau Server\data\tabsvc\logs\dataengine\tdeserver0_<date_and_time>.log。例如,在日志文件中,您可能会看到类似于如下消息:
2013-10-24 10:57:40.345 (6056): tdeserver: connection failed (IPC_Server_Socket: whitelist exclusion, peer=1234:113:f00b:2108:f51d:2101:c67c:ea97:12345)
存储库访问错误
运行存储库的服务器的日志文件 (ProgramData\Tableau\Tableau Server\data\tabsvc\logs\pgsql\postgresql-<Day>.log) 中可能会出现类似于如下消息:
2013-10-24 10:53:01.112 PDT 5444 FATAL: no pg_hba.conf entry for host "1234:113:f00b:2108:f51d:2101:c67c:ea97", user "tblwgadmin", database "workgroup", SSL off
临时 IPv6 地址是某些 Windows 操作系统(包括 Tableau Server 支持的许多操作系统)的一项功能。 如果计算机启用了临时 IPv6 地址,其 IPv6 地址会随时间发生变化。
这项 Windows 功能对 Tableau Server 产生影响,因为 Tableau Server 在内部依赖于静态 IP 地址来与群集中的工作服务器通信,或与为受信任的身份验证配置的环境中的受信任主机通信。换句话说,即使您可以使用计算机的名称而不是其静态 IPv4 地址在 Tableau 中执行某些类型的配置(例如向工作服务器标识主 Tableau Server,或者相反),但计算机的 IP 地址必须是静态地址。
netsh interface ipv6 show privacy如果看到 Use Temporary Addresses 的状态为 enabled,则计算机启用了临时 IPv6 地址。
Tableau Server 2018.2 及更高版本:
netsh interface ipv6 set global randomizeidentifiers=disablednetsh interface ipv6 set privacy state=disabledtsm stoptsm pending-changes applytsm startTableau Server 2018.1 及更低版本:
netsh interface ipv6 set global randomizeidentifiers=disablednetsh interface ipv6 set privacy state=disabledtabadmin stoptabadmin configtabadmin start001473413

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.