在虚拟化的平台上运行关键应用U2VL_第1页
在虚拟化的平台上运行关键应用U2VL_第2页
在虚拟化的平台上运行关键应用U2VL_第3页
在虚拟化的平台上运行关键应用U2VL_第4页
在虚拟化的平台上运行关键应用U2VL_第5页
已阅读5页,还剩31页未读 继续免费阅读

付费下载

下载本文档

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

文档简介

VMware

Inc.在虚拟化的平台上运行

关键应用

U2VL第一页,共三十六页。内容提要什么是关键应用关键应用为何虚拟化关键应用如何虚拟化结语第二页,共三十六页。什么是关键应用?数据库服务器Web服务器应用服务器42%47%2%对关键应用而言,VMware是DisruptiveTechnology第三页,共三十六页。100%98%59%DB2DB2Oracle71国内案例

中国人寿股份有限公司

国家电网公司

中国南方电网

北京市朝阳区教育委员会

苏州工业园区管委会计算机信息中心广东中烟山东电信江西财政厅

遵义商行西南交通大学图书馆合肥卷烟厂:精品黄山生产系统,OracleRAC做数据库高可用,底层存储是IBMSVC+DS5000山东城商联盟:银行基金购买应用,VMwareHA做系统高可用,四川电信:综合营帐的计费,VMwareHA。信用控制,OracleRAC江苏电信:网上营业厅ORACLERAC第四页,共三十六页。这些坚定的从Unix移植到Vmware-Linux的企业都同时看到了什麽?性能VMware+x86Linux与RS/6000-AIX性能一样好。风险VMware+x86Linux比RS/6000-AIX更可靠。解决了UNIX老问题

VMware+x86Linux解决了困扰RS/6000-AIX的四大IT难题。第五页,共三十六页。Agenda什么是关键应用关键应用为何虚拟化关键应用如何虚拟化结语更稳定的性能,更可靠解决四大IT难题第六页,共三十六页。X86-E7-ESX性能优于Power621%

银行基金WAS+DB2应用性能测试比较x86与Power6关键应用虚拟化性能比RS/6000好吗?可靠吗?第七页,共三十六页。XX保险公司OracleOLTP在线交易–虚拟化最终测试结果结论:x86Xeon-7650比Power6CPU处理能力高33.7%第八页,共三十六页。惨HPBL685G7,64Core目前配置的功耗约为600W。IBMP6/570

16core配置的功耗为3200W第九页,共三十六页。踏破铁鞋:X86服务器与Power7小机TPC-C的比较每个核的性能Power7优于x8616.8%第十页,共三十六页。每个核的性能Power7比虚拟化后的x86快12%Vmware数据库虚拟化后的损耗为5.8%SAP-2tier比较关键应用x86虚拟化与Power7比较第十一页,共三十六页。VMware+x86Linux与PowerVM-AIX的性能比较X86-E7-ESX性能优于Power621%X86-7560-ESX

性能优于Power633.7%X86-7560-ESX+SSD性能优于Power637%基于TPC-CPower7性能优于x8616.8%基于SAP

Power7性能优于x86+VMware12%X86+VMware性能大于

Power6+PowerVM30%Power7+PowerVM性能大于

x86+VMware15%Power7++PowerVM性能大于

