Giter Site home page Giter Site logo

theinformationlab / tableau-server-auto-upgrader Goto Github PK

View Code? Open in Web Editor NEW
5.0 6.0 4.0 6 KB

Powershell script to auto upgrade Tableau Server to the latest release

Home Page: http://www.theinformationlab.co.uk/2015/12/09/auto-upgrade-tableau-server/

Batchfile 0.64% PowerShell 99.36%

tableau-server-auto-upgrader's Introduction

#### AUTO UPGRADER FOR TABLEAU SERVER ####

Thanks for downloading the Tableau Server auto upgrade script.

INSTALLATION

1. Open the UpgradeTableau.ps1 file with your favourite text editor.
2. Set the location of your Tableau Installation as $tabDir (this is the folder currently containing 9.0, 9.1, etc.)
3. Just in case something goes wrong the script will backup your Tableau Server before anything is uninstalled. Set the folder location where this backup should be stored as $backupDir
4. You're probably wanting to install 64 bit Tableau Server, if you want 32-bit simply change $bit to 32 ($bit = 32).
5. Save and exit

ONE OFF UPGRADE

If you'd just like to upgrade your Server to the latest version as a one off event simply run UpgradeTableau.bat or right click on UpgradeTableau.ps1 and click 'Run with Powershell'.

All outputs from your upgrade will be saved to $tabDir\UpgradeLog.txt

SCHEDULED UPGRADE

Want to make your upgrade more automated?

1. Open 'Task Scheduler' and in the Task Scheduler Library click 'Create Task'.
2. Under security options set to 'Run whether user is logged on or not' and tick 'Run with highest privileges'
3. If needed change the run as user account with the 'Change User or Group' button.
4. On the triggers tab create a 'New' trigger. This can be a one off event out of business hours or if you'd like your environment to always be up to date schedule the script to run every day (not recommended for production environments but great for dev/test)
5. On the actions tab create a 'New' action.
6. In the Program/script box enter: Powershell.exe
7. In the Add arguments box enter: -ExecutionPolicy Bypass D:\UpgradeTableau.ps1 (changing this last parameter to point to the location where you've extracted the UpgradeTableau.ps1 file
[Optional] You can append one of two switches to the end of the 'Add arguments' box (should you specify both -v will override -m)
  -m : Limit the upgrade to maintenance releases only within your current minor version. i.e. Should you have 9.1.3 installed and Tableau release both 9.1.4 and a new minor version (say 9.2.2) the server will only be upgraded to 9.1.4
  -v "x.x.x" : Specify the exact version you'd like to upgrade to by replacing x.x.x with the exact version number. e.g. -v "9.2.1"
8. Click OK, set any other task options as necessary and click OK to save the task. You should be asked to enter the run as user's password.

All outputs from your upgrade will be saved to $tabDir\UpgradeLog.txt

That's it!

If you'd like to keep up to date with everything Tableau from The Information Lab UK simply visit
http://www.theinformationlab.co.uk/blog

To signup for our newsletter go to
http://theinformationlab.us2.list-manage.com/subscribe/post?u=8954cfd70761b8c7fd5d8b528&id=fc1dab699f

tableau-server-auto-upgrader's People

Contributors

craigbloodworth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.