From 2019.1 or later to latest (multi-server environment)
These instructions assume you have a multi-server environment. If not, see From 2019.1 or later to latest (single server) .
When upgrading a multi-server environment from 2019.1 or later:
-
upgrade the outer servers before upgrading the inner servers, and upgrade the innermost server last
-
you can upgrade a server whenever it is convenient to do so
-
new functionality on upgraded outer servers becomes available when the inner servers have been upgraded. This means that users can continue to use upgraded outer servers before the inner-most server is upgraded, but functionality is limited by the version of the inner-most server.
-
during the time the Commit Server is undergoing the upgrade process, users of Edge Servers cannot perform any of the many operations that require the Edge Servers to be connected to the Commit Server.
- A proxy or broker only needs to get the latest binary.
- You DO need to run p4d -xu against all servers and replicas.
- You do NOT need to run p4d -xu against offline db.* files (a set of db.* files periodically brought current by replaying the journal files from the production server).
Prerequisites
- To upgrade Helix Core Server to a newer version, your Helix Server license file must be current.
- Make sure that journaling is enabled so it can apply the upgrades to other servers.
Upgrade Steps
In the following steps, replace
- [P4ROOT] with the path to the P4ROOT directory
- [P4JOURNAL] with the directory path and name of the journal file
In the case of commit edge, the "innermost server" is the Commit Server and the outer servers are Edge Servers. In the case of a standard server and replicas of that standard server, the "innermost server" is a standard server.
On the outermost server
- Shut down the server by running p4 admin stop
- Install the new version of the p4d binary on the system.
- As the OS user that runs the Helix Core Server, run p4d -r [P4ROOT] -J [P4JOURNAL] -xu
- Wait until you see this message:
Upgrades will be applied from '-xu' at upstream server - Restart the server.
On the servers between the outermost server and the innermost server
-
Shut down by running p4 admin stop
- Install the new version of the p4d binary on the system.
- As the OS account owner of the Helix Core Server, run p4d -r [P4ROOT] -J [P4JOURNAL] -xu
-
Wait until you see this message:
Upgrades will be applied from '-xu' at upstream server - Restart the server.
On the innermost server
- Shut down by running p4 admin stop
- Install the new version of the p4d binary on the system.
- As the OS account owner of the Helix Core Server, run p4d -r [P4ROOT] -J [P4JOURNAL] -xu
- Wait until you see this message:
Upgrades will be applied at server startup. -
As the OS account owner of the Helix Core Server, start the innermost server.
- Inform your users that they can resume work.