8.12.2 Tasks that must be performed following uninstallation
Once you have uninstalled the HADB server successfully, perform the following tasks:
-
Delete unneeded environment variables
-
Delete unneeded directories and files
-
Delete the ITRU collection pattern definition file
-
Delete the output destination directory for statistics log files specified in the adb_sta_log_path operand in the server definition
-
Delete the directory for storing the server directory
- Organization of this subsection
(1) Deleting unneeded environment variables
Of the environment variables set during installation of the HADB server according to 8.4 Setting environment variables, delete those that are no longer needed. Perform this task as the HADB administrator.
(2) Deleting unneeded directories and files
Delete unneeded directories and files as a superuser. The directories and files to be deleted vary depending on the version of the OS of the server machine.
-
If the server machine's OS is Red Hat Enterprise Linux Server 6 (64-bit x86_64)
-
If the server machine's OS is Red Hat Enterprise Linux Server 7 (64-bit x86_64)
(a) Red Hat Enterprise Linux Server 6
Delete the following directories as a superuser.
▪ Directories that must be deleted
-
Output destination directory for error information (core files)
-
Directories for storing communication-information files
-
/dev/HADB/pth
-
/lib/udev/devices/HADB/pth
-
If any files remain under these directories, also delete those files.
(b) Red Hat Enterprise Linux Server 7
Delete the following directories and files as a superuser.
▪ Directories and files that must be deleted
-
Output destination directory for error information (core files)
-
Directories and files for storing communication-information files
-
/dev/HADB/pth
-
/etc/tmpfiles.d/dev-HADB-pth.conf
-
If any files remain under these directories, also delete those files.
(3) Deleting the ITRU collection pattern definition file
If ITRU is installed on the server machine from which you have uninstalled the HADB server, you need to delete the ITRU collection pattern definition file (!8A9_HADB).
Delete the following file as a superuser.
- ▪ ITRU collection pattern definition file that must be deleted
-
/etc/opt/hitachi/systoru/pattern/!8A9_HADB
(4) Deleting the output destination directory for statistics log files specified in the adb_sta_log_path operand in the server definition
If the adb_sta_log_path operand in the server definition was specified on the HADB server that you have uninstalled, delete the output destination directory for statistics log files. Perform this operation as the HADB administrator.
You also need to delete any files under the output destination directory for statistics log files.
(5) Deleting the directory for storing the server directory
Delete the directory for storing the server directory (/HADB) as a superuser. Delete the directory for storing the server directory (/HADB) by entering the following OS command.
- ■ Command execution example
-
rm -rf /HADB