Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Stop SOLR on both server
  2. Remove old scsb-zookeeper data directory from 3 prod servers.
  3. Run fresh zookeeper container on 3 prod servers.
  4. Start SOLR on prod server where optimization is done. Start with replication mode. (REPLICATION is true and memory is 6GB)
  5. Verify the Solr admin page.
  6. Take backup of solr-prod-data in prod 2 and remove it.
  7. Now build fresh SOLR on second server with replication mode (remove/move old index from second server).
  8. Once solr server started, Zookeeper with start process to sync the data from Server 1 to Server 2. It will take about 10 mins to finish it.
  9. Once its done you can see both servers are in active in solr admin page (admin page → cloud)
  10. Verify records count between two servers.

...

Prod Solr Optimization Statistics - Sep 11 2017


S. No

Before/After Optimize

Total Count

Bib Count

Holdings Count

Items Count

Disk Size in GB

Deleted Docs

1

Before

30718785

8293444

8585168

13840173

22.41

8258838

2

After

30718785

8293444

8585168

13840173

17.29

0

Image Reference

Before

After

...