Hi Wael, I am not sure about moving data in HDFS but you should be able to set up slave without reindexing. Did you start the first node in standalone mode? You need to check if replication handler is enabled (should be by default) and set up slave to pull data from the first node. Note that slave should be placed on a separate host. If you are using HDFS for storing your index and if you can tolerate some downtime, isn’t that enough to satisfy your FT requirement? In master-slave setup you still have SPOF - master node - if it goes out, updates will stop.
Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 18 Jan 2018, at 11:20, Wael Kader <w...@softech-lb.com> wrote: > > Hi, > > The data is always changing for me so I think I can try the replication > option. > I am using cloudera and the data is saved in HDFS. Is it possible for me to > move the data while the index is running without any problems ? > > I would also like to know if its possible to setup slave/master replication > without rebuilding the index. > > Thanks, > Wael > > On Thu, Jan 18, 2018 at 12:06 PM, Wael Kader <w...@softech-lb.com> wrote: > >> Hi, >> >> Its not possible for me to re-index the data in some of my indexes is only >> saved in SOLR. >> I need this solution to make sure that in case the live index fails, I can >> move to the backup or replicated index. >> >> Thanks, >> Wael >> >> On Thu, Jan 18, 2018 at 11:41 AM, Charlie Hull <char...@flax.co.uk> wrote: >> >>> On 18/01/2018 09:21, Wael Kader wrote: >>> >>>> Hello, >>>> >>>> Whats the best way to do a backup of the SOLR data. >>>> I have a single node solr server and I want to always keep a copy of the >>>> data I have. >>>> >>>> Is replication an option for what I want ? >>>> >>>> I would like to get some tutorials and papers if possible on the method >>>> that should be used in case its backup or replication or anything else. >>>> >>>> >>> Hi Wael, >>> >>> Have you considered backing up the source data instead? You can always >>> re-index to re-create the Solr data. >>> >>> Replication will certainly allow you to maintain a copy of the Solr data, >>> either so you can handle more search traffic by load balancing between the >>> two, or to provide a failover capability in the case of a server failure. >>> But this isn't a backup in the traditional sense. You shouldn't consider >>> Solr as your 'source of truth' unless for some reason it is impossible to >>> re-index. >>> >>> Perhaps if you could let us know why you think you need a backup we can >>> suggest the best solution. >>> >>> Cheers >>> >>> Charlie >>> >>> -- >>> Charlie Hull >>> Flax - Open Source Enterprise Search >>> >>> tel/fax: +44 (0)8700 118334 >>> mobile: +44 (0)7767 825828 >>> web: www.flax.co.uk >>> >> >> >> >> -- >> Regards, >> Wael >> > > > > -- > Regards, > Wael