Decreasing memory and CPU requirements for Azure Site Recovery Appliance in a lab

Jorge Alamos 61 Reputation points

Is it possible to decrease memory and CPU usage in Azure Site Recovery Appliance when running it in a VMware lab with limited resources? I downloaded the OVA image to VMware but want to know if there are ways to lower the requirements without affecting its functionality during validation. Thanks.

  1. Sadiqh Ahmed 49,571 Reputation points โ€ข Microsoft External Staff โ€ข Moderator

    @Jorge Alamos Just checking in to see if the responses posted earlier helped answer your questions. If yes, I would request you to "Accept Answer and Upvote" so that the relevancy of this post will improve when anyone in the community search for a similar query.

  2. Jorge Alamos 61 Reputation points

    Hi the response posted, can't help me to resolve my problem, I understand, this condition is for the system configuration and don't have option to change that.

    i would like close this question. thanks

  3. Sadiqh Ahmed 49,571 Reputation points โ€ข Microsoft External Staff โ€ข Moderator

    Hello @Jorge Alamos We noticed your recent experience on the Q&A community platform was rated "Low". Thank you for taking time to share your feedback.

    We are eager to know what could have been done better to evolve your experience to a "High" rating.

    Your candid feedback is very important to us.

    Looking forward to your reply.

  4. Sadiqh Ahmed 49,571 Reputation points โ€ข Microsoft External Staff โ€ข Moderator

    @Jorge Alamos We haven't heard back from you. Please reply if you have any questions in this matter and we will gladly continue the discussion.

  5. Sadiqh Ahmed 49,571 Reputation points โ€ข Microsoft External Staff โ€ข Moderator

    Hello @Jorge Alamos We noticed your recent experience on the Q&A community platform was rated "Low". Thank you for taking time to share your feedback.

    We are eager to know what could have been done better to evolve your experience to a "High" rating.

    Your candid feedback is very important to us.

    Looking forward to your reply.


Sign in to comment

Answer accepted by question author

Konstantinos Passadis 19,701 Reputation points โ€ข MVP

Hello @Jalam !

Thanks for the message

Your question was whether you can bypass this Check !

The answer provided could aslo help others , regardless it does not fit your case to ultimately bypass it somehow !

So kindly Accept the answer if you agree , others will benefit and the case will close !!!

Thank you for your understanding!

Regards

  1. Konstantinos Passadis 19,701 Reputation points โ€ข MVP

    Hello @Simon Burbery Thank you for letting us know I would not encourage someone to play along with a JS file in order to bypass a check on any Official Supported Software , neither suggest this on a Public Forum like this ! In case someone tries a bypass like this and something goes wrong , would the Vendor provide any support ? Is this an accepted method by the Vendor ? Of course the bypass is great and kudos and all , i just hope you understand the reasoning thank you in advance!


Sign in to comment

