Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition Web Servers to the new Redis Central Service after making sure the current jobs are completed #1928

Open
1 of 22 tasks
carolyncole opened this issue Sep 16, 2024 · 0 comments

Comments

@carolyncole
Copy link
Member

What maintenance needs to be done?

We will have a new central Redis server for PDC describe after pulibrary/princeton_ansible#5343. We need to point our web servers at our new central server with care so that we do not lose any jobs on our current individual Redis servers.

Level of urgency

  • High
  • Moderate
  • Low

Why is this maintenance needed?

We want to not longer back up a single server when data gets deposited. Sharing Redis will allow all servers to work the central queue

Acceptance criteria

  • Check the current status of the sidekiq on each server (one at a time)
    • pdc-describe-prod1
      • turn off nginx
      • allow the queue to drain
      • run the playbook limiting to just this server
      • stop and disable local redis sudo systemctl disable redis-server
      • start nginx
    • pdc-describe-prod2
      • turn off nginx
      • allow the queue to drain
      • run the playbook limiting to just this server
      • stop and disable local redis sudo systemctl disable redis-server
      • start nginx
    • pdc-describe-prod3
      • turn off nginx
      • allow the queue to drain
      • run the playbook limiting to just this server
      • stop and disable local redis sudo systemctl disable redis-server
      • start nginx

Implementation notes, if any

Still have some cleanup to do, but at this point all servers should be pointing at the new central Redis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant