Uninstall according to the following procedure:
Note that "x SPz" in sample windows indicates the version and level of products to uninstall and "<x>" in paths indicates the product version.
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:
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/inst1
Web 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
# ./WebAdminStop
Mirroring 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. Remove WebAdmin setup
When uninstall WebAdmin feature, execute the WebAdminSetup command to remove WebAdmin setup.
If WebAdmin is installed in /opt/fsepv<x>webadmin:
# cd /opt/fsepv<x>webadmin/sbin
# ./WebAdminSetup -d
4. Verifying Installation Features
Verify that the feature to be removed is installed by executing the following command.
Where <x> is a number indicating the version.
Feature Name | Package Name |
---|---|
Server | FJSVfsep-SV-<x> |
WebAdmin | FJSVfsep-WAD-<x> |
Client | FJSVfsep-CL-<x> |
Pgpool-II | FJSVfsep-POOL2-<x> |
pgBackRest | FJSVfsep-PGBR-<x> |
# rpm -qi FJSVfsep-SV-<x>
5. Run the uninstallation
Run the following command.
# rpm -e FJSVfsep-SV-<x>
The installation directory may remain after uninstallation. If it is not required, delete it.