How to Swap Static IPs of two servers RRS feed

  • Question

  • Hi,

    I have a requirement to automatically  swap IPs between two Windows 2012 R2 Servers, based on an event. The servers are in same domain. 

    For example:

    Let say, Server A has static IP: and Server B has static IP: 

    Event is: When the SQL Server DB on Server A goes down. 

    Requirement is:  When the event occurs, the static IP of Server A should changed to and Static IP of Server B should changed to 

    I understand, we can achieve this by simple powershell  scripting, but I want to know how  we can swap the IPs on Active directory ?

    Can anyone put light on this ?

    • Moved by Bill_Stewart Monday, May 7, 2018 9:52 PM Question outside forum scope
    Friday, March 2, 2018 5:55 AM

All replies