From 4ec4eae685282f747e4ef20be38870d5721db5ee Mon Sep 17 00:00:00 2001 From: aishwarya24 Date: Wed, 18 Sep 2024 11:03:40 -0400 Subject: [PATCH] changes from review.. removed tabs --- .../yugabyte-voyager/install-yb-voyager.md | 36 ------------------- docs/content/preview/yugabyte-voyager/rhel.md | 8 +++++ .../preview/yugabyte-voyager/ubuntu.md | 18 ++++++++++ 3 files changed, 26 insertions(+), 36 deletions(-) diff --git a/docs/content/preview/yugabyte-voyager/install-yb-voyager.md b/docs/content/preview/yugabyte-voyager/install-yb-voyager.md index 482fd03048b3..a86b509a7903 100644 --- a/docs/content/preview/yugabyte-voyager/install-yb-voyager.md +++ b/docs/content/preview/yugabyte-voyager/install-yb-voyager.md @@ -106,42 +106,6 @@ Install yb-voyager on a machine which satisfies the [Prerequisites](#prerequisit -## Upgrade yb-voyager - -{{< tabpane text=true >}} - - {{% tab header="RHEL" %}} - -Upgrade yb-voyager using the following command: - -```sh -sudo yum update yb-voyager -``` - - {{% /tab %}} - - {{% tab header="Ubuntu" %}} - -{{< note title="Note" >}} -If you are upgrading Voyager from version 1.8.0 or earlier, you need to install the `postgresql-common` repository before the upgrade as follows: - -```sh -sudo apt install -y postgresql-common -sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -``` - -{{< /note >}} - -Upgrade yb-voyager using the following command: - -```sh -sudo apt-get upgrade yb-voyager -``` - - {{% /tab %}} - -{{< /tabpane >}} - ## Collect diagnostics By default, yb-voyager captures a [diagnostics report](../diagnostics-report/) using the YugabyteDB diagnostics service that runs each time you use the yb-voyager command. If you don't want to send diagnostics when you run yb-voyager, set the [--send-diagnostics flag](../diagnostics-report/#configuration-flag) to false. diff --git a/docs/content/preview/yugabyte-voyager/rhel.md b/docs/content/preview/yugabyte-voyager/rhel.md index d2ad2e04eaf6..0efe7f931642 100644 --- a/docs/content/preview/yugabyte-voyager/rhel.md +++ b/docs/content/preview/yugabyte-voyager/rhel.md @@ -77,3 +77,11 @@ Install a specific version of `yb-voyager` on your machine using the following c ```sh yb-voyager version ``` + +### Upgrade yb-voyager + +Upgrade yb-voyager using the following command: + +```sh +sudo yum update yb-voyager +``` \ No newline at end of file diff --git a/docs/content/preview/yugabyte-voyager/ubuntu.md b/docs/content/preview/yugabyte-voyager/ubuntu.md index 2f7d67593318..754e20851f5f 100644 --- a/docs/content/preview/yugabyte-voyager/ubuntu.md +++ b/docs/content/preview/yugabyte-voyager/ubuntu.md @@ -62,3 +62,21 @@ Perform the following steps to install yb-voyager using apt for Ubuntu: ```sh yb-voyager version ``` + +### Upgrade yb-voyager + +{{< note title="Note" >}} +If you are upgrading Voyager from version 1.8.0 or earlier, you need to install the `postgresql-common` repository before the upgrade as follows: + +```sh +sudo apt install -y postgresql-common +sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh +``` + +{{< /note >}} + +Upgrade yb-voyager using the following command: + +```sh +sudo apt-get upgrade yb-voyager +```