mrdenny
47440 pts. | Aug 18 2009 11:43PM GMT
Can you provide more information about your replication topology?
Replication is very specific about how it works and everything has to be setup just write. You may need to run scripts on the publisher, subscriber and distributor after each failover event in order to get the replication back up and running.
Ecann
25 pts. | Aug 19 2009 12:18PM GMT
From the sounds of your comments, there is no work around for using the same virtual name for replication setup. It looks like we will need to work on those scripts.
Here is my setup:
Publisher is Distributor.
Replication is transactional.
Selected tables are replicated to 2 other servers.
All servers in same domain and LAN.
SQL application only installed to C:
SQL data stored on E:
SQL Log data on F:
SQL TempDB on G:
E:, F:, G: drives are mirrored through Autostart. Frozen while in standby mode.
SQL cannot run on Secondary while running on Primary.
Replication works correctly as setup on primary server.
Replication fails after fail-over to secondary because it is looking for the physical server name of original primary. (This name is in the database that is mirrored.)
The changes would have to be made post fail over, then again once the system goes back to the Primary.
Have attempted to setup replication using the virtual name but it fails.
Has this issue been fixed in newer versions of SQL? We are forced to use 2000 because of application, but may test upgrading anyway if we can resolve this issue. It is a unique application and the replication is important to us. Also, having this work without manual intervention is important.
Are you aware of any setup that could allow the replication settings to use alias / virtual names?
Thanks for your response.
mrdenny
47440 pts. | Aug 19 2009 6:31PM GMT
No, this hasn’t been changed the newer versions of SQL Server. Replication still requires that the name that SQL Server knows be used for the replication.
You could create a job that runs every time the SQL Server starts and have it go into the databases and change the server name, and then have it start the replication agents (the agents would need to be changed as well).
Could you setup a geographically distributed cluster? This way you’ve got nodes of the cluster to both facilities, with the SAN handleing replication between the two SANs like you have now. But you have the Microsoft Cluster services using a Majority Node Set cluster to decide which node should be running, and it’ll handle the failover automatically just as if they were local to each other. There would also not need to be any replication changes in this configuration as the clustered name would remain the name no matter which facility was running the active database.
Ecann
25 pts. | Aug 20 2009 4:49PM GMT
I have not used the Microsoft Cluster and not sure if it will apply to the architecture we have here. I do have a dev environment to try out new things though.
I appreciate all of your help.
You may see another post if the scripts give me problems.
Thanks again mrdenny.






