CN107315663B - 双机群集架构 - Google Patents

双机群集架构 Download PDF

Info

Publication number
CN107315663B
CN107315663B CN201710140084.2A CN201710140084A CN107315663B CN 107315663 B CN107315663 B CN 107315663B CN 201710140084 A CN201710140084 A CN 201710140084A CN 107315663 B CN107315663 B CN 107315663B
Authority
CN
China
Prior art keywords
partition
machine
virtual
dual
cluster
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201710140084.2A
Other languages
English (en)
Other versions
CN107315663A (zh
Inventor
毛智
王益民
刘宇
李媛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
First Hospital Of Qinhuangdao
Original Assignee
First Hospital Of Qinhuangdao
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by First Hospital Of Qinhuangdao filed Critical First Hospital Of Qinhuangdao
Priority to CN201710140084.2A priority Critical patent/CN107315663B/zh
Publication of CN107315663A publication Critical patent/CN107315663A/zh
Application granted granted Critical
Publication of CN107315663B publication Critical patent/CN107315663B/zh
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2023Failover techniques
    • G06F11/203Failover techniques using migration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2041Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant with more than one idle spare processing component
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)
  • Hardware Redundancy (AREA)

Abstract

本发明公开了一种双机群集架构,包括开放式小型机、虚拟资源池、双机群集和应用数据库群集,采用SUPERDOME‑X开放式小型机***,且通过物理分区分隔成五个区,五个分区依次为第一分区、第二分区、第三分区、第四分区和第五分区,所述第一分区上安装有Red Hat Enterprise Linux 7.1,且第一分区以物理机的形式运行,所述第二分区、第三分区、第四分区和第五分区上均安装Vmware vSphere 6.2。本发明保留了开放式小型机的硬件可靠性,且双机群集架构利用虚拟技术将备用机进行虚拟池化,备用机在闲时可供其它分区进行公用,忙时通过DRS机制将其它分区的资源迁走,确保备用机具有充足的计算能力,使得硬件资源利用率大大提高。

Description

