Closed tkuldeep closed 10 years ago
@sumeetpareek
Also I am not sure, that apache solr is installed on AAP web servers.. I checked by running this command sudo service solr status
, it responded service is unrecognized
.
@tkuldeep This is how things are currently set up as sent by @letsbringachange over email
WEB 01
ubuntu@ip-10-142-154-47:~$ ps -ef | grep java
ubuntu 7562 1 0 Feb05 ? 00:00:47 java -Xmx1025m -DSTOP.PORT=8079 -DSTOP.KEY=stopkey -jar /opt/ebs/vol1/aap/solr/example/start.jar
ubuntu@ip-10-142-154-47:~$ netstat -anp | grep 7562
tcp6 0 0 127.0.0.1:8079 :::* LISTEN 7562/java
tcp6 0 0 :::8983 :::* LISTEN 7562/java
WEB 02
ubuntu@ip-10-142-85-176:~$ ps -ef | grep java
ubuntu 22781 1 0 Feb05 ? 00:00:50 java -Xmx1025m -DSTOP.PORT=8079 -DSTOP.KEY=stopkey -jar /opt/ebs/vol1/aap/solr/example/start.jar
ubuntu@ip-10-142-85-176:~$ netstat -anp | grep 22781
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp6 0 0 127.0.0.1:8079 :::* LISTEN 22781/java
tcp6 0 0 :::8983 :::* LISTEN 22781/java
SOLR is listening on port 8079 and 8983 on both machines.
and
To start solr use shell script: /opt/ebs/vol1/aap/solr/startSolr.sh
@sumeetpareek @ankurshrivastav @letsbringachange
For searching keyword in national site the url is http://www.aamaadmiparty.org/search/site/.
Done.
Configure Apache solr with drupal 7, and make search fast & efficient.