EPM - Upgrade will fail with the SQL database in AG (Always On) mode or in a Mirror configuration

EPM - Upgrade will fail with the SQL database in AG (Always On) mode or in a Mirror configuration

83
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 13:02 PM


Objective


Issue:
An upgrade will fail with errors like these in the installation log:
Action: DBUpgradeInst. 09:57:48 SqlInstTask: Changed database context to 'VFMNGDB5'. 
Action: DBUpgradeInst. 09:57:48 SqlInstTask: ERROR STATEMENT: ALTER DATABASE [VFMNGDB5] SET SINGLE_USER WITH ROLLBACK IMMEDIATE 
USE [VFMNGDB5] 

ERROR: The operation cannot be performed on database "VFMNGDB5" because it is involved in a database mirroring session or an availability group. Some operations are not allowed on a database that is participating in a database mirroring session or in an availability group. 
ALTER DATABASE statement failed. 
Action: DBUpgradeInst. 09:57:48 SqlInstTask: : ERROR (4392,5): ERROR: The operation cannot be performed on database "VFMNGDB5" because it is involved in a database mirroring session or an availability group. Some operations are not allowed on a database that is participating in a database mirroring session or in an availability group. 
ALTER DATABASE statement failed. 
Action 9:58:11: CustomAction.


Environment


N/A;v6.4;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10

Procedure


Resolution:
The resolution is: 
- Disable the activated "Mirroring" or "Always On" features. 
- Run the upgrade 
- Turn back on the features. 

The EPM upgrade will not work with "Mirroring" or "Always On" features turned on.


Additional Information


Details

SYMPTOM:
During upgrade process a dialog message:
"The instruction at 0x8e2c5d90 referenced memory at 0x8e2c5d90. The memory could not be written"
Then, after clicking OK the upgrade fails
 
In the Server trace the following error message appears:
ERROR: The operation cannot be performed on database "VFMNGDB5" because it is involved in a database mirroring session or an availability group. Some operations are not allowed on a database that is participating in a database mirroring session or in an availability group.
ALTER DATABASE statement failed.
 
PROBLEM:
An activated "Mirroring" or "Always On" running on the EPM DB's. The upgrade process doesn't support DR\Redundancy features turning ON.

 

 
SOLUTION:
- Disable the activated "Mirroring" or "Always On" features.
- Run the upgrade
- Turn back on the features.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001Y4UCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail