none
Resource control with clustering

All replies

  • Hi,

    I don't think this is possible , is there a reason why this needs to be done or is it because your NODE2 has less resources than your NODE1?

    If the nodes are different, it is recommended to use identical nodes in a failover cluster.

    Best regards,
    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    Monday, November 12, 2018 5:29 PM
  • Hi Leon ,

    The nodes are identical but I still wants to lower the RAM on some VM's to save up resources after failover

    hmm - Is this not even possible with "dynamic memory" and "NUMA cpu" ?

    Monday, November 12, 2018 5:33 PM
  • If you are using dynamic memory you can script this and assign a different memory value after the failover.
    Configuring vCPUs won't be possible if the virtual machine is powered on.

    Failover with PowerShell

    Configure memory on a Hyper-V virtual machine


    Blog: https://thesystemcenterblog.com LinkedIn:

    Monday, November 12, 2018 5:41 PM
  • Thanks Leon - I was looking for more of an automatic solution
    Monday, November 12, 2018 5:58 PM
  • Dynamic memory will 'sorta, kinda' accomplish this automatically.  However, it is a bit dependent upon how the failover occurs.

    Situation 1 - node failure.  A node failure will cause the VMs from the failed node to reboot on a surviving node in the cluster.  You can specify a startup memory value that is lower than expected, but then the dynamic aspect will grow as needed.  If you have more VMs competing for the same amount of physical memory, dynamic memory will cause a more 'aggressive' pruning of memory to occur, but it will still allow any VM to grow to its maximum if the VM demands it. 

    Situation 2 - drain a node.  Draining a node causes the VMs to be live migrated.  This does not bring startup memory into play.  Nor does it perform any trimming of memory until it is running on the new node and any memory contention is resolved on the new node.

    There is nothing that will automatically modify the VM configuration during a failover caused by node failure or node draining.


    tim

    Monday, November 12, 2018 8:07 PM
  • Hi,

    Just want to confirm the current situations. 

    Please feel free to let us know if you need further assistance.

    Best regards,

    Michael


    Please remember to mark the replies as an answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Thursday, November 15, 2018 3:39 PM
    Moderator