lean_delivery.solr_standalone

Solr Installation Guide

Overview

This guide covers how to install and configure Solr (versions 7.x and 8.x) on different operating systems, including CentOS, Ubuntu, and Windows.

Main Features

  • Installation: Set up a standalone Solr instance.
  • SSL Configuration: Secure connections for Solr versions 7.x and 8.x.
  • Authentication Setup: Configure user access for Solr.
  • Supported Versions: Solr versions from 6.x to 8.x are supported, with the latest tested being 8.0.0.

For complex setups like master/slave configurations or integrating with SAP-Hybris, you'll need specific roles.

Requirements

  1. Ansible: Minimum version 2.7 is required.
  2. Java: Must use Java 8.
  3. Supported Operating Systems:
    • CentOS: Version 7
    • Ubuntu
    • Debian
    • Windows: Various versions, including Windows Server 2008/2012/2016/2019 and Windows 7/8/10.

Role Variables

You can customize the installation using variables like:

  • solr_version: Choose the version of Solr (default: 8.0.0).
  • solr_host: Set the server name (default: uses the full domain name).
  • solr_port: Configure the port for Solr (default: 8983).
  • solr_user: User to run the Solr service (default: solr).
  • solr_ssl_configure: Enable SSL (default: True).

Example Inventory File

This file lists the Solr servers:

[solr]
solr.example.com

[solrwin]
solrwin.example.com

[solrwin:vars]
ansible_user=admin
ansible_password=password
ansible_connection=winrm
ansible_winrm_server_cert_validation=ignore

Example Playbook

This playbook will install and configure Solr:

- name: Install and Configure Solr
  hosts: solr
  vars:
    solr_change_default_password: False
  roles:
    - role: lean_delivery.java
    - role: lean_delivery.solr_standalone

License

This installation guide is under the Apache License.

Authors

Developed by the Lean Delivery Team (team@lean-delivery.com).

Informazioni sul progetto

Lean Delivery Solr installation and configurationn

Installa
ansible-galaxy install lean_delivery.solr_standalone
Licenza
apache-2.0
Download
2.5k
Proprietario
Simplify by using!