SRM skips IP customization for windows core edition VM during test recovery
search cancel

SRM skips IP customization for windows core edition VM during test recovery

book

Article ID: 324733

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptoms:
  • While running a test recovery or planned migration, SRM skips the IP customization for the virtual machine running core edition for virtual machine
  • You see error similar to:

    2017-02-22T16:49:39: Netsh: WARN] Static IP 10.182.143.200 cannot be found in list 10.183.143.200;


  • In the recovery report, you will see Skip for IP customization step.
  • Customization works for windows GUI edition. In the <font="courier new?>Guestcust.log file, you see entries similar to:

    Netsh: WARN] Static IP 10.182.143.x cannot be found in list 10.183.143.x
    IP 10.182.143.x primary network
    IP 10.183.143.x DR network
    </font="courier>


Cause

This is an expected behavior as SRM does not support IP customization for core edition of windows virtual machine.

Resolution

Currently, IP customization is not supported for Windows core VM.
To work around this issue for the core VM part of the recovery plan, complete this procedure:
  1. In the vSphere Web Client, go to the Recovery Plan tab > Related Object tab > Virtual Machine.
  2. Click Configure Recovery.
  3. Under Recovery properties, click Post Power on Steps.
  4. Click + and select command on Recovered VM type.
  5. In the Content field, enter these parameters:

    Note: Replace the IP with the IP you want the VM to use at the recovery site.

    C:\Windows\System32\netsh.exe interface set interface name=Ethernet0 DISABLED
    C:\Windows\System32\netsh.exe interface ipv4 set address name=Ethernet0 static 192.168.0.146 255.255.255.0 192.168.0.1
    C:\Windows\System32\netsh.exe interface set interface name=Ethernet0 ENABLED


    This parameter will add Nesh command during test recovery.

  6. Start the SRM service on both the sites.


Additional Information

Compatibility Matrixes for VMware Site Recovery Manager 5.5

Compatibility Matrixes for VMware Site Recovery Manager 5.8

Compatibility Matrixes for VMware Site Recovery Manager 6.1

Note: From the select a category dropdown, click Guest Operating System Support or Guest Operating System Customization Support.