Wednesday, March 27, 2019

Enable access to the Tableau Server repository (Postgres) and update repository access job has failed

Users can connect to tableau server repository suing tableau desktop using 2 built-in user’s i.e tableau, readonly. For reading database tableau and in-depth analysis it is recommended to use readonly user.

Before you use readonly user you need to enable the access . In older versions you will be using “tabadmin” command and in newer versions you will be using “tsm”.

Users will be connecting to tableau repository using port 8060.

Run below command to enable repository access

tabadmin dbpass --username readonly <password>

or

tsm data-access repository-access enable --repository-username readonly --repository-password <password >

When enabling the "readonly" user access i have received error using TSM.

61% - The services failed to stop. 66% - Disabling database services.
72% - Waiting for database services to disable.
The update repository access job has failed.
or
66% - An error occurred while waiting for services to reconfigure.
73% - Disabling database services.
80% - Waiting for database services to disable.
The update repository access job has failed. 

I tried different ways but didn’t help. Finally I have stopped the services and ran the above TSM command and it executed successfully.

Steps:
stop tableau services using TSM
run the command - tsm data-access repository-access enable --repository-username readonly --repository-password <password > 
start tableau services using TSM

This operation will perform a server restart. Are you sure you wish to continue?
(y/n): y
Starting update repository access asynchronous job.
Job id is '8', timeout is 25 minutes.
5% - Enabling the maintenance app.
11% - Waiting for the maintenance app to start.
16% - Reading configuration.
22% - Putting the repository into local trust mode.
27% - Enabling the database services.
33% - Waiting for the database services to enable.
38% - Updating the roles in the repository.
44% - Taking the repository out of local trust mode.
50% - Updated pending configuration.
55% - Disabling all services.
61% - Waiting for the services to stop.
66% - Updating the configuration version on nodes.
72% - Waiting for services to reconfigure.
77% - Enabling all services.
83% - Waiting for the services to start.
88% - Reloading postgres configuration.
94% - Disabling database services.
100% - Waiting for database services to disable.
Successfully updated repository access.

Regards
Satishbabu Gunukula, Oracle ACE

4 comments:

  1. What a great post. It is a great source of enabling access to tableau server. I got everything easily with good explanation.

    ReplyDelete
  2. Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting, maybe we can see more on this. Are you aware of any other websites on this subject. access control system

    ReplyDelete
  3. SCERT Manipur 10th Class Question Paper
    State Council of Educational Research and Training (SCERT), Government of Manipur has Going to Conducted High School Public Exam 2023, SCERT Manipur 10th Class Question Paper This Every Year Thousands of Students Attended, SCERT Manipur 6th, 7th, 8th, 9th , 10th Date Sheet Pdf Format Available at official Website www.scertmanipur.nic.in. Manipur 6th, 7th, 8th, 9th , 10th Question Paper 2023 is Available here for Download in Hindi, English, Meitei (Manipuri) Medium Subject Wise PDF Format, Students with the help of Download Link given at the end of This Article Manipur 6th Class Question Paper

    ReplyDelete
  4. Enabling access to the Tableau Server repository allows users to Kid couture dresses & connect to the server and access Tableau content.

    ReplyDelete