Presentation is loading. Please wait.

Presentation is loading. Please wait.

Implementing Tableau Server in an Enterprise Environment

Similar presentations

Presentation on theme: "Implementing Tableau Server in an Enterprise Environment"— Presentation transcript:

1 Implementing Tableau Server in an Enterprise Environment
Today Jeff Solomon and I will talk about getting Tableau Server set up in an enterprise environment, and all of the features of Server 5.0 that make it as good for the enterprise as it is for the small team environment. Along the way, we’ll call out specific tips for you to keep in mind as you plan your enterprise deployment, or as you grow into an enterprise situation from a smaller team. The talk is geared toward the system owner here, someone who wants to know more details. Andrew Beers and Jeff Solomon Tableau Software

2 From workgroup… In the beginning: a product for workgroups:
Collaboration aid for teams working with data Easy publish + share workflow Ease of deployment Something a business user can maintain Three years ago, Tableau Server was envisioned as a product for workgroups. We had this great product for quickly doing ad-hoc visual analysis, and we wanted a product that would allow teams of people to collaborate around this data. We also wanted to keep it easy, which means it had to be easy to take a Tableau workbook and share it up to the intranet so other people could view these interactive views of data with just a browser. And, it had to be easy to deploy so that the business user who is often the champion for an analytics project could set this up and have a whole team of people benefit from it. Tableau customers, of course, came from businesses large and small, and some of you started to put Server into larger enterprises.

3 …to enterprise Enterprise-class features added:
Integration and automation Scalability Managing data Scheduling Analysis / monitoring Over time, responding to these needs, a whole suite of enterprise-level features emerged, and that’s the focus for today. Features around integration and automation allow Server to coexist with other systems in the enterprise, and allow you to programmatically perform some operations on Server. Server 5.0 makes some dramatic improvements in scalability, which is clearly important for larger businesses. Managing data is a key need for enterprises. In the analytics space, this often entails setting up shared models of the data under analysis that multiple analysts in the enterprise can leverage. When working with large data, scheduling can become important and we’ll get into the details on just what that means a little later. Finally, being able to introspect on Server to monitor what it is doing can be key to the maintenance (need to figure out what the message is here)

4 Related talks “Understanding and Improving Server Performance” (Thu 9:45am) “Making Any Data Fast: Tips, Tricks & Extracts” (Wed 3:15pm) “Extracts: Fast Data to Go” (Thu 11:00am) There are a few related talks that you might want to try to see if you are interested in learning more about Server. Tomorrow morning at 945, Alan Doerhoefer and Tim Hanson from the Tableau Server team will be talking about how to understand and improve server performance which will be a more thorough exploration of the scalability topic we’ll cover soon. Later this afternoon at 3:15pm, Tableau’s Marc Reuter will be giving a hands-on session on how to use extracts to improve the speed of some analysis. When we talk about managing data later, you’ll see why this hands on will be valuable. Finally, Thursday morning, developers Matthew Eldridge and Richard Wesley will talk in depths about the improvements to extracts and how they both increase analytical power and improve performance for large datasets, which can be a real benefit for enterprise deployements.

5 Tableau Server is a server-based application for sharing and collaboration around Tableau views of data. Tableau Server Primer

6 Tableau Server Primer Publish a Tableau Workbook…
Tableau Desktop users can publish their analytical findings (workbooks) to Tableau Server.

7 Tableau Server Primer …to a Tableau Server instance for Sharing.
Other people can then log into a browser-based Tableau Server experience and interact with these published views of data using only their browser.

8 Tableau Server Primer Web-based interaction with Tableau views.
People can collaborate on these views, commenting on them, tagging them, sharing their own versions of the views, etc.

9 Tableau Server Primer Collaborate through discussions, tags, and customizations.

10 Tableau Server Primer Control access and interactive capabilities
Tableau Server also provides access control via permissions that can be set on each published workbook or data source, defining who can see them and what operations they can perform on them. And, of course, search is well integrated, letting people find the views that they are looking for. It is also valuable to Tableau Desktop users – published workbooks can be later retrieved by someone else, updated, and republished. Tableau data sources can also be published, allowing a set of people analyzing data to use a common set of calculations, color encodings, etc. We’ll talk about why you want to use this capability a bit later.

11 Integration and Automation
Now, onto the features of Tableau Server 5.0 that make it work well in the enterprise. First, is Integration and Automation