双机群集架构
技术领域
本发明涉及双机群集架构技术领域,尤其涉及一种双机群集架构。
背景技术
一直以来,为了提高***可靠性,都在使用双机热备方案。所谓双机就是一台主机,一台备机,利用共享存储共同组成一套群集。在此群集基础上运行相关应用,例如数据库。当主机出现故障时,通过群集软件将业务在数秒内切换至备机继续运行,确保应用不中断。我们习惯使用单独的物理服务器作为主备机,所以组成群集至少需要两套完全一样的服务器。备机在整个生命周期内基本都处于备用状态,不运行业务,白白浪费了资源。如果使用Oracle RAC方案,可实现主备机同时工作。但不使用该数据库的双机群集则依然保持主备状态,备机资源得不到任何利用。
企业核心数据库一般采用RISC架构小型机,以确保硬件***高可靠性。但UNIX***的复杂度限制了用户的运维能力,***运维几乎完全依靠厂家,这使得用户的***维护成本居高不下。
有的数据库架构要求三机热备,在原有双机群集基础上再增加一台主机。这使资源的利用率更低。
现有技术的最大缺陷就是资源利用率过低,使大量的硬件资源白白闲置。
发明内容
基于背景技术存在的技术问题,本发明提出了双机群集架构。
本发明提出的双机群集架构,包括开放式小型机、虚拟资源池、双机群集和应用数据库群集,采用HP SUPERDOME-X开放式小型机***,且开放式小型机通过物理分区分隔成五个分区,五个分区依次为第一分区、第二分区、第三分区、第四分区和第五分区,所述第一分区上安装有Red Hat Enterprise Linux 7.1,且第一分区以物理机的形式运行,所述第二分区、第三分区、第四分区和第五分区上均安装 Vmware vSphere 6.2,且第二分区、第三分区、第四分区和第五分区均以虚拟机的形式运行,所述第二分区、第三分区、第四分区和第五分区共同构成了虚拟资源池,所述虚拟资源池中划出两个虚拟机,且两个虚拟机分别为第一虚拟机和第二虚拟机,以物理机形式运行的第一分区和第一虚拟机共同构成了双机群集,且以物理机形式运行的第一分区、第一虚拟机上安装有HP ServiceGuard 群集软件,以物理机形式运行的第一分区设置为主机,且第一虚拟机设置为备用机,所述主机和备用机均使用相同的存储多路径,所述第一分区、第一虚拟机和第二虚拟机上均安装有网卡,且第一虚拟机和第二虚拟机采用直通方式直接管理网卡资源,且通过启用网卡绑定技术形成统一名称的虚拟网卡,所述双机群集和第二虚拟机分别与应用数据库群集相连接,且第一虚拟机和第二虚拟机以直通方式直接管理HBA卡。
优选地,所述第一虚拟机、第二虚拟机和第一分区上均安装有数据库***,且数据库***采用后关系型数据库Intersystems Cache 2016。
优选地,所述第一分区、第二分区、第三分区、第四分区和第五分区上均可以安装有Linux操作***、Windows操作***或者Vmware操作***。
优选地,五个分区上均安装有不同的网卡端口,且每个分区通过不同网卡端口连接有不同交换机,每个分区均可以接入企业网。
优选地,五个分区上均安装有不同的FC端口,且每个分区通过不同FC端口连接有不同SAN交换机,每个分区均可以接入SAN网络。
优选地,五个分区上的SystemUtility均禁用WWN Zone端口的SAN BOOT功能。
本发明中,开放式小型机通过物理分区分隔为五个分区,五个分区中的第一分区以物理机形式运行,以虚拟机形式运行的四个其它分区还可以安装Linux、Windows、Vmware等多种主流操作***,给用户运维带来极大便利,且提高了硬件资源的利用率;通过以物理机形式运行的第一分区设置为主机,且第一虚拟机和第二虚拟机设置为备用机,由于备用机是虚拟机,在主机正常工作时,备用机的资源可以供虚拟资源池中其它分区进行使用,当***发生故障,备用机需要切换到虚拟机时,可根据当时的虚拟资源池负载自动均衡计算资源,优先保证备用机具有充足的计算能力,使得双机群集架构可以充分利用硬件资源,本发明保留了开放式小型机的硬件可靠性,且双机群集架构利用虚拟技术将备用机进行虚拟池化,备用机在闲时可供其它分区进行公用,忙时通过DRS机制将其它分区的资源迁走,确保备用机具有充足的计算能力,使得硬件资源利用率大大提高。
附图说明
图1为本发明的结构框图。
具体实施方式
下面结合具体实施例对本发明作进一步解说。
实施例
参考图1,本实施例中提出了双机群集架构,包括开放式小型机、虚拟资源池、双机群集和应用数据库群集,采用HP SUPERDOME-X开放式小型机***,且开放式小型机通过物理分区分隔成五个分区,每个分区相当于一***立的物理服务器,使得双机群集架构保留了开放式小型机的可靠性,五个分区依次为第一分区、第二分区、第三分区、第四分区和第五分区,所述第一分区上安装有Red Hat Enterprise Linux 7.1,第一分区以物理机的形式运行,所述第二分区、第三分区、第四分区和第五分区上均安装 Vmware vSphere 6.2,且分别以虚拟机的形式运行的第二分区、第三分区、第四分区和第五分区共同构成了虚拟资源池,所述虚拟资源池中划出两个虚拟机,且两个虚拟机分别为第一虚拟机和第二虚拟机,以物理机形式运行的第一分区和第一虚拟机共同构成了双机群集,以物理机形式运行的第一分区、第一虚拟机上安装有HP ServiceGuard 群集软件,且安装HP ServiceGuard 群集软件后的第一分区和第一虚拟机均设置群集超时时间为60秒,以物理机形式运行的第一分区设置为主机,且第一虚拟机和第二虚拟机分别设置为备用机,由于备用机是虚拟机,在主机正常工作时,备用机的资源可以供虚拟资源池中其它分区进行使用,当***发生故障时,备用机需要切换到虚拟机时,可根据当时的虚拟池负载自动均衡计算资源,优先保证备用机具有充足的计算能力,使得双机群集架构对硬件资源进行充分利用,所述主机和两个备用机均使用相同的存储多路径,便于操作***正确识别并管理这些储存路径,所述第一分区、第一虚拟机和第二虚拟机上均安装有网卡,第一虚拟机和第二虚拟机可以采用直通方式直接管理网卡资源,且使用网卡捆绑技术产生统一名称的虚拟网卡,使得主机和备用机可以使用统一的逻辑网卡名称,以确保数据库能够正确识别,所述双机群集和第二虚拟机分别与应用数据库群集相连接,且第一虚拟机和第二虚拟机以直通方式直接管理HBA卡,本发明保留了开放式小型机的硬件可靠性,且双机群集架构利用虚拟技术将备用机进行虚拟池化,备用机在闲时可供其它分区进行公用,忙时通过DRS机制将其它分区的资源迁走,确保备用机具有充足的计算能力,使得硬件资源利用率大大提高。
本实施例中,所述第一虚拟机、第二虚拟机和第一分区上均安装有数据库***,且数据库***采用后关系型数据库Intersystems Cache 2016,所述第一分区、第二分区、第三分区、第四分区和第五分区上均可以安装有Linux操作***、Windows操作***或者Vmware操作***,给用户运维带来极大便利,五个分区上均安装有不同的网卡端口,且每个分区通过不同网卡端口连接有不同交换机,每个分区均可以接入企业网,确保网络链路和网络设备具有较高的可用性,五个分区上均安装有不同的FC端口,且每个分区通过不同FC端口连接有不同SAN交换机,每个分区均可以接入SAN网络,实现了存储多路径,确保存储***具有较快的速率和较高的可靠性,五个分区上的SystemUtility均禁用WWN Zone端口的SAN BOOT功能,本发明保留了开放式小型机的硬件可靠性,且双机群集架构利用虚拟技术将备用机进行虚拟池化,备用机在闲时可供其它分区进行公用,忙时通过DRS机制将其它分区的资源迁走,确保备用机具有充足的计算能力,使得硬件资源利用率大大提高。

