Uninstall according to the following procedure:
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:
For a cluster system using failover operation integrated with PRIMECLUSTER, stop the cluster applications and delete the cluster application resources and Fujitsu Enterprise Postgres resources. Refer to the Cluster Operation Guide (PRIMECLUSTER) and PRIMECLUSTER Installation and Administration Guide for details.
If you have set automatic start and stop of the instance, execute the following commands to disable the script and cancel registration.
systemctl disable nameOfUnitFileThatPerformsAutomaticStartAndStop rm /usr/lib/systemd/system/nameOfUnitFileThatPerformsAutomaticStartAndStop
# systemctl disable fsepsvoi_inst1.service # rm /usr/lib/systemd/system/fsepsvoi_inst1.service
2. Stop applications and programs
Before starting the uninstallation, stop the following:
Applications that use the product
Connection Manager
Instance
In the [Instances] tab, select the instance to stop and click
.
Execute the pg_ctl command in stop mode.
$ /opt/fsepv<x>server64/bin/pg_ctl stop -D /database/inst1Web server feature of WebAdmin
Execute the WebAdminStop command to stop the Web server feature of WebAdmin.
If WebAdmin is installed in /opt/fsepv<x>webadmin:
# cd /opt/fsepv<x>webadmin/sbin
# ./WebAdminStopMirroring Controller
Execute the mc_ctl command with the stop mode option specified and stop the Mirroring Controller.
$ mc_ctl stop -M /mcdir/inst1
pgBadger
Pgpool-II
pgBackRest
3. Check the installed product
Check the installed products by following the procedure below.
Displays the name of the installed package.
# rpm -qa | grep FJSVfsep
For detailed package information, run the following command:
# rpm -qi Package Name
4. Start the uninstaller
Uninstall all packages for the product to be uninstalled.
Refer to the table in "3.2 Installation from RPM Package" for the package set for each product.
The installation directory may remain after uninstallation. Delete them if they are not needed.
# rpm -e package name
Point
We recommend that you uninstall the packages of the products to be uninstalled in batches for each product.
The following shows an example of uninstalling a server product.
# rpm -qa | grep FJSVfsep-server FJSVfsep-server-essential-ae-* FJSVfsep-server-openjdk-* FJSVfsep-server-core-* FJSVfsep-server-core-openssl-* FJSVfsep-server-lmb-* FJSVfsep-server-lmb-validation-* FJSVfsep-server-pgaudit-* FJSVfsep-server-conmgr-* FJSVfsep-server-userlog-* # rpm -e FJSVfsep-server-userlog-<x> FJSVfsep-server-conmgr-<x> FJSVfsep-server-pgaudit-<x> \ FJSVfsep-server-lmb-validation-<x> FJSVfsep-server-lmb-<x> FJSVfsep-server-core-openssl-<x> FJSVfsep-server-core-<x> FJSVfsep-server-openjdk-<x> FJSVfsep-server-essential-ae-<x>
*is the version, OS, and so on.
"<x>" indicates the version.