Hi all,
I am in the process of establishing the steps towards upgrading our HA deployment of Portals from 10.9 to 11.1. The relevant questions and issues are in a different post: https://community.esri.com/t5/arcgis-enterprise-portal-questions/upgrade-high-available-portal-from-10-9-to-11-1-in/m-p/1362126
We have a HA deployment with 2 Portal, 1 Server, 2 Datastore and 2 TileCache and a shared content folder in a storage account. Everything works fine in 10.9
When attempting to upgrade to 11.1 the steps I followed this: Configure a highly available portal—Portal for ArcGIS | Documentation for ArcGIS Enterprise
1. from portaladmin, checked the status of primary and standby machines, they seems fine and primary VM is primary and standby is secondary VM. Services are running fine.
2. Upgraded both portal VMs at same time. Waited to see the completion of the installation process in both machines.
3. Proceeded with Upgrade option in Portal Primary, and saw steps 0/8 appearing.
Monitored the log files and contents changes in both machines and found something interesting: The backup content, database and index directories actually happened in the secondary portal machine (Standby) not in the primary portal machine. This created a new folder called upgrade-backup /10.9.0. It also upgraded the database in standby.



The upgrade then obviously failed with error: Failed to import data to the content directory correctly. Unable to unzip portal content. failed to Upgrade the primary portal (then gave the standby portal name).
My question is: How can I make sure that the upgrade is happening in the Primary Portal not in the standby?
After installing the software upgrade in the machines, is there a need to stop the Portal for ArcGIS service in the standby machine?
How / when the standby machine bring back to the upgrade process?
In one of my previous attempt, if the standby machine is not running the service then the step 8 was missing (Upgrade standby machine).
This is a very confusing process, any help from @ESRISupport @JonathanQuinn would be really appreciated