CDLUC3 / ezid

CDLUC3 ezid
MIT License
11 stars 4 forks source link

Deploy OpenSearch in EZID production environment #653

Closed jsjiang closed 3 weeks ago

jsjiang commented 3 months ago

Deploy OpenSearch in EZID production environment.

Check list:

Production deployment schedule:

Production deployment plan:

Note: the proc-search-indexer background job will take care of the on going updating the OpenSearch index.

adambuttrick commented 2 months ago

OpenSearch index recovery described in https://github.com/CDLUC3/ezid-docs-internal/blob/main/docs/ezid_search_opensearch.md.

jsjiang commented 1 month ago

Production deployment plan

jsjiang commented 1 month ago

Getting record counts:

ezid@uc3-ezidui-prd02:05:42:18:~/ezid$ python manage.py get-rds-opensearch-counts
Getting OpenSearch identifier count ...
OpenSearch identifier count: 34763431 (Execution time: 0.70 seconds)
Getting RDS Search Identifier count ...
Search Identifier count: 34760687 (Execution time: 26.43 seconds)
Getting RDS Identifier count ...
Total identifiers: 34761537 (Execution time: 21.52 seconds)
Identifiers without anonymous owned: 34760698 (Execution time: 25.07 seconds)
Anonymous owned identifiers: 839
WARN: OpenSearch and Search Identifier counts did not match.
INFO: It is recommended to run this script while the EZID service is stopped.
jsjiang commented 1 month ago

Note: Tested the Download report in CSV format using the eschol_harvester account. The downloaded report does not match what shows on the UI. This is not OpenSearch related. Create a ticket to investigate.

Ticket created: #718

adambuttrick commented 3 weeks ago

Released with https://github.com/CDLUC3/ezid/releases/tag/v3.2.19.