Giter VIP home page Giter VIP logo

ansible-server's Introduction

ansible-humio

Installer for Humio. Current features

  • Launch one Humio instance per CPU socket

Requirements

A running Zookeeper and Kafka installation.

Role Variables

humio_host_id: 0
humio_public_url: "http://{{ ansible_default_ipv4.address }}"
humio_socket_bind: "0.0.0.0"
humio_http_bind: "{{ ansible_eth0.ipv4.address }}"
humio_config:
  all: |
    AUTHENTICATION_METHOD=byproxy
    AUTH_BY_PROXY_HEADER_NAME=name-of-http-header
  "0": |
    HUMIO_HTTP_BIND={{ ansible_eth0_0.ipv4.address }}
  "1": |
    HUMIO_HTTP_BIND={{ ansible_eth0_1.ipv4.address }}
zookeeper_hosts:
  - ip: "{{ ansible_default_ipv4.address }}"
kafka_hosts:
  - ip: "{{ ansible_default_ipv4.address }}"

humio_total_memory_mb can be used to override the memory used by Humio. This defaults to using all memory available on the machine. The JVM memory settings will be determined automatically based on that number using our recommended formula. If you want more fine-grained control, you can set the JVM memory options individually. See the defaults/main.yml file for which variables to override.

Dependencies

Java must be installed. We recommend humio.java galaxy role.

Example Playbook

Ro run a singlenode Humio instance

- hosts: humios
  become: true
  roles:
    - role: humio.java
    - role: AnsibleShipyard.ansible-zookeeper
    - role: humio.kafka
    - role: humio.server

License

Apache 2.0

Author Information

If you're having issues with this module please to not hesitate to reach out to us on the #ansible channel on our Slack community team.

ansible-server's People

Contributors

hoover-hu avatar jespermbyskov avatar mwl avatar saaldjormike avatar schofield avatar somedatapacket avatar watsonian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-server's Issues

Invalid data path applied when no secondary storage configured

When no humio_data_secondary_path is configured, the server_n.conf file will collapse DIRECTORYandHUMIO_AUDITLOG_DIR` into a single parameter, i.e.

DIRECTORY=/var/humio/primary/1-0/dataHUMIO_AUDITLOG_DIR=/var/log/humio/0

This causes Humio not being able to start up because path is not writable

Add license file

README.md states license is "Apache", no license file found in repository and repo isn't labled.

Switch to using the Humio tar file and launcher script

I just merged a PR to master that publishes Humio as a tarball very similar to the Kafka distribution.

Once this goes out, I think we should update the Ansible scripts to install this tarball instead of the current fat jar.

Overriding autodetected NUMA node count.

A user ran into the case that humio_processes was autodetected to 16, which is too many for their host to handle.

Overriding that value is easy enough, but the underlying numanodes fact is also used for setting environment variables.

https://github.com/humio/ansible-server/search?q=numanodes

Maybe it would be easier for users to control if we had a variable in defaults/main for the ansible_local.numanodes array, so users could replace that as well?

Move humio_public_url

Currently the public_url is being defined in the server specific configuration, this should be in the server_all.conf instead. Setting the public url to the local ipv4 address should only be done in a single node deployment.

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.