Claims (6)

1.双机群集架构,包括开放式小型机、虚拟资源池、双机群集和应用数据库群集,其特征在于,采用HP SUPERDOME-X开放式小型机***,且开放式小型机通过物理分区分隔成五个区,五个分区依次为第一分区、第二分区、第三分区、第四分区和第五分区,所述第一分区上安装有Red Hat Enterprise Linux 7.1,且第一分区以物理机的形式运行,所述第二分区、第三分区、第四分区和第五分区上均安装Vmware vSphere 6.2,且第二分区、第三分区、第四分区和第五分区均以虚拟机的形式运行,所述第二分区、第三分区、第四分区和第五分区共同构成了虚拟资源池,所述虚拟资源池中划出两个虚拟机,且两个虚拟机分别为第一虚拟机和第二虚拟机,以物理机形式运行的第一分区和第一虚拟机共同构成了双机群集,且以物理机形式运行的第一分区、第一虚拟机上均安装有HP ServiceGuard群集软件,以物理机形式运行的第一分区设置为主机,且第一虚拟机设置为备用机,所述主机和备用机均使用相同的存储多路径,所述第一分区、第一虚拟机和第二虚拟机上均安装有网卡,且第一虚拟机和第二虚拟机采用直通方式直接管理网卡资源,且通过启用网卡绑定技术形成统一名称的虚拟网卡,所述双机群集和第二虚拟机分别与应用数据库群集相连接,且第一虚拟机和第二虚拟机以直通方式直接管理HBA卡。
2.根据权利要求1所述的双机群集架构,其特征在于,所述第一虚拟机、第二虚拟机和第一分区上均安装有数据库***,且数据库***采用后关系型数据库Intersystems Cache2016。
3.根据权利要求1所述的双机群集架构,其特征在于,所述第一分区、第二分区、第三分区、第四分区和第五分区上均可以安装有Linux操作***、Windows操作***或者Vmware操作***。
4.根据权利要求1所述的双机群集架构,其特征在于,五个分区上均安装有不同的网卡端口,且每个分区通过不同网卡端口连接有不同交换机,每个分区均可以接入企业网。
5.根据权利要求1所述的双机群集架构,其特征在于,五个分区上均安装有不同的FC端口,且每个分区通过不同FC端口连接有不同SAN交换机,每个分区均可以接入SAN网络。
6.根据权利要求1所述的双机群集架构,其特征在于,五个分区上的SystemUtility均禁用WWN Zone端口的SAN BOOT功能。
CN201710140084.2A 2017-03-10 2017-03-10 双机群集架构 Expired - Fee Related CN107315663B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710140084.2A CN107315663B (zh) 2017-03-10 2017-03-10 双机群集架构

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710140084.2A CN107315663B (zh) 2017-03-10 2017-03-10 双机群集架构

