Created
May 18, 2020 21:53
-
-
Save dasl-/ca32c9c389abfa5d7cc2bb9a7638db8d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit 65cc3a833d66210bbab62d9353f21d69cc922abe | |
| Author: dleibovic <[email protected]> | |
| Date: Mon May 18 17:48:01 2020 -0400 | |
| CORE-6233 update vitess upgrade guide to include steps for manually targetting an upgraded vtgate in the ETET | |
| diff --git a/deploying-rpm/upgrade_dev.md b/deploying-rpm/upgrade_dev.md | |
| index efa1962..0ff764d 100644 | |
| --- a/deploying-rpm/upgrade_dev.md | |
| +++ b/deploying-rpm/upgrade_dev.md | |
| @@ -53,7 +53,7 @@ If you don't have access to the jump host but _really_ need to run these (unlike | |
| - `dsh -c -m $(knife search "fqdn:[chosen host from above] AND (fqdn:*-dev.internal OR fqdn:*-sandbox.internal)" -i | paste -sd,) '/opt/vitess/bin/vtgate --version'` | |
| - `dsh -c -m $(knife search "fqdn:[chosen host from above] AND (fqdn:*-dev.internal OR fqdn:*-sandbox.internal)" -i | paste -sd,) 'systemctl status vtgate | grep Active'` | |
| - Run the ETET in dev targeting that vtgate | |
| - - TODO: Upgrade the ETET to allow targeting of vtgates :sweat_smile: | |
| + - `ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no nagiosc.etsycorp.com -- sudo -u nagios /usr/nagios/libexec/check_vitess_end_to_end.php -e development -v [chosen host from above] run` | |
| 8. Upgrade all the vtgates with | |
| - `dsh -c -m $(knife search "roles:Vitess_VtGate AND (fqdn:*-dev.* OR fqdn:*-sandbox.*)" -i | paste -sd,) 'sudo yum upgrade vitess -y --quiet && sudo systemctl daemon-reload && sudo systemctl restart vtgate'` | |
| - Confirm it was upgraded: check version, and ensure the service was restarted | |
| diff --git a/deploying-rpm/upgrade_prod.md b/deploying-rpm/upgrade_prod.md | |
| index 47b35da..e1d8276 100644 | |
| --- a/deploying-rpm/upgrade_prod.md | |
| +++ b/deploying-rpm/upgrade_prod.md | |
| @@ -64,7 +64,7 @@ sudo su etsy | |
| - `dsh -c -m <your chosen node> '/opt/vitess/bin/vtgate --version'` | |
| - `dsh -c -m <your chosen node> 'systemctl status vtgate | grep Active'` | |
| - Run the ETET in prod targeting that vtgate | |
| - - TODO: Upgrade the ETET to allow targeting of vtgates :sweat_smile: | |
| + - `ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no nagiosc.etsycorp.com -- sudo -u nagios /usr/nagios/libexec/check_vitess_end_to_end.php -e production -v <your chosen node> run` | |
| 1. Upgrade all the vtgates with | |
| - `dsh -c -m $(knife search "roles:Vitess_VtGate AND fqdn:*-prod.*" -i | paste -sd,) 'sudo yum upgrade vitess -y --quiet && sudo systemctl daemon-reload && sudo systemctl restart vtgate'` | |
| - Confirm it was upgraded: check version, and ensure the service was restarted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment