Upgrading ClamAV Add-on for PCF
Page last updated:
This topic describes how to upgrade the ClamAV Add-on for PCF.
See the following topics to ensure you have the required component versions and prerequisites:
To upgrade the ClamAV add-on to a later version, do the following:
Download the ClamAV add-on software binary from the Pivotal Network to your local machine.
To copy the software binary to your Ops Manager VM, run the following command:
scp -i PATH-TO-PRIVATE-KEY clamav-VERSION.tar.gz ubuntu@YOUR-OPS-MANAGER-VM-IP:
$ cp -i ~/.ssh/my-key.pem ~/Downloads/clamav-1.4.34.tgz email@example.com:
SSH into the Ops Manager VM. For instructions, see SSH into Ops Manager.
Retrieve the latest runtime config by running the following command:
bosh -e BOSH-ENVIRONMENT runtime-config --name clamav > PATH-TO-SAVE-THE-RUNTIME-CONFIG
bosh -e my-env runtime-config --name clamav > /tmp/clamav.yml
Upload the ClamAV release to BOSH. This is the release that you downloaded from Pivotal Network above.
bosh -e BOSH-ENVIRONMENT upload-release PATH-TO-NEW-CLAMAV-RELEASE
bosh -e my-env upload-release ~/clamav-1.4.34.tgz
Edit the clamav runtime config to set the new release version. This version should match the version you downloaded from Pivotal Network.
For example, edit the version in
releases: - name: clamav, version: 1.4.34
Update the runtime config:
bosh -e BOSH-ENVIRONMENT update-runtime-config --name=clamav PATH-TO-SAVE-THE-RUNTIME-CONFIG
bosh -e my-env update-runtime-config --name=clamav /tmp/clamav.yml
Navigate to your Ops Manager Installation Dashboard.
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.
Click Apply Changes.