Uninstall the Management Packs

This chapter contains the following sections:

Uninstalling Cisco UCS Management Packs

Using Operations Manager Console

Procedure


Step 1

Launch Operations Manager console.

Step 2

Navigate to Adminstration > Management Packs.

A list of management pack appears on the right pane.

Step 3

Select the management packs that you want to uninstall.

Step 4

From the Actions pane, click Properties.

Step 5

Click the Dependencies tab.

A list of all the Management Packs that depend on the selected Management Pack appears.
Step 6

Note the dependencies, and click Cancel.

You are redirected to the Operations Manager page.
Step 7

Select the management pack and its dependencies, and click Delete.


Using Powershell script

Procedure


Step 1

On the cisco.com download site for Cisco UCS Management Partner Ecosystem software, download the Cisco UCSM Management Pack Suite file and unzip the file into a folder.

Step 2

Open Windows Powershell and navigate to the folder where the unzipped management Pack suite file is saved.

Step 3

Move to the Scripts folder.

Step 4

Run the CleanUp-ManagementPacks.ps1 command with one of the following switch parameters:

  • UCSManager—Removes UCS Manager Management Pack and its dependent management packs

  • UCSCentral—Removes UCS Central Management Pack and its dependent management packs

  • IMCGroup—Removes IMC Management Pack and its dependent management packs

  • All—Removes all the Management Packs and its dependent management packs


Using Operations Manager Cmdlets

Procedure


Step 1

Launch Operations Manager Shell.

Step 2

To uninstall the management pack, run the following command:

  1. To remove all UCS domain instances added for monitoring, run the Get-SCOMManagementPack | Where-Object{$_References.Contains("CiscoUcsm")} | Remove-SCOMManagementPack cmdlet.

  2. To remove Cisco IMC management pack, run the Get-SCOMManagementPack | Where-Object {$_.References.Contains("CiscoUCSCSeries")} | Remove-SCOMManagementPack cmdlet.

  3. To remove UCS Central management pack, run the Get-SCOMManagementPack | Where-Object {$_.References.Contains("CiscoUCSCentral")} | Remove-SCOMManagementPack cmdlet.

Note 

It might take sometime to remove all the associated instances from the Operations Manager.


Uninstalling Cisco UCS Monitoring Service

Procedure


Step 1

Go to Control Panel.

Step 2

Select Program and Features.

Step 3

Select the Uninstall a program.

Step 4

Select Cisco UCS Monitoring Service(v4.x), and click Uninstall.

Step 5

Click Yes to confirm.