The IP address map reporter generates an XML document describing the IP properties of protected virtual machines and their placeholders, grouped by site and recovery plan. This information can help you understand the network requirements of a recovery plan.

Because the IP address mapping reporter must connect to both sites, you can run the command at either site. You are prompted to supply the vCenter Server login credentials for each site when the command runs.

Procedure

  1. Log in to the Site Recovery Manager Server host at either the protected or recovery site and open a command prompt.
  2. Change the working directory to:
    • For Windows C:\Program Files\VMware\VMware vCenter Site Recovery Manager\bin.
    • For Linux /opt/vmware/srm/bin/.
  3. Run the dr-ip-reporter command.
    • If you have a Platform Services Controller with a single vCenter Server instance, run the following command:
      • For Windows:
        dr-ip-reporter.exe --cfg "SRM_install_dir\config\vmware-dr.xml" 
        --out "path_to_report_file.xml" 
        --uri "https://Platform_Services_Controller_address[:port]/lookupservice/sdk"
      • For Linux:
        /opt/vmware/srm/bin/dr-ip-customizer --cfg "/opt/vmware/srm/conf/vmware-dr.xml" 
        --out path_to_report_file.xml 
        --uri "https://Platform_Services_Controller_address[:port]/lookupservice/sdk"

      This example points dr-ip-reporter to the vmware-dr.xml file of the Site Recovery Manager Server and generates the report file for the vCenter Server instance that is associated with the Platform Services Controller at https://Platform_Services_Controller_address.

    • If you have Platform Services Controller that includes multiple vCenter Server instances, you must specify the vCenter Server ID in the --vcid parameter.
      • For Windows:
        dr-ip-reporter.exe --cfg "SRM_install_dir\config\vmware-dr.xml"
        --out "path_to_report_file.xml"
        --uri "https://Platform_Services_Controller_address[:port]/lookupservice/sdk"
        --vcid vCenter_Server_ID
      • For Linux:
        /opt/vmware/srm/bin/dr-ip-customizer --cfg "/opt/vmware/srm/conf/vmware-dr.xml"
        --out "path_to_report_file.xml"
        --uri "https://Platform_Services_Controller_address[:port]/lookupservice/sdk"
        --vcid vCenter_Server_ID

      This example points dr-ip-reporter to the vmware-dr.xml file of the Site Recovery Manager Server and generates the report file for the vCenter Server instance with the ID vCenter_Server_ID.

      Note: The vCenter Server ID is not the same as the vCenter Server name.
    • To restrict the list of networks to just the ones that a specific recovery plan requires, include the --plan option in the command line:

      • For Windows:
        dr-ip-reporter.exe --cfg "SRM_install_dir\config\vmware-dr.xml"
        --out "path_to_report_file.xml" 
        --uri "https://Platform_Services_Controller_address[:port]/lookupservice/sdk" 
        --plan recovery_plan_name
      • For Linux:
        /opt/vmware/srm/bin/dr-ip-customizer --cfg "/opt/vmware/srm/conf/vmware-dr.xml"
        --out "path_to_report_file.xml"
        --uri "https://Platform_Services_Controller_address[:port]/lookupservice/sdk" 
        --plan recovery_plan_name