Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Server rename affecting mirroring

Server rename affecting mirroring

Server rename affecting mirroring

Hi There,

I have mirroring setup from sql1 to sql2. The owners want to chnage the names of the server from sql1 and sql2 to sqla and sqlb, will this affect the mirroring setup?



RE: Server rename affecting mirroring

I am not too sure, as I have never done this before. on the face of it, we can give the standard answer: It depends. How is the partner server defined in your mirroring setup?

Most likely, it is defined by server DNS name. If this is the case, you could put a host file entry on each machine, pointing to the old name. This will get very dicey, if you ever re-use the old server names.

If it is by IP address (not really a best practice), then there is likely no change necessary.

In the case, where you have a smaller database to test with (may as well set up a dummy database for this), see if you can issue an ALTER DATABASE statement to change the partner name. This will require a host file entry, so the system can resolve the new (fake) name.

Worst case, you will have to rebuild the mirrors.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close