2 additional answers

  1. Simon Burbery 736 Reputation points

    @Jalam, It seems bizarre to me that Microsoft would not allow someone to test ASR on less than 8 cores - why? What if I want to migrate one 100GB machine? What if the environment you are migrating from is with another provider and they will only give you a 2 or 4 core VM for migration? Why does the Azure Migrate appliance only do "Discovery and Assessment" but not the migration, when the ASR appliance does? Confusion reigns. This really grinded my gears so I went through the JS files and found a way to do it. Make a copy then edit this file: C:\Program Files\Microsoft Azure Appliance Configuration Manager\Scripts\SetupPrerequisite.js Search for "Success function for validate memory and cpu task." A few lines below you will see this If success - else section.

     if (data.Success) {
     panelController.releaseLock('SetupPrerequisites');
     $('#SetUpPrereqContBtn').removeAttr('disabled');
     $('#MemoryAndCpuRetryBtn').hide();
     ValidateOsVersion(null);
     }
     else {
     $('#SetUpPrereqContBtn').attr('disabled', 'disabled');
     $('#MemoryAndCpuRetryBtn').show();
     $('[data-toggle="tooltip"]').tooltip();
     $('#' + errorId).focus();
     }
    

    Delete everything between the 'else' brackets and replace it with the lines in between the 'success' brackets so it looks like this:

     if (data.Success) {
     panelController.releaseLock('SetupPrerequisites');
     $('#SetUpPrereqContBtn').removeAttr('disabled');
     $('#MemoryAndCpuRetryBtn').hide();
     ValidateOsVersion(null);
     }
     else {
     panelController.releaseLock('SetupPrerequisites');
     $('#SetUpPrereqContBtn').removeAttr('disabled');
     $('#MemoryAndCpuRetryBtn').hide();
     ValidateOsVersion(null);
     }
    

    Yay! Now the wizard will still error on the CPU but will perform the success action which is to continue on to the next step. I just migrated a VM from an appliance running 2 cores, no problems at all.

    1. Sadiqh Ahmed 49,571 Reputation points โ€ข Microsoft External Staff โ€ข Moderator

      @Simon Burbery Thanks for sharing your experience. We will pass this feedback along to the concerned team to review.

    2. SC 0 Reputation points

      Awesome! This helps me. u r lifesaver.

    3. John Field 0 Reputation points

      This is really helpful and exactly what I was looking for.
      Bypassing/editing the PoSh to install was one thing but working out how/where to bypass in the .js files that beat me.

      Thanks again this allowed me to lab a scenario on limited resources.

    4. Gideon Holdway 5 Reputation points

      Adding to Simon's advice, you can instead change the values it is looking for.

      "C:\Program Files\Microsoft Azure Appliance Configuration Manager\Settings.config"

      This contains the following lines:
      <add key="RequiredMemoryInGB" value="16" />

      <add key="RequiredCores" value="8" />

      I've had success modifying these to lower values for testing.


    Sign in to comment
  2. Konstantinos Passadis 19,701 Reputation points โ€ข MVP

    Hello @Jorge Alamos !

    The Appliance has specific Requirements set by Microsoft to ensure a smooth operation

    As long as you are within these you are fine

    Anything below it could cause problems and issues !

    https://learn.microsoft.com/en-us/azure/site-recovery/vmware-azure-configuration-server-requirements

    Configuration and process server requirements

    Hardware requirements

    CPU cores 8
    RAM 16 GB
    Number of disks 3, including the OS disk, process server cache disk, and retention drive for failback
    Free disk space (process server cache) 600 GB
    Free disk space (retention disk) 600 GB

    --

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards

    1. Jorge Alamos 61 Reputation points

      Hi, thanks for your response.

      I understand Microsoft's requirements. but I am studying in my laboratory and my hardware resources are limited.

      Is there an option to skip validation in my lab?

    2. Konstantinos Passadis 19,701 Reputation points โ€ข MVP

      Hello @Jalam !

      Validation is required for the prerequisites on the Communications and Networking side, it cant be excluded. But this process does not involve Hardware so .....

      You can of course lower HW like CPU/RAM and see what happens , it may work but if you add more and more sources to Migrate you may face issues!

      In a small Lab i think you will be OK!


      I hope this helps!

      Kindly mark the answer as Accepted and Upvote in case it helped!

      Regards

    3. Jorge Alamos 61 Reputation points

      Hello @Konstantinos Passadis ยก

      my problem is in this screen

      when i try set up prerequsites i recived this screen๐Ÿ‘ User's image

    4. Konstantinos Passadis 19,701 Reputation points โ€ข MVP

      Hello @Jalam !

      Oh i see !!! No ,you cant skip that step ! Only if you find a way to trick your Computer into thinking that it has more CPUs ....but i dont recommend digging there !!!


      I hope this helps!

      Kindly mark the answer as Accepted and Upvote in case it helped!

      Regards


    Sign in to comment
Sign in to answer

Your answer