Tanzu Greenplum text versions 3.7.0 and newer support downgrading to a previous version of Greenplum Text, down to version 3.6.0 at the oldest.
Downgrading a Tanzu Greenplum text system installs the older Tanzu Greenplum text software release on all hosts in the Greenplum cluster, and then downgrades the Tanzu Greenplum text system.
There are single and two-part variants of the downgrade procedure.
NoteYou must perform the two-part downgrade procedure when you downgrade from Tanzu Greenplum text version 3.9.0 or newer to versions 3.6.0 through 3.8.x.
Download the installer for your platform for the Tanzu Greenplum text version to which you want to downgrade from VMware Network.
Extract the release package. For example, if you downloaded Tanzu Greenplum text version 3.6.0:
$ tar xfz greenplum-text-3.6.0-<platform>.tar.gz
Verify that ZooKeeper and Tanzu Greenplum text are running.
$ gptext-state
Run the Tanzu Greenplum text installer. For example:
$ greenplum-text-3.6.0-<platform>.bin -d $TARGET_GPTEXTHOME
NoteYou must install old and new Tanzu Greenplum text versions under the same parent directory.
The installer prompts you to accept the license agreement and to choose and create the installation directory.
The installer verifies the environment to ensure that prerequisites are present, such as Python and Java. If any problems are discovered, the installer outputs an error message and stops. Correct the problem identified by the error message and then follow the instructions in the message to continue downgrading.
After the downgrade has completed, source the greenplum-text_path.sh
in the Tanzu Greenplum text release directory of the (older) version that you are downgrading to, and run gptext-state healthcheck
to verify the Tanzu Greenplum text system. For example:
$ source /usr/local/greenplum-text-3.6.0/greenplum-text_path.sh
$ gptext-state healthcheck
The Tanzu Greenplum text two-part downgrade installs and downgrades the Tanzu Greenplum text software in separate steps.
NoteYou must perform this two-part downgrade procedure when you downgrade from Tanzu Greenplum text version 3.9.0 or newer to versions 3.6.0 through 3.8.x.
Follow the steps in this section to perform the two-part Tanzu Greenplum text downgrade procedure.
Download the installer for your platform for the Tanzu Greenplum text version to which you want to downgrade to from VMware Network.
Extract and prepare the installer package. For example, if you downloaded Tanzu Greenplum text version 3.7.0:
$ tar xzf greenplum-text-3.7.0-<platform>.tar.gz
$ chmod +x greenplum-text-3.7.0-<platform>.bin
Identify the install location ($GPTXTHOME
) of the current (newer) Tanzu Greenplum text installation.
Verify that ZooKeeper and Tanzu Greenplum text are running.
$ gptext-state
Run the Tanzu Greenplum text installer in two-part mode. For example, if you downloaded the version 3.7.0 installer:
$ greenplum-text-3.7.0-<platform>.bin -b
NoteYou must install this Tanzu Greenplum text software in the same parent directory that you installed the current (newer) version.
Source the greenplum-text_path.sh
in the current (newer) Tanzu Greenplum text installation. For example, if you are downgrading from version 3.10.0 and you installed it in the default location:
$ source /usr/local/greenplum-text-3.10.0/greenplum-text_path.sh
Invoke the gptext downgrade
utility. You must specify the install directory of the (older) version to which you are downgrading in the destination path. For example, if you are downgrading to Tanzu Greenplum text version 3.7.0 that you installed in the default location:
$ gptext-downgrade -d /usr/local/greenplum-text-3.7.0
After the downgrade completes, source the greenplum-text_path.sh
in the new (older) Tanzu Greenplum text installation, and run gptext-state healthcheck
to verify the Tanzu Greenplum text system. For example:
$ source /usr/local/greenplum-text-3.7.0/greenplum-text_path.sh
$ gptext-state healthcheck