Top
Enterprise Postgres 17 Installation and Setup Guide for Server

5.2 Uninstallation in Silent Mode

Uninstall according to the following procedure:

Note

  • All files and directories in the installation directory are deleted during uninstallation. If user files have been placed in the installation directory, back them up before uninstallation if necessary.

  • On SLES, before uninstallation, ensure that JRE 8 is installed, and export the JAVA_HOME environment variable.

    #export JAVA_HOME="Jre8InstallDir"
  • To reinstall Fujitsu Enterprise Postgres after it was uninstalled, and reuse an instance that was already created so that it can be managed from WebAdmin, back up the directory shown below in which the WebAdmin instance management information had been defined before uninstalling Fujitsu Enterprise Postgres, and then restore the backed up directory to its original location once Fujitsu Enterprise Postgres has been reinstalled.

    Follow the procedure below to perform the backup.

    1. Stop the WebAdmin server. Refer to "B.1.4 Stopping the Web Server Feature of WebAdmin" for details.

    2. Back up the following directory:

      webAdminInstallDir/data/fepwa
  • In case of secure connection, all the certificates placed in "keystore" directory will be removed when uninstalling WebAdmin. Back up these certificates and its configuration file in advance if required.

    webAdminInstallDir/tomcat/keystore
    webAdminInstallDir/tomcat/conf/server.xml

    They are backed up because the keystore contains certificates, and server.xml contains information for the keystorePass, keyAlias, and truststorePass attributes.

See

Refer to the Fujitsu Enterprise Postgres product website for information on uninstallation in silent mode, such as the error messages.

1. Delete the operation information

If the Fujitsu Enterprise Postgres operation information has been registered in the operating system or another middleware product, for example, then it must be deleted. Cases in which deletion is required are as follows:

2. Stop applications and programs

Before starting the uninstallation, stop the following:

3. Run the uninstallation

Execute the command below.

The installation directory may remain after uninstallation. If it is not required, delete it.

Example
# /opt/fsepv<x>server64/setup/suninst.sh

In the example above, /opt/fsepv<x>server64/setup is the name of the installation directory in which the server product is installed.

# /opt/fsepv<x>webadmin/setup/suninst.sh

In the example above, /opt/fsepv<x>webadmin/setup is the name of the installation directory in which the WebAdmin is installed.

# /opt/fsepv<x>pgpool-II/setup/suninst.sh

In the example above, /opt/fsepv<x>pgpool-II/setup is the name of the installation directory in which the Pgpool-II is installed.

# /opt/fsepv<x>pgbackrest/setup/suninst.sh

In the example above, /opt/fsepv<x>pgbackrest/setup is the name of the installation directory in which the pgBackRest is installed.