[go: up one dir, main page]

CN107395415A - A kind of data processing method and system - Google Patents

A kind of data processing method and system Download PDF

Info

Publication number
CN107395415A
CN107395415A CN201710595927.8A CN201710595927A CN107395415A CN 107395415 A CN107395415 A CN 107395415A CN 201710595927 A CN201710595927 A CN 201710595927A CN 107395415 A CN107395415 A CN 107395415A
Authority
CN
China
Prior art keywords
server
switch
data processing
storage system
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.)
Pending
Application number
CN201710595927.8A
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 CN201710595927.8A priority Critical patent/CN107395415A/en
Publication of CN107395415A publication Critical patent/CN107395415A/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/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
    • 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/2033Failover techniques switching over of hardware resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/252Store and forward routing
    • 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/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请提供一种数据处理方法和系统。数据处理系统包括由多个服务器构成的群集、交换机和存储系统,其中所述群集采用Microsoft群集服务技术,所述存储系统作为所述群集中各服务器的本地磁盘。方法包括:第一服务器发送数据处理请求至所述交换机,并经由所述交换机转发至所述存储系统;所述第一服务器为所述群集中的任一服务器;所述存储系统响应所述数据处理请求,将响应结果发送至所述交换机,并经由所述交换机转发至所述第一服务器。本申请提出存储系统与MSCS技术相结合的技术方案,对于整个群集系统来讲,不但能够实现数据的高可用性,而且还降低了企业的投入和维护成本。

The present application provides a data processing method and system. The data processing system includes a cluster composed of multiple servers, a switch and a storage system, wherein the cluster adopts Microsoft cluster service technology, and the storage system is used as a local disk of each server in the cluster. The method includes: a first server sends a data processing request to the switch, and forwards it to the storage system via the switch; the first server is any server in the cluster; the storage system responds to the data processing the request, sending the response result to the switch, and forwarding to the first server via the switch. This application proposes a technical solution combining the storage system and MSCS technology. For the entire cluster system, it can not only achieve high data availability, but also reduce the investment and maintenance costs of enterprises.

Description

一种数据处理方法和系统A data processing method and system

技术领域technical field

本申请涉及计算机技术领域,尤其涉及一种数据处理方法和系统。The present application relates to the field of computer technology, in particular to a data processing method and system.

背景技术Background technique

在数据的读取或写入过程中,如果服务器发生故障或暂停,数据将无法正常读取或存储,为此,业界推出群集软件,能够通过此类软件避免单节点故障或宕机时,保证数据依然能够被访问或存储。In the process of reading or writing data, if the server fails or pauses, the data will not be read or stored normally. For this reason, the industry has launched cluster software, which can avoid single node failure or downtime through such software, and guarantee Data can still be accessed or stored.

然而,这种群集环境的部署及维护,对于一些中小企业,不但增加了投入成本,而且后期的维护成本也有所增加。However, the deployment and maintenance of this cluster environment, for some small and medium-sized enterprises, not only increases the investment cost, but also increases the later maintenance cost.

发明内容Contents of the invention

有鉴于此,本申请提供一种数据处理方法和系统,以降低群集环境部署及维护的成本。技术方案如下:In view of this, the present application provides a data processing method and system to reduce the cost of deploying and maintaining a cluster environment. The technical scheme is as follows:

基于本申请的一方面,本申请提供一种数据处理方法,应用于数据处理系统,所述数据处理系统包括由多个服务器构成的群集、交换机和存储系统,其中所述群集采用Microsoft群集服务技术,所述存储系统作为所述群集中各服务器的本地磁盘;所述方法包括:Based on one aspect of the present application, the present application provides a data processing method, which is applied to a data processing system, and the data processing system includes a cluster composed of multiple servers, a switch and a storage system, wherein the cluster adopts Microsoft cluster service technology , the storage system is used as a local disk of each server in the cluster; the method includes:

第一服务器发送数据处理请求至所述交换机,并经由所述交换机转发至所述存储系统;所述第一服务器为所述群集中的任一服务器;The first server sends a data processing request to the switch, and forwards it to the storage system via the switch; the first server is any server in the cluster;

所述存储系统响应所述数据处理请求,将响应结果发送至所述交换机,并经由所述交换机转发至所述第一服务器。The storage system responds to the data processing request, sends a response result to the switch, and forwards the response result to the first server via the switch.

优选地,当所述第一服务器发生故障或宕机时,所述方法进一步包括:Preferably, when the first server fails or goes down, the method further includes:

基于所述Microsoft群集服务技术启动切换机制,将所述第一服务器上的所有资源切换至第二服务器,所述第二服务器为所述群集中不同于所述第一服务器,且与所述第一服务器冗余的任一服务器;Start a switching mechanism based on the Microsoft cluster service technology, switch all resources on the first server to a second server, the second server is different from the first server in the cluster, and is the same as the first server Any server for server redundancy;

所述第二服务器将所述数据处理请求发送至所述交换机,并经由所述交换机转发至所述存储系统;The second server sends the data processing request to the switch, and forwards it to the storage system via the switch;

所述存储系统响应所述数据处理请求,将响应结果发送至所述交换机,并经由所述交换机转发至所述第二服务器。The storage system responds to the data processing request, sends a response result to the switch, and forwards the response result to the second server via the switch.

优选地,所述数据处理请求包括数据读取请求;所述存储系统响应所述数据处理请求,将响应结果发送至所述交换机包括:Preferably, the data processing request includes a data read request; the storage system responds to the data processing request, and sending a response result to the switch includes:

所述存储系统根据所述数据读取请求,查找目标数据,将所述目标数据发送至所述交换机。The storage system searches for target data according to the data read request, and sends the target data to the switch.

优选地,所述数据处理请求包括数据写入请求;所述存储系统响应所述数据处理请求,将响应结果发送至所述交换机包括:Preferably, the data processing request includes a data write request; the storage system responds to the data processing request, and sending a response result to the switch includes:

所述存储系统根据所述数据写入请求,将待写入数据写入指定存储区域,将写入完成结果发送至所述交换机。The storage system writes the data to be written into a designated storage area according to the data write request, and sends a writing completion result to the switch.

基于本申请的另一方面,本申请还提供一种数据处理系统,所述数据处理系统包括由多个服务器构成的群集、交换机和存储系统,所述群集采用Microsoft群集服务技术,所述存储系统作为所述群集中各服务器的本地磁盘;Based on another aspect of the present application, the present application also provides a data processing system, the data processing system includes a cluster composed of a plurality of servers, a switch and a storage system, the cluster adopts Microsoft cluster service technology, and the storage system as a local disk for each server in the cluster;

所述群集中的第一服务器用于发送数据处理请求至所述交换机;所述第一服务器为所述群集中的任一服务器;The first server in the cluster is used to send a data processing request to the switch; the first server is any server in the cluster;

所述交换机用于将所述数据处理请求转发至所述存储系统;The switch is configured to forward the data processing request to the storage system;

所述存储系统用于响应所述数据处理请求,并将响应结果发送至所述交换机;The storage system is configured to respond to the data processing request, and send a response result to the switch;

所述交换机还用于将所述响应结果转发至所述第一服务器。The switch is further configured to forward the response result to the first server.

优选地,当所述第一服务器发生故障或宕机时,所述数据处理系统用于,基于所述Microsoft群集服务技术启动切换机制,将所述第一服务器上的所有资源切换至第二服务器,所述第二服务器为所述群集中不同于所述第一服务器,且与所述第一服务器冗余的任一服务器;Preferably, when the first server fails or goes down, the data processing system is configured to start a switching mechanism based on the Microsoft cluster service technology to switch all resources on the first server to the second server , the second server is any server in the cluster that is different from the first server and redundant with the first server;

所述第二服务器用于将所述数据处理请求发送至所述交换机;The second server is configured to send the data processing request to the switch;

所述交换机用于将所述数据处理请求转发至所述存储系统;The switch is configured to forward the data processing request to the storage system;

