forked from animatedmax/docs-addon-antivirus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uninstalling.html.md.erb
57 lines (40 loc) · 2.01 KB
/
uninstalling.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
title: Uninstalling the ClamAV Add-on for PCF
owner: Security Engineering
---
<strong><%= modified_date %></strong>
This topic describes how to uninstall the ClamAV Add-on for PCF from your deployment, and how to verify the uninstallation.
## <a id='uninstall-clamav'></a>Uninstall ClamAV Add-on
To uninstall the ClamAV Add-on, follow the steps below:
1. Retrieve the latest runtime config by running the following command:
<pre>
bosh -e my-env runtime-config > PATH-TO-SAVE-THE-RUNTIME-CONFIG
</pre>
Where `PATH-TO-SAVE-THE-RUNTIME-CONFIG` is the location that you want to save the runtime configuration.
For example:
<pre class="terminal">
$ bosh -e my-env runtime-config > /runtime/config/
</pre>
1. In the runtime config, remove all ClamAV properties under the `releases:` and `addons:` sections.
1. Update the runtime config.
<pre>
bosh -e my-env update-runtime-config --name=clamav PATH-TO-SAVE-THE-RUNTIME-CONFIG
</pre>
Where `PATH-TO-SAVE-THE-RUNTIME-CONFIG` is the location of the runtime configuration you are updating.
For example:
<pre class="terminal">
$ bosh -e my-env update-runtime-config --name=clamav /runtime/config/
</pre>
1. Navigate to your **Installation Dashboard** in Ops Manager.
1. If you are using Ops Manager v2.3 or later, click **Review Pending Changes**.
For more information about this Ops Manager page,
see [Reviewing Pending Product Changes](https://docs.pivotal.io/pivotalcf/customizing/review-pending-changes.html).
1. Click **Apply Changes**.
1. Wait for the installation to complete.
## <a id='verify-uninstall'></a>Verify the Uninstallation
To verify the uninstallation of the ClamAV Add-on is successful, follow the steps below:
1. Use `bosh ssh` to SSH into one of the VMs in your deployment.
For more information,
see [BOSH SSH](https://docs.pivotal.io/pivotalcf/customizing/trouble-advanced.html#bosh-ssh)
1. Run `monit summary`. If ClamAV has uninstalled successfully,
it does not show the `clamd` or `freshclam` processes.