x86+VMware30%第十二页,共三十六页。性能我清楚了,不用再测了。接着我们看HA的测试结果,如果可以,我们可以开始规划一步一步的把小机换成x86采用新技术要有远见,2008年我开始用了VMware以后,2年我帮公司省了4000万服务器的采购款。这还不包含R6的MA跟软件的维护费用。X86加了VMware以后的可靠性超过AIX加上PowerVMware是大才小用,它真正的价值在可靠性,不是省那些CPU.那些x86的cpu没几个钱Stephen:程总,您是说VMware加上x86可靠性超过小机吗?程总:是啊,远远超过。我们过去几年出的事故都是小机,几乎没有x86。第十三页,共三十六页。AIX数据库PowerVMHypervisorHA-CMPPwrHA应用Novell等等ESXHA数据库应用AIX数据库PowerVMHypervisorHA-CMPPwrHA应用Novell等等ESXHA数据库应用一样的硬件,但是:x86虚拟化平台提供更好的可用性AIXAIX要不断的保持一致性SUSE服务器的可靠性依赖的是高可用的软件IT管理员:因为领导要求零事故啊!领导:我们RS/6000从来都没有事故啊!第十四页,共三十六页。Step1.InstallthePowerHAsoftwareYoucanpurchasethissoftwarefromIBMdirectly(seeResourcesforalink);thefilesetsallstartwiththewordcluster.Usetheinstallpcommandtoinstallthesoftware,muchlikeanyotherlicensedprogrampackage(LPP).Step2.EditsomeflatfilesPutalloftheIPaddressesassociatedwiththecluster—boot,persistent,andservice—intoeach/etc/hostsfileoneachnodeofthecluster.Dothesamewiththe/usr/es/sbin/cluster/etc/rhostsfile.VerifythattheserverhostnamesmatchtheappropriateIPaddresses;theserver'shostnameshouldalsomatchwiththepersistentIPaddress.Step3.ConfigurethebootIPaddressesRunthesmittychinetcommand,andsetthebootIPaddressesforeachnetworkadapter.Makesurethatyouareabletopingandconnectfreelyfromnodetonodeonallrespectivenetworks.Also,double-checktomakesurethatthedefaultrouteisproperlyconfigured.Ifitisn't,runsmittytcpip,gointotheMinimumConfigurationmenu,enterthedefaultroutefortheprimaryadapter,andpressEnter.Step4.MakeapplicationstartandstopscriptsCreatetwosimpleKornshellscripts—onethatstartsanapplicationandonethatstopsanapplication.Keepthesescriptsinidenticaldirectoriesonbothnodes.Step5.DefinetheclusterRunthecommand:smittycm_config_an_hacmp_cluster_menu_dmn

Then,definethecluster,includingnamingitappropriately.Step6.DefinethenodesRunthecommand:smittycm_config_hacmp_nodes_menu_dmn

Defineeverynodewithintheclusteronbothnodes.Step7.DefinethenetworksRunthecommand:smittycm_config_hacmp_networks_menu_dmn

ThisdefinesonenetworkperEthernetadapter.IprefertousethePre-definedoptionasopposedtotheDiscoveredpath,butthatisuptoyourdiscretion.Checkthesubnetmasksforconsistency.Step8.DefinethebootIPaddressesRunthecommand:smittycm_config_hacmp_communication_interfaces_devices_menu_dmn

ThisdefinesthebootIPaddressesontherespectivenetworkadapters.ThisaddressshouldbethesameIPaddressesyouusedinstep3.MakesureyoudefinetheseaddresseswithintheproperrespectivePowerHA-definednetwork.Step9.DefinethepersistentIPaddressesRunthecommand:smittycm_config_hacmp_persistent_node_ip_label_addresses_menu_dmn

ThisdefinesthepersistentIPaddresses,againpayingattentiontopicktheproperrespectivePowerHA-definednetwork.Step10.DefinetheserviceIPaddressesRunthecommand:smittycm_config_hacmp_service_ip_labels_addresses_menu_dmn

ThisdefinestheserviceIPaddresses.Step11.PerformadiscoveryandrebootBythispoint,thenodesshouldhavetheabilitytocommunicatewitheachotherandkeeptheinformationstoredinthenodes'ObjectDataManagers(ODMs)insync.Makethenodeswithintheclustercommunicatewitheachotherbyrunningthecommand:smittycm_extended_config_menu_dmn

SelecttheDiscoverPowerHA-relatedInformationfromConfiguredNodesoption,andcheckforerrorstofix.Generally,rebootingeachnodecanclearupanyminorproblems,andthisisagoodpointtotestrestartingeachserveranyway.Step12.DefinetheresourcegroupRunthecommand:smittycm_hacmp_extended_resource_group_config_menu_dmn

Definetheresourcegroup.Then,performthesesteps:Selectallparticipatingnodesinthecluster.SettheStartupPolicytoOnlineOnFirstAvailableNode.SettheFallbackPolicytoNeverFallback.Thissettingpreventstheresourcesfromgoingbacktotheoriginalserverwhenitisbroughtup,whichisawisethingtodo.Step13.CreateasharedvolumegroupNote:Runthiscommandonlyononenode.Runthesmittycl_vgcommand,andcreateasharedvolumegroup.Whenyoucreateasharedvolumegroup,youonlyneedtoselectoneofthenodes,becausethediskisshared.Step14.CreateaheartbeatdiskFirst,runthesmittycl_convgcommand,andthenselectCreateaConcurrentVolumeGroupwithDataPathDevices.Chooseonenodeandthetargetdisk.Next,runthecommand:smittycm_config_hacmp_communication_interfaces_devices_menu_dmn

Repeatstep7,exceptthistime,selecttheDiscoveredoptionandthetargetdisk.Step15.DefineanapplicationserverRunthecommand:smittycm_cfg_app_extended

ThisdefinesanapplicationserverforanapplicationthatPowerHAwillmanage.Usethescriptsyoucreatedinstep4.Step16.ConfiguretheresourcegroupNote:Runthiscommandononlyonenode.Runthecommand:smittycm_hacmp_extended_resource_group_config_menu_dmn

SelecttheChange/ShowResourcesandAttributesforaResourceGroupoption.Then,performthesesteps:SelecttheappropriateserviceIPaddresses.Selecttheappropriatesharedvolumegroupsandheartbeatdisk.Selecttheappropriateapplicationservers.Step17.PerformasynchronizationSynchronizetheclusterconfiguration.Runthecommand:smittycm_ver_and_sync

SetAutomaticallycorrecterrorsfoundduringverification?toInteractive.Correctanyproblemsalongtheway.Step18.StarttheclusterAtthispoint,theclusterisreadytostart.Ononeofthenodes,runthesmittyclstartcommand,andpickthatparticularnode.Mypreferenceisnottohavetheclusterstartonreboot,becauseifthereisaPowerHA-relatedproblemonstartup,itcanbedifficulttotroubleshootit.Afterthenodecomesupwiththeresourcesavailable,starttheclusterontheothernode.Step19.PerformatestfailoverThebestwayIhavefoundtotestPowerHA’sadaptabilityistoreboottheactivenodeandletthingsfailovernaturallywhilerunningthetail–f/tmp/hacmp.outcommandontheothernodetowatchasthingsgoover.Or,runthecommand:smittycl_resgrp_move.node_site

SelecttheMoveResourceGroupstoAnotherNodeoption.Step20.PerformfailuretestingIfyoureallywanttomakesureyourclusterissolid,performtestingbyliterallyemovingcablesandseeinghowtheresourcesmovebackandforth.Themoreyoutest,themorereliableyourclusterwillbe.第十五页,共三十六页。Step1.InstallthePowerHA

Step2.Editsomeflatfiles

PutalloftheIPaddressesassociatedwiththecluster—boot,persistent,andservice—intoeach/etc/hostsfileoneachnodeofthecluster.Dothesamewiththe/usr/es/sbin/cluster/etc/rhostsfile.VerifythattheserverhostnamesmatchtheappropriateIPaddresses;theserver‘shostnameshouldalsomatchwiththepersistentIPaddress.

Step3.ConfigurethebootIPaddresses

Runthesmittychinetcommand,andsetthebootIPaddressesforeachnetworkadapter.Makesurethatyouareabletopingandconnectfreelyfromnodetonodeonallrespectivenetworks.Also,double-checktomakesurethatthedefaultrouteisproperlyconfigured.Ifitisn’t,runsmittytcpip,gointotheMinimumConfigurationmenu,enterthedefaultroutefortheprimaryadapter,andpressEnter.

Step4.Makeapplicationstartandstopscripts

