Perform the preparation steps
Set the data protection to MAXIMUM PERFORMANCE
Stop all user activity on the primary
Defer the logical standby remote archive destination
Stop sql apply on the standby
Install DB software on the primary
Upgrade the primary
Install DB software on the standby
Upgrade the standby
Restart sql apply on the standby
Open the upgraded primary
Reset the data protection mode if necessary