12 Authentication Local authentication
Easiest – manage users, passwords, groups in Server No integration We can automate management of this somewhat Active Directory Simple configuration Browser auto-login First let’s touch on authentication. The most basic way to control who has access to Tableau Server involves what we call “local” authentication. In this scenario, you enter usernames and passwords for everyone you want to have access to Server. There’s no integration with your systems, but it is easy. With 5.0, we can automate this somewhat, we’ll talk about that in a few slides. For enterprise deployments, it’s common to use Active Directory based authentication. In this scenario, usernames and passwords are maintained on a central server maintained by your IT department. To grant people access, you simply enter their name. They can use their existing Windows password to log in to Server. Setup is also a breeze – simply enter the domain name for the Active Directory server and you are done – we often can automatically enter this value into the configuration screen for you as well!

13 Multiple domain support
Large organizations may have multiple AD domains: widgetco (WIDGET) it.widgetco (IT) sales.widgetco (SALES) ops.widgetco (OPS) In enterprises, sometimes there are multiple Active Directory domains. Typically these are set up by department or location. Here’s an example for a fake company named widgetco. They have a main domain named WIDGET, and three departmental domains for the IT, sales, and operations department. IF these domains have what is called a two-way trust established between them, then Server can support accounts in all of the domains. Simply enter the username with the domain associated with it for one, or more domains, and they’ll all appear in the Tableau Server user list. So integration with a more complicated Active Directory structure is also easy with Tableau Server, which will ease deployment across large organizations.

14 Multi-domain support

15 Multi-domain support

16 Multi-domain support

17 Embedding into other applications
Easy to place a Tableau view into other web applications SharePoint web part Easy HTML code to embed elsewhere: <iframe src=“ width=“400” height=“600”> </iframe> Embedding flexibility: AD or non-AD-based authentication Dynamic filtering of embedded view Linking to other web applications Another way Tableau Server integrates with applications in your enterprise is through embedding. With embedding, you can insert a fully interactive Tableau view into another web application by including just a little bit of HTML code, an example of which is on screen. You just need the URL of the view that you want to embed, plus that :embed=y text after it, and you can place this into another application. If you are using Active Directory authentication, this is really easy, as your browser can automatically log into Server for you and display the view without asking for a password. If you aren’t, it can still work through something called Trusted Authentication, which we talked about last year. Catch me after the talk and I can fill you in on the details, and point you to some other good information on it.

18 Automation New command-line tool: tabcmd.exe
Allows scripting of common administrative tasks: User/group management Publishing workbooks Retrieving information from the server Applications: Bulk loading users or modifying groups Moving workbooks between servers Nightly image delivery Tabcmd is a new tool for Server administrators. It is a command line tool that allows you to automate some common administrative tasks on Server. You can use this to add accounts or groups to Server in bulk, or to sync users and passwords from another system when you are using local authentication. If you have multiple Tableau Servers, you could use tabcmd to publish workbooks to each server so they stay synchronized. You can even use tabcmd to fetch an image of a view automatically. Note that you can run this command from anywhere, you don’t have to be on the server machine.

19 Demo Creating new users Adding users to a group Publishing a workbook
Getting a view as an image tabcmd login -u workgroupadmin -s tabcmd createusers users.csv tabcmd createusers users-updated.csv tabcmd creategroup Sales tabcmd adduser Sales --users sales-group.csv tabcmd get /views/Wow/StormStatistics-f view.png start view.png

20 Demo: tabcmd Deliver the downloaded image by email:
Finally, you could take this image and have it delivered by to deliver nightly reports. Here’s an example that I use regularly – I get a nightly report of the state of bugs for the products that we develop.

21 Takeaways Active Directory integration Automation with tabcmd
Easy configuration, best experience across enterprise Easy multiple domain for large organizations with two-way trusts Auto-login, embedding a snap Automation with tabcmd User maintenance Reporting? Embedding and linking Simple iframe-based embedded for your web applications Control the view via filtering, link to other apps So, here we’ve seen that for a good integration experience, Active Directory-based authentication offers the most seamless experience, and it’s pretty easy to configure. Even more complicated AD setups are easy to integrate with Server when two-way trusts exist between the domains. AD also allows for auto-logon which makes embedding views a snap. We’ve also seen how you can use tabcmd for user maintenance tasks, and to set up some simple reporting. Finally, embedding blah blah blah

22 Next let’s briefly touch on security
Next let’s briefly touch on security. When sharing things in an enterprise environment you need to be able to define what people can see and do with the published data. Security

23 Permissions

24 Demo Defaults for permissions

25 SSL

26 Takeaways Use permissions to craft who can do / see what
Secure sensitive underlying data from prying eyes Prevent workbook downloads for those who don’t need it Use projects to segment workbooks & set defaults One set of permissions / project is easiest to manage SSL supported if you are really concerned with privacy Even without SSL, passwords always encrypted

27 Scalability