所述存储系统用于响应所述数据处理请求,将响应结果发送至所述交换机;The storage system is configured to respond to the data processing request and send a response result to the switch;

所述交换机还用于将所述响应结果转发至所述第二服务器。The switch is also used to forward the response result to the second server.

优选地,所述数据处理请求包括数据读取请求;所述存储系统用于响应所述数据处理请求,将响应结果发送至所述交换机包括:Preferably, the data processing request includes a data read request; the storage system is configured to respond to the data processing request, and sending the response result to the switch includes:

所述存储系统根据所述数据读取请求,查找目标数据,将所述目标数据发送至所述交换机。The storage system searches for target data according to the data read request, and sends the target data to the switch.

优选地,所述数据处理请求包括数据写入请求;所述存储系统用于响应所述数据处理请求,将响应结果发送至所述交换机包括:Preferably, the data processing request includes a data write request; the storage system is configured to respond to the data processing request, and sending the response result to the switch includes:

所述存储系统根据所述数据写入请求,将待写入数据写入指定存储区域,将写入完成结果发送至所述交换机。The storage system writes the data to be written into a designated storage area according to the data write request, and sends a writing completion result to the switch.

本申请提供的数据处理方法和系统中,数据处理系统包括由多个服务器构成的群集、交换机和存储系统,其中群集采用MSCS(Microsoft Cluster Service,Microsoft群集服务)技术,存储系统作为群集中的各服务器的本地磁盘。本申请提出存储系统与MSCS技术相结合的技术方案,对于整个群集系统来讲,不但能够实现数据的高可用性,而且还降低了企业的投入和维护成本。In the data processing method and system provided by the present application, the data processing system includes a cluster composed of multiple servers, a switch, and a storage system, wherein the cluster adopts MSCS (Microsoft Cluster Service, Microsoft Cluster Service) technology, and the storage system is used as each cluster in the cluster. The server's local disk. This application proposes a technical solution combining the storage system and MSCS technology. For the entire cluster system, it can not only achieve high data availability, but also reduce the investment and maintenance costs of enterprises.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present application, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.

图1为本申请提供的一种数据处理系统的结构示意图;Fig. 1 is a schematic structural diagram of a data processing system provided by the present application;

图2为本申请提供的一种数据处理方法的流程图;Fig. 2 is a flow chart of a data processing method provided by the present application;

图3为本申请提供的一种数据读取方法的时序图;Fig. 3 is a sequence diagram of a data reading method provided by the present application;

图4为本申请提供的一种数据写入方法的时序图;FIG. 4 is a timing diagram of a data writing method provided by the present application;

图5为本申请提供的另一种数据处理方法的流程图。FIG. 5 is a flow chart of another data processing method provided by the present application.

具体实施方式detailed description

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

如图1所示,其示出了本申请提供的数据处理系统的结构示意图。本申请提供的数据处理系统可也称为群集系统或群集环境,具体包括:由多个服务器构成的群集100、交换机200和存储系统300。其中群集100采用Microsoft群集服务(MSCS,Microsoft ClusterService)技术,存储系统300分别与群集100中的各服务器建立映射关系,作为群集100中各服务器共享的一个本地磁盘。As shown in FIG. 1 , it shows a schematic structural diagram of the data processing system provided by the present application. The data processing system provided in the present application may also be called a cluster system or a cluster environment, and specifically includes: a cluster 100 composed of multiple servers, a switch 200 and a storage system 300 . The cluster 100 adopts Microsoft Cluster Service (MSCS, Microsoft Cluster Service) technology, and the storage system 300 respectively establishes a mapping relationship with each server in the cluster 100 as a local disk shared by each server in the cluster 100 .

