Uninstall Cisco Crosswork Planning

This section contains the following topics:

Uninstall the Cisco Crosswork Planning VM

This section explains the various methods to uninstall Cisco Crosswork Planning VM:

Delete the VM using the Docker installer tool

In case of a failed installation, the Docker installer tool is used to cleanup or delete any previously created VMs. This is a critical activity during failed deployments. Any changes made to the VM settings or the data center host requires a cleanup operation before redeployment.


Note


The installer cleanup option will delete the VM deployment based on the inventory in /data directory.


Procedure


Step 1

Enter the directory storing the deployment info.

For example, _cd ~/cw-planning.

Step 2

Run the container on the host.

docker run --rm -it -v `pwd`:/data <cw-installer docker container>

Step 3

Edit the copy of the template file (for example, v4.tfvars) in a text editor, adding the data center access parameters. Remaining parameters can be provided with dummy values, or entered on the command line during the execution of the operation.

Step 4

Run the _cw-installer.sh install_ script with the clean directive along with the deployment manifest using the -m flag.

Add -o option to remove the Cisco Crosswork image template from the data center.

For example:

./cw-installer.sh clean -m /data/deployment.tfvars -o

Step 5

Enter "yes" when prompted to confirm the operation.

Step 6

(Optional) To clean the VM quickly (without verification), run the installer using this command:

docker run --rm -it -v `pwd`:/data <cw installer docker image> -exec 
'./cw-installer.sh clean -m /data/deployment.tfvars'

Delete the VM using the vSphere UI

Follow these steps to delete a Cisco Crosswork Planning VM from vCenter.


Note


Be aware that this procedure deletes all your app data.


Procedure


Step 1

Log into the VMware vSphere Web Client.

Step 2

In the Navigator pane, right-click the app VM that you want to remove and choose Power > Power Off.

Step 3

Once the VM is powered off, right-click the VM again and choose Delete from Disk.

The VM is deleted.


Uninstall Cisco Crosswork Planning applications

This procedure describes how to uninstall a Cisco Crosswork Planning application from the UI. The Uninstall option removes the application, application-specific menus, and associated data.


Caution


Do not uninstall Crosswork Platform Infrastructure and Crosswork Planning Infra, as this will disrupt the product's functionality. You can only uninstall the Design and Collector applications.


Procedure


Step 1

From the main menu, choose Administration > Crosswork Manager, and select the Application Management tab.

The Crosswork Platform Infrastructure and any Cisco Crosswork Planning applications that were added during installation are displayed here as tiles.

Step 2

Click on the application tile that you want to uninstall, and select the Uninstall option.

Figure 1. Application management page

Step 3

Click Uninstall to confirm when prompted.

The selected application is uninstalled and the application tile is modified to reflect the same.

You can also view the progress of uninstallation in the Job History window (Application Management > Job History). If the uninstall fails, you can reattempt using the relevant options in the Job History window.

Note

 

The uninstall operation does not remove the CAPP file from the repository. The CAPP file will remain visible in the Cisco Crosswork Planning UI, in case you want to install the application in future.