Solved

IP change of AG

Posted on 2016-08-10
4
68 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 50

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 50

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

695 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