本申请创新提出,将MSCS技术与存储系统300相结合,使得群集100中的各服务器共享存储系统300。在本申请实际应用时,MSCS中的多个服务器上安装有应用程序,但在任一时刻,应用程序只在一个节点上处于联机状态。当应用程序出现故障或服务器停机时,将该应用程序转移到可用的其他节点上重新启动(此过程称为“故障转移”),从而最大程度的保证数据的正常读取、写入,提高数据的高可用性。且对于整个群集系统来讲,无需分别针对群集中各服务器的本地磁盘的存储容量进行考虑和设计,降低了开发人员编写识别群集系统中应用程序的难度,从而降低了群集系统的设计成本,即降低了企业的投入和维护成本。This application innovatively proposes to combine the MSCS technology with the storage system 300 so that all servers in the cluster 100 share the storage system 300 . When this application is actually applied, there are application programs installed on multiple servers in MSCS, but at any moment, the application program is only online on one node. When an application fails or the server is shut down, the application is transferred to another available node and restarted (this process is called "failover"), so as to ensure the normal reading and writing of data to the greatest extent, and improve data quality. high availability. And for the entire cluster system, there is no need to consider and design the storage capacity of the local disks of each server in the cluster, which reduces the difficulty for developers to write and identify applications in the cluster system, thereby reducing the design cost of the cluster system, that is, Reduce the input and maintenance costs of the enterprise.

基于本申请提供的数据处理系统,本申请还提供一种数据处理方法,如图2所示,方法包括:Based on the data processing system provided by this application, this application also provides a data processing method, as shown in Figure 2, the method includes:

步骤201,第一服务器发送数据处理请求至交换机,并经由交换机转发至存储系统。Step 201, the first server sends a data processing request to a switch, and forwards it to a storage system via the switch.

其中,第一服务器为群集100中的任一服务器。Wherein, the first server is any server in the cluster 100 .

步骤202,存储系统响应所述数据处理请求,将响应结果发送至交换机,并经由交换机转发至第一服务器。Step 202, the storage system responds to the data processing request, sends the response result to the switch, and forwards the response result to the first server via the switch.

下面,申请人将以数据处理请求分别为数据读取请求和数据写入请求进行说明。In the following, the applicant will describe the data processing requests as data reading requests and data writing requests respectively.

如图3所示,其示出了本申请提供的一种数据读取方法的时序图,包括:As shown in Figure 3, it shows a timing diagram of a data reading method provided by the present application, including:

步骤301,第一服务器发送数据读取请求至交换机。Step 301, the first server sends a data read request to the switch.

其中数据读取请求包括待读取数据的地址、标识等信息。The data read request includes information such as an address and an identifier of the data to be read.

步骤302,交换机将数据读取请求转发至存储系统。Step 302, the switch forwards the data read request to the storage system.

步骤303,存储系统接收数据读取请求后,根据数据读取请求,查找目标数据。Step 303, after receiving the data read request, the storage system searches for target data according to the data read request.

步骤304,存储系统将查找到的目标数据发送至交换机。Step 304, the storage system sends the found target data to the switch.

存储系统接收数据读取请求后,根据数据读取请求中包括的待读取数据的地址、标识等信息查找目标数据,进而将查找到的目标数据发送至交换机。After receiving the data read request, the storage system searches for target data according to information such as the address and identifier of the data to be read included in the data read request, and then sends the found target data to the switch.

步骤305,交换机将目标数据转发至第一服务器。Step 305, the switch forwards the target data to the first server.

如图4所示,其示出了本申请提供的一种数据写入方法的时序图,包括:As shown in Figure 4, it shows a timing diagram of a data writing method provided by the present application, including:

步骤401,第一服务器发送数据写入请求至交换机。Step 401, the first server sends a data writing request to the switch.

其中数据写入请求包括待写入数据,还可以包括待写入数据的存储地址等信息。The data writing request includes the data to be written, and may also include information such as a storage address of the data to be written.

步骤402,交换机将数据写入请求转发至存储系统。Step 402, the switch forwards the data write request to the storage system.

步骤403,存储系统接收数据写入请求后,将待写入数据写入指定存储区域。Step 403, after receiving the data writing request, the storage system writes the data to be written into the designated storage area.

