c575f3ee69
To speed up Searchlight indexing and re-indexing we should use threads instead of inexing resource types sequentially. Change-Id: I2869758552ed6f7b4343f9b7123a35622edcab22 Implements: blueprint index-performance-enhancement |
||
---|---|---|
.. | ||
gate | ||
local.conf | ||
plugin.sh | ||
README.rst | ||
settings |
Enabling Searchlight in Devstack
- Download DevStack (git clone)
- Update local.conf
You may follow the customization instructions below or use the example local.conf.
- Run
stack.sh
Note
This installs a headless JRE. If you are working on a desktop based OS (such as Ubuntu 14.04), this may cause tools like pycharms to no longer launch. You can switch between JREs and back: to a headed JRE version using: "sudo update-alternatives --config java".
Full example local.conf
The example local.conf MAY not be up to date with the rest of devstack.
local.conf <local.conf>
Note
You will need to look through the settings and potentially customize
it to your environment, especially HOST_IP
.
Existing local.conf customization
Add this repo as an external repository:
> cat local.conf [[local|localrc]] enable_plugin searchlight https://github.com/openstack/searchlight enable_service searchlight-api enable_service searchlight-listener
Configure desired searchlight plugins
The search service is driven using a plugin mechanism for integrating to other services. Each integrated service may need to be specifically enabled in devstack and may require additional configuration settings to work with searchlight. For example, you typically will need to set the notifications driver in each service's configuration.
Please review the plugin documentation and add configuration appropriately:
- Customize searchlight configuration
Searchlight documentation talks about settings in
searchlight.conf
. To customize searchlight.conf settings,
add them under the following section in local.conf
:
[[post-config|$SEARCHLIGHT_CONF]]