HA portal attempting to write to standby after failover

3625
12
Jump to solution
09-19-2023 08:14 AM
TonyContreras_Frisco_TX
Frequent Contributor

I have a new Enterprise 11.1 setup with HA portal. Portal1 was running as the primary, and Portal2 was the standby. I installed a patch for Portal on each server, one after the other. After both installs completed, Portal1 was again showing as primary, however I was not able to edit or create new content consistently. I have may entries of "Failed to add or update item '<itemID>'. DBUtil.doUpdateTransaction(): failed," in the Portal Admin logs, citing Portal2 as the source machine.

After searching for this error, it looked like Portal was attempting to write to the read-only database of the standby Portal machine. Once I stopped the Portal windows service on the standby, things began working as normal. I started the service up on the standby again, and the same errors are showing up. I do not see the recovery.conf or promote.dat files on either server's db directory. The portal admin shows Portal1 as the primary.

Does anyone have suggestions to prevent Portal from attempting to write to the standby Portal machine?

@JonathanQuinn 

 

Does anyone have suggestions on how 

0 Kudos
12 Replies
TonyContreras_Frisco_TX
Frequent Contributor

Hi Tim, you can follow this link and start with Step 3 on the secondary Portal Server to re-register the other Portal machine.

0 Kudos
TimHaverlandNOAA
Regular Contributor

Interesting, I'm pretty sure I tried that but didn't get a prompt to join. Will give it another try.

0 Kudos
TimHaverlandNOAA
Regular Contributor

Hi I tried unregistering and re-registering again on a freshly-built HA portal. I followed the steps in the link you provided. This time it worked, so at least I know what the expected behavior is. Thanks!

0 Kudos