Deep Security 12 FR has reached end of support. Use the version selector (above) to see more recent versions of the Help Center.
Upgrade Deep Security Agent
Software upgrades can be initiated through Deep Security Manager or a third-party deployment system.
In this topic:
- Before you begin an upgrade
- Upgrade the agent starting from an alert
- Upgrade multiple agents at once
- Upgrade the agent from the Computers page
- Upgrade the agent on activation
- Upgrade the agent manually
- Upgrade the agent embedded on the virtual appliance automatically
- Upgrade best practices for agents
Before you begin an upgrade
Before you begin an agent upgrade:
- Check that you're upgrading from a supported version. You can upgrade to Deep Security 12.5 from:
- Deep Security 10 LTS (GA version or LTS updates)
- Deep Security 11 LTS (GA version or LTS updates)
- Deep Security 11 Feature Releases (11.1, 11.2, 11.3)
- Deep Security 12 LTS (GA version or LTS updates)
- Deep Security 12 Feature Releases (any build released in the previous 18 months)
- Back up the agent computers that you plan to upgrade. Make a system restore point or VM snapshot of each agent.
- Import the new agent package into the manager. See Import agent software.
- Upgrade all Deep Security Relays. See Upgrade Deep Security Relay.
You must upgrade all relays before you begin upgrading agents, otherwise, upgrades may fail.
Next, review the platform-specific notes below and complete any advised tasks.
Before upgrading the Deep Security Agent on a Linux platform, confirm the OS kernel is supported by the latest version of the agent. See Deep Security Agent Linux kernel support
Immediately after upgrading Deep Security Agent 12 or later on Windows with Anti-Malware enabled, be aware that the Anti-Malware engine may appear as 'Offline'. The engine will return to the 'online' state after the first heartbeat following the upgrade.
- On Solaris 11, if you are upgrading from Deep Security Agent 9.0, you must first upgrade to Deep Security Agent 9.0.0-5616 or a later 9.0 agent, and from there, upgrade to Deep Security Agent 11.0. If you upgrade from an earlier build, the agent may fail to start. If this problem occurs, see Fix the upgrade issue on Solaris 11.
- An upgrade on Solaris may take five minutes or longer to complete in some cases.
There are no upgrade notes for AIX at this time.
You are now ready to upgrade your agent using any of the methods described in this topic.
Upgrade the agent starting from an alert
When a new agent software version is available, a message appears on Alerts.
- 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've set up. For details, see Configure agent version control. - Continue with Upgrade the agent from the Computers page or Upgrade the agent manually.
Upgrade multiple agents at once
- In Deep Security Manager, go to Administration > Updates > Software.
- In the main pane, look under the Computers section to see whether 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.
- 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've set up. For details, see Configure agent version control.
Upgrade the agent from the Computers page
- In Deep Security Manager, go to Computers, and then:
- Right-click the computer(s) that you want to upgrade, and select Actions > Upgrade Agent Software.
Or
- Select the computer(s) that you want to upgrade, click the Actions button near the top and select Upgrade Agent Software.
Or
- Double-click a computer that you want to upgrade and on the Computer details dialog box, click the Upgrade Agent button.
You must upgrade your relays before your agents to prevent failures. Learn more. To identify a relay, look for the relay icon ().
- Right-click the computer(s) that you want to upgrade, and select Actions > Upgrade Agent Software.
- In the dialog box that appears, select the Agent Version. We recommend that you select the default Use the latest version for platform (X.Y.Z.NNNN). Click Next.
Upgrade the agent on activation
If Deep Security Agent is installed on Linux or Windows, you can choose to automatically upgrade the agent to the newest software version that's compatible with
Upgrade the agent manually
Sometimes you may not be able to upgrade the agent software from the Deep Security Manager. Reasons may include:
- There are connectivity restrictions between the manager and agent computers.
- Your agent software is too old, and the manager doesn't support upgrading it anymore.
- You prefer to deploy upgrades using a third-party system.
If any of the above scenarios describes your situation, you can upgrade the agent by running the installer manually. The method varies by operating system.
- Disable agent self-protection to allow the installer to make modifications to the agent. To disable self-protection:
- In the Deep Security Manager, go to Computer editor To open the Computer editor, go to the Computers page and double-click the computer that you want to edit (or select the computer and click Details). > Settings > General. In Agent Self Protection.
- Deselect Prevent local end-users from uninstalling, stopping, or otherwise modifying the Agent or enter a password for a local override.
- Export the new agent ZIP from the manager. See Export the agent installer for instructions. If multiple new agents are available for your platform, choose the latest one.
- Copy the ZIP to the agent computer and extract it.
- Double-click the MSI file in the root of the ZIP file. The installer detects the previous agent and performs the upgrade.
- Export the new agent ZIP from the manager. See Export the agent installer for instructions. If multiple new agents are available for your platform, choose the latest one.
- Copy the ZIP to the agent computer and extract it.
- If the computer uses the rpm package manager (Red Hat, CentOS, Amazon Linux, Cloud Linux, SUSE), enter the command:
rpm -U <new agent installer rpm>
The -U argument instructs the installer to perform an upgrade.
- If the computer uses the dpkg package manager (Debian or Ubuntu), enter the command:
dpkg -i <new agent installer dpkg>
- Export the new agent ZIP from the manager. See Export the agent installer for instructions. If multiple new agents are available for your platform, choose the latest one.
- Copy the ZIP to the agent computer and extract it.
- Run the installer:
-
Solaris 11, one zone (run in the global zone):
x86: pkg update -g file:///mnt/Agent-Solaris_5.11-9.x.x-xxxx.x86_64/Agent-Core-Solaris_5.11-9.x.x-xxxx.x86_64.p5p pkg:/security/ds-agent
SPARC: pkg update -g file:///mnt/Agent-Solaris_5.11-9.x.x-xxxx.x86_64/Agent-Solaris_5.11-9.x.x-xxxx.sparc.p5p pkg:/security/ds-agent
-
Solaris 11, multiple zones (run in the global zone):
mkdir <path>
pkgrepo create <path>
pkgrecv -s file://<dsa core p5p file location> -d <path> '*'
pkg set-publisher -g <path> trendmicro
pkg update pkg://trendmicro/security/ds-agent
pkg unset-publisher trendmicro
rm -rf <path>
-
Solaris 10: Create an installation configuration file named ds_adm.file with the following content, and then save it in the root directory. Next, run this command to install the package:
pkgadd -G -v -a /root/ds_adm.file -d Agent-Core-Solaris_5.10_U7-10.0.0-1783.x86_64.pkg
Content of ds_adm.file
mail=
instance=overwrite
partial=nocheck
runlevel=quit
idepend=nocheck
rdepend=quit
space=quit
setuid=nocheck
conflict=quit
action=nocheck
proxy=
basedir=default\
- Export the new agent ZIP from the manager. See Export the agent installer for instructions. If multiple new agents are available for your platform, choose the latest one.
- Copy the ZIP to the agent computer and extract it. A BFF file becomes available.
- Copy the BFF file to a temporary folder such as /tmp on the AIX computer. For detailed instructions, see Install the agent manually.
- Upgrade the agent. Use these commands:
/tmp> rm -f ./.toc
/tmp> installp -a -d /tmp/<agent_BFF_file_name> ds_agent
where <agent_BFF_file_name> is replaced with the name of the BFF installer file you extracted.
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've 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 and apply OS patches.
To configure auto-upgrade of the embedded agent during the virtual appliance deployment into NSX, do the following:
- In Deep Security Manager, import the latest virtual appliance package. See Deploy the appliance (NSX-T 3.x), Deploy the appliance (NSX-T 2.x), or Deploy the appliance (NSX-V)
- Import the correct virtual appliance patches and agent. See Upgrade the agent embedded on the appliance SVM and apply OS patches. In these instructions, ignore the last instructions to upgrade the embedded agent since it hasn't been deployed yet.
- Go to Administration > System Settings > Updates.
- In the main pane, find the Virtual Appliance Deployment heading, near the bottom.
- 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.
- 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), Deploy the appliance (NSX-T 2.x), or Deploy the appliance (NSX-V).
Upgrade best practices for agents
If you have critical workloads running on your agent servers, we recommend that you 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.