存储系统接收数据写入请求后,如果数据写入请求中包括待写入数据的存储地址,则将待写入数据写入该存储地址对应的存储区域,如果数据写入请求中不包括待写入数据的存储地址,则可以将待写入数据写入存储系统中默认的存储区域。After the storage system receives the data write request, if the data write request includes the storage address of the data to be written, it writes the data to be written into the storage area corresponding to the storage address; if the data write request does not include the storage address of the data to be written If the storage address of the input data is specified, the data to be written can be written into the default storage area in the storage system.

步骤404,存储系统将写入完成结果发送至交换机。Step 404, the storage system sends the writing completion result to the switch.

存储系统在完成待写入数据的存储后,将写入完成结果发送至交换机。After the storage system finishes storing the data to be written, it sends the writing completion result to the switch.

步骤405,交换机将写入完成结果转发至第一服务器。Step 405, the switch forwards the writing completion result to the first server.

步骤406,第一服务器接收写入完成结果,确定待写入数据成功完成写入。Step 406, the first server receives the write completion result, and determines that the data to be written has been successfully written.

以上实施例基于的是群集100中各服务器处于正常工作状态,而当某个服务器,如第一服务器发生故障(包括第一服务器上的应用程序发生故障或第一服务器本身发生故障等)或第一服务器宕机时,本申请提供的数据处理方法进一步还包括,如图5所示:The above embodiments are based on the fact that each server in the cluster 100 is in a normal working state. When a server is down, the data processing method provided by the present application further includes, as shown in Figure 5:

步骤501,基于MSCS技术启动切换机制,将第一服务器上的所有资源切换至第二服务器,所述第二服务器为群集中不同于第一服务器,且与第一服务器冗余的任一服务器。Step 501: Start a switching mechanism based on MSCS technology, and switch all resources on the first server to a second server. The second server is any server in the cluster that is different from the first server and redundant with the first server.

基于MSCS技术启动切换机制后,群集系统内部启动故障转移进程,将第一服务器上的所有资源,包括应用程序,切换至第二服务器。After starting the switching mechanism based on the MSCS technology, the cluster system starts a failover process to switch all resources on the first server, including application programs, to the second server.

需要说明的是,基于MSCS技术实现的故障转移方法现有技术已非常成熟,具体可参阅http://baike.baidu.com/link?url=5egqoiGa-S1sdnW22WR9uK5p6Wq9VKjSxUFQWstxQB-hWUnFKjaQEzozazLyg5Xldj8Wyn_2LiuKUAxYA8ELB_,在此申请人不再赘述。It should be noted that the existing technology of the failover method based on MSCS technology is very mature, for details, please refer to http://baike.baidu.com/link? url=5egqoiGa-S1sdnW22WR9uK5p6Wq9VKjSxUFQWstxQB-hWUnFKjaQEzozazLyg5Xldj8Wyn_2LiuKUAxYA8ELB_, the applicant will not repeat it here.

步骤502,第二服务器将所述数据处理请求发送至交换机,并经由交换机转发至存储系统。Step 502, the second server sends the data processing request to the switch, and forwards the data processing request to the storage system via the switch.

步骤503,存储系统响应所述数据处理请求,将响应结果发送至交换机,并经由交换机转发至第二服务器。Step 503, the storage system responds to the data processing request, sends the response result to the switch, and forwards the response result to the second server via the switch.

与前述实施例不同的是,本实施例中,当第一服务器发生故障或宕机,第一服务器无法进行通信时,数据处理系统会自动触发切换机制,将第一服务器上的所有资源切换至第二服务器,由第二服务器代替第一服务器来完成数据的相关处理。其中,第二服务器发送数据读取请求或数据写入请求至交换机的后续实现过程,同第一服务器发送数据读取请求或数据写入请求至交换机的后续实现过程雷同。以前述图3、图4来说,则本实施例只是将图3、图4中的第一服务器换成第二服务器即可。Different from the previous embodiments, in this embodiment, when the first server fails or goes down and the first server cannot communicate, the data processing system will automatically trigger the switching mechanism to switch all resources on the first server to The second server, the second server replaces the first server to complete the related processing of data. Wherein, the subsequent implementation process of the second server sending the data read request or data write request to the switch is similar to the subsequent implementation process of the first server sending the data read request or data write request to the switch. Taking the above-mentioned Fig. 3 and Fig. 4 as an example, this embodiment only needs to replace the first server in Fig. 3 and Fig. 4 with the second server.

