查看完整版本: [轉貼]VMware vCenter 集群及 DRS 详解

chun 2012-6-19 16:44

[轉貼]VMware vCenter 集群及 DRS 详解

<a href="http://www.storageonline.com.cn/virtualtech/vmware/vmware-vsphere-cluster-drs/">http://www.storageonline.com.cn/virtualtech/vmware/vmware-vsphere-cluster-drs/</a>
<div><h3 style="margin-bottom: 15px; padding-top: 20px; padding-bottom: 3px; font-size: 18px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(216, 216, 216); color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; line-height: 24px; background-color: rgb(244, 245, 247); ">1. vSphere&nbsp;<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; "><a href="http://www.storageonline.com.cn/tag/drs/" title="查看 DRS 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">DRS</a></span>简介</h3><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">一种有助于改善所有主机和资源池中的资源分配及功耗状况的功能。<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/drs/" title="查看 DRS 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">DRS</a></span>&nbsp;收集群集(<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/cluster/" title="查看 Cluster 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">Cluster</a></span>)中所有主机和虚拟机的资源使用情况信息,并在出现以下两种情况之一时给出建议(或迁移虚拟机):</p><ol style="margin: 0px; padding: 0px; list-style: none; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; font-size: 13px; line-height: 24px; background-color: rgb(244, 245, 247); "><li style="margin: 5px 30px; padding: 0px; list-style: decimal; line-height: 22px; color: rgb(69, 69, 69); ">初始放置位置 – 当您首次启动群集中的某个虚拟机时,DRS 将放置该虚拟机或提出放置建议。</li><li style="margin: 5px 30px; padding: 0px; list-style: decimal; line-height: 22px; color: rgb(69, 69, 69); ">负载平衡 – DRS 会尝试通过执行虚拟机的自动迁移 (<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/vm/" title="查看 VM 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">VM</a></span>otion) 或提供虚拟机迁移建议提高群集中的资源利用率。</li></ol><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/vm/" title="查看 VM 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">VM</a></span>ware DRS 包含分布式电源管理 (DPM) 功能。启用 DPM 时,系统会将群集层以及主机层容量和运行在群集中的虚拟机所需要的容量做比较。然后,DPM会根据比较的结果,推荐(或自动执行)一些可减少群集功耗的操作。</p><h3 style="margin-bottom: 15px; padding-top: 20px; padding-bottom: 3px; font-size: 18px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(216, 216, 216); color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; line-height: 24px; background-color: rgb(244, 245, 247); ">2. vSphere&nbsp;<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; "><a href="http://www.storageonline.com.cn/tag/cluster/" title="查看 Cluster 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">Cluster</a></span>简介</h3><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/cluster/" title="查看 Cluster 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">Cluster</a></span>就是把所有的<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/esx/" title="查看 ESX 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">ESX</a></span>/<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/esxi/" title="查看 ESXi 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">ESXi</a></span>组织起来,形成一个大的资源池,所有的虚拟机可在池中的任意主机上自由移动,并且Cluster可做到快速扩容和HA故障冗余;所以Cluster是服务器虚拟化通往数据中心的必备功能。</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">通俗点说就是将多台esx物理服务器组成一个集群,在这个集群中某台服务器出现故障时,这台服务器上运行的虚拟机可用自动迁移到其他可用的esx服务器上,保障业务的不间断运行。</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">配置Cluster的前提是需要有共享的存储,可用参考《<a href="http://www.storageonline.com.cn/storage/integrated-vmware-esx-server-and-emc-storage/" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">集成WMware ESX server与EMC存储&nbsp;</a>》及《<a href="http://www.storageonline.com.cn/virtualtech/vmware/vmware-infrastructure-storage-architecture-rdm-vs-vmfs/" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">VMware RDM与VMFS的配置及性能比较</a>》。</p><h3 style="margin-bottom: 15px; padding-top: 20px; padding-bottom: 3px; font-size: 18px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(216, 216, 216); color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; line-height: 24px; background-color: rgb(244, 245, 247); ">3. vSphere Cluster的功能组件</h3><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">DRS:分布式资源调度,用于动态调整Cluster中<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/esx/" title="查看 ESX 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">ESX</a></span>主机负载,自动把负载较重的主机上的虚拟机通过<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/vm/" title="查看 VM 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">VM</a></span>otion迁移到负载较轻的主机上,最终达到整个Cluster中的主机资源消耗平衡;</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">HA:高可用性,用于意外故障切换,当监控到Cluster中有主机意外故障时,会自动在其他主机上启动故障主机上之前承载的虚拟机;</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">DPM:分布式电源管理,用于在负载较轻时,把虚拟机动态“集中”到Cluster中的少部分主机上,然后把其他ESX/<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/esxi/" title="查看 ESXi 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">ESXi</a></span>主机待机,以节省电力消耗,等负载较大时,再重新唤醒之前待机的主机;</p><h3 style="margin-bottom: 15px; padding-top: 20px; padding-bottom: 3px; font-size: 18px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(216, 216, 216); color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; line-height: 24px; background-color: rgb(244, 245, 247); ">4. vSphere Cluster的配置</h3><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><strong>1. 右键点击数据中心“新建集群”</strong></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image_thumb.png" width="592" height="484" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><strong>2. 开通DRS功能</strong></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image3.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image3_thumb.png" width="570" height="484" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><strong>3. 选择DRS级别</strong>,这里先选择手动。</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image6.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image6_thumb.png" width="577" height="484" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><strong>4. PS的选择选择关闭</strong></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image9.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image9_thumb.png" width="574" height="484" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><strong>5. EVC配置</strong>,这里不使用</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image12.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image12_thumb.png" width="575" height="484" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><strong>6. 虚拟机交换文件策略</strong></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image15.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image15_thumb.png" width="572" height="484" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><strong>7. 添加主机</strong>,已经在数据中心的主机可用直接拖动到集群中</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image18.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image18_thumb.png" width="629" height="484" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><strong>8. 添加完之后</strong>可以看到在集群下面有两台esx主机和若个台虚拟机,这些虚拟机属于集群而不是某台esx服务器。</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image21.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image21_thumb.png" width="644" height="254" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><h3 style="margin-bottom: 15px; padding-top: 20px; padding-bottom: 3px; font-size: 18px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(216, 216, 216); color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; line-height: 24px; background-color: rgb(244, 245, 247); ">5. vSphere DRS 之初体验</h3><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">如果DRS级别是手动的话,启动一台虚拟机时DRS会建议适合运行这台VM的最佳ESX/<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/esxi/" title="查看 ESXi 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">ESXi</a></span>主机,如下所示:</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image24.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image24_thumb.png" width="644" height="268" style="border-width: 0px; max-width: 600px; display: inline; "></a>&nbsp;</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">为了后面测试DRS,这里运行一个让VM vCPU繁忙的脚本,参考《》:</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image27.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image27_thumb.png" width="644" height="353" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">这里再启动另外一台虚拟机,为了测试DRS,这里我故意选择了同一台ESX HOST运行:</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image30.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image30_thumb.png" width="644" height="270" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><h3 style="margin-bottom: 15px; padding-top: 20px; padding-bottom: 3px; font-size: 18px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(216, 216, 216); color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; line-height: 24px; background-color: rgb(244, 245, 247); ">6. vSphere DRS测试</h3><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">查看Cluster的DRS界面,我们可以看到DRS已经显示ESX/ESXi host负载不均衡,并给出了它的建议:</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image33.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image33_thumb.png" width="644" height="235" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">一台ESX/ESXi Host忙死,另外一台ESX/ESXi Host则闲死:</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image36.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image36_thumb.png" width="644" height="258" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">在DRS栏中,选择应用DRS的建议:</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image39.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image39_thumb.png" width="644" height="162" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">一段时间后,Cluster内的两台Host性能得到了均衡,DRS把其中一台VM使用<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/vmotion/" title="查看 vMotion 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">vMotion</a></span>迁移到了另外一台闲的ESX/ESXi host:</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image42.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image42_thumb.png" width="644" height="237" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image45.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image45_thumb.png" width="644" height="245" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><h3 style="margin-bottom: 15px; padding-top: 20px; padding-bottom: 3px; font-size: 18px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(216, 216, 216); color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; line-height: 24px; background-color: rgb(244, 245, 247); ">7. vSphere DRS其他高级设置</h3><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">出于应用考虑<span class="wp_keywordlink_affiliate" style="margin: 0px; padding: 0px; font-weight: bold; "><a href="http://www.storageonline.com.cn/tag/vcenter/" title="查看 vCenter 中的全部文章" target="_blank" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; ">vCenter</a></span>提供了非常丰富的DRS个性化设置,这里举两个例子:</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">1. 保证某些VM始终在一台ESX/ESXi 上:</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image48.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image48_thumb.png" width="584" height="484" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); ">2. 保证某些VM始终不在一台ESX/ESXi 上,一山不容二虎:</p><p style="margin-top: 0.7em; margin-bottom: 0.7em; padding-top: 10px; padding-bottom: 5px; line-height: 1.8em; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; background-color: rgb(244, 245, 247); "><a href="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image51.png" style="color: rgb(10, 149, 170); text-decoration: none; padding: 0px 3px; font-style: italic; "><img title="image" border="0" alt="image" src="http://www.storageonline.com.cn/wp-content/uploads/2011/07/image51_thumb.png" width="587" height="484" style="border-width: 0px; max-width: 600px; display: inline; "></a></p><div class="wumii-hook" style="margin: 0px; padding: 0px; color: rgb(22, 21, 20); font-family: Tahoma, 'Century gothic', Arial, Tahoma, sans-serif; font-size: 13px; line-height: 24px; background-color: rgb(244, 245, 247); "><div id="wumiiBtnDiv" style="margin: 0px; padding: 10px 0px 0px; clear: both; overflow: hidden; text-shadow: none; "><div id="wumiiLikeBtnDiv" style="margin: 0px 0px 0px 230.5px; padding: 0px; position: static; float: left; display: inline; width: 89px; height: 28px; background-image: url(http://static.wumii.com/images/blogWidget/widget_buttons_deepBlue.png); background-position: 0px 0px; background-repeat: no-repeat no-repeat; "><br class="Apple-interchange-newline"></div></div></div></div>
頁: [1]
查看完整版本: [轉貼]VMware vCenter 集群及 DRS 详解