Publications (2)

Publication Number Publication Date
CN107315663A CN107315663A (zh) 2017-11-03
CN107315663B true CN107315663B (zh) 2020-06-09

Family

ID=60185461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710140084.2A Expired - Fee Related CN107315663B (zh) 2017-03-10 2017-03-10 双机群集架构

Country Status (1)

Country Link
CN (1) CN107315663B (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355369A (zh) * 2011-09-27 2012-02-15 华为技术有限公司 虚拟化集群***及其处理方法和设备
CN102541990A (zh) * 2010-12-07 2012-07-04 国际商业机器公司 利用虚拟分区的数据库重新分布方法和***
CN102681899A (zh) * 2011-03-14 2012-09-19 金剑 云计算服务平台的虚拟计算资源动态管理***
CN104166584A (zh) * 2014-08-18 2014-11-26 浪潮电子信息产业股份有限公司 一种服务器虚拟化集群双层冗余架构及其搭建方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160335109A1 (en) * 2015-05-14 2016-11-17 Netapp, Inc. Techniques for data migration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541990A (zh) * 2010-12-07 2012-07-04 国际商业机器公司 利用虚拟分区的数据库重新分布方法和***
CN102681899A (zh) * 2011-03-14 2012-09-19 金剑 云计算服务平台的虚拟计算资源动态管理***
CN102355369A (zh) * 2011-09-27 2012-02-15 华为技术有限公司 虚拟化集群***及其处理方法和设备
CN104166584A (zh) * 2014-08-18 2014-11-26 浪潮电子信息产业股份有限公司 一种服务器虚拟化集群双层冗余架构及其搭建方法

Also Published As

Publication number Publication date
CN107315663A (zh) 2017-11-03

Similar Documents

Publication Publication Date Title
US11663029B2 (en) Virtual machine storage controller selection in hyperconverged infrastructure environment and storage system
US20180375936A1 (en) Containerized high-performance network storage
CN102594861A (zh) 一种多服务器负载均衡的云存储***
US11669360B2 (en) Seamless virtual standard switch to virtual distributed switch migration for hyper-converged infrastructure
US9747176B2 (en) Data storage with virtual appliances
CN108028804A (zh) 基于结构限制的虚拟计算环境中虚拟机的管理
CN105808443B (zh) 一种数据迁移的方法、装置及***
WO2014026374A1 (zh) 服务器***、管理方法及设备
US8984224B2 (en) Multiple instances of mapping configurations in a storage system or storage appliance
US10880367B2 (en) Load balancing stretched clusters in a distributed network
US20120054460A1 (en) Method and system for storage system migration
WO2014184606A1 (en) Identifying workload and sizing of buffers for the purpose of volume replication
US7441009B2 (en) Computer system and storage virtualizer
US9047122B2 (en) Integrating server and storage via integrated tenant in vertically integrated computer system
CN107315663B (zh) 双机群集架构
KR101673882B1 (ko) 내장 디스크를 이용한 고가용성 가상화 기반 스토리지 시스템 및 이것의 동작방법
US11550613B2 (en) Computer system
US11294782B1 (en) Failover affinity rule modification based on node health information
CN104615485B (zh) 一种虚拟机域间通信模式的动态透明切换方法
US11392459B2 (en) Virtualization server aware multi-pathing failover policy
US11630581B2 (en) Host bus adaptor (HBA) virtualization awareness for effective input-output load balancing
US20220188012A1 (en) Reservation handling in conjunction with switching between storage access protocols
US11256446B1 (en) Host bus adaptor (HBA) virtualization aware multi-pathing failover policy
Huang et al. Disaggregated Database Management
CN115934257A (zh) 一种虚拟化集群存储***及其实现方法

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Mao Zhi

Inventor after: Wang Yimin

Inventor after: Liu Yu

Inventor after: Li Yuan

Inventor before: Mao Zhi

Inventor before: Wang Yimin

Inventor before: Liu Yu

Inventor before: Li Yuan

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200609

Termination date: 20210310