应用本申请提供的数据处理方法和系统,数据处理系统包括由多个服务器构成的群集、交换机和存储系统,其中群集采用MSCS技术,存储系统作为群集中的各服务器的本地磁盘。本申请提出存储系统与MSCS技术相结合的技术方案,对于整个群集系统来讲,不但能够实现数据的高可用性,而且还降低了企业的投入和维护成本。Applying the data processing method and system provided by the present application, the data processing system includes a cluster composed of multiple servers, a switch and a storage system, wherein the cluster adopts MSCS technology, and the storage system serves as a local disk of each server in the cluster. This application proposes a technical solution combining the storage system and MSCS technology. For the entire cluster system, it can not only achieve high data availability, but also reduce the investment and maintenance costs of enterprises.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

以上对本申请所提供的一种数据处理方法和系统进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A data processing method and system provided by this application has been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of this application. The description of the above embodiment is only used to help understand the method of this application. and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation and application scope. limits.

Claims (8)

1.一种数据处理方法,应用于数据处理系统,其特征在于,所述数据处理系统包括由多个服务器构成的群集、交换机和存储系统,其中所述群集采用Microsoft群集服务技术,所述存储系统作为所述群集中各服务器的本地磁盘;所述方法包括:1. A data processing method, applied to a data processing system, characterized in that, the data processing system includes a cluster composed of a plurality of servers, a switch and a storage system, wherein the cluster adopts Microsoft cluster service technology, and the storage The system serves as a local disk of each server in the cluster; the method includes: 第一服务器发送数据处理请求至所述交换机,并经由所述交换机转发至所述存储系统;所述第一服务器为所述群集中的任一服务器;The first server sends a data processing request to the switch, and forwards it to the storage system via the switch; the first server is any server in the cluster; 所述存储系统响应所述数据处理请求,将响应结果发送至所述交换机,并经由所述交换机转发至所述第一服务器。The storage system responds to the data processing request, sends a response result to the switch, and forwards the response result to the first server via the switch. 2.根据权利要求1所述的方法,其特征在于,当所述第一服务器发生故障或宕机时,所述方法进一步包括:2. The method according to claim 1, wherein when the first server fails or goes down, the method further comprises: 基于所述Microsoft群集服务技术启动切换机制,将所述第一服务器上的所有资源切换至第二服务器,所述第二服务器为所述群集中不同于所述第一服务器,且与所述第一服务器冗余的任一服务器;Start a switching mechanism based on the Microsoft cluster service technology, switch all resources on the first server to a second server, the second server is different from the first server in the cluster, and is the same as the first server Any server for server redundancy; 所述第二服务器将所述数据处理请求发送至所述交换机,并经由所述交换机转发至所述存储系统;The second server sends the data processing request to the switch, and forwards it to the storage system via the switch; 所述存储系统响应所述数据处理请求,将响应结果发送至所述交换机,并经由所述交换机转发至所述第二服务器。The storage system responds to the data processing request, sends a response result to the switch, and forwards the response result to the second server via the switch. 3.根据权利要求1或2所述的方法,其特征在于,所述数据处理请求包括数据读取请求;所述存储系统响应所述数据处理请求,将响应结果发送至所述交换机包括:3. The method according to claim 1 or 2, wherein the data processing request includes a data read request; and the storage system responds to the data processing request, and sending a response result to the switch includes: 所述存储系统根据所述数据读取请求,查找目标数据,将所述目标数据发送至所述交换机。The storage system searches for target data according to the data read request, and sends the target data to the switch. 4.根据权利要求1或2所述的方法,其特征在于,所述数据处理请求包括数据写入请求;所述存储系统响应所述数据处理请求,将响应结果发送至所述交换机包括:4. The method according to claim 1 or 2, wherein the data processing request includes a data write request; the storage system responds to the data processing request, and sending a response result to the switch includes: 所述存储系统根据所述数据写入请求,将待写入数据写入指定存储区域,将写入完成结果发送至所述交换机。The storage system writes the data to be written into a designated storage area according to the data write request, and sends a writing completion result to the switch. 5.一种数据处理系统,其特征在于,所述数据处理系统包括由多个服务器构成的群集、交换机和存储系统,所述群集采用Microsoft群集服务技术,所述存储系统作为所述群集中各服务器的本地磁盘;5. A data processing system, characterized in that, the data processing system includes a cluster composed of a plurality of servers, a switch and a storage system, the cluster adopts Microsoft cluster service technology, and the storage system is used as each server in the cluster the server's local disk; 所述群集中的第一服务器用于发送数据处理请求至所述交换机;所述第一服务器为所述群集中的任一服务器;The first server in the cluster is used to send a data processing request to the switch; the first server is any server in the cluster; 所述交换机用于将所述数据处理请求转发至所述存储系统;The switch is configured to forward the data processing request to the storage system; 所述存储系统用于响应所述数据处理请求,并将响应结果发送至所述交换机;The storage system is configured to respond to the data processing request, and send a response result to the switch; 所述交换机还用于将所述响应结果转发至所述第一服务器。The switch is further configured to forward the response result to the first server. 6.根据权利要求5所述的系统,其特征在于,当所述第一服务器发生故障或宕机时,所述数据处理系统用于,基于所述Microsoft群集服务技术启动切换机制,将所述第一服务器上的所有资源切换至第二服务器,所述第二服务器为所述群集中不同于所述第一服务器,且与所述第一服务器冗余的任一服务器;6. The system according to claim 5, wherein when the first server breaks down or goes down, the data processing system is configured to start a switching mechanism based on the Microsoft cluster service technology, and the All resources on the first server are switched to a second server, and the second server is any server in the cluster that is different from the first server and redundant with the first server; 所述第二服务器用于将所述数据处理请求发送至所述交换机;The second server is configured to send the data processing request to the switch; 所述交换机用于将所述数据处理请求转发至所述存储系统;The switch is configured to forward the data processing request to the storage system; 所述存储系统用于响应所述数据处理请求,将响应结果发送至所述交换机;The storage system is configured to respond to the data processing request and send a response result to the switch; 所述交换机还用于将所述响应结果转发至所述第二服务器。The switch is also used to forward the response result to the second server. 7.根据权利要求5或6所述的系统,其特征在于,所述数据处理请求包括数据读取请求;所述存储系统用于响应所述数据处理请求,将响应结果发送至所述交换机包括:7. The system according to claim 5 or 6, wherein the data processing request includes a data read request; the storage system is configured to respond to the data processing request, and send a response result to the switch including : 所述存储系统根据所述数据读取请求,查找目标数据,将所述目标数据发送至所述交换机。The storage system searches for target data according to the data read request, and sends the target data to the switch. 8.根据权利要求5或6所述的系统,其特征在于,所述数据处理请求包括数据写入请求;所述存储系统用于响应所述数据处理请求,将响应结果发送至所述交换机包括:8. The system according to claim 5 or 6, wherein the data processing request includes a data write request; the storage system is configured to respond to the data processing request, and send a response result to the switch including : 所述存储系统根据所述数据写入请求,将待写入数据写入指定存储区域,将写入完成结果发送至所述交换机。The storage system writes the data to be written into a designated storage area according to the data write request, and sends a writing completion result to the switch.
CN201710595927.8A 2017-07-20 2017-07-20 A kind of data processing method and system Pending CN107395415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710595927.8A CN107395415A (en) 2017-07-20 2017-07-20 A kind of data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710595927.8A CN107395415A (en) 2017-07-20 2017-07-20 A kind of data processing method and system

