Re: what happends with slave during repliacation?

2012-09-24 Thread Bernd Fehling
Hi Amanda,
we don't use solr cloud jet, just 3 dedicated server.
When it comes to distribution the choice will be either solr cloud or elastic 
search.
But currently we use unix shell scripts with ssh for switching.
Easy, simple, stable :-)

Regards,
Bernd


Am 21.09.2012 16:03, schrieb yangqian_nj:
 Hi Bernd,
 
 You mentioned: Only one slave is online the other is for backup. The backup
 gets replicated first.
 After that the servers will be switched and the online becomes backup. 
 
 Do you please let us know how to do you do the Switch? We use SWAP to switch
 in solr cloud. After SWAP, when we query, from the tomcat log, we could see
 the query actually go to both cores for some reason.
 
 Thanks,
 Amanda
 
 
 
 
 
 --
 View this message in context: 
 http://lucene.472066.n3.nabble.com/what-happends-with-slave-during-repliacation-tp4009100p4009417.html
 Sent from the Solr - User mailing list archive at Nabble.com.
 


Re: what happends with slave during repliacation?

2012-09-21 Thread yangqian_nj
Hi Bernd,

You mentioned: Only one slave is online the other is for backup. The backup
gets replicated first.
After that the servers will be switched and the online becomes backup. 

Do you please let us know how to do you do the Switch? We use SWAP to switch
in solr cloud. After SWAP, when we query, from the tomcat log, we could see
the query actually go to both cores for some reason.

Thanks,
Amanda





--
View this message in context: 
http://lucene.472066.n3.nabble.com/what-happends-with-slave-during-repliacation-tp4009100p4009417.html
Sent from the Solr - User mailing list archive at Nabble.com.


what happends with slave during repliacation?

2012-09-20 Thread Alex

Hi All!
I want to replicate my Solr server.
At the begining I want to have one master and one slave.  Master would 
serve for indexing and slave (slaves in the future) would be used for 
searching. I was wondering if anybody could tell me what happens with 
slave during replication. Is it unavailable? Could it serve searches? 
What happens if it has to replicate huge amount of data?


Regards,
Alex


RE: what happends with slave during repliacation?

2012-09-20 Thread Harshvardhan Ojha
Hi Alex,

During replication also your slave will be available for searches and opens a 
new searcher just after replication. You won't get any downtime, but you might 
not have warmed cache at the moment. Please look into cache configuration for 
solr.

Regards
Harshvardhan OJha

-Original Message-
From: Alex [mailto:lot...@gmail.com] 
Sent: Thursday, September 20, 2012 1:09 PM
To: solr-user@lucene.apache.org
Subject: what happends with slave during repliacation?

Hi All!
I want to replicate my Solr server.
At the begining I want to have one master and one slave.  Master would serve 
for indexing and slave (slaves in the future) would be used for searching. I 
was wondering if anybody could tell me what happens with slave during 
replication. Is it unavailable? Could it serve searches? 
What happens if it has to replicate huge amount of data?

Regards,
Alex


Re: what happends with slave during repliacation?

2012-09-20 Thread Bernd Fehling
Hi Alex,
during replication the slave is still available and serving requests but
as you can imagine the responses will be slower because of disk usage,
even with 15k rpm disks.

We have one master and two slaves. Master only for indexing, slaves for 
searching.
Only one slave is online the other is for backup. The backup gets replicated 
first.
After that the servers will be switched and the online becomes backup.

Regards
Bernd

Am 20.09.2012 09:39, schrieb Alex:
 Hi All!
 I want to replicate my Solr server.
 At the begining I want to have one master and one slave.  Master would serve 
 for indexing and slave (slaves in the future) would be used for
 searching. I was wondering if anybody could tell me what happens with slave 
 during replication. Is it unavailable? Could it serve searches? What
 happens if it has to replicate huge amount of data?
 
 Regards,
 Alex