设为首页 收藏本站
查看: 5750|回复: 2

[资源发布] Windows Server 2016 中的 Hyper-V新功能-群集节点自动负载均衡

[复制链接]
累计签到:91 天
连续签到:1 天
发表于 2017-3-13 17:38:12 | 显示全部楼层 |阅读模式
Windows Server 2016 中的 Hyper-V,自帶群集节点自动负载均衡的功能了,可以不用花钱去买System Center就可以實現群集節點的自动负载均衡了.
即当某节点的CPU和内存使用度达到设定的标准时就会自动将部份VM在线迁移至较闲的节点上。

原文如下:
https://blogs.msdn.microsoft.com ... indows-server-2016/
Failover Cluster VM Load Balancing in Windows Server 2016
Windows Server 2016 introduces the Virtual Machine Load Balancing feature to optimize the utilization of nodes in a Failover Cluster. During the lifecycle of your private cloud, certain operations (such as rebooting a node for patching), results in the Virtual Machines (VMs) in your cluster being moved. This could result in an unbalanced cluster where some nodes are hosting more VMs and others are underutilized (such as a freshly rebooted server). The VM Load Balancing feature seeks to identify over committed nodes and re-distribute VMs from those nodes. VMs are live migrated to idle nodes with no down time. Failure policies such as anti-affinity, fault domains and possible owners are honored. Thus, the Node Fairness feature seamlessly balances your private cloud.
Heuristics for Balancing
VM Load Balancing evaluates a node’s load based on the following heuristics:
  • Current Memory pressure: Memory is the most common resource constraint on a Hyper-V host
  • CPU utilization of the Node averaged over a 5 minute window: Mitigates a node in the cluster becoming overcommitted
Controlling Aggressiveness of Balancing
The aggressiveness of balancing based on the Memory and CPU heuristics can be configured using the by the cluster common property ‘AutoBalancerLevel’. To control the aggressiveness run the following in PowerShell:
(Get-Cluster).AutoBalancerLevel = <value>
AutoBalancerLevel
Aggressiveness
Behavior
1 (default)
Low
Move when host is more than 80% loaded
2
Medium
Move when host is more than 70% loaded
3
High
Average nodes and move when host is more than 5% above average

Controlling VM Load Balancing
VM Load Balancing is enabled by default and when load balancing occurs can be configured by the cluster common property ‘AutoBalancerMode’. To control when VM Load Balancing balances the cluster:
Using Failover Cluster Manager:
  • Right-click on your cluster name and select the “Properties” option
2.  Select the “Balancer” pane
Using PowerShell:
Run the following: :
(Get-Cluster).AutoBalancerMode = <value>
AutoBalancerMode
Behavior
0
Disabled
1
Load balance on node join
2 (default)
Load balance on node join and every 30 minutes

VM Load Balancing vs. SCVMM Dynamic Optimization
The VM Load Balancing feature, provides in-box functionality, which is targeted towards deployments without System Center Virtual Machine Manager (SCVMM). SCVMM Dynamic Optimization is the recommended mechanism for balancing virtual machine load in your cluster for SCVMM deployments. SCVMM automatically disables the VM Load Balancing feature when Dynamic Optimization is enabled.


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-351085-1-1.html 上篇帖子: Hyperledger Fabric V1.0 for Centos7.2 开发环境搭建 下篇帖子: Hyper-v powershell 基于差异盘创建虚拟机
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表