Publications (1)

Publication Number Publication Date
CN107395415A true CN107395415A (en) 2017-11-24

Family

ID=60337383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710595927.8A Pending CN107395415A (en) 2017-07-20 2017-07-20 A kind of data processing method and system

Country Status (1)

Country Link
CN (1) CN107395415A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114285809A (en) * 2021-12-22 2022-04-05 中国农业银行股份有限公司 A method and apparatus for isolating switch ports

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323422A (en) * 1998-10-09 2001-11-21 奥本维夫系统公司 Shared-everything file storage for clustered system
US20040139196A1 (en) * 2003-01-09 2004-07-15 Dell Products L.P. System and method for releasing device reservations
CN1860731A (en) * 2003-09-30 2006-11-08 国际商业机器公司 System and method for generating perspectives of a san topology
CN101131623A (en) * 2004-04-14 2008-02-27 株式会社日立制作所 Storage System
CN202406144U (en) * 2011-12-07 2012-08-29 辽宁畅通数据通信有限公司 Software as a Service (SaaS) integrated management system
CN103534688A (en) * 2013-05-29 2014-01-22 华为技术有限公司 Data recovery method, storage equipment and storage system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323422A (en) * 1998-10-09 2001-11-21 奥本维夫系统公司 Shared-everything file storage for clustered system
US20040139196A1 (en) * 2003-01-09 2004-07-15 Dell Products L.P. System and method for releasing device reservations
CN1860731A (en) * 2003-09-30 2006-11-08 国际商业机器公司 System and method for generating perspectives of a san topology
CN101131623A (en) * 2004-04-14 2008-02-27 株式会社日立制作所 Storage System
CN202406144U (en) * 2011-12-07 2012-08-29 辽宁畅通数据通信有限公司 Software as a Service (SaaS) integrated management system
CN103534688A (en) * 2013-05-29 2014-01-22 华为技术有限公司 Data recovery method, storage equipment and storage system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
周昌权: "MCSE认证考试知识点——简述Microsoft群集服务", 《电脑知识与技术》 *
张强: "Windows2003服务器群集技术在网站中的应用", 《零陵学院学报》 *
杨应全: "微软故障转移群集在图书馆中的应用", 《图书馆自动化》 *
杨应全: "微软故障转移群集在图书馆中的应用", 《现代图书情报技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114285809A (en) * 2021-12-22 2022-04-05 中国农业银行股份有限公司 A method and apparatus for isolating switch ports