28 Server 4.x: Single-machine Architecture
Tableau Server 4.x was composed of a set of services on a single machine… Tableau Server Data Sources HTTP Server Web App VizQL Server Web App In prior versions of Tableau Server, it consisted of several services. These services served up interactive views, allowed logged in users to browse lists of views or conduct searches. But, you were limited to running these services on a single machine. Search Tableau Professional Repository

29 Server 5.0: Distributed architecture
Tableau Server Web Browser From this in version 4 Tableau Server Web Browser To this in version 5 In 5.0, this same architecture can be distributed over several machines, spreading the load out and allowing you to scale to a larger number of users. The same services are there, but you can now run many copies of them on independent hardware. One machine, called the primary, controls the entire cluster of machines. We still wanted this to be easy to set up. Let’s add a machine to the cluster. Show status of single machine Bring up config, add machine to the cluster Show status of multi-machine configuration.

30 Easy configuration

31 Easy configuration

32 Easy configuration

33 Takeaways Server 5.0 can scale to multiple machines
Easy to add and remove machines to the cluster Out-of-the box For more information: “Understanding and Improving Server Performance” (Thu 9:45am)

34 Managing data

35 Sharing data models Tableau Server can act as a data source repository for desktop users Admin: publish data sources Users: download data sources and build then publish workbooks with them Any changes to the data source is reflected automatically in dependent workbooks if the user so chooses Demo Datasource already on server (connection to data and all the data modeling around it) Blank desktop: import ds, create simple view with calc, publish to server, point out calc on vis Close desktop Import ds, change calc slightly, publish back to server Open workbook from server, explain what happens when you hit OK on the dialog that wants to update the ds Fund manager trying to make sure all the analysts look at the stock data in the same way. The simple example is we have two groups of stocks. One hat Is the fund manager and the other hat is the analyst.

36 Managing credentials Remember passwords for each user, self-service
Author publishes passwords – keeps DB passwords secret from users put provides access via Tableau views Credentials are stored and transmitted encrypted See Settings section on Server Maintenance page Connection dialog authentication Explain run-as user support – how does server know the credentials when connecting to a datasource? On desktop – either your windows credentials or you type in a username and password. On server, either the run-as user, or a supplied username and password. The supplied username/password is either typed by the viewer or can be embedded in the wb so that viewers don’t need to know it or type it in. That setting is controlled here.

37 Managing connections Updating published credentials in bulk (plus other properties of data sources)

38 Extracts review Why publish with extracts? Can be faster
Can take load off database servers However… Data is no longer live Can be expensive to update Updating extract data in 4 because it required a wb republish – that is bad because it required the author to wait for the extract to be regenerated and it also required that the publisher republish Version 5 addresses both of these problems.

39 Extract storage engines
By default, extract storage is off (4.x behavior) Less memory & faster than Tableau 4.x extracts Built-in vs. external Built-in is completely black box for users External can be dedicated hardware PostgresSQL MySQL Microsoft SQL Server Refreshable Published extract files are expanded into a shared database Tableau Server Web Browser Internal is backed up for users External must be backed up by user, their responsibility Difference between extract engine and in process fb (speed, multiple copies)

40 Configuring extract storage engines

41 Scheduled updates to extracts
Admin-defined schedules Centralized scheduling Admin knows when it is best to load DB servers Old data available during extracts – when done, immediately available Downloaded workbooks have refreshed data Demo When to run extracts is an enterprise wide decision. We need to refresh the extracts at 3am because the datawarehouses in Shanghai update at 2am. Centralized scheduling controlled by admins because they know when it’s best to load server, publishers and admins assign wbs to schedules, but only admins can create schedules. Go to schedules maintenance page Create a new schedule Go to a workbook that’s already published and quick to re-extract Add it to a schedule, show it on the task page Schedule it to run now

42 Analysis and Monitoring

43 Built-in monitoring Analysis views from the Maintenance page Demo
Server Activity Task History

44 DIY monitoring You can build your own analysis views Nominally at:
DB type: PostgresSQL Host: localhost:8060 Database: workgroup Username: tableau Password: set with “tabadmin dbpass <password>” Only permission to access relations starting with “_” Demo Demo: use desktop to connect to a running server, create a view of something interesting Off by default enabled with tabadmin dbpass <passwd>

45 Summary takeaways Integration, automation, security
Active Directory for cross-enterprise authentication tabcmd tool for user management automation Embed views into other web applications Permissions on projects for defaults Use SSL for heightened security Scalable to multiple servers Managing data Publish data sources to establish common data models External extract storage for performance Schedule refreshes of extracted data Build you own monitoring views

46 Thanks!

Download ppt "Implementing Tableau Server in an Enterprise Environment"

Similar presentations

Ads by Google