ClamAV Add-on for PCF v1.4

Upgrading ClamAV Add-on for PCF

Page last updated:

This topic describes how to upgrade the ClamAV Add-on for PCF.

Compatibility and Prerequisites

See the following topics to ensure you have the required component versions and prerequisites:

Upgrade ClamAV Add-on for PCF

To upgrade the ClamAV add-on to a later version, do the following:

  1. Download the ClamAV add-on software binary from the Pivotal Network to your local machine.

  2. 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:

    For example:

    $ cp -i ~/.ssh/my-key.pem ~/Downloads/clamav-1.4.34.tgz ubuntu@ 
  3. SSH into the Ops Manager VM. For instructions, see SSH into Ops Manager.

  4. Retrieve the latest runtime config by running the following command:

    bosh -e BOSH-ENVIRONMENT runtime-config --name clamav > PATH-TO-SAVE-THE-RUNTIME-CONFIG

    For example:

    bosh -e my-env runtime-config  --name clamav > /tmp/clamav.yml
  5. Upload the ClamAV release to BOSH. This is the release that you downloaded from Pivotal Network above.


    For example:

    bosh -e my-env upload-release ~/clamav-1.4.34.tgz
  6. 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 /tmp/clamav.yml as follows:

     - name: clamav, version: 1.4.34 

  7. Update the runtime config:

    bosh -e BOSH-ENVIRONMENT update-runtime-config --name=clamav PATH-TO-SAVE-THE-RUNTIME-CONFIG

    For example:

    bosh -e my-env update-runtime-config --name=clamav /tmp/clamav.yml 
  8. Navigate to your Ops Manager Installation Dashboard.

  9. 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.

  10. Click Apply Changes.

Create a pull request or raise an issue on the source for this page in GitHub