Similar Documents

Publication Publication Date Title
US11144399B1 (en) Managing storage device errors during processing of inflight input/output requests
JP4791051B2 (en) Method, system, and computer program for system architecture for any number of backup components
US7788453B2 (en) Redirection of storage access requests based on determining whether write caching is enabled
US10146646B1 (en) Synchronizing RAID configuration changes across storage processors
CN118276783A (en) Data partition switching between storage clusters
US10185636B2 (en) Method and apparatus to virtualize remote copy pair in three data center configuration
WO2020108271A1 (en) Application program updating method, device and equipment, and storage medium
US20080005288A1 (en) Storage system and data replication method
US20060277328A1 (en) System and method for updating the firmware of a device in a storage network
US20100306488A1 (en) Performing mirroring of a logical storage unit
US8650471B2 (en) System and method for look-aside parity based raid
US10747465B2 (en) Preserving replication to a storage object on a storage node
JP2006268503A (en) Computer system, disk unit and data update control method
US11023415B2 (en) Reducing feature dependencies of block storage used to back NAS cluster
US8683258B2 (en) Fast I/O failure detection and cluster wide failover
CN106528338A (en) Remote data replication method, storage equipment and storage system
WO2018051505A1 (en) Storage system
JP6540334B2 (en) SYSTEM, INFORMATION PROCESSING DEVICE, AND INFORMATION PROCESSING METHOD
JP5366858B2 (en) Cluster system and system switching method in cluster system
US9430485B2 (en) Information processor and backup method
CN112379825B (en) Distributed data storage method and device based on data feature sub-pools
US20230305726A1 (en) Data placement and recovery in the event of partition failures
JP6708923B2 (en) Storage system
CN107395415A (en) A kind of data processing method and system
US9779105B1 (en) Transaction logging using file-system-specific log files

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

Application publication date: 20171124

RJ01 Rejection of invention patent application after publication