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 stop tsm pending-changes applytsm startTableau Server 2018.1 及舊版:
netsh interface ipv6 set global randomizeidentifiers=disablednetsh interface ipv6 set privacy state=disabledtabadmin stop tabadmin 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.