1、黄 山 香 茗 酒 店汇锦酒店管理系统高可用方案二 零 零 九 年 八 月 二 十 日目录一:项目综述二:酒店系统高可用性设计原则和客户需求分析三:Windows MSCS 双机集群架构简介四:Windows MSCS 双机集群设备规划需求五:VMware vSphere架构简介及优势分析六:VMware vSphere设备规划需求七:MSCS&VMware优缺陷分析八:公司简介及案例分析九:技术服务,支持及保修一:项目综述黄山香茗酒店有限公司是由黄山茶博园投资有限公司全权投资一家按照五星级酒店原则建造酒店,茶博园是一家于投资、开发、旅游、商贸、文化传播等为一体多元化大型投资公司。 “徽商中心
2、”项目是我司在黄山市首个综合性开发建设项目,其一期核心工程既黄山第一山水酒店黄山香茗酒店、黄山旅游服务良港黄山徽商中心和黄山唯一大型徽文化映像演艺黄山徽商中心大剧院。随着计算机在社会各个领域广泛使用,人们已习惯于计算机系统带来便捷和高效率,但计算机系统也非常脆弱,它会受各种因素影响,如硬件系统自身故障,电源故障, 病毒,自然灾害或人为恶意破坏,都会导致系统无法正常运营。既有诸多系统均是单主机工作环境,任何一种单点故障,都会影响公司业务正常运转,并且产生诸多不良后果,1. 客户满意度非常极差,从而影响客户忠诚度。毕竟当前不存在没有竞争对手行业,如果经常浮现系统宕机而导致业务停顿,势必会导致客户将
3、业务转向竞争对手; 2. IT部门承受极大压力,一方面要保证系统稳定性,另一方面,系统一旦浮现故障,必要在尽量短时间内让系统再次运营,但这往往又无法保证; 3. 也许导致数据不完整和不一致,甚至某些数据丢失,特别在数据库环境下; 4. 硬盘故障尚有也许导致业务数据丢失,这种后果更为严重,甚至退出该市场。 因而,系统高可用性已成为核心业务环节当务之急。当前黄山香茗酒店管理系统就为单主机架构如下图从图中可以看出当前系统存在如下问题1:服务器才有单颗硬盘,没有RIAD功能,一旦硬盘损坏会导致数据所有丢失2:当前服务器采用是老式直接附加存储(DAS)模式连接,没有任何容错功能,一旦系统停机或硬件故障会
4、导致酒店管理系统停机,导致酒店管理系统无法运营,酒店ERP系统无法在最快时间恢复3:没有任何数据备份系统,数据没有任何安全可言,一旦数据丢失无法恢复有鉴于以上问题,是这次咱们方案核心要解决问题,咱们将会香茗酒店当前状况,实际状况细致而周全分析,给客户两个切实可行解决方案二:系统设计原则和需求分析本次香茗酒店管理系统升级改造项目总体目的是:建设一种高效、稳定、容灾酒店管理系统,具备良好扩充性、具备备份,恢复,负载均衡ERP数据中心u 改造本来主机单点故障和负载不均衡现象,运用可以自动切换故障主机,不需人为干预cluster群集架构,实当前乎外状况主机断电,劫难状况下,数据资源和应用程序能平稳转移
5、到其她群集节点,让最后顾客没有感觉到故障存在。u 提高酒店ERP数据存储可靠性。通过改造原有数据存储DAS构造,改用SAN区域存储架构,用来满足在数据传播、访问、存储瓶颈,同步也解决原系统系统数据扩充单调,低运用率,存储访问大量占用局域网(LAN)带宽,存储空间扩充难问题u 依照安香茗酒店关于系统建设详细规定,结合咱们在多项大型工程方面实践经验,概括起来,整个系统设计和建设应充分体现“实用、够用、好用、耐用”八字原则。其实质就是:切实针对需求,严格遵循原则,甄别解决主次矛盾三:Windows MSCS 双机集群架构简介依照香茗酒店提出需求,为贵公司提出Windows MSCS 双机集群实行方案
6、采用windows Enterprise +HP MSN Storage+HP DL180 Server建置windows SQL Cluster双机热备方案架构如下:可实现如下功能采用两台HP DL180G6 Server做Windows SQL Cluster ,一台为活动,一台为备用服务器,当活动服务器浮现硬件故障或者宕机,数据库会转移到备用服务器继续运营酒店ERP系统,宕机时间在15分钟左右,因此当酒店系统硬件浮现故障能在不久时间内恢复酒店ERP系统,从而保证业务正常进行,此过程中物理设备和应用软件切换都不会被前端顾客所察觉四:Windows MSCS 双机集群设备规划需求Window
7、s MSCS 双机集群系统必备硬件及环境:1:有两型号Server(应为贵公司当前两台服务器都为去年购买服务器,并且型号也不同样,当前也没有办法买到和去年一摸同样规格服务器,因此本次方案必要要购买两台新server)2:有共用存储设备3:windows server版操作系统所需设备清单Support for a variety of Windows systems项目功能料号产品名称及规格数量价格1HP MSAAJ742AHP fc SC Modular Smart Array每个控制器 1 GB缓存;每个控制器有2个4Gb Fibre Channel 端口;最大支持64个主机;带12颗硬盘
8、插槽;冗余电源 12HDDAJ735AHP StorageWorks MSA2 146GB 3G 15K rpm 3.5英寸双端口SAS硬盘43HP DL180G6 E5504 PROMO 9024AP Server(P212)AU672A英特尔 至强 解决器 E5504(2.00 GHz,4MB 三级缓存,80W,DDR3-800),4MB 共享三级缓存,2GB (1 x 2GB) PC3-10600E(UDIMM),HP Smart Array P212 /256MB 控制器(RAID 0/1/1+0/5/5+0),460W 通用插槽,高效电源,4 个SATA 驱动器或SAS驱动器,2U机
9、架式24硬盘458928-B21500GB 7.2K SATA (MDL)热插拔硬盘45内存500670-B21HP 2GB 2Rx8 PC3-10600E-9 Kit26光驱481041-B21超薄SATA DVD光驱27Switch千兆互换机18HBA卡AE311AQlogic PCIe FC1142SR 4Gb Single Channel HBA29光纤跳线221692-B225米LC-LC 多模光纤通道电缆2五:VMware vSphere架构简介及优势分析 依照香茗酒店提出需求,为贵公司提出VMware vSphere实行方案采用VMware vSphere虚拟化软件+既有IBM
10、3400 Server+新购一台IBM 3400 Server+IBM 3300stroage建置高可用性HA解决方案架构如下可实现如下功能1:当酒店系统运营在HOST A上,如果HOST A浮现故障,酒店系统会在5分钟内转移到HOST B上,现实可可用性(HA)2:如果要维护其中一台服务器,可以手动迁移酒店管理系统,在迁移过程中不会影响酒店系统,不会受到影响(VMotion)3:HOST A和HOST B 动态资源分派(DRS)功能VMware vSphere 架构简介VMware HAVMware HAVMware High Availability (HA) provides easy
11、to use,cost effective high availability for applications running in virtual machines.VMware High Availability (HA) 为在虚拟机内部执行应用程序提供了容易使用、且符合成本效益高可用性。In the event of server failure,affected virtual machines are automatically restarted on other production servers with spare capacity.如果服务器发生故障,受影响虚拟机就会自
12、动在其她生产服务器上以备用解决资源重新启动。VMware HA allows IT organizations to:VMware HA 让 IT 组织得以:Minimize downtime and IT service disruption while eliminating the need for dedicated stand-by hardware and installation of additional software.将停机时间与 IT 服务中断状况降到最低,不需要再使用专属待命硬件与安装其她软件。Provide uniform high availability acr
13、oss the entire virtualized IT environment without the cost and complexity of failover solutions tied to either operating systems or specific applications.提供整个虚拟化 IT 环境一致高可用性,而不需要为操作系统或特定应用程序准备昂贵且复杂容错转移解决方案。Protect applications with no other failover option.保护应用程序,而不需要其她容错转移方案。Provide cost-effective
14、high availability for any application running in a virtual machine.为所有在虚拟机执行应用程序,提供具成本效益高可用性。High availability solutions are often relatively complex and expensive,and typically reserved for mission critical applications.高可用性解决方案普通相称复杂且昂贵,且普通都是保存给核心性应用程序专用。VMware HA provides a cost-effective high av
15、ailability solution that makes high availability possible for software applications that were formerly left unprotected.VMware HA 提供具成本效益高可用性解决方案,让原本没有受到保护软件应用程序也能具备高可用性。Establish consistent “first line of defense” for an entire IT environment.为整个 IT 环境建立结实第一道防线。Unlike other high availability soluti
16、ons that are operating system or software application specific,VMware HA represents a consistent,easy to manage high availability solution for the entire IT environment.其她高可用性解决方案只支持特定操作系统或软件应用程序,但对整个 IT 环境而言,VMware HA 则是稳固且易于管理高可用性解决方案。VMware HA provides basic failover for any application with mini
17、mum cost and management overhead.VMware HA 提供所有程序基本容错转移功能,同步又能将成本与管理固定承担降到最低。VMware HA continuously monitors all servers in a resource pool and detects server failures.VMware HA 会持续监控资源集区中所有服务器,并且侦测服务器与否有故障。An agent placed on each server maintains a “heartbeat” with the other servers in the resource
18、 pool and a loss of “heartbeat” initiates the restart process of all affected virtual machines on other servers.而每一台服务器都会置放一种代理程序,以让资源集区中所有服务器彼此保持心跳,一旦某服务器心跳停止,就会对其她服务器所有受影响虚拟机启用重新启动程序。VMware HA ensures that sufficient resources are available in the resource pool at all times to be able to restart v
19、irtual machines on different physical servers in the event of server failure.VMware HA 会保证资源集区中随时均有充分资源可用,以便一旦发生服务器故障,就能在其她实体服务器上重新启动虚拟机。Restart of virtual machines is made possible by the Virtual Machine File System ( VMFS) clustered file system which gives multiple ESX Server instances read-write
20、access to the same virtual machine files,concurrently.您可以运用 Virtual Machine File System (VMFS) 丛集文献系统来重新启动虚拟机,这种系统会同步提供多重 ESX Server 实例对相似虚拟机档案读写权限。VMware HA is easily configured for a resource pool through VirtualCenter.您可透过 VirtualCenter 轻松为资源集区设定 VMware HA。Automatic detection of server failures.自
21、动侦测服务器故障。Automate the monitoring of physical server availability.自动化实体服务器可用性监控作业。HA detects server failures and initiates the virtual machine restart without any human intervention.HA 会侦测服务器故障,然后重新启动虚拟机,不必操作人员介入操作。Resource checks.资源检查。Ensure that capacity is always available in order to restart all
22、virtual machines affected by server failure.保证解决资源随时足够,以便能重新启动所有受服务器故障影响虚拟机。HA continuously monitors capacity utilization and “reserves” spare capacity to be able to restart virtual machines.HA 会持续监控解决资源使用率,并且保存备用解决资源以便能重新启动虚拟机。Automatic restart of virtual machines.自动重新启动虚拟机。Protect any application
23、with automatic restart in a different physical server in the resource pool.藉由在资源集区其她实体服务器中自动重新启动,保护所有应用程序。VMware DRSVMware Distributed Resource Scheduler (DRS) dynamically allocates and balances computing capacity across a collection of hardware resources aggregated into logical resource pools.VMwar
24、e Distributed Resource Scheduler (DRS) 可以在聚合至本机资源库硬件资源组合中,跨资源地动态配备和平衡运算解决资源。VMware DRS continuously monitors utilization across resource pools and intelligently allocates available resources among the virtual machines based on pre-defined rules that reflect business needs and changing priorities.VMw
25、are DRS 可以持续监控各个资源集区使用率,并根据可以反映商务需求以及不断变化之优先级预先定义规则,在虚拟机之间明智地分派可用资源。When a virtual machine experiences an increased load,VMware DRS automatically allocates additional resources by redistributing virtual machines among the physical servers in the resource pool.当某一部虚拟机负载增长,VMware DRS 就会藉由在资源集区实体服务器之间转
26、散布虚拟机,而自动配备其她资源。VMware DRS allows IT organizations to:VMware DRS 让 IT 组织得以: Prioritize resources to the highest value applications in order to align resources with business goals.优先配备资源到价值最高应用程序,使资源能妥善用于达到业务目的。Optimize hardware utilization automatically and continuously to respond to changing condit
27、ions.自动且持续地优化硬件使用率,以反映不断变动环境。Provide dedicated (virtual) infrastructure to business units while giving central IT complete control over hardware.提供事业群专属 (虚拟) 基本构造,同步让中央 IT 能完整控制硬件。Conduct zero-downtime server maintenance.维护服务器不需停机。VMware DRS dynamically allocates and balances computing capacity acro
28、ss collections of hardware resources aggregated into logical resource pools.VMware DRS 能在已汇总为逻辑资源集区硬件资源集合之间动态分派并平衡运算能力。VMware DRS continuously monitors utilization across the resource pools and intelligently allocates available resources among virtual machines.VMware DRS 会持续监控整个资源集区使用率,并且明智地配备各虚拟机间可
29、用资源。VMware DRS allows users to define the rules and policies that decide how virtual machines share resources and how these resources are prioritized among multiple virtual machines.VMware DRS 容许顾客定义规则与原则,决定虚拟机共享资源方式,以及这些资源在多部虚拟机间优先解决方式。When a virtual machine experiences increased load,VMware DRS fi
30、rst evaluates its priority against the established resource allocation rules and policies,and if justified,allocates additional resources.当某一部虚拟机负载增长,VMware DRS 会先依照已建立资源分派规则与原则来评估其优先级,如果确承认行,就会配备其她资源。.Resources are allocated to the virtual machine by either migrating it to another server with more
31、available resources or by making more “space” for it on the same server by migrating other virtual machines to different servers.资源分派到虚拟主机方式,是将其移转到其她拥有更多可用资源服务器,或是藉由将其她虚拟机移转至其她服务器以在同一台服务器中制造更多空间。The live migration of virtual machines to different physical servers is executed completely transparent t
32、o end-users through VMware VMotion.透过 VMware VMotion,普通使用者将可实时完全掌握虚拟机移转到其她实体服务器执行过程。VMware DRS can be configured to operate in either automatic or manual mode.而 VMware DRS 可设定为以自动或手动模式运作。In automatic mode,DRS determines the best possible distribution of virtual machines among different physical serv
33、ers and automatically migrates virtual machines to the most appropriate physical servers.在自动模式中,DRS 会鉴定不同实体服务器间最有也许散布虚拟服务器地方,然后自动将虚拟机移转到最恰当实体服务器。In manual mode,VMware DRS provides a recommendation for optimal placement of virtual machines,and leaves it to the system administrator to decide whether t
34、o make the change.在手动模式中,VMware DRS 会建议最佳虚拟机配备方式,让系统管理员藉以决定与否进行调节。Flexible hierarchical organization of resource pools allows administrators to match available IT resources to the needs of the business organization.弹性阶层式资源集区组织,容许管理员将可用 IT 资源拿来满足事业组织需求。Individual business units can receive dedicated
35、IT resources while still benefiting from the efficiency of resource pooling.个别事业群可以获得专属 IT 资源,同步仍旧可享有资源共享效率。Robust access privileges make it possible to delegate routine infrastructure tasks for a business unit resource pool to a business unit system administrator.而强大访问权限,也让使用者能将某个事业群资源集区寻常基本构造工作,委派
36、给事业群系统管理员管理。How Is VMware DRS Used in the Enterprise?公司如何使用 VMware DRS? Align IT resources with business priorities. 使 IT 资源能在商务应用上各得其所。Define rules and policies to decide how resources should be prioritized among virtual machines.定义规则与原则,以决定各虚拟机间资源优先解决方式。VMware DRS dynamically and intelligently all
37、ocates IT resources to the highest priority virtual machines to ensure optimal alignment between business and IT.VMware DRS 会动态且明智地将 IT 资源分派到最优先虚拟主机,以保证商务与 IT 之间能有最佳契合度。Resource pools with VMware DRS.运用 VMware DRS 进行资源共享。Aggregate disparate hardware resources into unified logical resource pools.将不同硬
38、件资源汇总到统一逻辑资源集区。With VMware DRS,resource pools are automatically and intelligently optimized to ensure that IT resource allocation matches business priorities while maximizing hardware utilization.有了 VMware DRS,资源集区就会自动且明智地优化,进而保证 IT 资源分派符合商务优先级,同步最大化硬件使用率。 Abstraction of resources from hardware. 抽取硬
39、件重要资源。Manage resources independently of the physical servers that contribute the resources.独立管理资源,但不受提供资源实体服务器约束。 Flexible hierarchical organization. 弹性阶层式组织。Organize resource pools hierarchically to match available IT resources to the business organization.阶层式组织资源集区,让可用 IT 资源符合商务组织需求。VMware DRS ens
40、ures that resource utilization is maximized while business units retain control and autonomy of their infrastructure.VMware DRS 保证资源使用率能最大化,但同步事业群也能保有自己基本构造主控与自治功能。Resource pools can be flexibly added,removed,or reorganized as business needs or organization change.您可以依照业务需求或组织变动,而弹性地新增、移除或组织资源集区。 Is
41、olation between resource pools. 隔离各资源集区。Make allocation changes within a resource pool without impacting other unrelated resource pools.在单一资源集区内进行配备调节,如此不会影响到其她不有关资源集区。For example,any allocation changes in the resource pool dedicated to a given business unit do not impact other resource pools.例如,对特定
42、事业群专属资源集区进行配备调节,就不会对其她资源集区导致影响。 Access control and delegation. 访问控制与委派。Secure resource allocation at different levels in the company while eliminating bottle-necks.保护公司内部不同层级资源分派,同步排除任何障碍。Virtual machine creation and maintenance for a business unit can be delegated to a business unit system administ
43、rator thus eliminating reliance on central IT for every routine operation.事业群虚拟机之建立与维护工作可委派给事业群系统管理员,如此在进行寻常操作时就不需要再倚赖中央 IT 人员。 Management of sets of virtual machines running a distributed application. 管理数组执行分布式应用程序虚拟机。Optimize the service level of distributed applications by controlling the aggrega
44、te allocation of resources for the entire set of virtual machines running the distributed application.透过控制整组执行分布式应用程序虚拟机之资源汇总配备,优化分布式应用程序服务层级。Manual and automatic mode.手动与自动模式。VMware DRS collects resource usage information from servers and virtual machines,and then generates recommendations to optim
45、ize virtual machine allocation.VMware DRS 会从各服务器与虚拟主机收集资源使用信息,然后产生优化虚拟主机配备建议。These recommendations can be executed automatically or manually.您可以选取自动或手动执行这些建议。 Initial placement. 初始配备。When a virtual machine is first powered on,VMware DRS either automatically places the virtual machine on the most appropriate physical server or makes a recommendation.当虚拟机开始运作后,VMware DRS 就会