Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

IP change of AG

Posted on 2016-08-10
4
Medium Priority
?
79 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 52

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 52

Accepted Solution

by:
Vitor Montalvão earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
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.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

610 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