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 /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:
      /opt/vmware/srm/bin/dr-ip-reporter --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.
      /opt/vmware/srm/bin/dr-ip-reporter --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:

      /opt/vmware/srm/bin/dr-ip-reporter --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