This project is not covered by Drupal’s security advisory policy.
Aegir Apache Solr
This module allows Solr servers to be added to Aegir. Once you have a server, you can give an Aegir Site a Solr database as easily as choosing it's DB Server.
Hosting Solr is the front-end, and
Provision Solr is the backend.
See http://community.aegirproject.org/installing for instructions on installing Aegir.
See http://drupal.org/project/provision_solr for instructions on installing Provision Solr, Apache Solr and Tomcat.
Once you've got Aegir and Provision Solr and all of it's requirements installed, download and install this module:
drush @hostmaster dl hosting_solr drush @hostmaster en hosting_solr
Path to War!
Each Aegir Server Entity has its own
solr_war_path property on the backend. In the Aegir front-end, this path is tracked by a Drupal variable.
There is an issue open to add the path to solr.war file to the UI on server nodes. Until then, there is a Drupal variable called
hosting_solr_default_solr_war_path that is set to
You can either put your
solr.war file in that location or change the variable with drush, or put it in your
drush @hostmaster vset hosting_solr_default_solr_war_path "/betterpath/solr.war"
Using Hosting Solr is straightforward once enabled:
- Visit the Servers page in your Aegir front-end.
- Click on the server you wish to enable Solr.
- Click the Edit tab.
- Under Solr, choose Tomcat. Confirm the Port and Restart command are correct for your server. If you followed the instructions for Provision Solr exactly the defaults will work.
- Hit the Save button.
- Next, we need to enable Solr for a site. First add the modules ApacheSolr or Search API + Search API Solr to the Drupal site's platform.
- Visit the Sites page in your Aegir front-end.
- Click the Edit tab.
- Under Solr server choose the server you just configured.
- Add the Path to solr config files for this site.
- Hit the Save button
- Wait for the Verify task to finish, then click the Solr URL provided on the site's page to confirm Solr was setup properly!
- In the Drupal site, configure your Solr servers based on the Solr URL. This part varies depending on whether you are using Search API or Apachesolr.modules.
- With the server configured, you can now enable Solr on any of the other sites on your Aegir server by simply Editing the site nodes.
The Solr server's created by Aegir are made available at the following URL:
Hosting & Provision Solr was built by the team at ThinkDrop Consulting.
It was inspired by https://github.com/EugenMayer/aegir_solr_service.
**To users of the Alpha versions of Hosting Solr:** There is no upgrade path for the Beta release. There isn't even any data to upgrade. Please disable and uninstall (or devel reinstall) this module before using.
drush @hostmaster dis hosting_solr drush @hostmaster uninstall hosting_solr drush @hostmaster uninstall hosting_solr
- Maintenance status: Actively maintained
- Development status: Under active development
- Reported installs: 1 site currently reports using this module. View usage statistics.
- Downloads: 4,369
- Last modified: November 28, 2014
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.