This chapter describes the following deinstallation tasks:
The Backup Toolkit installalex script is used to deinstall SAMS:Alexandria. During deinstallation, this script performs the following tasks:
Deletes the symbolic links in /usr/bin to the SAMS:Alexandria binaries located in /usr/alexbkup.
Deinstalls the SAMS:Alexandria software, including the SAMS:Alexandria database. User-created files in the /usr/alexbkup/bits directory are deleted during the deinstallation. User-created files in the /usr/alexbkup directory are not deleted during the deinstallation.
ATTENTION The deinstallation of SAMS:Alexandria removes the SAMS:Alexandria database and disaster recovery information. If you want to retain this information, which is required for any SAMS:Alexandria restore operation, move or copy it to another location before deinstalling SAMS:Alexandria. SAMS:Alexandria will need to be reinstalled if you wish to perform a restore operation.
Removes the Backup Toolkit customizations made to the host for SAMS:Alexandria, which involve changes to kernel parameters made for SAMS:Alexandria and, for DYNIX/ptx V4.4.x, V4.5.x, and V4.6.x, custom miniroot files for use with buildmini.
Complete the following steps to deinstall SAMS:Alexandria and remove the Backup Toolkit customizations from your host:
Stop the SAMS:Alexandria daemons:
# sh /etc/init.d/alex stop
Change directories to /usr/backup_toolkit/alexandria. (You must run the script from within this directory.)
# cd /usr/backup_toolkit/alexandria
Run the Backup Toolkit installalex -d script to deinstall SAMS:Alexandria and to remove the Backup Toolkit customizations to the host:
# ./installalex -d
During the deinstallation, installalex displays warning messages that DYNIX/ptx-specific files in the /usr/alexbkup/bits directory cannot be deleted because this directory does not exist. These messages can be safely ignored. They occur because installalex has already deinstalled SAMS:Alexandria, which removed the /usr/alexbkup/bits directory, before it tries to deinstall the DYNIX/ptx-specific files in this directory.
Complete the following steps to deinstall Backup Toolkit:
Deinstall the Backup Toolkit software by using the Software Management option on the System Administration menu in the ptx/ADMIN menu system. If you are not familiar with the steps to deinstall a product, refer to the DYNIX/ptx Software Installation Guide.
Use ptx/ADMIN to delete the alexbkup user and alexbkup group. You can delete users by choosing System Operations->User and Group Management->Delete User Accounts.
If applicable, delete or move any user-created files from the /usr/alexbkup directory and then delete the directory itself.
Hosts running DYNIX/ptx V4.2.x can also deinstall ptx/SLPT. The deinstallation of ptx/SLPT performs the following tasks:
ATTENTION You cannot use SAMS:Alexandria on systems running DYNIX/ptx V4.2.x without also using ptx/SLPT. If you deinstall ptx/SLPT on these versions of the operating system, you should also deinstall SAMS:Alexandria. However, do not deinstall SAMS:Alexandria if you are upgrading the system to DYNIX/ptx V4.4.x, V4.5.x, or V4.6.x.
The procedures for deinstalling ptx/SLPT are as follows:
Deinstall ptx/SLPT by using the Software Management option on the System Administration menu in the ptx/ADMIN menu system.
If you are not familiar with the steps to deinstall a product from the DYNIX/ptx operating system, refer to the DYNIX/ptx Software Installation Guide.
Use the MAKEDEV.slpt command to remove the slpt-related device files from /dev/slpt, /dev/mch, and /dev/rmt. For example:
# /dev/MAKEDEV.slpt remove
Recompile the kernel to remove the slpt and ms drivers. The Kernel Configuration option, accessed from the ptx/ADMIN System Administration menu, can be used to recompile the kernel.
ATTENTION If you did not recompile the kernel and reboot the operating system during the installation of ptx/SLPT, for example, because the installation terminated abnormally, you do not need to recompile the kernel and reboot the operating system when deinstalling ptx/SLPT.
Reboot the operating system with the newly compiled kernel.