Database Role during Data guard switch over / switch back
Hi
we have a 19c database and configuring data guard
While adding the database to the cluster, we used the srvctl add database -role option and specified PHYSICAL_STANDBY
Now our question is that when and if we do the switch over or fail over to the standby and then switch back / fail back to primary, would oracle handle that (database role settings) automatically?
Like when we switch over to the standby, the standby database role would be PHYSICAL_STANDBY so when we do the switch over, would oracle internally change the database role of standby to PRIMARY and the role of the primary database to PHYSCIAL_STANDBY and vice versa?