PI AF server upgrade
- Last UpdatedNov 13, 2025
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
You can upgrade PI AF server through the PI Server install kit or through the command line. The PI AF server consists of the PI AF Application Service and the PI AF SQL Server database, and can be deployed on one or more computers. Upgrading the PI AF server involves upgrading the PI AF Application Service and the PI AF SQL Server database.
PI AF server upgrades for cloud database platforms
If you plan to upgrade to PI AF server 2024 R2 and use one of the supported cloud database platforms to host and manage your PI AF SQL database, you will need to perform the following tasks:
-
Edit the AFServiceconfig.exe file either before or after an upgrade from the install kit to specify the following:
-
The cloud SQL database that will host the PI AF database
-
The preferred authentication mode for your cloud SQL database.
-
-
Migrate your existing PI AF database to the chosen cloud database platform. See Migrate on-prem PI AF data to the cloud.
To upgrade a PI AF database to AF Server 2024 R2 and use one of the cloud database platforms, review the steps in these topics and sections: