CN109194515A - Server cluster system and the method for realizing server cluster system High Availabitity - Google Patents

Server cluster system and the method for realizing server cluster system High Availabitity Download PDF

Info

Publication number
CN109194515A
CN109194515A CN201811062398.6A CN201811062398A CN109194515A CN 109194515 A CN109194515 A CN 109194515A CN 201811062398 A CN201811062398 A CN 201811062398A CN 109194515 A CN109194515 A CN 109194515A
Authority
CN
China
Prior art keywords
server
shared disk
disk
primary server
standby
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.)
Pending
Application number
CN201811062398.6A
Other languages
Chinese (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811062398.6A priority Critical patent/CN109194515A/en
Publication of CN109194515A publication Critical patent/CN109194515A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention discloses a kind of server cluster systems and the method for realizing server cluster system High Availabitity, comprising: shared disk, primary server joint and standby server node;Multiple primary server joints are connected on the shared disk;The disk of the backup server node is connect with the shared disk mirror image, back up the data of the shared disk memory space, when breaking down in order to the shared disk, continue working server cluster system using the data in the disk of the standby server node.The application and data normal use of user have been ensured using the disk in standby server node when shared disk breaks down using server cluster system provided by the present invention and the method for realizing server cluster system High Availabitity;Realize the high availability of server cluster system.

Description

Server cluster system and the method for realizing server cluster system High Availabitity
Technical field
The present invention relates to server cluster data security arts, more particularly to a kind of server cluster system and realization The method of server cluster system High Availabitity.
Background technique
For many modern enterprises, it is essential for providing reliable information and service in time using computer system. But computer hardware and software all inevitably break down, these failures are possible to that great damage can be brought for enterprise It loses, or even the termination entirely serviced.Therefore must take appropriate action to make computer system provide continual service with The availability of maintenance system.The availability of information system usually will receive influence in both cases;One is system failure mistakes Abnormal failure caused by maloperation and management.Another kind be since system maintenance and upgrading need to install new hardware or software and Normal shutdown.High availability (High Availability, abbreviation HA) system must provide continual in both cases System service.
Realize that the high availability of group system, shared mode need two services by way of shared in the prior art The device same disk shared using shared storage, but if shared storage will result in disk in the case where going wrong The case where loss of data, causes data on two-server not all to be available, HA failure.
In summary as can be seen that how in the shared disk failure of server cluster system ensure user application and Data normal use is current problem to be solved.
Summary of the invention
The object of the present invention is to provide the sides of a kind of server cluster system and realization server cluster system High Availabitity Method, to solve the problems, such as that shared disk failure causes the high availability of cluster to fail in server cluster in the prior art.
In order to solve the above technical problems, the present invention provides a kind of server cluster system, comprising: shared disk, main service Device node and standby server node;Multiple primary server joints are connected on the shared disk;The backup server section The disk of point is connect with the shared disk mirror image, backs up the data of the shared disk memory space, in order to described shared When disk failures, continue working server cluster system using the data in the disk of the standby server node.
Preferably, comprising: the first primary server joint, the second primary server joint;
The storage that first primary server joint and second primary server joint map to the shared disk is empty Between, in order to the storage number in shared disk described in first primary server joint and the second server nodes sharing According to;
When first primary server joint is in operating status, second primary server is in standby.
Preferably, comprising: connect with first primary server joint and second primary server joint multiple Shared disk,
Different shared datas is stored in the memory space of the multiple shared disk respectively;
The multiple shared disk is connected with corresponding backup diskette mirror image respectively.
Preferably, the corresponding multiple backup diskettes of the multiple shared disk are mounted in same standby server node.
Preferably, the corresponding multiple backup diskettes of the multiple shared disk are separately mounted to different standby server sections Point in.
Preferably, the first shared disk and the second shared disk, the first standby server node and the second server Standby node;
First shared disk and second shared disk are connect with multiple primary server joints respectively;
First shared disk is connect with the disk mirroring of the first standby server node;
Second shared disk is connect with the disk mirroring of the second standby server node.
The present invention also provides a kind of methods for realizing server cluster system High Availabitity, comprising: acquisition and shared disk In multiple primary server joints of connection, storing data needed for primary server joint in operating status;Judge described total Enjoy whether disk breaks down;It is standby by being connect with the shared disk mirror image if the shared disk breaks down The storing data is provided to the main service node in operating status with disk.
Preferably, the backup diskette connecting with the shared disk mirror image is installed on the standby server node It is interior.
It is described to obtain in the multiple primary server joints being connect with shared disk, primary server joint in operating status Required storing data includes:
Multiple primary server joints are mapped to the memory space of the shared disk, in order to the multiple server section Point shares the storing data in the shared disk;
In the multiple primary server joint in addition to a primary server joint in operating status, other main services Device node is in standby mode;
Storing data needed for obtaining the primary server joint in operating status by the shared disk.
Preferably, it is mounted on BCP software on the multiple primary server joint and the standby server node, so as to In when the shared disk failure, the primary server joint in operating status is set to pass through institute using the BCP software State data needed for backup diskette obtains.
Server cluster system provided by the present invention, including shared disk, primary server joint and standby server section Point.It is connected with multiple primary server joints on the shared disk, shares the data in the memory space of the shared disk.Institute The disk for stating backup server node is connect with the shared disk mirror image, backs up the number in the shared disk memory space According to;When breaking down in order to the shared disk, make server using the data in the disk of the standby server node Group system continues working.Server cluster system provided by the present invention solves in the prior art when in server cluster The problem of when shared disk breaks down, the server being connected with the shared disk cannot all work on, and HA fails;Benefit It is connect with the disk of standby server node itself with the shared disk mirror image, it, can when the shared disk breaks down To use the disk in standby server node to ensure the application and data normal use of user;Realize server cluster system The high availability of system.
Detailed description of the invention
It, below will be to embodiment or existing for the clearer technical solution for illustrating the embodiment of the present invention or the prior art Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is only this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of structural block diagram of server cluster system provided in an embodiment of the present invention;
Fig. 2 is second of structural block diagram of server cluster system provided in an embodiment of the present invention;
Fig. 3 is the third structural block diagram of server cluster system provided in an embodiment of the present invention;
Fig. 4 is another structural block diagram of server cluster system provided in an embodiment of the present invention;
Fig. 5 is a kind of stream of specific embodiment of the method provided by the present invention for realizing server cluster system High Availabitity Cheng Tu.
Specific embodiment
Core of the invention is to provide a kind of server cluster system and realizes the side of server cluster system High Availabitity Method, caused user's application shutdown and data after effectivelying prevent the shared storage in rear end to break down using the mirror image to shared disk It loses.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Referring to FIG. 1, Fig. 1 is a kind of structural block diagram of server cluster system provided in an embodiment of the present invention.The clothes Device group system of being engaged in includes shared disk, primary server joint and standby server node.It is connected on the shared disk more A primary server joint;The disk of the backup server node is connect with the shared disk mirror image, backs up the shared magnetic The data of disc storage space, when breaking down in order to the shared disk, in the disk using the standby server node Data continue working server cluster system.
In the present embodiment, it is mounted on the primary server joint and standby server node for realizing the soft of HA Part, such as BCP (business continuity protection system) software.Pacify in the primary server joint and the standby server node Equipped with BCP software, in order to make the master in operating status using the BCP software when the shared disk failure Data needed for server node is obtained by the disk on the standby server node.
Referring to FIG. 2, Fig. 2 is second of structural block diagram of server cluster system provided in an embodiment of the present invention.At this Inventing the server cluster system may include two or more primary server joints.In the present embodiment, with two The server cluster system is explained for primary server joint.Cluster server system provided by the present embodiment System includes: the first primary server joint, the second primary server joint and with the first server node and described second Multiple shared disks that server node is connected.When first primary server joint is in operating status, described second Primary server joint is in standby.
Different shared datas is stored in the memory space of the multiple shared disk respectively.First primary server Node and second primary server joint map to the memory space of the multiple shared disk;In order to first master Data in the memory space of server node and the multiple shared disk of second server nodes sharing.
The multiple shared disk respectively corresponds the connection of backup diskette mirror image.The corresponding spare magnetic of the multiple shared disk Disk may be mounted in same standby server node, as shown in Figure 2;The multiple shared disk can also be respectively arranged in not In same standby server node, as shown in Figure 3.
Referring to FIG. 4, Fig. 4 is another structural block diagram of server cluster system provided in an embodiment of the present invention.At this It may include two or more shared disks in server cluster provided by embodiment;In the present embodiment, with first For shared disk and the second shared disk.First shared disk and second shared disk respectively with multiple main services Device node is connected.And the quantity with the primary server joint connected on first shared disk and second shared disk Possibility is identical may also be different.And same there is some master in first shared disk and second shared disk Data required for server node, the primary server joint can be shared with first shared disk and described second simultaneously Disk is connected.
In the present embodiment, first shared disk is connect with the first backup diskette mirror image;Described second is shared Disk is connect with the second backup diskette mirror image.
First backup diskette and the second backup diskette may be mounted on same standby server point;It can also distinguish It is mounted on different standby server nodes, as shown in Figure 4.
In the above-described embodiments, it by being respectively that backup diskette is arranged in each shared disk, is backed up by the method for mirror image Data in the memory space of the shared disk;In order to the shared disk break down when, the primary server section Data needed for point is obtained by the corresponding backup disk of failure shared disk.
Referring to FIG. 5, Fig. 5 is a kind of specific of the method provided by the present invention for realizing server cluster system High Availabitity The flow chart of embodiment;Specific steps are as follows:
Step S501: it obtains in the multiple primary server joints being connect with shared disk, main service in operating status Storing data needed for device node;
In the present embodiment, multiple primary server joints are mapped to the memory space of the shared disk, in order to institute It states multiple server nodes and shares storing data in the shared disk;It is removed at one in the multiple primary server joint In outside the primary server joint of operating status, other primary server joints are in standby mode;It is obtained by the shared disk Storing data needed for taking the primary server joint in operating status.
Step S502: judge whether the shared disk breaks down;
Step S503: spare by being connect with the shared disk mirror image if the shared disk breaks down Disk provides the storing data to the main service node in operating status.
The backup diskette connecting with the shared disk mirror image is installed in the standby server node.And in this implementation In example, it is mounted on BCP software on the multiple primary server joint and the standby server node, it is described total in order to work as When enjoying disk failure, the primary server joint in operating status is set to pass through the backup diskette using the BCP software Data needed for obtaining.
For realizing the method for server cluster system High Availabitity provided by the present embodiment, when detecting the shared magnetic When disk breaks down, then the application sum number of the Data safeguard user in the corresponding backup disk of the failure shared disk is used in According to normal use.Embodiment provided by the present invention solves in the prior art when shared disk appearance in server cluster system When failure, the primary server joint being connected with the shared disk cannot work on, and lead to the server cluster system The high availability of system fails;Using the shared image feature of BCP, the function of application and data multimachine High Availabitity is realized.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part Explanation.
Above to server cluster system provided by the present invention and the method for realizing server cluster system High Availabitity It is described in detail.Used herein a specific example illustrates the principle and implementation of the invention, the above reality The explanation for applying example is merely used to help understand method and its core concept of the invention.It should be pointed out that for the art For those of ordinary skill, without departing from the principle of the present invention, can with several improvements and modifications are made to the present invention, These improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims (10)

1. a kind of server cluster system characterized by comprising
Shared disk, primary server joint and standby server node;
Multiple primary server joints are connected on the shared disk;
The disk of the backup server node is connect with the shared disk mirror image, backs up the shared disk memory space Data when breaking down in order to the shared disk, make to service using the data in the disk of the standby server node Device group system continues working.
2. server cluster system as described in claim 1 characterized by comprising the first primary server joint, the second master Server node;
First primary server joint and second primary server joint map to the memory space of the shared disk, with Convenient for the storing data in shared disk described in first primary server joint and the second server nodes sharing;
When first primary server joint is in operating status, second primary server is in standby.
3. server cluster system as claimed in claim 2 characterized by comprising with the first primary server section Multiple shared disks that point is connected with second primary server joint,
Different shared datas is stored in the memory space of the multiple shared disk respectively;
The multiple shared disk is connected with corresponding backup diskette mirror image respectively.
4. server cluster system as claimed in claim 3, which is characterized in that the multiple shared disk is corresponding multiple standby It is mounted in same standby server node with disk.
5. server cluster system as claimed in claim 3, which is characterized in that the multiple shared disk is corresponding multiple standby It is separately mounted to disk in different standby server nodes.
6. server cluster system as described in claim 1 characterized by comprising the first shared disk and second is shared Disk, the first standby server node and the second server standby node;
First shared disk and second shared disk are connect with multiple primary server joints respectively;
First shared disk is connect with the disk mirroring of the first standby server node;
Second shared disk is connect with the disk mirroring of the second standby server node.
7. a kind of method for realizing server cluster system High Availabitity characterized by comprising
It obtains in the multiple primary server joints being connect with shared disk, is deposited needed for primary server joint in operating status Store up data;
Judge whether the shared disk breaks down;
If the shared disk breaks down, it is in by the backup diskette being connect with the shared disk mirror image to described The main service node of operating status provides the storing data.
8. the method for claim 7, which is characterized in that the backup diskette peace being connect with the shared disk mirror image Loaded in the standby server node.
9. method according to claim 8, which is characterized in that described to obtain the multiple primary server sections connecting with shared disk In point, storing data needed for primary server joint in operating status includes:
Multiple primary server joints are mapped to the memory space of the shared disk, in order to which the multiple server node is total Enjoy the storing data in the shared disk;
In the multiple primary server joint in addition to a primary server joint in operating status, other primary server sections Point is in standby mode;
Storing data needed for obtaining the primary server joint in operating status by the shared disk.
10. method as claimed in claim 9, which is characterized in that the multiple primary server joint and the standby server BCP software is mounted on node, in order to make using the BCP software described in fortune when the shared disk failure Data needed for the primary server joint of row state is obtained by the backup diskette.
CN201811062398.6A 2018-09-12 2018-09-12 Server cluster system and the method for realizing server cluster system High Availabitity Pending CN109194515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811062398.6A CN109194515A (en) 2018-09-12 2018-09-12 Server cluster system and the method for realizing server cluster system High Availabitity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811062398.6A CN109194515A (en) 2018-09-12 2018-09-12 Server cluster system and the method for realizing server cluster system High Availabitity

Publications (1)

Publication Number Publication Date
CN109194515A true CN109194515A (en) 2019-01-11

Family

ID=64910443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811062398.6A Pending CN109194515A (en) 2018-09-12 2018-09-12 Server cluster system and the method for realizing server cluster system High Availabitity

Country Status (1)

Country Link
CN (1) CN109194515A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766222A (en) * 2019-01-22 2019-05-17 郑州云海信息技术有限公司 A kind of method and system for realizing web browser two-node cluster hot backup
CN109783280A (en) * 2019-01-15 2019-05-21 上海海得控制系统股份有限公司 Shared memory systems and shared storage method
CN110333972A (en) * 2019-07-03 2019-10-15 深信服科技股份有限公司 Shared disk management method, device, equipment and storage medium
CN111949444A (en) * 2020-06-24 2020-11-17 武汉烽火众智数字技术有限责任公司 Data backup and recovery system and method based on distributed service cluster
WO2021237431A1 (en) * 2020-05-26 2021-12-02 深圳市欢太科技有限公司 Data processing method and apparatus, processing device, and data storage system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101290556A (en) * 2007-04-16 2008-10-22 中兴通讯股份有限公司 Magnetic disc array sharing device
CN101916296A (en) * 2010-08-29 2010-12-15 武汉天喻信息产业股份有限公司 Mass data processing method based on files
CN104504348A (en) * 2014-12-11 2015-04-08 上海爱数软件有限公司 Data protecting method based on high availability storage system
CN105068894A (en) * 2015-09-10 2015-11-18 浪潮(北京)电子信息产业有限公司 Method and device for achieving high availability of Linux system storage device on basis of LVM mirror image
CN106502797A (en) * 2016-10-28 2017-03-15 郑州云海信息技术有限公司 A kind of group system and the dispositions method of group system
CN106708662A (en) * 2016-12-13 2017-05-24 上海上讯信息技术股份有限公司 Method for restoring database and equipment
CN107229539A (en) * 2017-05-31 2017-10-03 郑州云海信息技术有限公司 A kind of processing method and system for disk mirroring high-availability cluster diskless

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101290556A (en) * 2007-04-16 2008-10-22 中兴通讯股份有限公司 Magnetic disc array sharing device
CN101916296A (en) * 2010-08-29 2010-12-15 武汉天喻信息产业股份有限公司 Mass data processing method based on files
CN104504348A (en) * 2014-12-11 2015-04-08 上海爱数软件有限公司 Data protecting method based on high availability storage system
CN105068894A (en) * 2015-09-10 2015-11-18 浪潮(北京)电子信息产业有限公司 Method and device for achieving high availability of Linux system storage device on basis of LVM mirror image
CN106502797A (en) * 2016-10-28 2017-03-15 郑州云海信息技术有限公司 A kind of group system and the dispositions method of group system
CN106708662A (en) * 2016-12-13 2017-05-24 上海上讯信息技术股份有限公司 Method for restoring database and equipment
CN107229539A (en) * 2017-05-31 2017-10-03 郑州云海信息技术有限公司 A kind of processing method and system for disk mirroring high-availability cluster diskless

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783280A (en) * 2019-01-15 2019-05-21 上海海得控制系统股份有限公司 Shared memory systems and shared storage method
CN109766222A (en) * 2019-01-22 2019-05-17 郑州云海信息技术有限公司 A kind of method and system for realizing web browser two-node cluster hot backup
CN110333972A (en) * 2019-07-03 2019-10-15 深信服科技股份有限公司 Shared disk management method, device, equipment and storage medium
WO2021237431A1 (en) * 2020-05-26 2021-12-02 深圳市欢太科技有限公司 Data processing method and apparatus, processing device, and data storage system
CN111949444A (en) * 2020-06-24 2020-11-17 武汉烽火众智数字技术有限责任公司 Data backup and recovery system and method based on distributed service cluster

Similar Documents

Publication Publication Date Title
CN109194515A (en) Server cluster system and the method for realizing server cluster system High Availabitity
US7533292B2 (en) Management method for spare disk drives in a raid system
US8458398B2 (en) Computer-readable medium storing data management program, computer-readable medium storing storage diagnosis program, and multinode storage system
JP4606455B2 (en) Storage management device, storage management program, and storage system
US6243744B1 (en) Computer network cluster generation indicator
CN104994168A (en) distributed storage method and distributed storage system
CN110071821A (en) Standby node is specified
CN103840961A (en) Dual-computer hot backup system
CN109710456B (en) Data recovery method and device
CN105049258B (en) The data transmission method of network disaster tolerance system
CN108958991A (en) Clustered node failure business quick recovery method, device, equipment and storage medium
CN106331166A (en) Access method and device of storage resource
CN104753987B (en) A kind of distributed conversation management method and system
CN108600284B (en) Ceph-based virtual machine high-availability implementation method and system
CN109361777A (en) Synchronous method, synchronization system and the relevant apparatus of distributed type assemblies node state
CN106681865A (en) Business recovery method and device
CN106294031B (en) A kind of business management method and storage control
CN103186348B (en) Storage system and data read-write method thereof
CN108319522A (en) A method of reinforcing distributed memory system reliability
CN103814352A (en) Virtual equipment reconstruction method and apparatus
CN111240903A (en) Data recovery method and related equipment
CN108512753A (en) The method and device that message is transmitted in a kind of cluster file system
US7506201B2 (en) System and method of repair management for RAID arrays
CN109508261A (en) A kind of electric network data node standby method and standby system based on big data
CN110399168A (en) Majority according to disk storage server system start method, device and equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190111