Code Monkey home page Code Monkey logo

ansible-vertica's Introduction

#Vertica Installs Vertica either standalone or part of a cluster.

Tested with Vertica 7.x

##Requirements

  • vertica_ssh_key_location - location of where to create and place ssh keys for dbadmin
  • vertica_dbadmin_password - password to be used for dbadmin on the database mon

##Optional parameters

  • run_mode: One of Deploy, Stop, Install, Start, Logging, or Recover. The default is Deploy which will do Install, Configure, then Enable. 'Start' and 'Logging' can only be run after the database is created via Monasca-schema. Recover can be used to bring the vertica cluster back up from a failed state.
  • vertica_database_name: Database name for the vertica database. Must be the same as in set in Monasca-schema. Defaults to mon.
  • vertica_license - Production license key to use when creating the database. By default the role will use the community license.
  • vertica_use_apt: If True, vertica will be install from the apt repository. If False, it will be installed from the given local package. Default is False
  • vertica_version: If set and vertica_use_apt is True, then the given version will be installed

If the variables vertica_cluster and vertica_group are both defined the nodes will be setup to be in a cluster.

vertica_cluster is a common separated list of the group of nodes that you want to be apart of your cluster and vertica_group is set to that group from the ansible inventory file.

See the example playbook below.

Other notes

Vertica recommends setting the kernel disk scheduling algorithm to deadline. This can be done by adding the kernel bootparam "elevator=deadline" then restarting. This optimization is not done by the role.

This role does not create the database. That creation is in the role Monasca-schema

##Example Playbook

hosts: vertica
sudo: yes
roles:
  - {role: vertica,
     vertica_group="{{groups['vertica']}}",
     vertica_cluster="10.10.10.1,10.10.10.2,10.10.10.3",
     tags: [vertica]}

##License Apache

##Author Information Michael Hoppal and Tim Kuhlman Monasca Team email [email protected]

ansible-vertica's People

Contributors

craigbr avatar oneilcin avatar tkuhlman avatar

Watchers

 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.