I am facing few issues in replicating my SAN index to DR server from my PROD index. For NAS index its perfectly fine we are able to replicate but for SAN we are not. We have used the OS rsync method to copy index from PROD to DR but it fails sometimes.
Is their any way to do SAN replication. Any guidance and help is welcome
Using rsync I think would generally be problematic unless you can flush and create an filesystem-level snapshot (ala ZFS) and rsync that over to the DR server. Otherwise, you're attempting to sync files that are in a constant state of flux.
Snapshots is fine but we have index in SAN(local drive) and not NAS(network drive). So how will we replicate it from PROD to DR as SAN is not over network. Do you mean to say create local snapshots in PROD and then manually push them to DR everyday ?
That was my first thought, yes. Have a local snapshot directory in PROD that you rsync to DR and use that for restoring the index into DR. It may not be the most efficient method but I'm fairly certain it'll be consistent and stable. If you need more real-time DR than what you can get with snapshot/restore you may have to introduce middleware to synchronize the ES instances. See https://www.elastic.co/blog/scaling_elasticsearch_across_data_centers_with_kafka for an example of what that might look like.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.