Project Mercury 1.1 using BCFG2 - BETA - Solr Error

Events happening in the community are now at Drupal community events on www.drupal.org.
ivan25's picture

Hi,

Couple of things I would like to ask:

First I have an error with Solr after doing the complete install procedure.
It complains about the data/index directory not existing.
I think there is an error in the setup script as it tries to create it in /var/solr/.solr/data/index.
A quick change in the Solr config file fixed it (uncommented the default directory and set it to /var/solr).

Another question is related to the init script.
If using an EBS instance, why move everything to /mnt and have the risk of loosing it if the instance is terminated/crashed ?
Why not leave it in /var and maybe resize the root partition to benefit from more EBS storage space and data persistency ?

I would love to have a Mercury EBS instance with an XFS filesystem ?
Maybe I will give it a try, I think it's possible to setup an instance to use XFS for the boot partition and benefit from better performance then ext3 (especially with EBS) and easier management.

Comments

Greg Coit's picture

Ivan,

This is not a problem we've had - what file was trying create /var/solr/.solr/data/index?

We have yet to work on installing on EBS-boot instances. You are, or course, correct that EBS is preferred storage over AWS instances.

I see no reason why one couldn't have an XFS / partition. I think these instructions (http://alestic.com/2010/01/ec2-ebs-boot-ubuntu) would allow a person to install Lucid onto an XFS formatted EBS (replacing the mkfs.ext3 command with mkfs.xfs).

Hope this helps,

Greg

--
Greg Coit
Systems Administrator
http://www.chapterthree.com

Hi Greg, The error appeared

ivan25's picture

Hi Greg,

The error appeared when I logged into Pressflow. The solr module was complaining about this path not existing (/var/solr/.solr/data/index).
I am not sure what script configured it like that but it appeared as the default path for solr so I just changed to /var/solr/data and the index got created.

Thank you for the link I will give it a shot.

Ivan

XFS EBS Boot

ivan25's picture

Hi,

Just succeeded in creating an EBS AMI using XFS as a filesystem based on Alestic 10.04 32bit AMI.
Now it's possible to use the constant snapshot script from Eric Hammond to add more backup security to the system.

Next I need to setup Mercury on it but with modifying the init script so it does not copy everything to /mnt.

Will keep you posted.

Mercury

Group organizers

Group categories

Post Type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: