Giter Site home page Giter Site logo

dliappis / elastic-stack-installers Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elastic/elastic-stack-installers

0.0 1.0 0.0 1.81 MB

Windows MSI packages for Elastic stack

License: Apache License 2.0

Shell 1.87% C# 71.51% PowerShell 26.62%

elastic-stack-installers's Introduction

Welcome to the Elastic Stack Installers!

Build status

This repository contains ElastiBuild and Beat Package Compiler. See Wiki for more information.

Reporting Problems

To report any problems encountered during installation, or to request features, please open an issue on GitHub and attach the MSI installation log if applicable.

For other questions of comments pleas refer to Elastic Forums. Please tag your question with windows-installer (singlular).

Capturing Logs:

msiexec /i "<full path to msi file>" /l!*vx "<full path to log file to be created>"

Please attach log file to the issue you create and provide as much information about your environment as you can.

For other general questions and comments, please use the Elastic discussion forum.

Building From Source

See ElastiBuild


NOTE: Building from source should only be done for development purposes. Only the officially distributed and signed Elastic Stack Installers should be used in production. Using unofficial Elastic Stack Installers is not supported.


Bumping version

After a patch release

Update version in Directory.Build.props in the branch for the related minor version (ex: elastic#183).

After a minor release

  1. Create a branch for the next minor release from the main branch
  2. Update the main branch:
    • Bump version in Directory.Build.props
    • Update catalog-info.yaml:
      • Add a new daily schedule for the new minor branch
      • Remove the daily schedule for the previous minor branch ex: elastic#156 and elastic#172

Agent

In case of problems during install / uninstall of agent, please refer to the Capturing Logs section which will enable troubleshooting.

Install

During the install flow, The MSI installer will unpack the contents of the MSI to a temp folder and then will call the elastic-agent install in order to:

  1. copy the files to the final destination at c:\Program Files\Elastic\Agent
  2. register the agent as a windows service
  3. enroll the agent into fleet

In order to complete step 3 above, the MSI installer shall receive command line arguments, passed with INSTALLARGS command line switch followed by ", for example:

elastic-agent.msi INSTALLARGS="--url=<fleet_url_with_port> --enrollment-token=<token>"

Note that the MSI will call the elastic-agent install command with -f (force) to avoid user interaction.

Uninstall

Similarly to the install flow (described above), the MSI will call the elastic-agent uninstall command, and it's possible to pass arguments using INSTALLARGS. One common use case is uninstalling an agent which has tamper protection enabled.

Upgrade

The Agent MSI doesn't support upgrade. Since the agents are fleet managed, upgrades shall be done using fleet (UI / API).

elastic-stack-installers's People

Contributors

jmlrt avatar davesys911 avatar alpar-t avatar mgreau avatar navyau09 avatar adamralph avatar amitkanfer avatar jlind23 avatar pierrehilbert avatar dolaru avatar jonahbull avatar elastic-backstage-prod[bot] 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.