由于公司连续两个月月底Tableau服务器过载崩溃,因此有了搭建Tableau服务器群集的想法.目前还在测试阶段,所以做一步写一步了.
目录:
一.安装和配置工作服务器
二.其他参考文档
一. 安装和配置工作服务器
在做操作之前可以先看官方的相关文档了解一下概念.
Improve Server Performance
http://onlinehelp.tableausoftware.com/current/server/en-us/perf_extracts_view.htm
1. 确保在主计算机上安装Tableau Server.
2. 停止主计算机的Tableau Server
"C:\Program Files (x86)\Tableau\Tableau Server\8.0\bin\tabadmin.exe" stop
此时可以查看一下服务状态
tabadmin status
3. 登陆Tableau官方下载相应版本的Tableau Worker .
注意:试用版无法做群集,下载了 Tableau Worker也没用
http://myaccount.tableausoftware.com/
4. 在想要添加到群集的其他计算机上安装Tableau Worker
5. 安装时输入主服务器的IP地址
6. Tableau Worker装好之后,在主计算机运行配置程序 (主机的服务仍然停止)
"C:\Program Files (x86)\Tableau\Tableau Server\8.0\bin\tabconfig.exe"
7. 在General选项输入用户名密码,然后在Server选项看点击Add.
注意:做群集两台机器一定要同一个域内,并且要用域账户启动服务, 每个计算机都要有相应权限,否则报以下错误
权限配置参考:
http://onlinehelp.tableausoftware.com/current/server/en-us/help.htm#runas_confirm.htm
8. 在弹出的对话框中输入相应的IP地址和所分配的进程数.
默认情况下,数据引擎、存储库和网关位于主服务器上。在另外一台服务器上运行这些进程或者将这些进程移出主服务器是配置高可用性的一部分。有关详细信息,请参见高可用性
9. 点击OK
10. 全部添加完毕之后再次点击’确定’.保存修改,然后启动主Tableau Server
"C:\Program Files (x86)\Tableau\Tableau Server\8.0\bin\tabadmin.exe" start
注意: 只有Worker上已经复制了 Data Engine才能将主服务器的Data Engine 去掉
二.其他参考文档
Change Logging Levels
http://onlinehelp.tableausoftware.com/current/server/en-us/logs_debug_level.htm
Remove Unneeded Files
http://onlinehelp.tableausoftware.com/current/server/en-us/tabadmin_cleanup.htm
Tableau Server Logs Folder is Too Large
http://kb.tableausoftware.com/articles/issue/server-logs-directory-too-large?lang=en-us
Migrate to New Hardware
http://onlinehelp.tableausoftware.com/current/server/en-us/upgrade_migrate.htm
Reinstall and Configure Worker Server
http://onlinehelp.tableausoftware.com/current/server/en-us/distrib_worker_reinstall.htm
Licenses and User Rights
http://onlinehelp.tableausoftware.com/current/server/en-us/licensing.htm
Import or Export a Site
http://onlinehelp.tableausoftware.com/current/server/en-us/sites_exportimport.htm
Maintenance Settings
http://onlinehelp.tableausoftware.com/current/server/en-us/maintenance_set.htm
Create Custom Administrative Views
http://onlinehelp.tableausoftware.com/current/server/en-us/adminview_postgres.htm
Embed Views into Webpages
http://onlinehelp.tableausoftware.com/current/server/en-us/embed.htm
Trusted Authentication
http://onlinehelp.tableausoftware.com/current/server/en-us/trusted_auth.htm
TCP/IP Ports
http://onlinehelp.tableausoftware.com/current/server/en-us/ports.htm
Archive Logs on Maintenance Page (Snapshot)
http://onlinehelp.tableau.com/current/server/en-us/maintenance_generatelogs.htm