As with RSM daemon service installation, only a system administrator can uninstall the RSM daemon service. Also, the uninstaller can only stop the service if it was started by and is owned by the user performing the uninstall.
You can uninstall the RSM daemon service in one of two ways:
Option 1: Run the rsmunconfig script located in the WBInstallDir/RSM/Config/tools/linux directory. For example:
tools/linux#> ./rsmunconfig
By default the rsmunconfig script does not remove the rsmadmin user account and rsmadmins user group that were created earlier when service was configured. This allows the same account and user group to be reused for the next service installation and configuration, and also prevents the accidental deletion of important files from the rsmadmin home directory (/home/rsmadmin). If you later decide that you do not want to keep the user account and user group, you can remove them manually if needed.
Option 2: Run the uninstall_daemon script located in the WBInstallDir/RSM/Config/tools/linux directory. Specify the service by using the command line options shown below:
tools/linux# ./uninstall_daemon Usage: ./uninstall_daemon [-launcher] [-rmadmin] Options: -launcher: Uninstall RSM Launcher service. -rmadmin : Remove 'rsmadmin' user and 'rsmadmins' group service account.
This script enables you to uninstall the RSM daemon service as well as the rsmadmin user account and rsmadmins user group. For example:
tools/linux#> ./uninstall_daemon -launcher -rmadmin
Removing the Administrative User Account and Service Group Manually
By default, the rsmunconfig script does not remove the rsmadmin user account and rsmadmins user group that were created earlier when service was configured.
If you decide to remove the account and user group, you can do so by manually by adding the -rmadmin command line option to the uninstall_daemon script located in the WBInstallDir/RSM/Config/tools/linux directory. For example:
tools/linux#> ./uninstall_daemon -rmadmin
Important: The service account and group cannot be deleted if the RSM launcher service is still being run by that user account and service group name. You will be prompted to answer “Yes” or “No” from the above command when there is no service is being run by these accounts and RSM is trying to delete them.