I have a HA Enterprise 11.1 which is upgraded from 10.9
I am trying to setup failover scenario with the relational datastore for managing hosted feature services. I have followed this post: https://support.esri.com/en-us/knowledge-base/error-failed-to-change-role-for-data-store-machine-stan-000022124
The describedatastore command shows, both primary and standby machines got the store mode as : READWRITE. I know this is not same in 10.9 env I have, where Primary is READWRITE and Standby is in READONLY mode.
I have removed standby, reinstalled datastore and reconfigured, but still that shows as READWRITE. Is this expected / normal? @ChristopherPawlyszyn @JonathanQuinn any suggestions? I am wondering whether upgrade to 11.1 will necessitate further additional re-configurations of relational datastore?
I have then tried to 'test' the failover scenario by stopping the arcgis service in the 'primary' datastore. As expected the standby then take over as primary. The issue is when the arcgis service is restarted on the now demoted standby, that the replication is no longer working. A look at the validate datastore shows:
"datastore.isActiveHA": "false",
If then try to manually designate the standby as primary via server administrative REST end point, the error comes:
Server machine 'https://VM-DATASTR-PRI.xyz.INTERNAL.CLOUDAPP.NET:2443/arcgis/datastoreadmin/machines/VM-DATASTR-SBY.xxxxxxxxxxxxxxINTERNAL.CLOUDAPP.NET/makePrimary' returned an error. 'Machine 'https://VM-DATASTR-SBY.xyz.INTERNAL.CLOUDAPP.NET:2443/arcgis/datastoreadmin/' returned an error. 'Failed to change role for data store machine 'VM-DATASTR-SBY.xyz.INTERNAL.CLOUDAPP.NET'.
Caused by: Validation checks on data store machine 'VM-DATASTR-SBY.xyz.INTERNAL.CLOUDAPP.NET' failed.''
The only way to sort this is to reinstall / re-configure the data store.
Any suggestion would be very much appreciated.
Many thanks
Thomas