IT 建设的新商机 – 在虚拟化的平台上运行关键应用.pdf_第1页
IT 建设的新商机 – 在虚拟化的平台上运行关键应用.pdf_第2页
IT 建设的新商机 – 在虚拟化的平台上运行关键应用.pdf_第3页
IT 建设的新商机 – 在虚拟化的平台上运行关键应用.pdf_第4页
IT 建设的新商机 – 在虚拟化的平台上运行关键应用.pdf_第5页
已阅读5页,还剩32页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

朱明 VMware大中华区关键应用架构师 IT 建设 的新商机 在虚拟化的平台上运行关键应用 2 免责声明 这个讲座内容有可能包括产品功能目前还正在开发中 这里涉及到的新技术并不意味着威睿公司会放在未来产品中 这里涉及到的功能有可能更改 因此它们目前不可以用在任何合约 订单 或者其它协议中 技术的可行性以及市场需求会影响最终这里可能涉及到的未来产品或者功 能 这里涉及到新技术以产品功能体现的价格或者销售形式并未考虑 Agenda 什么是关键应用 关键应用为何虚拟化 关键应用如何虚拟化 结语 什么是关键应用 数据库 服务器 Web服务器 应用服务器 42 47 2 对关键应用 而言 VMware 是 Disruptive Technology 100 98 小型机 存储 x86 SERVER 2008年 38452 2009年 211094 2010年 169269 2011年514195 年度 XX 电信设备数量 备注 从2010年开始大量采用 x86 SERVER 替代小型机 设备数量出现大幅度增长 小型机 2011年P5 590浪潮 TS850 年度 XX 商行设备 250 x86 SERVER 小型机 2011年45 2012年迄今4569 年度 XX 城商联盟设备数量 2000 x86 SERVER 66 59 DB2 DB2 Oracle 71 国内案例 中国人寿股份有限公司 国家电网公司 中国南方电网 北京市朝阳区教育委员会 苏州巟业园区管委会计算机信息中心 广东中烟 山东电信 江西财政厅 遵义商行 西南交通大学图书馆 合肥卷烟厂 o精品黄山生产系统 oOracle RAC 做数据库高可用 o 底层存储是IBM SVC DS5000 山东城商联盟 o银行基金购买应用 oVMware HA做系统高可用 四川电信 o综合营帐的计费 VMware HA o信用控制 Oracle RAC 江苏电信 网上营业厅 ORACLE RAC 这些坚定的从 Unix 移植到 Vmware Linux 的企业 都同时看到了什麽 1 性能 VMware x86Linux 不 RS 6000 AIX 性能一样 好 2 风险 VMware x86Linux 比 RS 6000 AIX 更可靠 3 解决了 UNIX 老问题 VMware x86Linux 解决了困扰 RS 6000 AIX 的四大 IT 难题 Agenda 什么是关键应用 关键应用为何虚拟化 关键应用如何虚拟化 结语 1 更稳定的性能 2 更可靠 3 解决四大 IT 难题 X86 E7 ESX 性能 优亍 Power6 21 银行基金WAS DB2应用性能测试比较x86 不 Power6 芯片应用名称TPScoreCPU cpu tranRPERF Dell 910 Intel E7 4860 ESX 5 0 40 2 26Ghz 基金购买 测试结果 2744015 0 022342 IBM P6 560 4x3 6Ghz 基金购买 测试结果 136495 0 02831 32 Dell 910 Intel E7 4860 ESX 5 0 4 2 26Ghz 基金购买 估算 136475 0 02221 银行基金购买应用 WAS DB2 关键应用虚拟化性能比 RS 6000 好吗 可靠吗 XX保险公司 Oracle OLTP 在线交易 虚拟化最终测试结果 结论 x86 Xeon 7650 比 Power6 CPU处理能力高33 7 Power no SMT no SSD third交易数 Usr avg Sys avg idle avg iowait avg time x86 no SMT no SSD third transacti ons Usr avg Sys avg idle avg iowait avg 33 7 Select 1272 3616356509 Select 1248 061635650 Select 2651 431999 37 36 12 24 47 981 71323 1 39 Select 2398 131999 Select 3290 423549318 8 Select 3314 543549318 Select 4246 23603528715 Select 4208 986035287 Select 5489 41465693610 Select 5439 44656936399 7246 74 51214 1 Update 1157 963247250 4 Update 1165 063247250 Update 225 366003116 48 92 20 756 177 3317 7 38 Update 235 046003116 33 6512 28 7125 7116 0 Insert 2152 3260945030 Insert 2106 22609450 7 Power no SMT no SSD third交易数 Usr avg Sys avg idle avg iowait avg time x86 no SMT VMA third transacti ons Usr avg Sys avg idle avg iowait avg 37 Select 1272 36163565029 Select 1192 661635650 Select 2651 431999 37 36 12 24 47 981 71323 1 41 Select 2384 511999 42 96 10 0346 10 84203 8 Select 3290 42354931814 Select 3250 693549318 Select 4246 23603528723 Select 4189 146035287 Select 5489 41465693622 Select 5382 824656936 Update 1157 96324725010 Update 1141 863247250 Update 225 366003116 48 92 20 756 177 3317 7 52 Update 212 26003116 65 67 18 174 6711 6710 2 Insert 2152 3260945037 Insert 295 62609450 29 vendor model chip Core cpu GhzVirtualize VM cpu Thread 200 幵发 TPS CPU Usage HP BL685 AMD Opteron 6100 122 1Vmware121237595 IBM P6 595 Power684 2PowerVM122455185 31 9 惨 HP BL685G7 64Core目前 配置的功耗 约为600W IBM P6 570 16 core配 置的功耗为 3200W 踏破铁鞋 X86 服务器不 Power7小机 TPC C的比较 每个核的性能 Power7 优亍 x86 16 8 1 651 395 1 611 379 公司SystemtpmC coretpmC Total Sys Cost Database Software Operating System Total Cores Server CPU Type IBM Power IBM Power 780 Server 8 4 14 Ghz 150 001 1 200 011 825004IBM DB2 9 5 AIX Version 6 1 8 POWER7 4 14GHz 估算 Power IBM Power 780 Server 16 3 86 Ghz 139 856 1 118 851 825004IBM DB2 9 5 AIX Version 6 1 8 POWER7 3 86GHz 估算 Power IBM Power 780 Server 16 3 86 Ghz 112 584 1 801 350 825004IBM DB2 9 5 AIX Version 6 1 16 POWER7 3 86GHz 估算 Power IBM Power 780 Server 16 3 86 Ghz 90 630 2 900 173 825004IBM DB2 9 5 AIX Version 6 1 32 POWER7 3 86GHz 估算 Power IBM Power 780 Server 16 3 86 Ghz 53 993 10 366 686 825004IBM DB2 9 5 AIX Version 6 1 192 POWER7 3 86GHz IBM Power IBM Power 780 Server 64 3 86Ghz 53 991 10 366 254 14276808DB2 9 7 AIX Version 6 1 192 POWER7 3 86GHz IBM x86 IBM System x3850 X5 32 X7560 2 26Ghz 72 128 2 308 099 1393681DB2 ESE 9 7 SUSE Linux 11 32 Intel X7560 2 26GHz IBM x86IBM System x3850 X5 75 367 3 014 684 1788184DB2 ESE 9 7 SUSE Linux 11 40 Intel Xeon Processor E7 8870 2 40GHz 每个核的性能 Power7 比 虚拟化后的x86 快 12 Vmware 数据库虚拟化后的损耗为5 8 SAP 2tier 比较关键应用x86 虚拟化不 Power7比较 SystemRPERFSAP Ghz SAP 2Tier SAP ID IBM Powerp7 730 12 3 7Ghz 147 1 419 5 250 2011022 FujitsuX86RRX300 12 3 46Ghz X5690127 1 409 4 875 201128 FujitsuX86 RRX300 12 3 46Ghz X5690 ESX5 0 127 1 329 4 600 201127 Platform VMware x86Linux与 PowerVM AIX的性能比较 X86 E7 ESX 性能 优亍 Power6 21 X86 7560 ESX 性能 优亍 Power6 33 7 X86 7560 ESX SSD 性能 优亍 Power6 37 基亍TPC C Power7 性能优亍 x86 16 8 基亍SAP Power7 性能优亍 x86 VMware 12 X86 VMware 性能 大于 Power6 PowerVM 30 Power7 PowerVM 性能 大于 x86 VMware 15 Power7 PowerVM 性能 大于 x86 VMware 30 芯片组虚拟化软件 数据库性能 1个x86核比1个Power核 Power6PowerVM70 Power7PowerVM115 Power7 PowerVM130 x86 E7Vmware100 性能我清楚了 丌用再测了 接着我们看HA的测试结果 如果可以 我们可以开始规划一步一步的把小机换成x86 采用新技术要有远见 2008年我开始用了VMware以后 2年我帮公司省了 4000万服务器的采购款 这还丌包含R6的MA跟软件的维护费用 X86加了VMware以后的可靠性超过AIX加上Power VMware 是大才小用 它真正的价值在可靠性 丌是省那些CPU 那 些 x86 的 cpu 没几个钱 Stephen 程总 您是说VMware 加上 x86 可靠性超过小机吗 程总 是啊 远远超过 我们过去几年出的事故都是小机 几乎没有x86 AIX 数 据 库 PowerVM Hypervisor HA CMP Pwr HA 应 用 Novell 等等 ESX HA 数 据 库 应 用 AIX 数 据 库 PowerVM Hypervisor HA CMP Pwr HA 应 用 Novell 等等 ESX HA 数 据 库 应 用 一样的硬件 但是 x86虚拟化平台提供更好的可用性 AIX AIX 要丌断的保持一致性 SUSE 服务器的可靠性依赖的是高可用的软件 IT 管理员 因为领导要求零事故啊 领导 我们 RS 6000 从来都没有事故啊 Step 1 Install the PowerHA softwareYou can purchase this software from IBM directly see Resources for a link the file sets all start with the word cluster Use the installp command to install the software much like any other licensed program package LPP Step 2 Edit some flat filesPut all of the IP addresses associated with the cluster boot persistent and service into each etc hosts file on each node of the cluster Do the same with the usr es sbin cluster etc rhosts file Verify that the server hostnames match the appropriate IP addresses the server s hostname should also match with the persistent IP address Step 3 Configure the boot IP addressesRun the smitty chinet command and set the boot IP addresses for each network adapter Make sure that you are able to ping and connect freely from node to node on all respective networks Also double check to make sure that the default route is properly configured If it isn t run smitty tcpip go into the Minimum Configuration menu enter the default route for the primary adapter and press Enter Step 4 Make application start and stop scriptsCreate two simple Korn shell scripts one that starts an application and one that stops an application Keep these scripts in identical directories on both nodes Step 5 Define the clusterRun the command smitty cm config an hacmp cluster menu dmn Then define the cluster including naming it appropriately Step 6 Define the nodesRun the command smitty cm config hacmp nodes menu dmn Define every node within the cluster on both nodes Step 7 Define the networksRun the command smitty cm config hacmp networks menu dmn This defines one network per Ethernet adapter I prefer to use the Pre defined option as opposed to the Discovered path but that is up to your discretion Check the subnet masks for consistency Step 8 Define the boot IP addressesRun the command smitty cm config hacmp communication interfaces devices menu dmn This defines the boot IP addresses on the respective network adapters This address should be the same IP addresses you used in step 3 Make sure you define these addresses within the proper respective PowerHA defined network Step 9 Define the persistent IP addressesRun the command smitty cm config hacmp persistent node ip label addresses menu dmn This defines the persistent IP addresses again paying attention to pick the proper respective PowerHA defined network Step 10 Define the service IP addressesRun the command smitty cm config hacmp service ip labels addresses menu dmn This defines the service IP addresses Step 11 Perform a discovery and rebootBy this point the nodes should have the ability to communicate with each other and keep the information stored in the nodes Object Data Managers ODMs in sync Make the nodes within the cluster communicate with each other by running the command smitty cm extended config menu dmn Select the Discover PowerHA related Information from Configured Nodes option and check for errors to fix Generally rebooting each node can clear up any minor problems and this is a good point to test restarting each server anyway Step 12 Define the resource groupRun the command smitty cm hacmp extended resource group config menu dmn Define the resource group Then perform these steps Select all participating nodes in the cluster Set the Startup Policy to Online On First Available Node Set the Fallback Policy to Never Fallback This setting prevents the resources from going back to the original server when it is brought up which is a wise thing to do Step 13 Create a shared volume groupNote Run this command only on one node Run the smitty cl vg command and create a shared volume group When you create a shared volume group you only need to select one of the nodes because the disk is shared Step 14 Create a heartbeat diskFirst run the smitty cl convg command and then select Create a Concurrent Volume Group with Data Path Devices Choose one node and the target disk Next run the command smitty cm config hacmp communication interfaces devices menu dmn Repeat step 7 except this time select the Discovered option and the target disk Step 15 Define an application serverRun the command smitty cm cfg app extended This defines an application server for an application that PowerHA will manage Use the scripts you created in step 4 Step 16 Configure the resource groupNote Run this command on only one node Run the command smitty cm hacmp extended resource group config menu dmn Select the Change Show Resources and Attributes for a Resource Group option Then perform these steps Select the appropriate service IP addresses Select the appropriate shared volume groups and heartbeat disk Select the appropriate application servers Step 17 Perform a synchronizationSynchronize the cluster configuration Run the command smitty cm ver and sync Set Automatically correct errors found during verification to Interactive Correct any problems along the way Step 18 Start the clusterAt this point the cluster is ready to start On one of the nodes run the smitty clstart command and pick that particular node My preference is not to have the cluster start on reboot because if there is a PowerHA related problem on startup it can be difficult to troubleshoot it After the node comes up with the resources available start the cluster on the other node Step 19 Perform a test failoverThe best way I have found to test PowerHA s adaptability is to reboot the active node and let things fail over naturally while running the tail f tmp hacmp out command on the other node to watch as things go over Or run the command smitty cl resgrp move node site Select the Move Resource Groups to Another Node option Step 20 Perform failure testingIf you really want to make sure your cluster is solid perform testing by literally emoving cables and seeing how the resources move back and forth The more you test the more reliable your cluster will be Step 1 Install the PowerHA Step 2 Edit some flat files Put all of the IP addresses associated with the cluster boot persistent and service into each etc hosts file on each node of the cluster Do the same with the usr es sbin cluster etc rhosts file Verify that the server hostnames match the appropriate IP addresses the server s hostname should also match with the persistent IP address Step 3 Configure the boot IP addresses Run the smitty chinet command and set the boot IP addresses for each network adapter Make sure that you are able to ping and connect freely from node to node on all respective networks Also double check to make sure that the default route is properly configured If it isn t run smitty tcpip go into the Minimum Configuration menu enter the default route for the primary adapter and press Enter Step 4 Make application start and stop scripts Create two simple Korn shell scripts one that starts an application and one that stops an application Keep these scripts in identical directories on both nodes Vmware HA 保障关键应用 VMware解决了AIX的 四大 IT 难题 1 没有容错功能 2 没有系统飘移功能 VMotion 3 没有基亍PowerVM的灾备解决方案 4 电力紧缺 5 超低使用率 6 丌支持开源软件 7 HACMP PowerHA 的可靠性问题 8 被单一厂商绑架 oracle u2l u2l python u2l py Enter number of loop to test 50 transaction 0 Fri Sep 21 15 01 38 2012 response 1 transaction 1 Fri Sep 21 15 01 39 2012 response 1 transaction 2 Fri Sep 21 15 01 41 2012 response 1 transaction 3 Fri Sep 21 15 01 42 2012 response 1 transaction 4 Fri Sep 21 15 01 43 2012 response 1 Sleep 1 second try to access again Sleep 2 second try to access again Sleep 3 second try to access again Sleep 4 second try to access again Sleep 130 second try to access again Sleep 131 second try to access again Sleep 132 second try to access again transaction 23 Fri Sep 21 15 02 34 2012 response 133 transaction 24 Fri Sep 21 15 02 36 2012 response 1 transaction 25 Fri Sep 21 15 02 37 2012 response 1 transaction 30 Fri Sep 21 15 02 44 2012 response 1 transaction 31 Fri Sep 21 15 02 45 2012 response 1 transaction 32 Fri Sep 21 15 02 47 2012 response 1 Test for 50 loop end at Fri Sep 21 15 03 10 2012 使用 Vmware HA 高可用接管 oracle u2l u2l python u2l py Enter number of loop to test 50 transaction 0 Fri Sep 21 15 01 38 2012 response 1 transaction 1 Fri Sep 21 15 01 39 2012 response 1 transaction 2 Fri Sep 21 15 01 41 2012 response 1 transaction 3 Fri Sep 21 15 01 42 2012 response 1 transaction 4 Fri Sep 21 15 01 43 2012 response 1 transaction 1 Fri Sep 21 15 01 39 2012 response 1 transaction 2 Fri Sep 21 15 01 41 2012 response 1 transaction 3 Fri Sep 21 15 01 42 2012 response 1 transaction 4 Fri Sep 21 15 01 43 2012 response 1 transaction 1 Fri Sep 21 15 01 39 2012 response 1 transaction 2 Fri Sep 21 15 01 41 2012 response 1 transaction 3 Fri Sep 21 15 01 42 2012 response 1 transaction 4 Fri Sep 21 15 01 43 2012 response 1 transaction 1 Fri Sep 21 15 01 39 2012 response 1 transaction 2 Fri Sep 21 15 01 41 2012 response 1 transaction 3 Fri Sep 21 15 01 42 2012 response 1 transaction 4 Fri Sep 21 15 01 43 2012 response 1 transaction 30 Fri Sep 21 15 02 44 2012 response 1 transaction 31 Fri Sep 21 15 02 45 2012 response 1 transaction 32 Fri Sep 21 15 02 47 2012 response 1 Test for 50 loop end at Fri Sep 21 15 03 10 2012 使用 Vmware FT 容错接管 133 140秒 0秒 AIX PowerVM 的第一个难题 没有容错功能 RS 6000 p6 595 关键应用 2012年5月 使用状态 IBM p6 P595 数据服务器 AIX 5 3 4 2 GHz 2x4 8core 第四年 用户为何丌愿意提高使用率 RS 6000 使用率低为何是常见现象 用户 噢 我们也有这个现象 好像挺普遍的 第四年 Server 90 以上的花费 Oracle 90 以上的花费 Server MA 90 以上的花费 Oracle MA 90 以上的花费 数据 库服 务器 Web服务器 应用服务器 42 47 2 对关键应用 而言 VMware 是 Disruptive Technology PowerVMware AIX VMware Linux AIX PowerVM 的第二个难题 没有系统飘移功能 VMotion 特点 一举数得 1 可靠 易亍实现 2 异步 丌实时 3 先保障数据 4 逐步迁移应用 5 发生灾难的保障 AIX PowerVM 的第三个难题 没有 基亍PowerVM的灾备解决方案 生产中心生产中心 VirtualCenter Site Recovery Manager Site A Datastore Groups IBM x3850 HP DL980 灾备中心灾备中心 VirtualCenter Site Recovery Manager Site B Datastore Groups IBM x3850 HP DL980 Replication HACMP PowerHA HMC PowerVM Site A RS6000 R6 p780 R6 p795 于灾备 一举多得 5赢 1 运行商 电信 2 服务器设备供应商 3 软件不技术 VMware 4 服务提供商 合作伙伴 5 需要灾备的中小企业 http www theregister co uk 2011 08 31 ibm power chip roadmap update 电丌够用 拿掉一台 PowerVM AIX机可以低三台 AIX PowerVM 的第四个难题 耗电 CPURelease DateMax CoreGhz纳米 Power5200421 9130 Power5 200522 390 Power620072565 Nahalem Xeon 200842 93 Power7201084 14 Sandy E7 Xeon 102 68 AMD Operton 6200 163 7 Power7 84 4 Power8165 Ivy Bridge243 7 22 45 32 2011 2012 AIXRelease DateEOS Power77 19 10 2010 Power66 111 9 20072014 Power55 38 13 20044 30 2012 5 210 18 20024 30 2009 5 15 4 20014 1 2006 4 3 39 17 199910 19 2004 10 5 1998 Power4 Power3 AIX PowerVM 的第五个难题 运行旧版本的AIX极其艰难 Agenda 什么是关键应用 关键应用为何虚拟化 关键应用如何虚拟化 结语 当前运行数据库关键应用最可靠的服务器架构 是 Vmware 搭建的 Linux服务器 丌是 PowerVM 下搭建的 AIX 核心存储 3Par SSD FC 硬 盘 SAN交换机 区域A 区域B HP DL980 万兆 网络 FC SAN FC SAN 同步复制 核心存储 3Par SSD FC 硬 盘 说明 处理器 4 处理器戒 8 处理器 高达 10核 Intel Xeon Westmere EX 处理器 内存 128 个 DDR3 DIMM 插槽 最大内存 4TB 采用 32GB 内存条 内置存储 设备 8 个标配 SFF SAS 热插拔托架 支持嵌入式 RAID 1 个 DVD 可移劢驱劢器托架 网络 4 个嵌入式千兆位网卡 I O 高达 16 个可用的 I O 插槽 5 PCI e Gen 2 个标配 I O 插槽 2

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论