Data guard configuration with same SID
We have a production database in which the application connects using hostname and SID of the DB. I am task to create a physical standby in which the SID is the same as primary so that when we switch to it, the application only needs to connect to the new hostname without changing the SID.
Is it possible to do so? can you help me with the spfile, listener.ora AND tnsnames.ora parameters that needs to be set? I'm using active duplicate when creating a physical standby and I always get problem when setting tns with the same SID...