Yeah... It's been a year, would be nice to see this answered.
Many of the trusted host settings can be found in the workgroup.yml file.
You can find it in C:\ProgramData\Tableau\Tableau Server\config\tabsvc.yml
There is no directory structure that this matches...
However, this directory matches C:\ProgramData\Tableau\Tableau Server\config\tabsvc.yml
and there is not such file..
When you issue the following commands:
tabadmin set wgserver.trusted_hosts "18.104.22.168"
Is there an additional step for saving the config between the config and start command?
Ive also seen a reference to not tabsvc.yml that holds this data but workgroups.yml which also is not found in the installation.
Is there another file perhaps?
A little further Digging and this list can be generated quite easily.
tabadmin configure -o "c:\SomeFileName.yml"
This wgserver.trusted_hosts parameter is in this file for reference.
wgserver.trusted_hosts: 22.214.171.124, 126.96.36.199
Some additional help...
- From the help for tabadmin configure:
C:\Windows\system32>tabadmin configure -h Usage: <script> configure [options] Update the configuration of Tableau Server. By default this creates the entire data/<config_name>/config directory, with the master service configuration (workgroup.yml) and other configurable files. Command options: -o, --output FILE Write the main configuration to FILE and exit. -d, --write-defaults FILE Write the default configuration to FILE. -v, --verify FILE Verify the configuration. --upgrade Upgrade the service configuration to the current version. -w, --suppress-warnings Use with the --verify option to suppress warnings about invalid values that are ignored in favor of the defaults. Global options: -h, --help Display <script> help. -c, --config CONFIG_NAME Use the specified service configuration.
- You can also use the following:
tabadmin get wgserver.trusted_hosts
Here's the help for the tabadmin get command:
C:\Windows\system32>tabadmin get -h Usage: <script> get <parameter> Get the value of a configuration parameter. If the value of the parameter is encrypted, the command will decrypt the value and return plain text. If not, the command just return that value. Command options: Global options: -h, --help Display <script> help. -c, --config CONFIG_NAME Use the specified service configuration.
- Using Agent Ransack here's my list of .yml files...seriously, how hard is it to search for a filename???:
That is a bit more specific and a better use of tabadmin.
Once I entered tabadmin command for trusted auth hosts I still did not see the workgroup.yml file or the tabsvc.yml. Simple cause was I was looking in the C:\Program Files\Tableau\Tableau Server\9.2\ and gave no consideration to the C:\ProgramData\Tableau\Tableau Server\ or finally the C:\Users\All Users\Tableau\Tableau Server\config directories. This I see is where I found the tabsvc.yml and the workgroup.yml. Further, the files did not seem to be created at the point I searched but I dont know that to be completely accurate.
Your installation is on D: and that was the push that made me aware, thank you.
You being an administrator can empathize with new users in the environment and I appreciate the time you took to be explicit in your response..
Thank you for the lesson and the help Toby.