Forum Discussion

Narender_Singh's avatar
Narender_Singh
Copper Contributor
Nov 12, 2021
Solved

Unidentical VM Sizes in a Hostpool

Team, 

Apart from recommendations, I would like to understand the logic or use case behind possibilities of allowed unidentical Sizes of sessions hosts where Host Pool has a Session Host Size attached to it under Hostpool--> Overview --> Size

 

I got in a situation where I have 2 session hosts. one is B1s and second is D2s_v5 (Resized later after creating both Session hosts as B1s initially). Still the Host pool size reflects as B1s. And if I tries to add another Session Host, it only allows B1s size and I cant change while deploying using portal. 

 

Just want to understand the logic behind this allowed/unsupported capability. 

  • ibnmbodji's avatar
    ibnmbodji
    Nov 21, 2021

    Narender_Singh

     

    I just don't understand why you want to still have differences between vms in the same host pool. At the end the best way to manage the load is  the use of the right Load Balancing algorithm + scaling mechanisms  . This will allow you to keep the same experience for any user on any virtual machine .  You just need to ensure that you virtual machine size design meet your needs  and if not just redeploy a new host pool with new size. Templates should be your friend to make your deployment easy and effective.

     

    Regards 

     

    Ibrahima 

5 Replies

  • Narender_Singh's avatar
    Narender_Singh
    Copper Contributor
    ibnmbodji and @Orion - Although I agree with both you. Just also got an idea that what could be the potential purpose of it. A hostpool still support multiple unidentical size VM for - Upgrading/downgrading purpose for cost and performance purpose.

    Say I am using a host pool of 10 d2sv3 session hosts and later I want to upgrade to higher size. Than I can add new upper/lower size session hosts and put existing session hosts in drain mode and remove existing session hosts when 0 sessions are there.
    • ibnmbodji's avatar
      ibnmbodji
      Iron Contributor

      Narender_Singh

       

      I just don't understand why you want to still have differences between vms in the same host pool. At the end the best way to manage the load is  the use of the right Load Balancing algorithm + scaling mechanisms  . This will allow you to keep the same experience for any user on any virtual machine .  You just need to ensure that you virtual machine size design meet your needs  and if not just redeploy a new host pool with new size. Templates should be your friend to make your deployment easy and effective.

       

      Regards 

       

      Ibrahima 

      • Narender_Singh's avatar
        Narender_Singh
        Copper Contributor
        ibnmbodji - Thanks a lot for the response. But we can close the thread now as I understood the potential use case of non identical vm sizes support in the same hostpool.

        Actually the question was beyond the recommendations. 🙂
  • OrionWithrow's avatar
    OrionWithrow
    Brass Contributor

    @Narender_Singh 

     

    Hello,

    The Hostpool size is just for reference later, it does not control, limit, or change anything. You can also create a Hostpool with no Virtual Machines and this field is blank.

     

    If you want to change this, you can remove the Session Host Virtual Machines from the Host Pool, recreate a new Host Pool, and add the Session Hosts to the new Host Pool manually.

     

    I hope this helps!

  • ibnmbodji's avatar
    ibnmbodji
    Iron Contributor
    Hi

    Azure virtual Desktop is not an isolated solution, since virtual machines inside and outside the host pool have exactly the same features you still can do actions outside the hostpool .In addition to your example you can have disk operations like moving from Standard SSD to Premium SSD in the VM configs .It's possible outside but not from the host pool unless you redeploy the host pool with the correct settings . You can leverage other mechanisms like resource locks to avoid individual changes and use automation to deploy in a quick and a consistent manner .

Resources