This topic explains how to upgrade agents and their JREs to the latest version of Deployment Automation.
When preparing to upgrade Deployment Automation agents, keep in mind:
- The agent installer does not upgrade agents.
- Starting from Deployment Automation version 4.5, agents use Java 6 or later. All agents using Java 6 or later can be upgraded by the server.
- You cannot upgrade agents version 4.0.1 and earlier that use Java 5. Most of the new functionality does not work with them. You must uninstall the Java 5 agents before installing the agents using Java 6 and later.
- You cannot upgrade the z/OS agent from Deployment Automation.
- Each Deployment Automation release includes a newer JRE version that contains improvements and security fixes. We strongly recommend that you upgrade JREs together with agents so that JREs are always up to date.
Upgrade agents after you perform the server upgrade or as soon as agent updates are available.
For Windows and Linux, you can also upgrade the Java Runtime Environment (JRE) installed on each agent.
Note: For Solaris, HP-UX, AIX, and zOS systems, the option of upgrading the agent's JRE from the user interface is not available (displayed as inactive). You need to update the JRE files manually.
To upgrade agents and JREs:
- Check that the agents you plan to upgrade are online.
- Navigate to Management > Resources.
Select the Agents tab.
(Optional) If any agents are eligible for upgrade in the Upgrade Status column, review any important messages indicated by the messages icon.
The upgrade status is displayed only if Check for Update is enabled for your implementation. See Data Collection and Check for Update.
Select one or more agents and click Upgrade Selected Agents.
To upgrade a single agent, click the Upgrade icon in the agent's row.
If an agent is not eligible for upgrade through the user interface, neither the check box nor the Upgrade icon are displayed.
- In the upgrade dialog box, ensure that the Upgrade Agent check box is selected.
To upgrade the current JRE used by each agent, select Upgrade JRE. Additional fields are displayed.
Take into account that Oracle now charges for using JREs.
Note: If you are using an unsupported JRE version, Deployment Automation will require you to upgrade it. In this case, the Upgrade JRE check box is displayed as preselected and inactive.
This option works only if Check for Update is enabled. For details, see Data Collection and Check for Update.
From the Supported JREs list, select the JRE version to which you want to upgrade. By default, the only available option is the version distributed with the server release.
You can add other JREs to use on the agents. For details, see Configure custom JREs for agents.
To remove the JRE currently installed on each agent, select Remove Current Agent JRE.
Deployment Automation runs a sequence of upgrade steps displayed in the Status column: Upgrading JVM — Removing old JVM — Upgrading agent.
This sequence ensures that the old JRE is deleted only after DA installs the new version and restarts the agent to make sure that the new JRE works.
- (Optional) To view the upgrade steps in detail, open the agent's Upgrade Log:
- Navigate to Management > Resources > Agents.
- Select the agent.
- Select the Upgrade Log tab.
The process of upgrading the agent's java version is managed by the DA Agent Upgrade plugin integrated into Deployment Automation. To view its steps and usage, navigate to Administration > Automation > Plugins and select DA Agent Upgrade in the plugin list.
Update the Windows service for DA agent JRE
If the Windows service for the agents was installed manually, you can optionally update the JRE for the service after upgrading the Deployment Automation agent.
To update the JRE for the agent Windows service:
- Open this file in a text editor: <agent home>/conf/agent/installed.properties
Add this property: locked/agent.service.name=<service name>
- <agent home> is the DA agent directory.
- <service name> is the name of the Windows service.
- If you do not add the property, the agent continues to use the old JRE after the JRE upgrade.
- The JRE for the Windows service for DA agents is not updated when an agent is started using a script.