Site Recovery Manager IP Address Hacking

By | July 12, 2014

In a previous post , I discussed how SRM maps IP addresses. In this post I will describe how you can view the NFS IP address mappings and make changes as needed.

Note the following procedure is totally NOT SUPPORTED and is for educational purposes only

The IP address mappings are typically not done on the fly during a test/planned migration/DR unless the IP address was not seen before.
In most cases you will have already discovered the IPs on the protected and recovery sides and SRM has created mappings between the protected and recovery side NFS IP addresses.
It turns out that the IP addresss mappings are stored in the SRM database, specifically the recovery side database.

In my example I am use SQL Studio to connect to a SQL Express database.

Open up SQL Server Management Studio and connect to the server that houses your recovery side database with the appropriate credentials.

Expand the database and the Tables folder

Right click on dbo.pdsa_nfsaddressmapping ->Select Top 1000 Rows

7-23-2014 12-44-28 PM

In the Right Window Pane you will see a table with remoteaddress and local address as the last two columns

7-23-2014 12-45-10 PM

In this example the protected side had two volumes, volume A on 10.1.1.11 and volume B on 10.1.1.22.
The recovery side (where this database is located) has ip addresses 10.1.2.21 and 10.1.2.22 discovered/defined.
During a failover, Volume A will mount on 10.1.2.21 and Volume B will mount on 10.1.2.22.

What if this is backwards and you want to B to mount on 10.1.2.21 and A to mount on 10.1.2.22?

Right Click on the Table and choose “Edit Top 200 Rows”

A table will be opened in the Right Window Pane with a table that is editable.

7-23-2014 1-20-28 PM

Change the IP address fields as needed.

7-23-2014 1-20-28 PM

I have found that you need to restart the VMware Site Recovery Manage Service on the recovery side in order for the changes to take effect.

Have Fun!

 

Leave a Reply

Your email address will not be published. Required fields are marked *