Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions compose.production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ services:
- ../olsystem/etc/ia.ini:/home/openlibrary/.config/ia.ini

solr:
# Disabled while we're updating our version of solr, otherwise it'll pull down the new image!
profiles: ["ol-never"]
profiles: ["ol-solr0"]
environment:
# More memory for production
- SOLR_JAVA_MEM=-Xms10g -Xmx10g
Expand Down
5 changes: 3 additions & 2 deletions scripts/solr_builder/deploy-solr-next.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fi
source ./scripts/solr_builder/utils.sh

send_slack_message "#openlibrary-g" "
Beep boop! Heads up moving solr from incubation to its production server. Process should take ~1.5 hours.
Beep boop! Heads up moving solr from incubation to its production server. Process should take ~3 hours.
Let me know if you notice any issues! (CC @cdrini)
"

Expand Down Expand Up @@ -47,6 +47,7 @@ fi
# 5. Load ol-solr1 data on ol-solr0

# Require prompt before continuing
echo "Double check the storage space on $SOLR_PROD_SERVER. You might have to delete the dump from /tmp/solr that was uploaded to IA. You can also double check the md5 before deleting."
wait_yn "Ready to begin deleting solr?"

./scripts/solr_builder/restore-solr.sh $SOLR_PROD_SERVER $SOLR_BUILDER_SERVER
Expand All @@ -68,5 +69,5 @@ test_all_ol_search # Confirm everything is working
send_slack_message "#openlibrary-g" "
Ok, solr moved over, and production now connected to it! Note it's catching up on edits done
since the start of this, but should be done soon :+1: Let me know if you notice
anything off! (cc @cdrini @seabelis)
anything off! (cc @cdrini)
"
Loading