CreatetwosimpleKornshellscripts—onethatstartsanapplicationandonethatstopsanapplication.Keepthesescriptsinidenticaldirectoriesonbothnodes.、第十六页,共三十六页。VmwareHA-保障关键应用第十七页,共三十六页。VMware解决了AIX的四大IT难题!没有容错功能没有系统飘移功能(VMotion)没有基于PowerVM的灾备解决方案电力紧缺超低使用率不支持开源软件HACMP/PowerHA的可靠性问题被单一厂商绑架第十八页,共三十六页。oracle@u2lu2l]$pythonu2l.pyEnternumberoflooptotest->50transaction#0FriSep2115:01:382012response=1transaction#1FriSep2115:01:392012response=1transaction#2FriSep2115:01:412012response=1transaction#3FriSep2115:01:422012response=1transaction#4FriSep2115:01:432012response=1Sleep1second&trytoaccessagain...Sleep2second&trytoaccessagain...Sleep3second&trytoaccessagain...Sleep4second&trytoaccessagain...。。Sleep130second&trytoaccessagain...Sleep131second&trytoaccessagain...Sleep132second&trytoaccessagain...transaction#23FriSep2115:02:342012response=133transaction#24FriSep2115:02:362012response=1transaction#25FriSep2115:02:372012response=1。。transaction#30FriSep2115:02:442012response=1transaction#31FriSep2115:02:452012response=1transaction#32FriSep2115:02:472012response=1Testfor50loopendat->FriSep2115:03:102012使用Vmware-HA高可用接管oracle@u2lu2l]$pythonu2l.pyEnternumberoflooptotest->50transaction#0FriSep2115:01:382012response=1transaction#1FriSep2115:01:392012response=1transaction#2FriSep2115:01:412012response=1transaction#3FriSep2115:01:422012response=1transaction#4FriSep2115:01:432012response=1transaction#1FriSep2115:01:392012response=1transaction#2FriSep2115:01:412012response=1transaction#3FriSep2115:01:422012response=1transaction#4FriSep2115:01:432012response=1transaction#1FriSep2115:01:392012response=1transaction#2FriSep2115:01:412012response=1transaction#3FriSep2115:01:422012response=1transaction#4FriSep2115:01:432012response=1transaction#1FriSep2115:01:392012response=1transaction#2FriSep2115:01:412012response=1transaction#3FriSep2115:01:422012response=1transaction#4FriSep2115:01:432012response=1。。。transaction#30FriSep2115:02:442012response=1transaction#31FriSep2115:02:452012response=1transaction#32FriSep2115:02:472012response=1Testfor50loopendat->FriSep2115:03:102012使用Vmware-FT容错接管133-140秒0秒AIX-PowerVM的第一个难题:没有容错功能第十九页,共三十六页。RS/6000p6-595关键应用2012年5月使用状态IBMp6-P595,

数据服务器,AIX5.3,4.2GHz,2x4=8core.第四年用户为何不愿意提高使用率?RS/6000使用率低为何是常见现象?用户:噢,我们也有这个现象,好像挺普遍的。第四年Server90%以上的花费Oracle90%以上的花费ServerMA-90%以上的花费OracleMA-90%以上的花费第二十页,共三十六页。数据库服务器Web服务器应用服务器42%47%2%对关键应用而言,VMware是DisruptiveTechnologyPowerVMware+AIXVMware+Linux第二十一页,共三十六页。AIX-PowerVM的第二个难题没有系统飘移功能(VMotion)第二十二页,共三十六页。特点:一举数得-可靠,易于实现异步,不实时先保障数据逐步迁移应用发生灾难的保障AIX-PowerVM的第三个难题:没有基于PowerVM的灾备解决方案生产中心VirtualCenterSiteRecovery

ManagerSiteADatastoreGroupsIBM-x3850HP-DL980灾备中心VirtualCenterSiteRecovery

ManagerSiteBDatastoreGroupsIBM-x3850HP-DL980ReplicationHACMP/PowerHAHMC/PowerVMSiteA/RS6000R6-p780R6-p795REDOLOGReplication云灾备:一举多得–5赢运行商:电信服务器设备供应商软件与技术:VMware服务提供商:合作伙伴需要灾备的中小企业第二十三页,共三十六页。第二十四页,共三十六页。电不够用,拿掉一台PowerVM-AIX机可以低三台AIX-PowerVM的第四个难题:耗电第二十五页,共三十六页。AIX-PowerVM的第五个难题运行旧版本的AIX极其艰难第二十六页,共三十六页。Agenda什么是关键应用关键应用为何虚拟化关键应用如何虚拟化结语第二十七页,共三十六页。当前运行数据库关键应用最可靠的服务器架构是Vmware搭建的Linux服务器,不是PowerVM下搭建的AIX核心存储3Par(SSD+FC硬盘)SAN交换机区域A区域BHPDL980万兆网络FCSANFCSAN同步复制核心存储3Par(SSD+FC硬盘)说明处理器4处理器或8处理器,高达10核Intel®Xeon®Westmere-EX处理器内存128个DDR3DIMM插槽最大内存4TB(采用32GB内存条)内置存储设备8个标配SFFSAS热插拔托架支持嵌入式RAID1个DVD可移动驱动

温馨提示

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

最新文档

评论

0/150

提交评论