question

AlexLe-5799 avatar image
0 Votes"
AlexLe-5799 asked SadiqhAhmed-MSFT commented

Cannot gerenrate report in Run the Deployment Planner for VMware disaster recovery

Dear all,

I got a problem with the generating report step when trying to run Run the Deployment Planner for VMware disaster recovery.

https://docs.microsoft.com/en-us/azure/site-recovery/site-recovery-vmware-deployment-planner-run#generate-report

I run the command followed by the example :

ASRDeploymentPlanner.exe -Operation GenerateReport -Virtualization VMware -Server vCenter1.contoso.com -Directory “E:\vCenter1_ProfiledData” -VMListFile “E:\vCenter1_ProfiledData\ProfileVMList1.txt

Even though the time I run profiling is 30 mins or more, I still get this error as below:

"Required profiled data file for generating report is not found in the directory: C:\vCenter1_ProfiledData. Ensure that profiling has been done for at-least 30 minutes and then generate report."

Does anyone have any idea to fix this?

Thanks and regards,
Alex







azure-site-recovery
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AlexLe-5799 Thank you for reaching out to us. Happy to assist!

I noticed that you are running a deployment planner for VMware and being greeted with errors as not being able to generate profile data.

Please confirm you have the following requirements on the machine running the report generation.
It is key to ensure Excel 2013 minimum is installed on this machine.
https://docs.microsoft.com/en-us/azure/site-recovery/site-recovery-deployment-planner


Report generation A Windows PC or Windows Server with Excel 2013 or later.
· .NET Framework 4.5
· Visual C++ Redistributable for Visual Studio 2012
· VMware vSphere PowerCLI 6.0 R3 is required only when you pass -User option in the report generation command to fetch the latest VM configuration information of the VMs. The Deployment Planner connects to vCenter server. Allow vCenter port (default 443) port to connect to vCenter server.If you meet these requirements, please locate the log file in the profiled data folder provided in the command ran.
In the example you shared, the logs will be located in:
C:\ASRDeploymentPlanner\ProfiledData

The log file will be named as:
CapacityPlanner_<datelogged>.txt

Hope this helps!

0 Votes 0 ·

@SadiqhAhmed-MSFT Thank you for your response.

Here is the log details. A file called CapacityPlanner.xml is required for generating report but it isn't exist in the ProfiledData folder. It should appear after profiling progress. Do you have any idea about it?

Thanks a lot.

2022-05-16T11:41:42.3006106+07:00 Info: Trace Session Started
05/16/2022 11:41:42:
05/16/2022 11:41:42:Required profiled data file for generating report is not found in the directory: C:\vCenter1_ProfiledData. Ensure that profiling has been done for at-least 30 minutes and then generate report.
05/16/2022 11:41:42:Required profiled data file: C:\vCenter1_ProfiledData\CapacityPlanner.xml for generating report is not found in the directory. Ensure that profiling has been done for at-least 30 minutes and then generate report.
05/16/2022 11:41:42:
2022-05-16T11:41:42.3162179+07:00 Info: Trace Session Ended

0 Votes 0 ·

Looking into it, will get back to you soon.

1 Vote 1 ·

@AlexLe-5799 Are you running the start profiling before generating the report ?
https://docs.microsoft.com/en-us/azure/site-recovery/site-recovery-vmware-deployment-planner-run#start-profiling

Sample command:
ASRDeploymentPlanner.exe -Operation StartProfiling -Virtualization VMware -Directory “E:\vCenter1_ProfiledData” -Server vCenter1.contoso.com -VMListFile “E:\vCenter1_ProfiledData\ProfileVMList1.txt” -NoOfHoursToProfile 2 -User vCenterUser1

Please collect the logs from Directory input folder.

0 Votes 0 ·
AlexLe-5799 avatar image AlexLe-5799 SadiqhAhmed-MSFT ·

I already done it many times. 202736-directory-folder.jpg


0 Votes 0 ·
directory-folder.jpg (232.7 KiB)

0 Answers