Solved

IP change of AG

Posted on 2016-08-10
4
59 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 47

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 47

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

813 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

20 Experts available now in Live!

Get 1:1 Help Now