Solved

IP change of AG

Posted on 2016-08-10
4
52 Views
Last Modified: 2016-08-10
Hi Experts,

I have running 2 SQL2014 Servers in a AG.
The WIN OS is WIN2012R2.

I have to change IPs of all servers because of a move into a new DC.

Can you help me with the steps ?
What to do first ?
0
Comment
Question by:Eprs_Admin
  • 2
  • 2
4 Comments
 
LVL 46

Expert Comment

by:Vitor Montalvão
ID: 41750252
Are the SQL Server instances stand-alones or clustered?
If they are  clustered instances then stop SQL Server service and change the SQL IP Address (all this tasks need to be performed in the Failover Cluster Manager snap-in). The start the SQL Server with the new IP address.
If they are stand-alones, stop the SQL Server service and change the IP locally before start again the SQL Server service.

For AG, you'll need to drop the listener from the Principal replica and recreate it giving the new IP address.
1
 

Author Comment

by:Eprs_Admin
ID: 41750254
I have two servers. I have a windows cluster. the DBs are clustered with the AG.
0
 
LVL 46

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 41750255
So you have 2 stand-alone SQL Server instances, right?
the DBs are clustered with the AG.
That's not a correct statement. It should be DBs are replicated through AG?

Anyway, this doesn't change nothing from my above comment. Resume:
  1. Stop SQL Server instances
  2. Change server IPs
  3. Reboot
  4. Start SQL Server instances (if they do not start automatically)
  5. Recreate AG listener
1
 

Author Comment

by:Eprs_Admin
ID: 41750266
So you have 2 stand-alone SQL Server instances, right?
YES.

It should be DBs are replicated through AG?
YES
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now