Uninstalling from Linux devices
Uninstalling from Linux devices
If you need to uninstall all or some of the Client Management components that were installed on your infrastructure, you have the following options:
- Manually uninstalling
- Uninstalling via rollout
Uninstalling an agent from a device does not automatically remove the device from the CM database ; it must be removed manually via the console. If you do not delete the device in the database, it is still displayed in all its groups with the connection status Lost and a red icon ( ) after the device lost time defined in the system variables.
Manually uninstalling the CM master, console and agents
To uninstall BMC Client Management components, proceed as follows:
- Open a terminal window and type:
- bmc-client-management-master-uninstall to uninstall the master,
- bmc-client-management-console-uninstall to uninstall the console, or
bmc-client-management-client-uninstall to uninstall a client.
Press the Enter key.
Uninstalling CM agents via rollout
Agents that were installed via a rollout must also be uninstalled via rollout. The procedure is similar to the installation. The wizard created for this uninstallation uses the master as the Rollout Server and the default schedule.
- Click Wizards > Agent Rollout
.
The first wizard window appears. - Select the Uninstall option from the Select the action to perform for this rollout box.
- Click Next .
- Define the following parameters for your new rollout; leave all others with their predefined values:
- Enter the name for the rollout configuration, for example, Linux RedHat Uninstall in the Name box.
- If the uninstallation is to be also available for download on the Rollout Server agent interface, enter the name for the auto-extractable file in the Auto-extractable Name box, for example, Bcm_LinuxUninstall.sh .
- If the installation is to be executed silently, that is, without any user input on the target, check the Silent mode Installation box.
- In the Operating System box, select the appropriate operating system group.
- If the agent was not installed in the default directory, enter its installation directory in the Installation Directory box.
- If the agent was not installed with its default service name, enter its name in the Agent Service Name box.
- Click Next .
- In the next window the devices on which the agent is to be uninstalled must be selected and the administrator accounts to access them. To select the target devices there are several methods available. Since all targets have an agent installed the easiest method is to select them from the device list.
- For this select Edit > Add Device
.
The Select a Device window opens on the screen. - Select the devices to be uninstalled from one of the tabs of the Select a Device dialog box.
- Click OK to confirm and close the window.
The devices are now added to the list window. - To add a new account, click Add Administrator
. The Properties dialog box appears on the screen.
- Enter the following data for a new account login in the respective boxes:
- Enter the name of the domain to which the rollout is going in the Administrator Domain box. If the rollout is going to all domains, you can use an asterisk 🟡️.
Enter the login name of the administrator as which the deployment tries to log on to the remote target to install the agent in the Administrator Login box.
- Enter the password of the previously entered administrator in the Password box. For security reasons the passwords are only displayed in the form of asterisks 🟡️.
- Confirm the previously entered the password in this text box.
- Click OK to confirm the new account and add it.
It is now shown in the list.
- If you defined all targets and accounts Finish to confirm all settings.
A confirmation window appears now on the screen. - To directly move the focus of the console to the newly created rollout check the Go to Rollout box.
- Click OK to confirm the change of focus and launch the uninstallation process.
Verifying the uninstallation
- Under the Global Settings > Rollouts > Global Settings > Linux RedHat Uninstall > Server > Your Rollout Server node, click the Targets tab. All defined target devices are listed.
- Monitor the progress of the rollout under Status . When the rollout has just been defined and is preparing to execute, the Status is Initial .
In the more general status information, the final status may be Successful for a successfully executed rollout, Processing if the rollout has not yet finished executing, or At least one device failed if an error of any type occurred on at least one target.