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.
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.
Stop the WebAdmin server. Refer to "B.1.4 Stopping the Web Server Feature of WebAdmin" for details.
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.
Information
If an error occurs while the product is being uninstalled, refer to "Uninstall (middleware) Messages" in the Fujitsu Enterprise Postgres product website, and take the required action.
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/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. Start the Uninstall (middleware)
Execute the following command:
# /opt/FJSVcir/cimanager.sh -c
4. Select the software
Type the number for the product to be uninstalled, and press Enter.
5. Start the uninstallation
To start the uninstallation, type "y" and press Enter.
To display the list of products again, type "b" and press Enter.
6. Finish the uninstallation
Upon successful completion, the window below is displayed.
The installation directory may remain after uninstallation. If it is not required, delete it.
Uninstalling... productName is being uninstalled now. 100% ############################## The following products have been uninstalled successfully: productName Uninstallation of "productName" has completed successfully. Exiting Uninstaller.