tableau日常管理

 各文件位置:

https://help.tableau.com/current/server-linux/zh-cn/cli_default_filepaths_tsm.htm

ldap配置:

https://help.tableau.com/current/server-linux/zh-cn/groups_create_ad.htm

 https://help.tableau.com/current/server-linux/zh-cn/ldap_config.htm 

 管理:

https://help.tableau.com/current/server-linux/zh-cn/manage_site.htm

tabcmd命令:

https://help.tableau.com/current/server-linux/zh-cn/tabcmd_cmd.htm

维护,关机等:
https://help.tableau.com/current/server-linux/zh-cn/monitor_maintenance.htm

论坛搜索:
https://www.tableau.com/search#t=community
TSM 中的文件和权限
https://help.tableau.com/current/server-linux/zh-cn/file_permissions_tsm.htm

日志位置:
/var/opt/tableau/tableau_server/data/tabsvc/logs/tabadmincontroller

常见问题和错误:

https://help.tableau.com/current/server-linux/zh-cn/troubleshoot_linux.htm

1/ 重启服务,登陆8850的后台管理

日常命令:

停止 Tableau Server:
tsm stop
重新启动 TSM 控制器:
sudo systemctl restart tabadmincontroller_0.service
等待几分钟,让控制器重新启动。您可以使用此命令确认控制器是否已重新启动:
tsm status -v
当您可以运行该命令并且 Tableau Server 管理控制器被列为“正在运行”时,控制器已重新启动。
启动 Tableau Server:
tsm start
#重启服务器时要手动停止服务:tsm stop , 然后关机就行了,开机时http服务,8850会自动起
若要重新启动 Tableau Server服务,请使用 tsm restart 命令。这将停止与 Tableau Server 关联的所有进程,然后重新启动这些进程。

如果您的计算机的主机名在安装之后更改,则 Tableau Server 可能无法启动

tsm查看:

[admin@bi-tableau-1 ~]$ tsm status
Logging in as user 'admin' since no --username flag was given.
Password:
Status: RUNNING

[admin@bi-tableau-1 ~]$ tsm version
Tableau Services Manager command line version 20183.18.1019.1426.
Tableau Server version 20193.19.0913.2225.

 
登陆到TSM服务器
tsm login   或 tsm login -u admin
 
文字乱码问题:

tableau文字乱码:
http://note.youdao.com/noteshare?id=35ab9a79d1040be165fc8d24643670dd&sub=B5D6FF644AD14687B3A3F30289127F50

查看系当前语言包
locale
查看系统拥有语言包

locale -a
(zh_CN.UTF-8是简体中文,如果没有zh_CN.UTF-8,就安装语言包,如果存在可以直接设置)

安装简体中文语言包
yum install kde-l10n-Chinese
设置为中文
临时修改,重启服务器之后就会还原之前的设置
LANG="zh_CN.UTF-8" #修改为中文
LANG="en_US.UTF-8" #修改为英文
永久修改就要把配置写入文件里面
方法(一)

vi /etc/locale.conf
##加下面内容到第一行,设置中文
LANG="zh_CN.UTF-8"

#查看用户操作哪个视图等

 #可根据实际情况来设置缓存:

运行此命令:

tsm data-access caching set -r <value>

其中 <value> 是以下选项之一:

low 或空字符串 ("")。这是默认值,指明 Tableau Server 应配置缓存,并在可用时始终使用缓存数据。
<value>。“<value>”指定应将数据缓存的最长分钟数。
Always 或 0(零)。这些值指明 Tableau Server 应始终获取最新数据,并在每次重新加载页面时应刷新缓存。
使用 tsm pending-changes apply 命令来应用更改。此命令将重新启动 Tableau Server。

#tableau服务器的日志文件:

https://help.tableau.com/current/server-linux/zh-cn/logs_loc.htm

/var/opt/tableau/tableau_server/data/tabsvc/logs/ 

#日志导出


tsm maintenance ziplogs -l -f TableauLog -m 10/16/2019

/var/opt/tableau/tableau_server/data/tabsvc/files/log-archives/TableauLog.zip
tsm maintenance send-logs -f <zip file name> -c <case number> -e <email address>

问题:

1/ 空间不够

 #如果您需要腾出更多空间,可以使用 tsm maintenance cleanup 命令移除 Tableau Server 日志文件、临时文件,以及 Tableau Server PostgreSQL 数据库的 http_requests 表中的行。

用软链接的方式更改默认目录:

cd /var/opt/tableau

cp -rp ./tableau_server   /data

ln -s  /data/tableau_server/  /var/opt/tableau/

原文地址:https://www.cnblogs.com/hongfeng2019/p/11536295.html