Upgrade Deep Security Agent

Software upgrades can be initiated through Deep Security Manager or a third-party deployment system.

Prerequisites

Before you begin an agent upgrade:

  1. Check that you are upgrading from a supported version. You can upgrade to Deep Security 20 from the following versions:
    • Deep Security 11 LTS (GA version or LTS updates)
    • Deep Security 11 Feature Releases
    • Deep Security 12 LTS (GA version or LTS updates)
    • Deep Security 12 Feature Releases

    Note that Deep Security Agent with network features enabled (Firewall, Web Reputation, Intrusion Prevention) cannot be upgraded directly from version 20.0.0-3771 or earlier to version 20.0.3-8030 or later. It is recommended to perform a two-step upgrade:

    • Upgrade to any version between 20.0.0-3964 and 20.0.3-5660 inclusively.
    • Upgrade to the target version, such as 20.0.3-8030 or later.

  2. Back up the agent computers that you plan to upgrade. Make a system restore point or VM snapshot of each agent.
  3. Import the new agent package into the manager. See Import agent software.
  4. Upgrade all Deep Security Relays. See Upgrade Deep Security Relay.

    You must upgrade all relays before you begin upgrading agents, otherwise, upgrades may fail.

When you upgrade Deep Security Agent, Deep Security verifies your signature on Deep Security Agent to ensure that the software files have not changed since the time of signing. For more information, see Agent package integrity check.

Review the following platform-specific notes and complete any advised tasks:

You are now ready to upgrade your agent using any of the provided methods.

Upgrade the agent starting from an alert

When a new agent software version is available, a message appears on Alerts.

  1. In the alert, click Show Details, and then click View all out-of-date computers.
    Computers appears, displaying all computers where Software Update Status is Out-of-Date. What is considered out-of-date is determined by version control rules you have configured. For details, see Configure agent version control.
  2. Continue with Upgrade the agent from the Computers page or Upgrade the agent manually.

Upgrade multiple agents at the same time

  1. In Deep Security Manager, go to Administration > Updates > Software.
  2. In the main pane, look under the Computers section to check if any computers or virtual appliances are running agents for which upgrades are available. The check is only performed against software that has been imported into Deep Security, not against software available from the Download Center.
  3. Click Upgrade Agent / Appliance Software to upgrade all out-of-date computers. What is considered out-of-date is determined by version control rules you have configured. For details, see Configure agent version control.

Upgrade the agent from the Computers page

  1. In Deep Security Manager, go to Computers, and then:
    • Right-click the computers that you want to upgrade, then select Actions > Upgrade Agent Software.

      Or

    • Select the computers that you want to upgrade, click Actions near the top, and select Upgrade Agent Software.

      Or

    • Double-click a computer that you want to upgrade and on the Computer details dialog, click Upgrade Agent.

    You must upgrade your relays before your agents to prevent failures. Learn more. To identify a relay, look for the relay icon ().

  2. In the dialog that appears, select Agent Version. You should select the default option Use the latest version for platform (X.Y.Z.NNNN).
  3. Click Next.

Upgrade the agent on activation

If Deep Security Agent is installed on Linux or Windows, you can automatically upgrade the agent to the newest software version compatible with your Deep Security Manager when the agent is activated or reactivated. For details, see Automatically upgrade agents on activation.

 

Upgrade the agent from a scheduled task

You can create a Scheduled Task to upgrade a group of agents on a set schedule. For details, see Scheduled Agent Upgrade Task.

Upgrade the agent manually

Sometimes you may not be able to upgrade the agent software from the Deep Security Manager. Reasons may include the following:

  • There are connectivity restrictions between the manager and agent computers.
  • Your agent software is too old, and the manager does not support upgrading it anymore.
  • You prefer to deploy upgrades using a third-party system.

If any of the preceding scenarios describe your situation, you can upgrade the agent by running the installer manually. The method varies by operating system.

 

Upgrade the agent embedded on the virtual appliance automatically

The Deep Security Virtual Appliance includes an embedded Deep Security Agent. You can configure Deep Security to upgrade this agent automatically to the latest version during the virtual appliance's deployment into NSX.

If you have already deployed the virtual appliance into NSX, you should upgrade the embedded agent following these alternative instructions: Upgrade the agent embedded on the appliance SVM.

To configure auto-upgrade of the embedded agent during the virtual appliance deployment into NSX, do the following:

  1. In Deep Security Manager, import the latest virtual appliance package. See Deploy the appliance (NSX-T 3.x), or Deploy the appliance (NSX-V)
  2. Import the correct virtual appliance patches and agent. See Upgrade the agent embedded on the appliance SVM. In these instructions, ignore the last instructions to upgrade the embedded agent since it hasn't been deployed yet.
  3. Go to Administration > System Settings > Updates.
  4. In the main pane, find the Virtual Appliance Deployment heading, near the bottom.
  5. From the Upon deployment, update Deep Security Virtual Appliances to drop-down list, select the latest agent version or keep the default of Latest Available (Recommended).

    Versions of the agent software that pre-date the imported appliance do not appear in the list.

  6. Click Save.

    The agent that's embedded on the virtual appliance will now be upgraded automatically when you deploy the virtual appliance into NSX. For deployment instructions, see Deploy the appliance (NSX-T 3.x) or Deploy the appliance (NSX-V).

Upgrade best practices for agents

If you have critical workloads running on your agent servers, follow these best practices when upgrading:

  • Upgrade when the computers are less busy.
  • Test the upgrade procedure first in a staging environment before upgrading production servers.
  • When upgrading production servers, upgrade one server at a time for the first few servers. Allow a soak period in between each server upgrade.
  • After individually upgrading a number of production servers for a given OS version (and application role, on Solaris or AIX), upgrade the remaining servers in groups.
  • Also review the Best practices for upgrades.