WO2015058380A1 - 一种云应用的容灾方法、系统和装置 - Google Patents

一种云应用的容灾方法、系统和装置 Download PDF

Info

Publication number
WO2015058380A1
WO2015058380A1 PCT/CN2013/085823 CN2013085823W WO2015058380A1 WO 2015058380 A1 WO2015058380 A1 WO 2015058380A1 CN 2013085823 W CN2013085823 W CN 2013085823W WO 2015058380 A1 WO2015058380 A1 WO 2015058380A1
Authority
WO
WIPO (PCT)
Prior art keywords
disaster
information
disaster recovery
site
virtual machine
Prior art date
Application number
PCT/CN2013/085823
Other languages
English (en)
French (fr)
Inventor
吴向阳
邹锋哨
伏高顶
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP19153250.6A priority Critical patent/EP3627358B1/en
Priority to EP17171874.5A priority patent/EP3287906B1/en
Priority to AU2013403767A priority patent/AU2013403767B2/en
Priority to CN201380001445.5A priority patent/CN103843284B/zh
Priority to EP13882628.4A priority patent/EP2879060B1/en
Priority to PCT/CN2013/085823 priority patent/WO2015058380A1/zh
Priority to JP2016514244A priority patent/JP6366694B2/ja
Priority to ES17171874T priority patent/ES2726024T3/es
Priority to US14/539,332 priority patent/US9703654B2/en
Publication of WO2015058380A1 publication Critical patent/WO2015058380A1/zh
Priority to US14/737,188 priority patent/US9529683B2/en

Links

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/2033Failover techniques switching over of hardware resources
    • 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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • 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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • G06F11/1482Generic software techniques for error detection or fault masking by means of middleware or OS functionality
    • G06F11/1484Generic software techniques for error detection or fault masking by means of middleware or OS functionality involving virtual machines
    • 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/2053Error 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 persistent mass storage functionality or persistent mass storage control functionality is redundant
    • G06F11/2094Redundant storage or storage space
    • 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/2097Error 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 maintaining the standby controller/processing unit updated
    • 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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/805Real-time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/815Virtual

Definitions

  • the embodiment of the invention relates to a computer technology, in particular to a disaster recovery method, system and device for a cloud application.
  • the administrator determines the virtual machine to be included in the cloud application to be disaster-tolerant, that is, the virtual machine to be disaster-tolerant is specified by the administrator, and then the virtualized module of the production site is used to determine the storage unit used by the virtual machine to be disaster-tolerant, and The corresponding storage unit is configured in the disaster recovery site, so that the disaster recovery site can copy the data in the storage unit used by the virtual machine to be disaster-tolerant to the corresponding storage unit in the disaster recovery site.
  • the virtual machine When the production site needs to be restored, the virtual machine is created in the disaster recovery site, and the created virtual machine is configured by the manual operation.
  • the corresponding network is configured to enable the storage of the virtual machine to be disaster-tolerant.
  • the network can be restored at the disaster recovery site to complete the virtualization disaster recovery of the production site.
  • the machine is used for disaster recovery backup and recovery, because the cloud application is deployed on multiple virtual machines, if When the administrator specifies a virtual machine to be disaster-tolerant, some virtual machines are missed, which will cause some virtual machines to be recovered. Eventually, the cloud application cannot be completely recovered.
  • the recovery process of the prior art virtual machine needs to be passed. Manually and individually configure the network of each virtual machine, resulting in slower recovery and lower efficiency of multiple virtual machines.
  • the embodiment of the invention provides a disaster recovery method, system and device for a cloud application, which can completely and quickly restore the cloud application at the disaster recovery site.
  • the embodiment of the present invention provides a disaster tolerance method for a cloud application, where the method includes: acquiring first description information of a cloud application to be disaster-tolerant, where the first description information includes the cloud to be disaster-tolerant Information of the source network used at the production site and information of the source virtual machine used by the cloud application to be disaster-tolerant at the production site;
  • the second description information of the cloud application is generated to be disaster-tolerant according to the first description information, where the second description information includes a destination of the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site
  • the disaster recovery site provides the second description information, so that the disaster recovery site restores the cloud application to be tolerated according to the second description information.
  • the information about the source virtual machine used by the cloud to be disaster-tolerant at the production site includes: an identifier, a specification, and a source of the source virtual machine
  • the information of the first storage unit occupied by the virtual machine at the production site and the information of the source virtual machine includes: an identifier and a specification of the backup virtual machine, and a second occupied by the backup virtual machine at the disaster recovery site.
  • the generating, by the first description information, the second description information of the cloud application to be disaster-tolerant includes: Determining, according to the identifier and the specification of the source virtual machine, the identifier and the specification of the backup virtual machine; determining, according to the information of the first storage unit, information of the second storage unit; according to the source The information of the network is configured to configure the information of the backup network for the cloud application to be disaster-tolerant; determining the location according to the information of the backup network, the identifier of the backup virtual machine, and the information of the home network of the source virtual machine The information of the home network of the backup virtual machine.
  • the method is used in a disaster tolerance system
  • the disaster recovery system includes a cloud management module of the production site, a cloud management module of the disaster recovery site, and a disaster recovery management module
  • the method includes: the disaster recovery management module acquires the cloud application to be disaster-tolerant from the cloud management module of the production site
  • the first description information is generated by the disaster recovery management module, according to the first description information, the second description information of the cloud application to be disaster-tolerant; the disaster recovery management module registers the second description information to
  • the cloud management module of the disaster recovery site is configured to restore the cloud application to be tolerated according to the second description information by the cloud management module of the disaster recovery site.
  • the method is used in a disaster tolerance system
  • the disaster recovery system includes a cloud management module of the production site and a cloud management module of the disaster recovery site, and the method includes: the cloud management module of the production site acquires first description information of the cloud application to be disaster-tolerant; and the cloud of the production site
  • the management module generates the second description information of the cloud application to be disaster-tolerant according to the first description information; the cloud management module of the production site registers the second description information to the cloud management of the disaster recovery site
  • the module is configured to restore the cloud application to be tolerated according to the second description information by the cloud management module of the disaster recovery site.
  • the method is used in a disaster tolerance system
  • the disaster recovery system includes a cloud management module of the production site, a disaster recovery management module of the production site, a disaster recovery management module of the disaster recovery site, and a cloud management module of the disaster recovery site, and the method includes: the disaster recovery management module of the production site
  • the cloud management module of the production site acquires the first description information of the cloud application to be disaster-tolerant; the disaster recovery management module of the production site generates the second cloud application to be disaster-tolerant according to the first description information.
  • the disaster recovery management module of the production site will The second description information is sent to the disaster recovery management module of the disaster recovery site, so that the disaster recovery management module of the disaster recovery site registers the second description information to the cloud management module of the disaster recovery site, and the recovery center A cloud application that addresses disaster tolerance.
  • the embodiment of the present invention provides a disaster recovery method for a cloud application, where the method includes: acquiring second description information of a cloud application to be disaster-tolerant, where the second description information includes the cloud to be disaster-tolerant The information of the backup network used by the disaster recovery site and the information of the backup virtual machine used by the disaster tolerant cloud application at the disaster recovery site;
  • the obtaining, by the receiving, the second description information of the cloud application to be disaster-tolerant includes: receiving the second description information sent by the disaster recovery management module of the production site; or acquiring The first description information of the cloud application to be disaster-tolerant, the first description information includes information about the source network used by the cloud application to be disaster-tolerant at the production site, and the cloud application to be disaster-tolerant at the production site
  • the second description information of the cloud application to be disaster-tolerant is generated according to the first description information.
  • the embodiment of the present invention provides a disaster recovery method for a cloud application, where the method includes: acquiring second description information of a cloud application to be disaster-tolerant, where the second description information includes the cloud to be disaster-tolerant The information of the backup network used by the disaster recovery site and the information of the backup virtual machine used by the disaster tolerant cloud application at the disaster recovery site;
  • the information about the backup virtual machine used by the cloud to be disaster-tolerant at the disaster recovery site includes: an identifier, a specification, and the Backing up information of the second storage unit occupied by the virtual machine at the disaster recovery site and information about the home network of the backup virtual machine.
  • the information about the home network of the backup virtual machine includes the virtual network card of the backup virtual machine and the The association relationship of the backup network or the network address of the virtual network card of the backup virtual machine.
  • the recovering in the disaster recovery site according to the second description information includes: creating the backup network according to the information of the backup network; creating the backup virtual machine according to the identifier, the specification, and the information of the second storage unit of the backup virtual machine And associating the backup virtual machine with the backup network according to the information of the home network of the backup virtual machine.
  • the embodiment of the present invention provides a disaster recovery device for a cloud application, where the device includes: an acquiring unit, configured to acquire first description information of a cloud application to be disaster-tolerant, where the first description information includes the The information of the source network used by the cloud to be disaster-tolerant at the production site and the source virtual machine used by the cloud to be disaster-tolerant at the production site;
  • a generating unit configured to generate second description information of the cloud application to be disaster-tolerant according to the first description information acquired by the acquiring unit, where the second description information includes the cloud application to be disaster-tolerant
  • the cloud application to be disaster-tolerant configured to generate second description information of the cloud application to be disaster-tolerant according to the first description information acquired by the acquiring unit, where the second description information includes the cloud application to be disaster-tolerant.
  • the information about the source virtual machine used by the cloud to be disaster-tolerant at the production site includes: an identifier, a specification, and a source of the source virtual machine
  • the information of the first storage unit occupied by the virtual machine at the production site and the information of the source virtual machine includes: an identifier and a specification of the backup virtual machine, and a second occupied by the backup virtual machine at the disaster recovery site.
  • the generating unit is specifically configured to: determine, according to the identifier and the specification of the source virtual machine, the backup virtual Defining the identifier and the specification of the virtual machine; determining the information of the second storage unit according to the information of the first storage unit; configuring the backup network for the cloud application to be disaster-tolerant according to the information of the source network And determining information about the home network of the backup virtual machine according to the information of the backup network, the identifier of the backup virtual machine, and the information of the home network of the source virtual machine.
  • the apparatus is used for a cloud management module including a production site And the system of the cloud management module of the disaster recovery management module and the disaster recovery site;
  • the device is the disaster recovery management module;
  • the acquiring unit is specifically configured to acquire the cloud to be disaster-tolerant from the cloud management module of the production site The first description information of the application;
  • the submitting unit is configured to register the second description information to the cloud management module of the disaster recovery site, so that the cloud management module of the disaster recovery site is according to the second Describe the information and restore the cloud application to be tolerated.
  • the apparatus is used to include a cloud management module of a production site And a system of the cloud management module of the disaster recovery site;
  • the device is a cloud management module of the production site;
  • the acquiring unit is configured to obtain first description information of the cloud application to be disaster-tolerant recorded by the disaster recovery site;
  • the submitting unit is configured to register the second description information generated by the determining unit to the cloud management module of the disaster recovery site, so that the cloud management module of the disaster recovery site according to the second description information Restore the cloud application to be disaster-tolerant.
  • the apparatus is used to include a cloud management module of a production site
  • the system of the disaster recovery management module of the production site and the disaster recovery management module of the disaster recovery site is a disaster recovery management module of the production site
  • the obtaining unit is specifically used for cloud management from the production site
  • the module obtains the first description information of the cloud application to be disaster-tolerant
  • the submitting unit is configured to send the second description information generated by the determining unit to the disaster recovery management module of the disaster recovery site, so that the The disaster recovery management module of the disaster recovery site registers the second description information with the cloud management module of the disaster recovery site to restore the cloud application to be disaster-tolerant.
  • the embodiment of the present invention provides a disaster recovery device for a cloud application, where the device includes: an acquiring unit, configured to acquire second description information of a cloud application to be disaster-tolerant, where the second description information includes the The information about the backup network used by the disaster-tolerant cloud application and the to-be-registered unit is used to register the second description information acquired by the acquiring unit to the cloud management module of the disaster recovery site.
  • the cloud management module of the disaster recovery site restores the cloud application to be tolerated according to the second description information.
  • the acquiring unit is specifically configured to receive the second description information that is sent by the disaster recovery management module of the production site, or is used to obtain the cloud application to be disaster-tolerant.
  • a first description information where the first description information includes the information of the source virtual machine in use by the cloud application to be tolerated, and the second description of the cloud application to be disaster-tolerant is generated according to the first description information. information.
  • the embodiment of the present invention provides a disaster recovery device for a cloud application, where the device includes: an acquiring unit, configured to acquire second description information of a cloud application to be disaster-tolerant, where the second description information includes the The information about the backup network used by the disaster-tolerant cloud application at the disaster-tolerant site and the to-be-recovered unit is used to recover the to-be-reserved in the disaster-tolerant site according to the second description information acquired by the determining unit.
  • Disaster-tolerant cloud applications include: an acquiring unit, configured to acquire second description information of a cloud application to be disaster-tolerant, where the second description information includes the The information about the backup network used by the disaster-tolerant cloud application at the disaster-tolerant site and the to-be-recovered unit is used to recover the to-be-reserved in the disaster-tolerant site according to the second description information acquired by the determining unit.
  • the information about the backup virtual machine used by the cloud to be disaster-tolerant at the disaster recovery site includes: an identifier, a specification, and the Backing up information of the second storage unit occupied by the virtual machine at the disaster recovery site and information about the home network of the backup virtual machine.
  • the information about the home network of the backup virtual machine includes an association between the virtual network card of the backup virtual machine and the backup network. , or the network address of the virtual network card of the backup virtual machine.
  • the recovery unit includes: a first recovery unit, configured to be used according to the backup network Information, the backup network is created; the second recovery unit is configured to create the backup virtual machine according to the identifier, the specification, and the information of the second storage unit, and the third recovery unit, configured to The information of the home network of the backup virtual machine is associated with the backup virtual machine.
  • the embodiment of the present invention provides a disaster tolerance system, where the system includes a cloud management module of a production site, a disaster recovery management module, and a cloud management module of the disaster recovery site;
  • the cloud management module of the production site is used to record the first description information of the cloud application to be disaster-tolerant, and the first description information includes the content of the source network used by the cloud application to be disaster-tolerant at the production site.
  • the disaster management module is configured to acquire the first description information from the cloud management module of the production site, and generate second description information of the cloud application to be disaster-tolerant according to the first description information, where the second description is The information includes: the second description information of the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site is registered to the cloud management module of the disaster recovery site;
  • the cloud management module of the disaster recovery site is configured to receive the registration information, where the registration information carries the second description information, and recover the cloud to be tolerated in the disaster recovery site according to the second description information. application.
  • the embodiment of the present invention provides a disaster tolerance system, where the system includes a cloud management module of a production site and a cloud management module of the disaster recovery site;
  • the cloud management module of the production site is configured to obtain the first description information of the cloud application to be disaster-tolerant, and the first description information includes the first description of the source network used by the cloud application to be disaster-tolerant at the production site.
  • the second description information of the cloud application to be disaster-tolerant is generated by the description information, where the second description information includes information about the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site, and the The information about the backup virtual machine used by the cloud to be used in the disaster recovery site; the second description information is registered to the cloud management module of the disaster recovery site;
  • the cloud management module of the disaster recovery site is configured to receive the registration information, where the registration information carries the second description information, and recover the cloud to be tolerated in the disaster recovery site according to the second description information. application.
  • a ninth aspect, the embodiment of the present invention provides a disaster tolerance system, where the system includes a cloud management module of a production site and a cloud management module of the disaster recovery site;
  • the cloud management module of the production site is configured to obtain first description information of the cloud application to be disaster-tolerant, and the first description information includes a first description of the source network used by the cloud application to be disaster-tolerant at the production site. Sending information to the cloud management module of the disaster recovery site;
  • the cloud management module of the disaster recovery site is configured to receive the first description information, and generate second description information of the cloud application to be disaster-tolerant according to the first description information, where the second description information includes The information about the backup network used by the disaster-tolerant cloud application at the disaster recovery site and the information of the backup virtual machine used by the disaster-tolerant cloud application at the disaster recovery site; according to the second description information, The cloud application to be disaster-tolerant is restored in the disaster recovery site.
  • the tenth aspect of the present invention provides a disaster recovery system, which includes a cloud management module at a production site, a disaster recovery management module at a production site, a cloud management module at a disaster recovery site, and a disaster recovery management module at the disaster recovery site. ;
  • the cloud management module of the production site is used to record the first description information of the cloud application to be disaster-tolerant, and the first description information includes the source network of the cloud application to be disaster-tolerant at the production site.
  • the disaster management module of the site is configured to obtain the first description information of the cloud application to be disaster-tolerant from the cloud management module of the production site, and generate the second cloud application to be disaster-tolerant according to the first description information.
  • Descriptive information, the second description information includes a letter of the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site,
  • the information about the backup virtual machine is used to send the second description information to the disaster recovery management module of the disaster recovery site;
  • the disaster recovery management module of the disaster recovery site is configured to receive the second description information sent by the disaster recovery management module of the production site, and register the second description information to a cloud management module of the disaster recovery site;
  • the cloud management module of the disaster recovery site is configured to receive the registration information, where the registration information carries the second description information, and recover the cloud to be tolerated in the disaster recovery site according to the second description information. application.
  • the embodiment of the present invention provides a disaster tolerance system, which includes a cloud management module at a production site, a disaster recovery management module at a production site, a cloud management module at a disaster recovery site, and disaster recovery management at a disaster recovery site.
  • a disaster tolerance system which includes a cloud management module at a production site, a disaster recovery management module at a production site, a cloud management module at a disaster recovery site, and disaster recovery management at a disaster recovery site.
  • the cloud management module of the production site is used to record the first description information of the cloud application to be disaster-tolerant, and the first description information includes the source network of the cloud application to be disaster-tolerant at the production site.
  • the disaster management module of the site is configured to obtain the first description information of the cloud application to be disaster-tolerant from the cloud management module of the production site; and send the first description information to the disaster recovery management module of the disaster recovery site;
  • the disaster recovery management module of the disaster recovery site is configured to receive the first description information sent by the disaster recovery management module of the production site, and generate the cloud application to be disaster-tolerant according to the first description information.
  • the second description information includes the information about the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site, and the backup virtual machine used by the cloud application to be disaster-tolerant at the disaster recovery site.
  • the second description information is registered to the cloud management module of the disaster recovery site; the cloud management module of the disaster recovery site is configured to receive registration information, and the registration information carries the second description information;
  • the second description information is used to restore the cloud application to be tolerated in the disaster recovery site.
  • the second description information of the cloud application to be disaster-tolerant is used to describe the deployment of the cloud application to be disaster-tolerant at the disaster recovery site as a whole, and the obtained second description information is provided to the cloud management module of the disaster recovery site, so that the disaster recovery site
  • the cloud management module can recover the cloud application to be tolerated in a complete and rapid manner in the disaster recovery site according to the second description information, and implement disaster recovery based on the cloud application, which is different from the prior art based on virtual
  • the embodiment of the present invention implements the disaster-tolerant configuration and recovery at the application level, and avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • FIG. 2 is a flowchart of a disaster tolerance method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention.
  • FIG. 6 is a top view of a first description information of a cloud application APP1 according to an embodiment of the present invention
  • FIG. 7 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention
  • FIG. 8 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention.
  • FIG. 12 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention.
  • FIG. 13 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention.
  • FIG. 14 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention
  • FIG. 15 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention
  • FIG. 16 is a flowchart of still another disaster tolerance method according to an embodiment of the present invention.
  • FIG. 17 is a structural diagram of a disaster recovery device according to an embodiment of the present invention.
  • FIG. 18 is a structural diagram of still another disaster tolerance device according to an embodiment of the present invention.
  • FIG. 19 is a structural diagram of still another disaster tolerance device according to an embodiment of the present invention.
  • FIG. 20 is a structural diagram of a system according to an embodiment of the present invention.
  • FIG. 21 is a structural diagram of still another system according to an embodiment of the present invention.
  • FIG. 22 is a structural diagram of still another system according to an embodiment of the present invention.
  • FIG. 23 is a structural diagram of still another system according to an embodiment of the present invention.
  • FIG. 24 is a structural diagram of still another disaster tolerance device according to an embodiment of the present invention.
  • FIG. 25 is a schematic structural diagram of still another disaster tolerance device according to an embodiment of the present invention. detailed description
  • the embodiment of the invention provides a disaster recovery method, system and device for a cloud application, which can implement complete and rapid recovery of the cloud application at the disaster recovery site.
  • the system includes a production site (100) and a disaster recovery site (110), and the production site (100) Providing services for at least one cloud application, where the disaster recovery site (110) is used to restore cloud applications to be disaster-tolerant in the production site.
  • the production site (100) and the disaster recovery site (110) are a relative concept.
  • the production site (100) indicates that the cloud application is located at the site before the recovery, and the disaster recovery site (110) indicates the site where the cloud application is restored.
  • the two can be distinguished according to the location of the region, such as the Beijing site, the Xi'an site, or can be differentiated according to other criteria.
  • the production site (100) and the disaster recovery site (110) may each include at least one data center, for example, in FIGS. 1(a), (b) and (c), the production site (100) includes a data center. (101), the disaster recovery site (110) includes a data center (111), and the data center may
  • the physical server may be used to provide computing, storage, and network resources for a production site or a disaster recovery site, where a physical server for providing computing and network resources may be referred to as a computing node for providing storage resources.
  • a physical server can be called a storage node, such as a map.
  • each data data center includes a computing node and a storage node.
  • the production site and the disaster recovery site may further comprise multiple data centers, each data.
  • the center can include multiple compute nodes and multiple storage nodes.
  • the data center (101, 111) may further include a virtualization module (104, 114) and a cloud management module (105, 115) for computing on the physical server Abstracting (including processor and memory), storage and network resources into multiple virtual machines, each virtual machine actually has a processor, memory, network connection and storage, and can run its own operating system and applications,
  • the cloud management module (105, 115) can manage the virtualization modules (104, 114) or virtual machines, for example, instructing the virtualization modules (104, 114) to create virtual machines.
  • the storage nodes (102, 112) of the data center (101, 111) can be independently set, for example, using a shared storage device, and the storage node (102, 112) includes a plurality of storage units for providing each virtual machine.
  • Storage resources can provide shared partition access (read and write) capabilities for production sites/recovery sites, so that virtual machines on different compute nodes can simultaneously access the same partition of the same storage device.
  • the storage node (102, 112) includes storage management software (106, 116), which can manage the storage unit on the storage node (102, 112), wherein the shared storage device can be a network connection
  • the storage device (SAN) device may be a storage area network (SAN) device.
  • the storage node (102, 112) may be a SAN device, and the storage unit of the SAN device may specifically be Logical Unit Number (LUN), the LUN is a logical disk displayed in the form of a storage array, and a file system of each virtual machine is created in one or more of the SAN devices
  • the storage management software of the SAN device can control the reading and writing of the LUN, and can manage the information of the LUN.
  • the cloud application template may be directly used to create the cloud application, and the cloud management module (105, 115) may receive the cloud application template. Demonstrating, according to the cloud application template, the virtualization module (104, 114) to create a virtual machine and a network used by the cloud application, because the cloud application template can completely describe information such as a virtual machine and a network required by the cloud application, The virtualization module (104, 114) can deploy the virtual machine for the cloud application as a whole, and accelerate the deployment of the virtual machine. Of course, when creating a virtual machine, you can also use the virtual machine template in the existing technology without using the cloud application template. The cloud management module (105, 115) still provides the virtual machine template to create the virtual machine.
  • the cloud management module (105, 115) or the virtualization module (104, 114) may be configured.
  • the deployed virtual machine and the network of the virtual machine generate description information of the cloud application, where the description information of the cloud application includes description information of an instance running the cloud application, for example, information of a virtual machine running the cloud application, And the network information used by the cloud application, and the description information of the cloud application is specifically described in the following embodiments. It may be clear that the description information of the cloud application may include static description information of the cloud application or dynamic description information of the cloud application.
  • the information carried in the cloud application template or the virtual machine template received by the cloud management module (105, 115) may be referred to as static description information of the cloud application, such as virtual The number or size of the machine, etc.; After the virtual machine is deployed in the virtualization module (104, 114), the location of the physical resource deployed by the virtual machine or the network to which it belongs is configured. Dynamic description information for cloud applications. After the virtualization module (104, 114) performs the virtual machine deployment, the cloud management module (105, 115) may collect the dynamic description information and the static description information of the cloud application, and generate description information of the cloud application, if The cloud management module (105, 115) has previously obtained the cloud response through the cloud application template.
  • the static description information used can only obtain the dynamic description information of the cloud application.
  • the description information of the cloud application may be recorded in the form of a template in the cloud management module (105, 115), and the cloud management module (105, 115) may record the description information of the cloud application by using a new template. You can also save the complete cloud application description by updating the cloud application template.
  • a cloud management interface (107, 117) may be added to the cloud management module (105, 115), that is, the cloud management module (105, 115) Supporting the query of the description information of the cloud application of the cloud application currently running in the production site, and performing the disaster tolerance operation of the cloud application according to the description information of the cloud application obtained by the query.
  • the description information of the cloud application running at the production site is referred to as the first description information of the cloud application
  • the description information of the cloud application at the disaster recovery site is referred to as a cloud.
  • the second description of the application is referred to as the first description information of the cloud application.
  • the system component may be as shown in FIG. 1( a ), and may include a disaster recovery management module ( 120 ), and the disaster recovery management module ( 120 ), in addition to the production site and the disaster recovery site.
  • the cloud management module (105) of the production site and the cloud management module (115) of the disaster recovery site are respectively connected, and the disaster recovery management module (120) can be queried through the cloud management interface (107) on the cloud management module (105).
  • the first description information of the cloud application currently running in the production site, the disaster recovery management module (120) may register the second description information of the determined cloud application to the cloud management module by using a cloud management interface (117). ).
  • the disaster management module (120) may also be connected to the virtualization module (104, 114), so that the disaster recovery management module (120) may also query the cloud application at the production site through the virtualization module (104, 114) or The information about the source virtual machine used by the disaster recovery site may be connected to the storage management software (106, 116).
  • the production site 100 and the disaster recovery site 110 in the system may also perform a communication connection through the cloud management module, as shown in FIG. 1( b ), so that the disaster recovery site can query the location.
  • the description information of the cloud application of the production site that is, the first description information, and the disaster-tolerant operation of the cloud application is performed according to the first description information of the cloud application obtained by the query.
  • the production site (100) and the disaster recovery site (110) may share a disaster recovery management module, and may also be the production site and the disaster recovery site.
  • a disaster management module is provided, as shown in Figure 1 (c), the system includes a disaster recovery management module (120) of the production site and a disaster recovery management module (121) of the disaster recovery site, where the production site
  • the disaster management module (120) is connected to the cloud management module (105) of the production site (100), and the disaster management module 121 of the disaster recovery site and the cloud management module of the disaster recovery site (110) (115)
  • the data transmission can be performed between the disaster recovery management module (120) of the production site and the disaster recovery management module (121) of the disaster recovery site.
  • the disaster management module (120) of the production site may obtain first description information of the cloud application of the production site from the cloud management module (105) of the production site (100), and the first description information
  • the disaster recovery management module (121) sent to the disaster recovery site the disaster recovery management module (121) of the disaster recovery site may receive the first description information sent by the disaster recovery management module (120) of the production site,
  • the second description information is generated according to the first description information, and the second description information is registered to the cloud management module (115) of the disaster recovery site.
  • the cloud management module (115) of the disaster recovery site (110) may also be associated with the cloud management module of the production site (100). (105) connecting, so that the cloud management module (115) can obtain the first description information of the production site from the cloud management module (105), and the dotted line connection shown in FIG. 1(a) and FIG. 1(c) indicates the connection.
  • the relationship is optional.
  • the disaster tolerance setting in the embodiment of the present invention is used to perform configuration information according to the configuration information at the disaster recovery site when the production site experiences a disaster disaster.
  • the cloud application to be disaster-tolerant is restored, and the method may include:
  • the cloud application to be disaster-tolerant And obtaining the first description information of the cloud application to be disaster-tolerant, the first description information, the information about the source network used by the cloud application to be disaster-tolerant at the production site, and the cloud to be disaster-tolerant Information used by the source virtual machine used at the production site.
  • the second description information is provided to the disaster recovery site, so that the disaster recovery site restores the cloud application to be tolerated according to the second description information.
  • the execution body of step 201 may be different according to the system composition.
  • it may be the cloud management module of the production site or the cloud management module of the disaster recovery site.
  • it may be the disaster recovery management module shown in Figure 1 (c), which may be the disaster recovery management module of the production site or the disaster recovery management module of the disaster recovery site.
  • the first description information includes not only information about the source virtual machine used by the cloud application to be disaster-tolerant at the production site, but also information about the source network used by the cloud application to be disaster-tolerant at the production site.
  • the second description information of the cloud application to be disaster-tolerant is generated, and the second description information of the cloud application to be disaster-tolerant is also generated from the overall description.
  • the deployment of the cloud application to be disaster-tolerant is described in the disaster recovery site.
  • the second description information is provided to the disaster recovery site, and the execution of the action is performed based on different execution entities.
  • the different embodiments will be described in detail subsequent embodiments.
  • the disaster recovery site obtains the second description information
  • the cloud application to be disaster-tolerant is completely restored in the disaster recovery site according to the second description information, and the cloud application-based disaster recovery is implemented.
  • the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • the disaster tolerance method in the embodiment of the present invention is as shown in FIG. 3, and is used to recover the disaster tolerant according to the configuration information at the disaster recovery site.
  • the cloud application, the method may be performed by the disaster recovery management module of the disaster recovery site, and the method may include: 301:
  • the second description information of the cloud application to be disaster-tolerant is obtained, where the second description information includes information about the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site, and the cloud application to be disaster-tolerant Information about the backup virtual machine used by the disaster recovery site.
  • the disaster recovery management module of the disaster recovery site may obtain the second description information of the cloud application to be disaster-tolerant from the disaster recovery management module of the production site, where the second description information is from the whole
  • the deployment of the cloud application to be disaster-tolerant is described in the disaster recovery site, and the disaster recovery management module of the disaster recovery site may register the acquired second description information to the cloud of the disaster recovery site.
  • the management module is configured to enable the cloud management module of the disaster recovery site to completely recover the cloud application to be disaster-tolerant in the disaster recovery site according to the second description information, and implement disaster recovery based on the cloud application.
  • the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • the method may be performed by a cloud management module of the disaster recovery site, and the method includes:
  • the second description information of the cloud application to be disaster-tolerant is obtained, where the second description information includes information about the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site, and the cloud application to be disaster-tolerant Information about the backup virtual machine used by the disaster recovery site.
  • the cloud management module of the disaster recovery site may be the cloud management module of the production site shown in Figure 1 (b) or the disaster recovery management module shown in Figure 1 (a) or Figure 1 (c )
  • the disaster management module of the production site is configured to obtain the second description information of the cloud application to be disaster-tolerant, and the second description information is used to implement the deployment of the cloud application to be disaster-tolerant at the disaster recovery site as a whole.
  • the cloud management module of the disaster recovery site obtains the second description information
  • the cloud application to be disaster-tolerant can be completely and quickly restored in the disaster recovery site according to the second description information.
  • the cloud application-based disaster recovery is implemented, which is different from the disaster-tolerant mode based on the virtual machine granularity in the prior art.
  • the embodiment of the present invention implements the disaster-tolerant configuration and recovery at the application level, thereby avoiding the incompleteness of the virtual machine granularity disaster recovery. Quickly recover cloud application issues.
  • the configuration of the first embodiment is combined with the system architecture shown in FIG. 1 (a).
  • the disaster recovery method provided by the embodiment of the present invention is shown in FIG. 5, and is used to apply the cloud to be disaster-tolerant in the production site to the disaster recovery.
  • the method is configured in the site, where the disaster recovery site recovers the cloud application to be disaster-tolerant according to the configuration information, and the method may be performed by the disaster recovery management module, where the method may be performed.
  • the first description information of the cloud application to be disaster-tolerant is obtained from the cloud management module of the production site, where the first description information includes the source virtual network of the source network used by the cloud application to be disaster-tolerant at the production site.
  • the information of the machine includes the identifier, the specification of the source virtual machine, the information of the first storage unit occupied by the source virtual machine at the production site, and the information of the home network of the source virtual machine.
  • the information of the home network of the backup virtual machine may include an association relationship of the source virtual machine with the source network.
  • each cloud application can be saved in the cloud management module of the production site.
  • the topological relationship of the cloud application may be expressed by using the first description information of the cloud application.
  • the first description information of the cloud application APP1 is as shown in FIG. 6.
  • the cloud management module of the production site or the disaster recovery management module may obtain the first description information of the APP1, and the first description information of the APP1 may be as shown in Table 1. , including:
  • VLAN Virtual Local Area Network
  • APP1 uses Networkl and Network2;
  • the identifier of the source virtual machine is allocated by the production site, and may be a Universally Unique Identifier (uuid), and the specifications of the source virtual machine include information of a processor and a memory, for example, the production site uses
  • the information of the first storage unit occupied by the source virtual machine used by the APP1 at the production site may be information of a storage unit of a single virtual machine, for example,
  • the information of the first storage unit occupied by the source virtual machine used by APP1 is: VM1->LUN1 and LUN2; VM2->LUN1; VM3-> LUN2 and LUN3; or the cloud application to be disaster-tolerant can be used at the production site.
  • the information of the first storage unit of the first storage unit for example, the information of the first storage unit occupied by the source virtual machine used by the APP1 is: LUN1, LUN2, LUN3, and the source virtual machine is occupied by the production site at this time.
  • the information of the storage unit may not include the association relationship between the source virtual machine and the storage unit occupied by the source virtual machine, and the cloud management module of the disaster recovery site may determine the source by the identifier of the source virtual machine. Which disk files on the LUN are used by the virtual machine, that is, the source virtual machine used by the cloud application to be disaster-tolerant at the production site and the storage unit occupied by the source virtual machine connection relation.
  • the network address of the source virtual machine used by the cloud to be disaster-tolerant may be the IP address of the virtual network card of the source virtual machine.
  • the network address of the source virtual machine used by the APP1 is :
  • the above 4) and 5) are optional factors, and the information about the home network of the source virtual machine of the APP1 may include the above 4) or may include any one of the above 5), and may also include the above 4) and 5).
  • the method for obtaining the first description information of the cloud application to be disaster-tolerant from the cloud management module of the production site in the foregoing step 501 may have two methods, namely:
  • the disaster management module queries the cloud management module of the production site to query the first description information of the cloud application to be tolerated by the interface of the cloud management module of the production site, where the production site
  • the cloud management module may collect the static description information and the dynamic description information of the running instance of the cloud application to generate the first description information after the virtual machine of the cloud application is deployed.
  • the disaster management module queries the cloud management module of the production site to query the identifier of the source virtual machine used by the cloud application to be disaster-tolerant at the production site by using an interface with the cloud management module of the production site.
  • the first description information is generated by the specification, the information of the first storage unit occupied by the source virtual machine at the production site, and the network address of the source virtual machine.
  • the generating the first description information includes: determining, according to a network address of the source virtual machine, information about a source network used by the cloud application to be disaster-tolerant at a production site; determining the source virtual machine The information of the home network; the information of the source network, the identifier and specification of the source virtual machine, the information of the first storage unit occupied by the source virtual machine at the production site, and the home network of the source virtual machine Information, the first description information is obtained, for example, the source virtual machine VM1
  • the IP address of the virtual network card is: 10.100.35.10/24; then the mask of the IP address can be obtained as 255.255.255.0, and the IP address is logically associated with the mask to obtain the Subnet address used by the APP1 at the production site.
  • the information of the source network that APP1 can use at the production site is: Networkl (Subnet address: 10.100.35. 0/24) and Network2 (the information of the source network used by Subnet, the source virtual Generating the first description information of the APP1, such as the identifier and the specification of the machine, the information of the first storage unit occupied by the source virtual machine at the production site, and the information of the network address source virtual machine of the source virtual machine. 1 is shown.
  • VM2-VNIC2 can be determined to be associated with Network1.
  • VM3-VNIC3 is associated with Network1 and VM3-VNIC3' is associated with Network2, that is, the source of APP1 is obtained. Relationship between the virtual network card of the virtual machine and the source network.
  • the disaster recovery management module may determine, according to the identifier and the specification of the source virtual machine that is carried in the information of the source virtual machine, that the cloud application to be disaster-tolerant is in the The identifier and specifications of the backup VM used by the disaster recovery site. Specifically, when the cloud application to be disaster-tolerant is restored at the disaster recovery site, the source used in the production site for the cloud to be disaster-tolerant needs to be used.
  • the virtual machine is configured to create a backup virtual machine, and the size of the backup virtual machine used by the cloud to be disaster-tolerant is the same as that of the source virtual machine.
  • the backup virtual machine is configured with the identifier of the virtual machine, and the specification of the backup virtual machine is determined according to the specification of the source virtual machine, where the identifier of the backup virtual machine may be the same as the identifier of the source virtual machine, or different.
  • the disaster management module may determine the information of the second storage unit according to the information of the first storage unit that is carried by the information of the source virtual machine, after the obtaining the first description information, which may specifically include: The following three steps:
  • the storage management software of the disaster recovery site can manage the storage nodes of the disaster recovery site, and can collect the resource usage of all the storage units of the storage node. Therefore, the disaster recovery management module can query the disaster recovery management module.
  • the storage management software of the disaster recovery site acquires the information of the idle storage unit of the disaster recovery site, for example, the storage management software of the disaster recovery site to the disaster recovery site Statistics on the LUN resource usage of the SAN device: LUN1 '-LUN6' is occupied, LUN7'-LUN15' is not occupied, and the obtained free storage unit is: LUN7'-LUN15'.
  • 503b Select the second storage unit from the idle storage unit of the disaster recovery site.
  • the disaster recovery management module may select, according to the information of the first storage unit, a storage unit from the idle storage unit of the disaster recovery site as the second storage unit, for example, the first storage occupied by the source virtual machine used by the APP1.
  • the unit is LUN1, LUN2, and LUN3, and three storage units are selected as the second storage unit from the free storage unit LUN7'-LUN15', and the second storage unit includes: LUN7', LUN8', and LUN9' .
  • 503c Establish a replication relationship between the first storage unit and the second storage unit, and determine information about the second storage unit occupied by the backup virtual machine at the disaster recovery site.
  • the disaster management module may further determine a replication relationship between the first storage unit and the second storage unit after determining the information of the second storage unit, and determine the backup virtual according to the replication relationship.
  • Corresponding relationship between the identifier of the source virtual machine and the identifier of the backup virtual machine may be established according to the information of the second storage unit occupied by the disaster recovery site, and the specific identifier of the virtual machine is backed up.
  • the identifier of the source virtual machine and the identifier of the backup virtual machine information of the first storage unit occupied by the source virtual machine at the production site, and the first storage unit and the second storage
  • the information about the storage unit occupied by the backup virtual machine at the disaster recovery site for example, the first storage unit occupied by the source virtual machine used by the APP1 at the production site is: VM1-> LUN1 and LUN2, VM2->LUN1, VM3-> LUN2 and LUN3;
  • the second storage unit occupied by the backup virtual machine used by the APP1 at the disaster recovery site is: LUN7', LUN8' and LUN9'
  • the identifier of the source virtual machine is saved in the second storage unit, and the backup virtual machine and the backup virtual machine may be determined according to the correspondence between the identifier of the source virtual machine and the identifier of the backup virtual machine.
  • 504 Instruct the storage management software of the production site and the storage management software of the disaster recovery site to copy data of the first storage unit to the second storage unit.
  • the replication relationship between the first storage unit and the second storage unit is configured to the storage management software of the production site and the storage management software of the disaster recovery site, so that The storage management software of the production site and the storage management software of the disaster recovery site may be configured according to a replication relationship between the first storage unit and the second storage unit according to a set replication period and a replication mode. Data of the first storage unit is copied to the second storage unit.
  • the first storage unit occupied by the source virtual machine used by the APP1 at the production site is: LUN1, LUN2, and LUN3
  • the second storage unit occupied by the backup virtual machine used by the APP1 at the disaster recovery site is : LUN7', LUN8', and LUN9'
  • the storage relationship is configured to the storage management software of the production site and the disaster recovery site, so that the storage management software of the production site and the disaster recovery site
  • the data of LUN1, LUN2, and LUN3 are incrementally copied to LUN7', LUN8', and LUN9', respectively, every predetermined time, for example, 5 minutes.
  • the disaster recovery management module may configure the information about the backup network for the cloud application to be disaster-tolerant according to the information about the source network carried in the first description information.
  • the information of the source network may be the information of the subnet (Subnet) where the source virtual machine of the cloud application to be disaster-tolerant is located, or may be the source of the cloud application to be disaster-tolerant.
  • the information of the virtual local area network (VLAN) in which the virtual machine is located may be both, and the configuring the backup network for the cloud application to be disaster-tolerant according to the information of the source network.
  • the information may be that, according to the information of the Subnet of the source network, the Subnet address is allocated from the Subnet address that is not used by the disaster recovery site as the information of the Subnet of the backup network;
  • the information of the backup network may be the information of the Subnet of the backup network, the information of the VLAN of the backup network, or both.
  • the Subnet address and the VLAN ID of the disaster recovery site may be pre-stored, or may be obtained from the user, or may be determined according to a rule, and the Subnet address and the VLAN ID of the disaster recovery site are not used.
  • the Subnet address and/or the VLAN ID may be selected as the information of the backup network from the Subnet address and/or the VLAN ID that are not used by the disaster recovery site.
  • the Subnet address of Networkl and Network2 specifies the Subnet address corresponding to the backup: 10.100.35.0/24 ->20.200.135.0/24 , 10.100.36.0/24 ->20.200.136.0/24; Specify the corresponding backup for the VLAN ID of Network1 and Network2.
  • the Subnet address and the VLAN ID that are not used by the disaster recovery site may include a Subnet address and a VLAN ID that are consistent with the Subnet address and the VLAN ID of the source network. Therefore, information about the backup network may be specified.
  • the information of the source network is the same, so that the network address of the source virtual machine may be the same as the network address of the backup virtual machine, that is, the cloud to be disaster-tolerant is applied to the production site and the disaster recovery site.
  • the same network address can be used for service processing.
  • the subnet address of the disaster recovery site that is not used includes: 10.100.35.0/24 and 10.100.36.0/24, and the disaster recovery site is not used in the VLAN ID.
  • the disaster recovery management module may further acquire information about a home network of the source virtual machine, an identifier of the backup virtual machine, and information about the backup network, according to the Determining the information of the home network of the backup virtual machine, the information of the home network of the source virtual machine, the identifier of the backup virtual machine, and the information of the backup network, where the virtual network card of the backup virtual machine is Back up the association of the network. Determining the backup virtual machine, because the information of the home network of the source virtual machine includes the network address of the source virtual machine or the information of the home network of the virtual machine, the identifier of the backup virtual machine, and the information of the backup network.
  • the information of the home network may include: (1) a virtual network card of the source virtual machine and information of the source network carried according to information about a home network of the source virtual machine, and a virtual network card of the source network
  • the associated relationship, the identifier of the backup virtual machine, and the information about the backup network, the network address of the backup virtual machine is determined, and after the disaster recovery is resumed, the cloud application to be disaster-tolerant can use the specified backup virtual
  • the disaster recovery management module configures the information about the backup network for the cloud application to be disaster-tolerant, after establishing the corresponding specification of the information of the source network and the information of the backup network, And determining, by the identifier of the source virtual machine, the identifier of the backup virtual machine, the identifier of the backup virtual machine, and the information of the backup network, and determining the network address of the backup virtual machine, which may be: Correspondence between the information of the source network and the information of the backup network, the correspondence between the identifier of the source virtual machine and the identifier of the backup virtual machine, and the virtual network card of the source virtual machine and the source network
  • the network address of the backup virtual machine may be determined by the association relationship.
  • the network address of the source virtual machine used by the APP1 at the production site is: VM1-VNIC1->IP address: 10.100.35.10/24, VM2-VNIC2- >IP address: 10.100.35.11/24, VM3-VNIC3->IP address: 10.100.35.12/24, VM3-VNIC3'->IP address: 10.100.36.12/24, the backup network configured for the APP1 Information is network l' (Subnet address: 20.200.135.0/24), network2' (Subnet address: 20.200.136.0/24), since VM3-VNIC3'->IP address: 10.100.36.12/24 belongs to Network2 (Subnet address: 10.100.36.0 /24), then specify one IP address from the backup network network2' corresponding to Network2 (Subnet address: 20.200.136.0/24) as the network address of the backup virtual machine VM13', since VM1-VNIC1->IP address: 10.100.
  • VM2-VNIC2->IP address: 10.100.35.11/24 and VM3-VNIC3->IP address: 10.100.35.12/24 belongs to Networkl (Subnet address: 10.100.35.0/24), then backup from Networkl
  • the IP address of the virtual network card of the backup virtual machine VM11', VM12', and VM13' is specified in the network network' (subnet address: 20.200.135.0/24), and the backup used by the APP1 at the disaster recovery site is used.
  • the virtual machine's network address can be: VM11'-VNIC11->IP address: 20.200.135.10/24, VM12'-VNIC12->IP address: 20.200.135.11/24, VM13'-VNIC13->IP address: 20.200.135.12 /24 , VM3- VNIC13'->IP Address: 20.200.136.12/24.
  • the network address of the backup virtual machine may not be pre-configured, but is allocated according to the information of the backup network and the relationship between the virtual network card of the backup virtual machine and the backup network in the disaster recovery process.
  • Determining, by the identifier of the virtual machine, the information of the backup network, the information about the home network of the backup virtual machine may be: according to the correspondence between the information of the source network and the information of the backup network, the source virtual machine Corresponding relationship between the identifier of the backup virtual machine and the relationship between the virtual network card of the source virtual machine and the source network, and determining an association relationship between the virtual network card of the backup virtual machine and the backup network, for example
  • the disaster management module may generate the second description information, where the second description information includes information about the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site, and the cloud application to be disaster-tolerant
  • the information includes the identifier of the backup virtual machine, the specification, the information of the second storage unit occupied by the backup virtual machine at the disaster recovery site, and the information about the home network of the backup virtual machine.
  • the second description information of the APP1 may be as shown in Table 3.
  • it can be: b) LUN7 ⁇ LUN8' and LUN9'.
  • the disaster management module can register the second description information to the cloud management module of the disaster recovery site in two ways.
  • the disaster recovery management module directly registers the second description information.
  • a cloud management module to the disaster recovery site, so that the cloud management module of the disaster recovery site recovers the cloud application to be disaster-tolerant in the disaster recovery site according to the second description information;
  • the disaster management module sends the second description information to the cloud management module of the production site, so that the cloud management module of the production site sends the second description letter through the cloud management interface. Registered with the cloud management module of the disaster recovery site.
  • the disaster recovery management module can obtain the first description information of the cloud application to be disaster-tolerant, and the first description information includes not only the information that the cloud application to be disaster-tolerant is made at the production site.
  • the information about the backup network used by the disaster recovery site and the disaster tolerance can be configured for the cloud application to be disaster-tolerant based on the first description information that describes the cloud application that is generally used for the disaster recovery.
  • the information about the backup virtual machine used by the site, that is, the second description information of the cloud application to be disaster-tolerant at the disaster recovery site is generated, and the second description information is applied to the cloud to be disaster-tolerant at the disaster recovery site as a whole.
  • the deployment of the cloud management module of the disaster recovery site may be performed by the cloud management module of the disaster recovery site according to the second description information.
  • the cloud application to be disaster-tolerant is completely restored in the disaster recovery site, and disaster recovery based on the cloud application is implemented.
  • the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not completely and quickly recover the cloud application.
  • the recovery cable of the first embodiment is combined with the system architecture shown in FIG. 1( a ).
  • the disaster tolerance method of the embodiment of the present invention is as shown in FIG. 7 , and is used for the production when the production site has a disaster tolerance accident.
  • the cloud application to be disaster-tolerant in the site is restored to the disaster-tolerant site, and the method may be performed by the cloud management module of the disaster-tolerant site, and the method may include:
  • the cloud management module of the disaster recovery site may receive the registration information from the disaster recovery management module, and obtain the second description information of the cloud application to be disaster-tolerant carried in the registration information, where the registration is from the disaster recovery management module.
  • the information includes the cloud directly registered by the disaster recovery management module to the disaster recovery site.
  • the registration information of the management module may further include registration information of the cloud management module registered by the disaster recovery management module to the disaster recovery site by using the cloud management module of the production site.
  • the information of the network and the information of the backup virtual machine used by the cloud to be disaster-tolerant at the disaster recovery site; the information of the backup virtual machine used by the cloud to be disaster-tolerant at the disaster recovery site includes: The information of the backup virtual machine, the specification, the information of the second storage unit occupied by the backup virtual machine at the disaster recovery site, and the information about the home network of the backup virtual machine, for example, the
  • the second description information of APP1 can be as shown in Table 2.
  • the information about the home network of the backup virtual machine may include an association relationship between the virtual network card of the backup virtual machine and the backup network, or a network address of the virtual network card of the backup virtual machine.
  • the cloud management module of the disaster recovery site may first configure the storage management software of the disaster recovery site or the storage management software of the production site. After the disaster recovery site is prevented from copying the data of the first storage unit to the second storage unit, after the disaster recovery is avoided, the second storage unit continues to acquire the data of the first storage unit by copying. The resulting data coverage ensures reliable recovery of the cloud application to be tolerated.
  • the step 702 is an optional step, and the step 702 may be preceded by the step 701 or the step 701.
  • the embodiment of the present invention is not limited herein.
  • the cloud management module of the disaster recovery site may send a virtualization network creation instruction to the virtualization module of the disaster recovery site, where the virtualized network creation instruction carries the backup network.
  • Information that causes the virtualization module of the disaster tolerant site to be virtualized according to the The network creation command determines the virtual switch used by the cloud application to be tolerated, and configures the information of the backup network to the port group on the virtual switch.
  • the cloud management module of the disaster recovery site is The virtualization module of the disaster recovery site sends the virtualization network creation instruction, where the virtualization network creation instruction carries information of the backup network and information of the second storage unit; the virtualization module receives the After the virtualized network creation command, determining, according to the information of the second storage unit, the virtual switch used by the cloud application to be disaster-tolerant at the disaster recovery site, and specifying or according to the information of the backup network Creating a port group on the virtual machine, and establishing a correspondence between the backup network and a port group on the virtual switch, and according to the correspondence between the backup network and the port group on the virtual switch,
  • the information of the backup network is configured to a port group on the virtual switch, so that the backup network is restored, for example,
  • the backup networks networkl' and network2' can be restored, and networkl' and network2' can also be associated with the same virtual interactive machine, which is not limited herein.
  • the cloud management module of the disaster recovery site may obtain the port group of the backup network and the virtual switch from the virtualization module of the disaster recovery site. Corresponding relationship, and recording the correspondence between the information of the backup network and the port group of the virtual switch.
  • the cloud management module of the disaster recovery site may indicate the identifier according to the identifier, the specification, and the information of the second storage unit in the second description information in the second description information.
  • the virtualization module of the disaster recovery site creates the backup virtual machine, and includes: sending a virtual machine creation instruction to the virtualization module of the disaster recovery site, where the virtual machine creation instruction carries the identifier, specification, and
  • the information about the second storage unit indicates that the virtualization module of the disaster recovery site creates the backup virtual machine and the virtual network card of the backup virtual machine according to the foregoing information, and the created backup virtual machine occupies the second Storage unit.
  • the virtualization module of the disaster recovery site determines, according to the information about the second storage unit carried in the virtual machine creation instruction, the creation of the backup virtual machine. Calculating a node, and creating a virtual network card of the backup virtual machine and the backup virtual machine by using resources of the computing node according to the identifier and the specification of the backup virtual machine, and specifying according to the information of the second storage unit
  • the backup virtual machine occupies the second storage unit, and the following information is: VMll'-> LUN7' and LUN8', VM12'-> LUN7', VM13'-> LUN8' and LUN9';
  • the cloud management module may determine the computing node associated with the LUN 7', the LUN 8', and the LUN 9', and then instruct the virtualization module of the disaster recovery site to create a backup virtual machine and a virtual network card of the backup virtual machine by using resources of the computing node.
  • the information of the unit the designated VM11' occupies the storage unit LUN7' and the LUN8', the VM12' occupies the storage unit LUN7', the VM13' occupies the storage unit LUN8' and the LUN9', and the computing node may be one or more, only need to be guaranteed
  • the backup virtual machine VM 11 ′ created on the computing node can access the storage unit LUN 7 ′ and the LUN 8 ′, and the VM 12 ′ can access the storage unit LUN 7 ′, and the VM 13 ′ can access the storage unit LUN 8 ′ and the LUN 9 ′. This is not limited here;
  • the virtualization module of the disaster recovery site may further allocate a Media Access Control (MAC) address to the virtual network card of the created backup virtual machine.
  • MAC Media Access Control
  • the cloud management module of the disaster recovery site may indicate that the virtualization module of the disaster recovery site or the dynamic host configuration protocol (DHCP) server of the disaster recovery site is
  • the virtual network card of the backup virtual machine is configured to allocate a network address, where the network address may be an IP address.
  • the disaster recovery site may allocate a network to the virtual network card of the backup virtual machine by using the following two methods. Address: 1) The first method
  • the cloud management module of the disaster recovery site determines the network address of the backup virtual machine, and then indicates the virtualization module of the disaster recovery site. After the virtual network card of the backup virtual machine is created, the backup virtual machine is The network address is allocated to the virtual network card of the backup virtual machine. Specifically, if the network address is configured for the backup virtual machine used by the cloud application to be tolerated in the disaster recovery configuration process, the backup virtual machine is configured.
  • the information of the home network carries the network address of the backup virtual machine
  • the cloud management module of the disaster recovery site can obtain the network address of the backup virtual machine carried by the information of the home network of the backup virtual machine
  • the cloud management module of the disaster recovery site may use the information of the backup network and the virtual of the backup virtual machine, if the network address is not configured for the backup virtual machine used by the cloud application to be disaster-tolerant.
  • a network address is allocated to the virtual network card of the backup virtual machine.
  • the cloud management module of the disaster recovery site may register the address allocation information to a dynamic host configuration protocol (DHCP) server of the disaster recovery site, so that the DHCP server creates the information according to the registration information.
  • the virtual network card of the backup virtual machine allocates a network address, and the address allocation information may be an association relationship between a network address of the backup virtual machine and a physical address of the virtual network card of the backup virtual machine, or may be the backup virtual machine.
  • the information about the home network of the backup virtual machine carries the network of the backup virtual machine.
  • the cloud management module of the disaster recovery site may obtain the physical address of the virtual network card of the backup virtual machine from the virtualization module of the disaster recovery site, and establish a network address of the backup virtual virtual machine
  • the physical address of the virtual network card of the backup virtual machine, and the association relationship between the network address of the backup virtual machine and the physical address of the virtual network card of the backup virtual machine are registered to the DHCP server of the disaster recovery site, so that the The DHCP server of the disaster recovery site allocates the network address of the backup virtual machine to the virtual network card of the backup virtual machine.
  • the cloud management module of the disaster recovery site acquires the VM11 from the virtualization module of the disaster recovery site.
  • the cloud management module of the disaster recovery site according to the information of the backup network and the corresponding association The information of the backup network is registered, and the information of the backup network corresponding to the backup network is registered to the DHCP server, so that the DHCP server of the disaster recovery site is based on the information of the backup network corresponding to the backup virtual machine.
  • the virtual network card of the backup virtual machine allocates a network address, for example, the cloud management module of the disaster recovery site in FIG. 1 (a) or (b) or (c) determines that the subnet address of the network corresponding to VM11' is 20.200.135.0/ 24, VM12' corresponds to the associated network subnet address is 20.200.135.0/24, VM11' corresponds to the associated network subnet address is 20.200.135.0/24 and 20.200.136.0/24, the backup will be Quasi machine associated with the subnet address of the corresponding network to register the DHCP server such that the DHCP server according to the VM11 'corresponding to the subnet address associated with a network, for the VM11' assigning dynamic IP addresses, according to VM12 'of The virtual IP address is assigned to the VM12' of the subnet address of the associated network, and the dynamic IP address is assigned to the VM13' according to the subnet address of the associated network of the VM13'.
  • the cloud management module of the disaster recovery site may indicate a virtualization module of the disaster recovery site, according to the backup virtual machine in the information of the backup virtual machine.
  • the information about the home network, the virtual network card of the backup virtual machine is associated with the virtual switch, and the specific information includes: the cloud management module of the disaster recovery site can obtain the information according to the information of the home network of the backup virtual machine.
  • the virtual network card of the backup virtual machine and the backup network system may be directly obtained from the information of the home network of the backup virtual machine, or according to the preparation
  • the cloud management module of the disaster recovery site may obtain the correspondence between the information of the backup network and the port group of the virtual switch from the virtualization module of the disaster recovery site, and according to the virtual network card of the backup virtual machine Corresponding relationship between the backup network and the correspondence between the information of the backup network and the port group of the virtual switch, and determining a correspondence between the virtual network card of the backup virtual machine and the port group of the virtual switch;
  • the cloud management module of the disaster recovery site instructs the virtualization module to use the virtual network card of the backup virtual machine and the virtual switch according to the correspondence between the virtual network card of the backup virtual machine and the port group of the virtual switch.
  • the port group is associated with the backup network, so that the backup virtual machine can perform data transmission by using the virtual network card of the backup virtual machine corresponding to the port group on the associated virtual switch and the backup network according to the network address of the backup virtual machine.
  • the cloud management module of the disaster recovery site may obtain the second description information of the cloud application to be disaster-tolerant from the disaster recovery management module, where the second description information is The cloud application to be disaster-tolerant is described in the deployment of the disaster recovery site.
  • the module may instruct the virtualization module of the disaster recovery site to create the backup network according to the information of the backup network in the second description information, according to the second description information.
  • the virtualized module of the disaster recovery site creates the backup virtual machine according to the identifier, the specification, and the information of the second storage unit in the backup virtual machine, according to the backup in the second description information.
  • the information about the home network of the virtual machine associates the backup virtual machine with the backup network, and the cloud application to be disaster-tolerant is recovered completely and quickly in the disaster recovery site, and the cloud application-based capacity is realized.
  • the disaster recovery mode is different from the disaster recovery mode based on the virtual machine granularity in the prior art.
  • the embodiment of the present invention implements the disaster recovery of the application level, and avoids the problem that the virtual machine granularity disaster recovery may not completely and quickly recover the cloud application.
  • the configuration of the second embodiment is combined with the system architecture shown in FIG. 1 (b).
  • the disaster recovery method provided by the embodiment of the present invention is as shown in FIG. 8 , and is used to apply the disaster tolerant cloud in the production site to the disaster recovery.
  • the method is configured in the site, where the disaster recovery site is used to recover the cloud application to be disaster-tolerant according to the configuration information, where the method may be performed by a cloud management module of the production site, where Methods can include:
  • the first description information of the cloud application to be disaster-tolerant is obtained, where the first description information includes information about a source network used by the cloud application to be tolerated at a production site, and the cloud application to be disaster-tolerant Information about the source virtual machine used by the production site.
  • the cloud management module of the production site obtains the first description information of the cloud application to be disaster-tolerant.
  • the cloud management module of the production site directly obtains the first description information of the cloud application to be disaster-tolerant recorded by the production site, where the cloud management module of the production site may collect the virtual machine of the cloud application after collecting The static description information and the dynamic description information of the running instance of the cloud application generate the first description information.
  • the cloud management module of the production site uses the identifier and specification of the source virtual machine used by the production site for the cloud to be disaster-tolerant, and the first storage occupied by the source virtual machine at the production site.
  • the first description information is generated by the information of the unit and the network address of the source virtual machine.
  • the information of the network and the information of the source virtual machine used by the cloud to be disaster-tolerant at the production site, the information of the source virtual machine includes an identifier, a specification, and a source virtual machine of the source virtual machine.
  • the information about the home network of the source virtual machine may include the network of the source virtual machine.
  • the cloud management module of the production site may determine the information of the second storage unit according to the information of the first storage unit carried by the information of the source virtual machine after acquiring the first description information, specifically It can include the following three steps:
  • 803b Select the second storage unit from the idle storage unit of the disaster recovery site.
  • 803c Establish a replication relationship between the first storage unit and the second storage unit, and determine information about the second storage unit occupied by the backup virtual machine at the disaster recovery site.
  • 805. Configure, according to the information about the source network, information about the backup network for the cloud application to be disaster-tolerant. 806. Determine information about the home network of the backup virtual machine according to the information of the source virtual machine and the information of the backup network.
  • the cloud management module of the production site directly registers the second description information to the cloud management module of the disaster recovery site, so that the cloud management module of the disaster recovery site according to the second description information
  • the cloud application to be tolerated is restored in the disaster recovery site.
  • the specific implementation of the steps 802-807 in the embodiment of the present invention is similar to the steps 502-507, and details are not described herein again.
  • the cloud management module of the production site can obtain the first description information of the cloud application to be disaster-tolerant, and the first description information includes not only the cloud application to be disaster-tolerant is used at the production site.
  • the information of the source virtual machine, and the information about the source network used by the cloud application to be disaster-tolerant at the production site, based on the first description information describing the disaster-tolerant cloud application as a whole, may be
  • the cloud application for the disaster recovery configures the information of the backup network used by the disaster recovery site and the information of the backup virtual machine used by the disaster recovery site, that is, the cloud application to be disaster-tolerant is generated at the disaster recovery site.
  • the second description information describes the deployment of the cloud application to be disaster-tolerant at the disaster recovery site as a whole
  • the cloud management module of the production site registers the second description information to the
  • the cloud management module of the disaster recovery site enables the cloud management module of the disaster recovery site to completely restore the cloud application to be disaster-tolerant in the disaster recovery site according to the second description information.
  • a cloud-based disaster recovery is implemented. Different from the disaster recovery mode based on the virtual machine granularity in the prior art, the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application. Restoration wire of specific embodiment 2 With reference to the system architecture shown in FIG.
  • the disaster tolerance method in the embodiment of the present invention is as shown in FIG. 9 , and is used to be disaster-tolerant in the production site when a disaster occurrence accident occurs at the production site.
  • the cloud application is restored to the disaster recovery site, and the method may be performed by the cloud management module of the disaster recovery site, and the method may include:
  • the cloud management module of the disaster recovery site may receive the registration information from the production site cloud management module, and obtain the second description information of the cloud application to be disaster-tolerant carried in the registration information, where the second description information includes The information about the backup network used by the disaster-tolerant cloud application at the disaster-tolerant site and the information of the backup virtual machine used by the disaster-tolerant cloud application at the disaster-tolerant site; the standby identifier, the specification, the Backing up information of the second storage unit occupied by the virtual machine at the disaster recovery site and information about the home network of the backup virtual machine.
  • the information about the home network of the backup virtual machine may include an association relationship between the virtual network card of the backup virtual machine and the backup network, or a network address of the virtual network card of the backup virtual machine.
  • Step 902 is an optional step, and step 902 may be preceded by step 901 or after step 901, and the embodiment of the present invention is not limited herein.
  • the cloud management module of the disaster recovery site may obtain the second description information of the cloud application to be disaster-tolerant from the cloud management module of the production site, where the second description information is overall The cloud application to be disaster-tolerant is described in the disaster recovery site. After the cloud management module of the disaster recovery site obtains the second description information, the backup network may be configured according to the second description information.
  • the virtualization module of the disaster recovery site creates the backup network
  • the information indicating that the virtualization module of the disaster recovery site creates the backup network and according to the identifier, the specification of the backup virtual machine and the information of the second storage unit in the second description information, indicating the The virtualization module of the disaster recovery site creates the backup virtual machine, and associates the backup virtual machine with the backup network according to the information about the home network of the backup virtual machine in the second description information.
  • the disaster recovery method provided by the embodiment of the present invention is as shown in FIG. 10 , and the cloud management module of the disaster recovery site can use the disaster recovery site according to the configuration information.
  • the cloud application is configured in the disaster recovery site to restore the cloud application to be tolerated, and the method may be performed by the cloud management module of the production site, and the method may include:
  • the first description information of the cloud application to be disaster-tolerant is obtained, where the first description information includes information about a source network used by the cloud application to be tolerated at a production site, and the cloud application to be disaster-tolerant Information about the source virtual machine used by the production site.
  • the cloud management module of the production site acquires the first description information of the cloud application to be disaster-tolerant There are two ways, namely:
  • the cloud management module of the production site directly obtains the first description information of the cloud application to be disaster-tolerant recorded by the production site, where the cloud management module of the production site may collect the virtual machine of the cloud application after collecting The static description information and the dynamic description information of the running instance of the cloud application generate the first description information.
  • the cloud management module of the production site uses the identifier and specification of the source virtual machine used by the production site for the cloud to be disaster-tolerant, and the first storage occupied by the source virtual machine at the production site.
  • the first description information is generated by the information of the unit and the network address of the source virtual machine.
  • the information of the network and the information of the source virtual machine used by the cloud to be disaster-tolerant at the production site, the information of the source virtual machine includes an identifier, a specification, and a source virtual machine of the source virtual machine.
  • the information about the home network of the source virtual machine includes the network address of the source virtual machine.
  • the cloud management module of the production site may send the first description information to the cloud management module of the disaster recovery site, so that the cloud management module of the disaster recovery site may be based on the overall disaster tolerance
  • the first description information is described by the cloud application, and the second description information of the cloud application to be disaster-tolerant is configured for the cloud application to be disaster-tolerant, and the cloud application to be disaster-tolerant is restored.
  • the cloud management module of the production site can obtain the first description information of the cloud application to be disaster-tolerant, and the first description information includes not only the cloud application to be disaster-tolerant is used at the production site.
  • Information about the source virtual machine, including the cloud application to be tolerated at the production site The information of the source network, the cloud management module of the production site can send the first description information to the cloud management module of the disaster recovery site, so that the cloud management module of the disaster recovery site can be based on the And the second description information of the cloud application to be disaster-tolerant is configured, and the second description information of the cloud application to be disaster-tolerant is configured for the cloud application to be disaster-tolerant, and according to the second description information,
  • the disaster recovery site completely recovers the cloud application to be disaster-tolerant, and implements disaster recovery based on the cloud application.
  • the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • the disaster tolerance method in the embodiment of the present invention is as shown in FIG. 11.
  • the method may be performed by the cloud management module of the disaster recovery site, and the method may include: 1101: Obtain first description information of the cloud application to be disaster-tolerant from the cloud management module of the production site, where The description information includes the source network of the cloud application to be disaster-tolerant at the production site.
  • the cloud management module of the disaster recovery site may receive the cloud application to be disaster-tolerant sent by the cloud management module of the production site.
  • First description information An identifier, a specification of the source virtual machine, information of the first storage unit occupied by the source virtual machine at the production site, and information of a home network of the source virtual machine.
  • the information about the home network of the source virtual machine includes an association relationship between the virtual network card of the source virtual machine and the source network or a network address of the virtual network card of the source virtual machine.
  • 1102 Generate, according to the first description information, second description information of the cloud application to be disaster-tolerant, the second description message, The information of the backup virtual machine, the specification, the information of the second storage unit occupied by the backup virtual machine at the disaster recovery site, and the information about the home network of the backup virtual machine.
  • the cloud management module of the disaster recovery site generating, by the cloud management module of the disaster recovery site, the second description information of the cloud application to be disaster-tolerant according to the first description, including: determining, according to the identifier and the specification of the source virtual machine, the backup virtual machine And the information of the second storage unit is determined according to the information of the first storage unit; and the information of the backup network is configured for the cloud application to be disaster-tolerant according to the information of the source network; Determining information of the home network of the backup virtual machine according to the information of the backup network, the identifier of the backup virtual machine, and the information of the home network of the source virtual machine;
  • the information about the home network of the backup virtual machine may include an association relationship between the virtual network card of the backup virtual machine and the backup network or a network address of the virtual network card of the backup virtual machine.
  • the second description information of the cloud application to be disaster-tolerant is generated according to the first description information, and the specific implementation manner may refer to steps 502-507.
  • the step 1103 is an optional step, and the step 1103 may be preceded by the step 1102 or the step 1102.
  • the embodiment of the present invention is not limited herein.
  • the cloud management module of the disaster recovery site can obtain the first description information of the cloud application to be disaster-tolerant from the cloud management module of the production site, where the first description information is not only the disaster-tolerant cloud.
  • the second description information of the cloud application to be disaster-tolerant at the disaster recovery site may be generated based on the information about the source network used by the production site, based on the first description information that describes the disaster-tolerant cloud application as a whole.
  • the second description information is used to describe the deployment of the cloud application to be disaster-tolerant at the disaster recovery site as a whole, and may indicate the disaster recovery according to the information of the backup network in the second description information.
  • the virtualization module of the site creates the backup network, and indicates that the virtualization module of the disaster recovery site is created according to the identifier, the specification, and the information of the second storage unit in the second description information.
  • the backup virtual machine performs the backup virtual machine and the backup network according to the information about the home network of the backup virtual machine in the second description information.
  • the cloud application to be disaster-tolerant is recovered in a complete and rapid manner, and the cloud application-based disaster recovery is implemented, which is different from the disaster recovery mode based on the virtual machine granularity in the prior art.
  • the application-level disaster recovery configuration and recovery are implemented, which avoids the problem that the virtual machine granularity disaster recovery may not completely and quickly restore the cloud application.
  • the configuration of the fourth embodiment is 3 ⁇ 41 ⁇ 2
  • the disaster recovery method provided by the embodiment of the present invention is as shown in FIG. 12, and is used to configure the cloud to be disaster-tolerant in the production site to be configured in the disaster recovery site.
  • the method for recovering the disaster tolerant according to the configuration information at the disaster recovery site may include:
  • the first description information of the cloud application to be disaster-tolerant is obtained from the cloud management module of the production site, where the first description information includes the source network of the cloud application to be disaster-tolerant at the production site.
  • the disaster management module of the production site may obtain the first description information of the cloud application to be disaster-tolerant from the cloud management module of the production site, and the method may be:
  • the disaster management module of the production site queries the cloud management module of the production site to query the first description information of the cloud application to be tolerated by the interface of the cloud management module of the production site, where the The cloud management module of the production site may collect the static description information and the dynamic description information of the running instance of the cloud application to generate the first description information after the virtual machine of the cloud application is deployed.
  • the disaster management module queries the cloud management module of the production site to query the identifier of the source virtual machine used by the cloud application to be disaster-tolerant at the production site by using an interface with the cloud management module of the production site.
  • the first description information is generated by the specification, the information of the first storage unit occupied by the source virtual machine at the production site, and the network address of the source virtual machine.
  • the information of the source virtual machine includes an identifier, a specification of the source virtual machine, information of a first storage unit occupied by the source virtual machine at the production site, and information of a home network of the source virtual machine.
  • the information about the home network of the source virtual machine includes the network address of the source virtual machine.
  • the cloud management module of the production site may send the second description information to the disaster recovery management module of the disaster recovery site, so that the disaster recovery management module of the disaster recovery site may register the second description information to The disaster recovery site restores the cloud application to be disaster-tolerant at the disaster recovery site.
  • the specific implementation of the steps 1202-1207 in the embodiment of the present invention is similar to the steps 502-507, and details are not described herein again.
  • the disaster management module of the production site can obtain the first description information of the cloud application to be disaster-tolerant from the cloud management module of the production site, where the first description information includes not only the disaster to be disaster-tolerant
  • the first description information may be used to configure the information about the backup network used by the disaster recovery site and the information of the backup virtual machine used at the disaster recovery site for the cloud application to be tolerated, that is, generate the tolerant disaster recovery
  • the cloud is applied to the second description information of the disaster recovery site, and the second description information describes the deployment of the cloud application to be disaster-tolerant at the disaster recovery site as a whole, and the disaster recovery management module of the production site will
  • the second description information is sent to the disaster recovery management module of the disaster recovery site, so that the disaster recovery management module of the disaster recovery site can provide the second description information to the disaster recovery site.
  • the cloud application to be disaster-tolerant is completely restored, and disaster recovery based on the cloud application is realized.
  • the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • the configuration of the fifth embodiment is 3 ⁇ 41 ⁇ 2
  • the disaster recovery method provided by the embodiment of the present invention is used to provide configuration information of the cloud application to be disaster-tolerant in the disaster recovery site in the production site.
  • the disaster recovery site when the disaster recovery incident occurs at the production site, is used to restore the cloud application to be disaster-tolerant according to the configuration information at the disaster recovery site, and the method may be performed by the disaster recovery management module of the disaster recovery site.
  • the method can include:
  • the disaster recovery management module of the disaster recovery site may receive the second description information of the cloud application to be disaster-tolerant sent by the disaster recovery management module of the production site, where the second description information includes the tolerated disaster recovery
  • the information about the backup network used by the cloud application at the disaster recovery site and the information of the backup virtual machine used by the cloud application to be disaster-tolerant at the disaster recovery site, and the cloud application to be disaster-tolerant is used at the disaster recovery site.
  • the information of the backup virtual machine includes the identifier of the backup virtual machine, the specification, the information of the second storage unit occupied by the backup virtual machine at the disaster recovery site, and the information about the home network of the backup virtual machine.
  • the information about the home network of the backup virtual machine may include the backup virtual machine 1302: registering the second description information to the cloud management module of the disaster recovery site, so that the cloud of the disaster recovery site The management module recovers the cloud application to be tolerated in the disaster recovery site according to the second description information.
  • the disaster recovery management module of the disaster recovery site may obtain the second description information of the cloud application to be disaster-tolerant from the disaster recovery management module of the production site, where the second description information is from the whole
  • the disaster recovery management module of the disaster recovery site may register the obtained second description information to the disaster recovery site.
  • the disaster recovery management module of the disaster recovery site may register the obtained second description information to the disaster recovery site.
  • the cloud management module is configured to enable the cloud management module of the disaster recovery site to completely recover the cloud application to be tolerated in the disaster recovery site according to the second description information, and implement a cloud application-based capacity
  • the disaster recovery mode is different from the disaster recovery mode based on the virtual machine granularity in the prior art.
  • the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • the configuration of the specific embodiment 6 3 ⁇ 41 ⁇ 2
  • the disaster recovery method provided by the embodiment of the present invention is as shown in FIG. 14 , and the disaster recovery management module of the disaster recovery site can use the disaster tolerant cloud according to the configuration information.
  • the application is configured in the disaster recovery site to restore the cloud application to be tolerated in the disaster recovery site.
  • the method may be performed by the disaster recovery management module of the production site, and the method may include:
  • the obtaining the first description information of the cloud application to be tolerated may have two methods, namely:
  • the disaster management module of the production site may obtain the first description information of the cloud application to be disaster-tolerant recorded by the cloud management module of the production site, where the cloud management module of the production site may be deployed. After the virtual machine of the cloud application, the static description information and the dynamic description information of the running instance of the cloud application are collected to generate the first description information.
  • the disaster management module of the production site may obtain information of a first storage unit occupied by the virtual machine at the production site and a network of the source virtual machine from a cloud management module of the production site. a network address, the first description information is generated.
  • the information of the network and the information of the source virtual machine used by the cloud to be disaster-tolerant at the production site, the information of the source virtual machine includes an identifier, a specification, and a source virtual machine of the source virtual machine.
  • the information about the home network of the source virtual machine includes the network address of the source virtual machine.
  • the disaster management module of the production site may send the first description information to the disaster recovery management module of the disaster recovery site, so that the disaster recovery management module of the disaster recovery site may be treated as a whole based on the disaster recovery management module.
  • the first description information of the disaster-tolerant cloud application is configured, and the second description information of the cloud application to be disaster-tolerant is configured for the cloud application to be disaster-tolerant, and the cloud application to be disaster-tolerant is restored at the disaster-tolerant site .
  • the disaster management module of the production site can obtain the first description information of the cloud application to be disaster-tolerant, and the first description information includes not only the cloud application to be disaster-tolerant at the production site.
  • the information of the source virtual machine used includes information about the source network used by the cloud application to be disaster-tolerant at the production site, and the disaster recovery management module of the production site can send the first description information to the content
  • the disaster recovery management module of the disaster recovery site so that the disaster recovery management module of the disaster recovery site can be based on the first description information that describes the disaster-tolerant cloud application as a whole, and is the cloud application to be disaster-tolerant.
  • the second description information of the cloud application to be disaster-tolerant is configured, so that the cloud application to be disaster-tolerant is completely restored in the disaster-tolerant site, and the cloud application-based disaster recovery is implemented.
  • the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not completely and quickly recover the cloud application.
  • the configuration of the seventh embodiment is 3 ⁇ 41 ⁇ 2
  • the disaster recovery method provided by the embodiment of the present invention is as shown in FIG. 15 , and is used to configure the cloud to be disaster-tolerant in the production site to be configured in the disaster recovery site.
  • the disaster recovery site is used to restore the cloud application to be disaster-tolerant according to the configuration information.
  • the method may be performed by the disaster recovery management module of the disaster recovery site, and the method may include: 1501 : Obtaining the first description of the cloud application to be disaster-tolerant from the disaster recovery management module of the production site
  • the disaster recovery management module of the disaster recovery site may receive the first description information that is sent by the disaster recovery management module of the production site, where the first description information includes the cloud application to be disaster-tolerant used at a production site.
  • the information about the home network of the source virtual machine includes the network address of the source virtual machine.
  • 1504 Instruct the storage management software of the production site and the storage management software of the disaster recovery site to copy data of the first storage unit to the second storage unit.
  • the identifier and specifications of the backup virtual machine According to the information about the backup network, the identifier and specifications of the backup virtual machine, The information of the second storage unit and the information of the home network of the backup virtual machine obtain the second description information.
  • the disaster management module of the disaster recovery site directly registers the second description information to the cloud management module of the disaster recovery site, so that the cloud management module of the disaster recovery site is based on the second description information.
  • the cloud application to be disaster-tolerant is restored in the disaster recovery site.
  • the specific implementation manners of the steps 1502-1507 and the steps 502-507 in the embodiment of the present invention are similar, and details are not described herein again.
  • the disaster recovery management module of the disaster recovery site can obtain the first description information of the cloud application to be disaster-tolerant from the disaster recovery management module of the production site, where the first description information includes not only the first description information.
  • the information about the source virtual machine used by the cloud to be disaster-tolerant at the production site, and the information about the source network used by the cloud application to be disaster-tolerant at the production site, based on the overall treatment of disaster tolerance The first description information that is described by the cloud application, where the information about the backup network used by the disaster recovery site and the information of the backup virtual machine used at the disaster recovery site are generated for the cloud application to be tolerated, that is, generated
  • the second description information of the cloud to be disaster-tolerant is applied to the disaster recovery site, and the second description information is used to describe the deployment of the cloud application to be disaster-tolerant at the disaster recovery site.
  • the disaster management module registers the second description information to the cloud management module of the disaster recovery site, so that the cloud management module of the disaster recovery site can be based on the second description information.
  • Complete restoration of the site to be disaster recovery cloud applications implement disaster recovery cloud-based applications.
  • the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • the recovery method of the embodiment of the present invention is as shown in FIG. 16 , and is used for the disaster recovery accident at the production site.
  • Cloud application to be disaster-tolerant in the production site The method may be performed by the cloud management module of the disaster recovery site, and the method may include:
  • the cloud management module of the disaster recovery site may receive the registration information of the disaster recovery management module from the disaster recovery site, and obtain the second description information of the cloud application to be disaster-tolerant carried in the registration information, where the second description is The information includes the backup network used by the disaster tolerant cloud application at the disaster recovery site.
  • the identifier of the virtual machine the specification, the information of the second storage unit occupied by the backup virtual machine at the disaster recovery site, and the information about the home network of the backup virtual machine.
  • the information about the home network of the backup virtual machine may include an association relationship between the virtual network card of the backup virtual machine and the backup network, or a network address of the virtual network card of the backup virtual machine.
  • Software stopping copying data of the first storage unit to the second storage unit.
  • Step 1602 is an optional step, and step 1602 may be preceded by step 1601 or after step 1601.
  • the embodiment of the present invention is not limited herein.
  • 1605 Allocate a network address to the backup virtual machine according to the second description information.
  • 1606 Instruct the virtualization module of the disaster recovery site to associate the backup virtual machine with the backup network according to the information about the backup virtual machine in the second description information.
  • Steps 1602-1606 in the embodiment of the present invention are similar to the specific implementation manners of steps 702-706. I will not repeat them here.
  • the cloud management module of the disaster recovery site may obtain the second description information of the cloud application to be disaster-tolerant from the disaster recovery management module of the disaster recovery site, where the second description information is from the whole
  • the cloud management module of the disaster recovery site may be configured according to the second description information, where the cloud application to be disaster-tolerant is deployed.
  • the information of the backup network is instructed by the virtualization module of the disaster recovery site, and the identifier of the backup virtual machine in the second description information and the information of the second storage unit are indicated.
  • the virtualization module of the disaster recovery site creates the backup virtual machine, and associates the backup virtual machine with the backup network according to the information about the home network of the backup virtual machine in the second description information. Recovering the cloud application to be disaster-tolerant in a complete and rapid manner in the disaster-tolerant site, and implementing cloud-based disaster recovery, which is different from the prior art based on virtual machine granularity. Example implement application level disaster recovery, the virtual machine can not completely avoid the disaster recovery granularity may be generated quickly to the restoration of the formula cloud applications, the present invention.
  • Disaster tolerance device
  • the disaster recovery device in the embodiment of the present invention is used to apply the cloud to be disaster-tolerant in the production site to the system architecture shown in FIG. 1 (a) or (b) or (c).
  • the disaster recovery site is configured to restore the cloud application to be disaster-tolerant according to the configuration information when the disaster recovery site occurs in the disaster recovery site, and the device may be the production shown in Figure 1 (b).
  • the cloud management module of the site may also be the disaster recovery management module shown in Figure 1 (a), or the disaster recovery management module of the production site shown in Figure 1 (c) or the disaster recovery management module of the disaster recovery site.
  • the device may include: an acquiring unit 1701, configured to acquire first description information of a cloud application to be disaster-tolerant, where the first description information includes information about a source network used by the cloud application to be tolerated at a production site, and The cloud to be tolerated applies information of the source virtual machine used by the production site.
  • the generating unit 1702 is configured to use, according to the first description information acquired by the acquiring unit 1701, Generating the second description information of the cloud application to be disaster-tolerant, the second description information includes information about the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site, and the cloud application to be disaster-tolerant Information about the backup virtual machine used by the disaster recovery site.
  • the submitting unit 1703 is configured to provide the second description information generated by the generating unit 1702 to the disaster recovery site, so that the disaster recovery station recovers the cloud to be tolerated according to the second description information. application.
  • the acquiring unit 1701 can obtain the first description information of the cloud application to be disaster-tolerant, and the first description information includes not only the source virtual source used by the cloud application to be disaster-tolerant at the production site.
  • the information of the machine further includes the information about the source network used by the cloud application to be disaster-tolerant at the production site, and the generating unit 1702, based on the first description information that describes the cloud application that is generally disaster-tolerant, may
  • the second description information of the cloud application to be disaster-tolerant is generated at the disaster recovery site, and the second description information can also describe the deployment of the cloud application to be disaster-tolerant at the disaster recovery site as a whole.
  • the unit 1703 can provide the second description information to the disaster recovery site, so that after the disaster recovery site obtains the second description information, the second description information may be complete in the disaster recovery site according to the second description information.
  • the cloud application to be disaster-tolerant is restored, and disaster recovery based on the cloud application is implemented.
  • the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not be complete and the cloud application can be recovered quickly.
  • the disaster recovery device in the embodiment of the present invention is used to obtain the configuration information of the cloud application to be disaster-tolerant in the disaster recovery site.
  • the disaster recovery device is configured to recover the cloud application to be disaster-tolerant according to the configuration information when the disaster occurs at the production site, and the disaster recovery device may be a disaster recovery management module of the disaster recovery site, where the device is Includes:
  • the acquiring unit 1801 is configured to acquire second description information of the cloud application to be disaster-tolerant, and the second description information includes information about the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site, and
  • the registration unit 1802 is configured to register the second description information acquired by the acquiring unit 1801 to the cloud management module of the disaster recovery site, so that the cloud management module of the disaster recovery site according to the second description information The cloud application to be disaster-tolerant is restored in the disaster recovery site.
  • the acquiring unit 1801 may obtain the second description information of the cloud application to be disaster-tolerant, and the second description information is applied to the cloud to be disaster-tolerant at the disaster recovery site as a whole.
  • the configuration is performed, and the registration unit 1802 may register the second description information to the disaster recovery management module of the disaster recovery site, so that the disaster recovery site may be in the capacity according to the second description information.
  • the disaster recovery cloud application is completely restored, and the cloud application-based disaster recovery is implemented, which is different from the disaster recovery mode based on the virtual machine granularity in the prior art. Recovery, avoiding the problem that the virtual machine granularity disaster recovery may not fully recover the cloud application.
  • the disaster recovery device in the embodiment of the present invention is used to apply the cloud to be disaster-tolerant in the production site as shown in FIG.
  • the device may be a cloud management module of the disaster recovery site, and the device includes:
  • the acquiring unit 1901 is configured to obtain the second description information of the cloud application to be disaster-tolerant, and the second description information includes information about the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site, and the restored unit 1902.
  • the cloud application to be tolerated is restored in the disaster recovery site according to the second description information acquired by the acquiring unit 1901.
  • the obtaining unit 1901 may be from the cloud management module of the production site shown in FIG. 1( b ) or the disaster recovery management module shown in FIG. 1 ( a ) or as shown in FIG. 1 ( c ).
  • the disaster management module of the production site obtains the second description information of the cloud application to be disaster-tolerant, and the second description information describes the deployment of the cloud application to be disaster-tolerant at the disaster recovery site as a whole.
  • the recovery unit 1902 may be complete and fast in the disaster recovery site according to the second description information. The disaster recovery cloud application is quickly restored, and the cloud application-based disaster recovery is implemented.
  • the system shown in FIG. 20 is a system of a cloud management device 2004, a disaster recovery management device 2000, and a cloud management device 2005 of a disaster recovery site.
  • the device is a disaster recovery management device 2000, wherein the disaster recovery management device
  • the device 2000 includes: an obtaining unit 2001, a generating unit 2002, and a submitting unit 2003, where the device can be used to configure a cloud application to be disaster-tolerant in a production site in a disaster-tolerant site, and when the production site has a disaster-tolerant accident
  • the cloud application to be disaster-tolerant is restored according to the configuration information at the disaster recovery site.
  • the obtaining unit 2001 is configured to acquire the first description information of the cloud application to be disaster-tolerant from the cloud management device 2004 of the production site, where the first description information includes the source network used by the cloud application to be disaster-tolerant at the production site.
  • the information of the source virtual machine used by the cloud to be disaster-tolerant at the production site includes an identifier, a specification, and the source virtual machine of the source virtual machine.
  • the information about the first storage unit occupied by the production site and the information about the home network of the source virtual machine, where the information about the home network of the backup virtual machine may include the relationship between the virtual network card of the source and the source network. .
  • the method for obtaining the first description information of the cloud application to be tolerated may have two methods. 1) The first method, the obtaining unit 2001 is configured to interface with a cloud management device of the production site, The cloud management device of the production site queries the first description information of the cloud application to be disaster-tolerant, and the cloud management device of the production site may collect the running of the cloud application after deploying the virtual machine of the cloud application.
  • the static description information and the dynamic description information of the instance generate the first description information; 2) the second method, the obtaining unit 2001 performs cloud management from the production site through an interface with a cloud management device of the production site The device queries the cloud application to be disaster-tolerant in the living
  • the first description information is generated by the identifier and specification of the source virtual machine used by the production site, the information of the first storage unit occupied by the source virtual machine at the production site, and the network address of the source virtual machine.
  • the generating unit 2002 is configured to configure information about the backup network used by the disaster recovery site for the cloud application to be disaster-tolerant according to the first description information acquired by the acquiring unit 2001, and configured in the capacity
  • the information about the backup virtual machine used by the disaster site is the second description information of the cloud application to be disaster-tolerant, and the second description information includes the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site.
  • the information of the backup virtual machine used by the cloud to be disaster-tolerant at the disaster recovery site, and the information of the backup virtual machine used by the cloud to be disaster-tolerant at the disaster recovery site includes: the backup The identifier of the virtual machine, the specification, the information of the second storage unit occupied by the backup virtual machine at the disaster recovery site, and the information about the home network of the backup virtual machine;
  • the generating unit 2002 is specifically configured to: determine an identifier and a specification of the backup virtual machine according to the identifier and the specification of the source virtual machine; and determine the second storage according to the information of the first storage unit Configuring the information of the backup network for the cloud application to be tolerated according to the information of the source network; the information of the backup network, the identifier of the backup virtual machine, and the source virtual machine
  • the information of the home network determines the information of the home network of the backup virtual machine, where the information of the home network of the backup virtual machine includes an association relationship between the virtual network card of the backup virtual machine and the backup network or the Back up the network address of the virtual machine.
  • the generating unit 2002 may be further configured to establish a replication relationship between the first storage unit and the second storage unit, and configure the replication relationship to the storage management software of the production site and the disaster recovery site.
  • the storage management software is configured to enable the storage management software of the production site and the storage management software of the disaster recovery site to follow a set replication cycle and a replication mode according to a replication relationship between the first storage unit and the second storage unit. And copying the data of the first storage unit to the second storage unit, and determining the replication relationship between the first storage unit and the second storage unit may be determined according to a user designation.
  • the submitting unit 2003 is configured to use the second description information generated by the generating unit 2002
  • the cloud management device 2005 is registered to the disaster recovery site, so that the cloud management device 2005 of the disaster recovery site can restore the cloud application to be tolerated in the disaster recovery site according to the second description information. .
  • the acquiring unit 2001 is configured to obtain, from the cloud management device of the production site, the first description information of the cloud application to be disaster-tolerant, the first description information not only including the cloud application to be disaster-tolerant
  • the generating unit 2002 may configure, for the cloud application to be tolerated, information of the backup network used by the disaster recovery site, and information of the backup virtual machine used by the disaster recovery site, that is, generate the
  • the second description information of the cloud to be disaster-tolerant is applied to the disaster-tolerant site, and the second description information is used to describe the deployment of the cloud application to be disaster-tolerant at the disaster-tolerant site.
  • the submitting unit 2003 may The second description information is registered to the cloud management device of the disaster recovery site, so that the cloud management device of the disaster recovery site can complete and fast according to the second description information.
  • the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not completely and quickly recover the cloud application.
  • the system shown in FIG. 21 includes a cloud management device 2100 of a production site and a cloud management device 2104 of the disaster recovery site.
  • the cloud management device 2100 of the production site includes: an obtaining unit 2101, a generating unit 2102, and a submitting unit 2103.
  • the device may be configured to configure the cloud to be disaster-tolerant in the production site to be configured in the disaster recovery site, and when the disaster occurs in the disaster recovery site, the device is used to recover the configuration information at the disaster recovery site.
  • a cloud application that addresses disaster tolerance.
  • the acquiring unit 2101 is configured to acquire first description information of the cloud application to be disaster-tolerant, where the first description information includes information about a source network used by the cloud application to be disaster-tolerant at a production site, and The information includes the identifier of the source virtual machine, the specification, the information of the first storage unit occupied by the source virtual machine at the production site, and the information about the home network of the source virtual machine. Further, the source virtual machine The information of the home network includes a network address of the source virtual machine or an association relationship between the virtual network card of the source virtual machine and the source network.
  • the obtaining unit 2101 may obtain the first description information of the cloud application to be disaster-tolerant.
  • the method may be: the first method, where the acquiring unit 2101 directly obtains the record of the cloud management device of the production site.
  • the first description information of the cloud application to be disaster-tolerant wherein the cloud management device of the production site may collect static description information and dynamics of the running instance of the cloud application after deploying the virtual machine of the cloud application Descriptive information generates the first description information; the second method, the obtaining unit 2101 is configured to use the source virtual machine used by the production site according to the cloud to be tolerated by the cloud management device of the production site
  • the first description information is generated by the identifier and the specification, the information of the first storage unit occupied by the source virtual machine at the production site, and the network address of the source virtual machine.
  • the generating unit 2102 is configured to configure, according to the first description information acquired by the acquiring unit 2101, information about a backup network used by the disaster recovery site for the cloud application to be tolerated, and configured in the capacity
  • the information about the backup virtual machine used by the disaster site is the second description information of the cloud application to be disaster-tolerant, and the second description information includes the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site.
  • the information of the backup virtual machine used by the cloud to be disaster-tolerant at the disaster recovery site, and the information of the backup virtual machine used by the cloud to be disaster-tolerant at the disaster recovery site includes: the backup The identifier of the virtual machine, the specification, the information of the second storage unit occupied by the backup virtual machine at the disaster recovery site, and the information about the home network of the backup virtual machine.
  • the generating unit 2102 is specifically configured to: Determining, by the identifier and the specification of the source virtual machine, the identifier and the specification of the backup virtual machine; determining, according to the information of the first storage unit, the backup virtual machine in the disaster recovery station The information of the second storage unit is occupied; the information of the backup network is configured for the cloud application to be tolerated according to the information of the source network; the information of the backup network, the identifier of the backup virtual machine, and Determining the backup virtual network by the information of the home network of the source virtual machine Information about the home network of the machine, where the information of the home network of the backup virtual machine may include the network address.
  • the generating unit 2102 may be further configured to establish a replication relationship between the first storage unit and the second storage unit, and configure the replication relationship to the storage management software of the production site and the disaster recovery site.
  • the storage management software is configured to enable the storage management software of the production site and the storage management software of the disaster recovery site to follow a set replication cycle and a replication mode according to a replication relationship between the first storage unit and the second storage unit. And copying the data of the first storage unit to the second storage unit, and determining the replication relationship between the first storage unit and the second storage unit may be determined according to a user designation.
  • the submitting unit 2103 is configured to register the second description information generated by the generating unit 2102 to the cloud management device 2104 of the disaster recovery site, so that the cloud management device 2104 of the disaster recovery site can be configured according to the The second description information is used to restore the cloud application to be tolerated in the disaster recovery site.
  • the acquiring unit 2101 is configured to obtain the first description information of the cloud application to be disaster-tolerant, and the first description information includes not only the information that the cloud application to be disaster-tolerant is made at the production site, but The first description information that describes the cloud application that is generally used for the disaster recovery, the generating unit 2102 may configure the information of the backup network used by the disaster recovery site for the cloud application to be disaster-tolerant, and configured The information about the backup virtual machine used by the disaster recovery site is generated by the second description information of the cloud application to be disaster-tolerant at the disaster recovery site, and the second description information is applied to the cloud application to be disaster-tolerant as a whole.
  • the deployment of the disaster recovery site is described, and the submitting unit 2103 may register the second description information to the cloud management device of the disaster recovery site, so that the cloud management device of the disaster recovery site may be configured according to the The description information completely and quickly recovers the cloud application to be disaster-tolerant, and implements disaster recovery based on the cloud application.
  • the embodiment of the present invention implements the disaster-tolerant configuration at the application level, thereby avoiding the disaster tolerance of the virtual machine granularity.
  • the 22 includes a disaster management device 2200 at a production site, a cloud management device 2204 at a production site, a disaster recovery site disaster management device 2205, and a cloud management device 2206 at a disaster recovery site.
  • the management device 2200 may include: an obtaining unit 2201, a generating unit 2202, and a submitting unit 2203.
  • the device may be configured to configure a cloud application to be disaster-tolerant in a production site in a disaster-tolerant site, when the production site generates a capacity
  • the disaster recovery site is used to restore the cloud application to be disaster-tolerant according to the configuration information at the disaster recovery site.
  • the acquiring unit 2201 is configured to acquire the first description information of the cloud application to be disaster-tolerant from the cloud management device 2204 of the production site, where the first description information includes the cloud application to be disaster-tolerant in production
  • the information of the source virtual machine includes the identifier of the source virtual machine, the specification, the information of the first storage unit occupied by the source virtual machine at the production site, and the information about the home network of the source virtual machine. Further, A packet association relationship of the home network of the source virtual machine.
  • the acquiring unit 2201 may obtain the first description information of the cloud application to be disaster-tolerant.
  • the method may be: the first method, where the acquiring unit 2201 obtains the cloud management device 2204 from the production site.
  • the first description information of the cloud application of the cloud application is collected, and the cloud management device of the production site may collect static description information and dynamic description of the running instance of the cloud application after deploying the virtual machine of the cloud application.
  • the first description information is generated by the information; the second method, the acquiring unit 2201 records the information of the first storage unit to be occupied at the production site and the information according to the cloud management device 2204 of the production site
  • the network address of the source virtual machine generates the first description information.
  • the generating unit 2202 is configured to use the first description letter acquired by the acquiring unit 2201
  • the information about the backup network used by the disaster recovery site and the information of the backup virtual machine used in the disaster recovery site are configured for the cloud application to be disaster-tolerant, that is, the cloud application to be disaster-tolerant is generated.
  • the second description information includes: information about the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site, and backup virtual data used by the cloud application to be disaster-tolerant at the disaster recovery site.
  • the information of the backup virtual machine used by the cloud to be disaster-tolerant at the disaster recovery site includes: an identifier and a specification of the backup virtual machine, and the backup virtual machine is occupied by the disaster recovery site.
  • the generating unit 2202 is specifically configured to: determine an identifier and a specification of the backup virtual machine according to the identifier and the specification of the source virtual machine; determine the backup virtual according to the information of the first storage unit Information of the second storage unit that is occupied by the machine at the disaster recovery site; configured to configure the information of the backup network for the cloud application to be disaster-tolerant according to the information of the source network; The information of the backup virtual machine and the information about the home network of the source virtual machine are used to determine information about the home network of the backup virtual machine. The network address of the backup virtual machine of the home network of the backup virtual machine.
  • the submitting unit 2203 is configured to send the second description information generated by the generating unit 2202 to the disaster recovery module 2205 of the disaster recovery site, so that the disaster tolerance management module 2205 of the disaster recovery site can be configured according to The second description information is used to restore the cloud application to be tolerated in the disaster recovery site.
  • the generating unit 2202 may be further configured to establish a replication relationship between the first storage unit and the second storage unit, and configure the replication relationship to the storage management software and the disaster recovery of the production site.
  • the storage management software of the site, the storage management software of the production site and the storage management software of the disaster recovery site may be according to a replication relationship between the first storage unit and the second storage unit, according to a set replication period and Copying, the data of the first storage unit is copied to the second storage unit, and determining the replication relationship between the first storage unit and the second storage unit may be determined according to a user designation.
  • the acquiring unit 2201 is configured to obtain, from the cloud management device 2204 of the production site, the first description information of the cloud application to be disaster-tolerant, the first description information not only including the cloud to be tolerated
  • the generating unit 2202 may configure, for the cloud application to be tolerated, the information of the backup network used by the disaster recovery site, and the information of the backup virtual machine used by the disaster recovery site, that is, the generating device
  • the second description information of the disaster-tolerant cloud application at the disaster-tolerant site is described, and the second description information describes the deployment of the cloud-tolerant cloud application at the disaster-tolerant site as a whole.
  • the submitting unit 2203 may Sending the second description information to the disaster recovery management device 2205 of the disaster recovery site, so that the disaster recovery management device of the disaster recovery site can provide the second description to the disaster recovery site. Rate, full recovery of the cloud to be applied to disaster, the disaster recovery implemented cloud-based applications. Different from the disaster recovery mode based on the virtual machine granularity in the prior art, the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • the disaster management device 2300 includes: an obtaining unit 2301 and a registration unit 2302; the device may be configured to configure the cloud to be disaster-tolerant in the production site to be configured in the disaster-tolerant site, when the production site has a disaster-tolerant accident And the device for recovering the cloud application to be disaster-tolerant according to the configuration information at the disaster recovery site.
  • the acquiring unit 2301 is configured to acquire the second description information of the cloud application to be disaster-tolerant, and the second description information includes the description of the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site.
  • the information of the backup virtual machine used by the disaster cloud in the disaster recovery site includes the identifier and the specification of the backup virtual machine, and the second storage unit occupied by the backup virtual machine at the disaster recovery site. And the information about the home network of the backup virtual machine, and further, the association relationship between the virtual network card of the backup virtual machine and the backup network.
  • the acquiring unit 2301 may receive the second description information of the cloud application to be tolerated and sent by the disaster management device 2301 of the production site, and may also receive the information sent by the disaster recovery management device 2301 of the production site.
  • the first description information of the cloud application to be disaster-tolerant, the second description information is generated according to the first description information, where the first description information includes a source network used by the cloud application to be disaster-tolerant at a production site
  • the information of the source virtual machine used by the cloud to be disaster-tolerant at the production site the information of the source virtual machine includes an identifier, a specification, and the source virtual machine of the source virtual machine.
  • the information about the home network of the source virtual machine may include the network location of the source virtual machine.
  • the cloud management device 2305 is registered to the disaster recovery site, so that the cloud management device 2305 of the disaster recovery site restores the cloud application to be tolerated in the disaster recovery site according to the second description information.
  • the acquiring unit 2301 can obtain the second description information of the cloud application to be disaster-tolerant, and the second description information is applied to the cloud to be disaster-tolerant at the disaster recovery site as a whole.
  • the deployment is described.
  • the disaster recovery management device of the disaster recovery site may register the obtained second description information to the cloud management device 2305 of the disaster recovery site, so that the cloud of the disaster recovery site
  • the management device 2305 can completely recover the cloud application to be tolerated in the disaster recovery site according to the second description information, and implement disaster recovery based on the cloud application, which is different from the prior art based on the granularity of the virtual machine.
  • the embodiment of the present invention implements the disaster-tolerant configuration at the application level, which avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • the disaster recovery device of the embodiment of the present invention may be a cloud management module of the disaster recovery site, and the device may include : Determination unit 2401 and recovery unit 2402.
  • the determining unit 2401 is configured to acquire second description information of the cloud application to be disaster-tolerant, and the second description information includes information about the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site, and the to-be-required
  • the information about the backup virtual machine used by the disaster-tolerant cloud is used by the disaster-splitting cloud.
  • the information of the backup virtual machine includes: the identifier and the specification of the backup virtual machine, and the backup virtual machine is occupied by the disaster-tolerant site.
  • the information of the second storage unit and the information about the home network of the backup virtual machine, for example, the second description information of the APP1 may be as shown in Table 2. Further, the association relationship of the backup network, or the network address of the virtual network card of the backup virtual machine.
  • the determining unit 2401 may obtain the second description information of the cloud application to be tolerated by the following two methods: 1) the first method
  • the determining unit 2401 is configured to receive registration information of a cloud management module from the production site, and obtain the cloud application to be tolerated by the registration information. Second description information.
  • the determining unit 2401 is configured to receive registration information from the disaster recovery management module, and obtain a second cloud application to be disaster-tolerant carried in the registration information. Description.
  • the determining unit 2401 is configured to receive from the The second description information of the cloud application to be disaster-tolerant carried in the registration information is obtained by the registration information of the disaster recovery management module of the disaster recovery site.
  • the determining unit 2401 acquires first description information of the cloud application to be tolerated, and generates according to the first description information.
  • the second description information, the first description information includes information about a source network used by the cloud application to be disaster-tolerant at a production site, and a source virtual machine used by the cloud application to be disaster-tolerant at the production site.
  • the information of the source virtual machine includes an identifier, a specification of the source virtual machine, information of a first storage unit occupied by the source virtual machine at the production site, and a home network of the source virtual machine.
  • Information, the information of the home network of the source virtual machine includes the network of the source virtual machine
  • the recovery unit 2402 specifically includes a first recovery unit 2402a, a second recovery unit 2402b, and a third restoration unit 2402c; the first recovery unit The 2402a is configured to: according to the information about the backup network, the virtualization module of the disaster recovery site is configured to create the backup network; the second recovery unit 2402b is configured to use the identifier, the specification, and the The information of the second storage unit is used to indicate that the virtualization module of the disaster recovery site creates the backup virtual machine.
  • the third recovery unit 2402c is configured to indicate the disaster recovery site according to the information about the home network of the backup virtual machine.
  • the virtualization module associates the backup virtual machine with the backup network.
  • the first recovery unit 2402a may send a virtualized network creation instruction to the virtualization module of the disaster recovery site after the determining unit 2401 acquires the second description information, where the virtualized network is created.
  • the command carries the information of the backup network, so that the virtualization module of the disaster recovery site determines the virtual switch used by the cloud application to be disaster-tolerant according to the virtualized network creation instruction, and the information of the backup network is And configuring a port group to the virtual switch, where the cloud management module of the disaster recovery site sends the virtualization module to the disaster recovery site
  • the virtualized network creation instruction, the virtualized network creation instruction carries information of the backup network and information of the second storage unit; after receiving the virtualized network creation instruction, the virtualization module Determining, by the information of the second storage unit, the virtual switch used by the cloud application to be disaster-tolerant at the disaster recovery site, and specifying or creating a port group on the virtual machine change according to the information of the backup network Corresponding relationship between the backup network and the port group on the virtual switch, and configuring
  • the first recovery unit 2402a is further configured to acquire, after the virtualization module creates the backup network, a correspondence between the backup network and a port group of the virtual switch from a virtualization module of the disaster recovery site. And recording a correspondence between the information of the backup network and the port group of the virtual switch.
  • the second recovery unit 2402b may be configured according to the identifier, the specification, and the second storage unit of the backup virtual machine in the second description information.
  • the information indicating that the virtualization module of the disaster recovery site creates the backup virtual machine includes: sending a virtual machine creation instruction to the virtualization module of the disaster recovery site, where the virtual machine creation instruction carries the backup virtual machine.
  • the identifier, the specification, and the information about the second storage unit indicate that the virtualization module of the disaster recovery site creates the backup virtual machine and the virtual network card of the backup virtual machine according to the foregoing information.
  • the third recovery unit 2402c may, after the first recovery unit 2402a creates the backup network and the second recovery unit 2402b creates the backup virtual machine, may indicate the virtualization module of the disaster recovery site, according to And the information about the home network of the backup virtual machine, the virtual network card of the backup virtual machine being associated with the virtual switch, specifically: the third recovery unit 2402c may be configured according to information about a home network of the backup virtual machine And obtaining an association relationship between the virtual network card of the backup virtual machine and the backup network, where the association between the virtual network card that obtains the backup virtual machine and the backup network may be directly from the home network of the backup virtual machine.
  • the third recovery unit 2402c may obtain the backup from the first recovery unit 2402a Corresponding relationship between the information of the network and the port group of the virtual switch, the correspondence between the information of the network and the port group of the virtual switch, and determining the correspondence between the virtual network card of the backup virtual machine and the port group of the virtual switch.
  • the third recovery unit 2402c instructs the virtualization module to use the virtual network card of the backup virtual machine and the virtual switch according to the correspondence between the virtual network card of the backup virtual machine and the port group of the virtual switch.
  • the backup network performs data transmission.
  • the device may further include:
  • the blocking unit 2403 is configured to: before the recovering unit 2402 restores the cloud application to be disaster-tolerant, the storage management software for the disaster-tolerant site or the storage management software of the production site Performing a configuration to prevent the disaster recovery site from copying the data of the first storage unit to the second storage unit, and after the disaster recovery is avoided, the second storage unit continues to acquire the first storage unit by copying.
  • the data coverage caused by the data ensures the reliable recovery of the cloud application to be disaster-tolerant.
  • the determining unit 2401 may obtain the second description information of the cloud application to be disaster-tolerant, and the second description information is applied to the cloud to be disaster-tolerant at the disaster recovery site as a whole.
  • the deployment unit is described.
  • the recovery unit 2402 may indicate the virtuality of the disaster recovery site according to the information of the backup network in the second description information.
  • the virtualization module creates the backup network, and instructs the virtualization module of the disaster recovery site to create the backup according to the identifier, the specification, and the information of the second storage unit in the second description information.
  • the virtual machine performs the backup virtual machine and the backup network according to the information about the home network of the backup virtual machine in the second description information.
  • the disaster recovery of the application level is implemented, and the disaster recovery of the virtual machine granularity may be prevented.
  • Quickly recover cloud application issues The disaster-tolerant system provided by the embodiment of the present invention is configured to configure the cloud to be disaster-tolerant in the production site to be configured in the disaster recovery site, and when the disaster occurs at the production site, the disaster recovery site is configured according to the disaster recovery site.
  • Recovering the cloud application to be disaster-tolerant as shown in FIG. 1( a ), the system includes a cloud management module 105 of the production site, a disaster recovery management module 120, and a cloud management module 115 of the disaster recovery site;
  • the cloud management module 105 of the site is used to record the first description of the cloud application to be disaster-tolerant.
  • the disaster management module 120 is configured to acquire the first description information from the cloud management module 105 of the production site, and generate second description information of the cloud application to be disaster-tolerant according to the first description information.
  • the second description information includes information about the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site, and information about the backup virtual machine used by the cloud application to be disaster-tolerant at the disaster recovery site;
  • the second description information is registered to the cloud management module 115 of the disaster recovery site;
  • the cloud management module 115 of the disaster recovery site is configured to receive the registration information, where the registration information carries the second description information, and recover the tolerated disaster recovery in the disaster recovery site according to the second description information. Cloud application.
  • the disaster management module 120 may obtain the first description information from the cloud management module 105 of the production site, where the first description information includes not only the cloud application to be disaster-tolerant in production.
  • the second description information of the cloud application to be disaster-tolerant in the disaster recovery site may be generated, and the second description information may also describe the deployment of the cloud application to be disaster-tolerant at the disaster recovery site as a whole;
  • the disaster recovery management module 120 may send the second description information to the The cloud management module 115 of the disaster recovery site, after the cloud management module 115 of the disaster recovery site obtains the second description information, may complete the standby in the disaster recovery site according to the second description information.
  • Disaster-tolerant cloud applications implement cloud-based disaster recovery. Different from the disaster recovery mode based on the virtual machine granularity in the prior art, the embodiment of the present invention implements the disaster-tolerant configuration and recovery at the application level, and avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • the disaster-tolerant system provided by the embodiment of the present invention is configured to configure the cloud to be disaster-tolerant in the production site to be configured in the disaster recovery site, and when the disaster occurs at the production site, the disaster recovery site is configured according to the disaster recovery site. Recovering the cloud application to be disaster-tolerant, as shown in Figure 1 (b), the system includes a cloud management module 105 of the production site and a cloud management module 115 of the disaster-tolerant site;
  • the cloud management module 105 of the production site is configured to obtain a first description letter of the cloud application to be disaster-tolerant
  • the first description information is used to generate the second description information of the cloud application to be disaster-tolerant, and the second description information includes information about the backup network used by the cloud application to be disaster-tolerant at the disaster recovery site, and the The information is registered to the cloud management module 115 of the disaster recovery site;
  • the cloud management module 115 of the disaster recovery site is configured to receive the registration information, where the registration information carries the second description information, and recover the tolerated disaster recovery in the disaster recovery site according to the second description information. Cloud application.
  • the cloud management module 105 of the production site may obtain the first description information, where the first description information includes not only the information used by the cloud application to be disaster-tolerant at the production site, The second description information of the cloud application to be disaster-tolerant is generated, and the second description information of the cloud application to be disaster-tolerant is also generated from the overall description. Description of the cloud application to be disaster-tolerant at the disaster recovery site; the production The cloud management module 105 of the site may send the second description information to the cloud management module 115 of the disaster recovery site. After the cloud management module 115 of the disaster recovery site obtains the second description information, The second description information is used to completely recover the cloud application to be tolerated in the disaster recovery site, and implement disaster recovery based on the cloud application.
  • the embodiment of the present invention implements the disaster-tolerant configuration and recovery at the application level, and avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • the disaster-tolerant system provided by the embodiment of the present invention is configured to configure the cloud to be disaster-tolerant in the production site to be configured in the disaster recovery site, and when the disaster occurs at the production site, the disaster recovery site is configured according to the disaster recovery site. Recovering the cloud application to be disaster-tolerant, as shown in Figure 1 (b), the system includes a cloud management module 105 of the production site and a cloud management module 115 of the disaster-tolerant site;
  • the cloud management module 105 of the production site is configured to obtain a first description letter of the cloud application to be disaster-tolerant
  • the first description information is sent to the cloud management module 115 of the disaster recovery site;
  • the cloud management module 115 of the disaster recovery site is configured to receive the first description information, and generate second description information of the cloud application to be disaster-tolerant according to the first description information, where the second description information includes The cloud to be disaster-tolerant is used to restore the cloud application to be tolerated in the disaster recovery site.
  • the cloud management module 115 of the disaster recovery site may obtain the first description information of the cloud application to be disaster-tolerant, and the first description information includes not only the cloud management module 105 of the production site.
  • the first description information that is described by the cloud application may be used to generate the second description information of the cloud application to be disaster-tolerant at the disaster recovery site, and the second description information may also be applied to the cloud to be disaster-tolerant as a whole.
  • Disaster recovery site The deployment is described. When the disaster occurs in the disaster recovery site, the cloud management module 115 of the disaster recovery site may completely recover the cloud to be disaster-tolerant in the disaster recovery site according to the second description information.
  • the application implements disaster recovery based on cloud applications.
  • the embodiment of the present invention implements the disaster-tolerant configuration and recovery at the application level, and avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • the disaster-tolerant system provided by the embodiment of the present invention is configured to configure the cloud to be disaster-tolerant in the production site to be configured in the disaster recovery site, and when the disaster occurs at the production site, the disaster recovery site is configured according to the disaster recovery site. The information is restored to the cloud application to be disaster-tolerant.
  • the system includes a cloud management module 105 of the production site, a disaster recovery management module 120 of the production site, and a cloud management module 115 of the disaster recovery site.
  • the cloud management module 105 of the production site is used to record the first description of the cloud application to be disaster-tolerant.
  • the disaster management module 120 of the production site is used for a cloud management module from the production site
  • the first description information of the cloud application to be disaster-tolerant is obtained, and the second description information of the cloud application to be disaster-tolerant is generated according to the first description information, where the second description information includes the to-be-disaster-tolerant
  • the disaster recovery management module 121 of the disaster recovery site is configured to receive the second description information sent by the disaster recovery management module 120 of the production site, and register the second description information to the cloud management of the disaster recovery site.
  • the cloud management module 115 of the disaster recovery site is configured to receive the registration information, where the registration information carries the second description information, and recover the tolerated disaster recovery in the disaster recovery site according to the second description information.
  • Cloud application may obtain the first description information from the cloud management module 105 of the production site, where the first description information includes not only the cloud application at the production site.
  • the second description information of the cloud application to be disaster-tolerant is generated, and the second description information of the cloud application to be disaster-tolerant is generated based on the information about the source network that is used to describe the disaster-tolerant cloud application.
  • the description information can also describe the deployment of the cloud application to be disaster-tolerant at the disaster recovery site as a whole; the disaster recovery management module 120 of the production site can send the second description information to the disaster recovery site.
  • the disaster management module 121, the disaster management module 121 of the disaster recovery site registers the second description information to the cloud management module 115 of the disaster recovery site, so that the cloud management module 115 of the disaster recovery site.
  • the cloud application to be disaster-tolerant is completely restored in the disaster-tolerant site according to the second description information, and the disaster-tolerance based on the cloud application is implemented.
  • the embodiment of the present invention implements the disaster-tolerant configuration and recovery at the application level, and avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • the disaster-tolerant system provided by the embodiment of the present invention is configured to configure the cloud to be disaster-tolerant in the production site to be configured in the disaster recovery site, and when the disaster occurs at the production site, the disaster recovery site is configured according to the disaster recovery site. The information is restored to the cloud application to be disaster-tolerant.
  • the system includes a cloud management module 105 of the production site, a disaster recovery management module 120 of the production site, and a cloud management module 115 of the disaster recovery site.
  • the cloud management module 105 of the production site is used to record the first description of the cloud application to be disaster-tolerant.
  • the disaster management module 120 of the production site is configured to acquire the first description information of the cloud application to be disaster-tolerant from the cloud management module 105 of the production site; and send the first description information to the disaster recovery site.
  • the disaster recovery management module 121 of the disaster recovery site is configured to receive the first description information sent by the disaster recovery management module 120 of the production site, and generate the cloud application to be disaster-tolerant according to the first description information.
  • the second description information includes: information about the backup virtual machine that is to be used by the cloud to be tolerated; and the second description information is registered to the cloud management module 115 of the disaster recovery site ;
  • the cloud management module 115 of the disaster recovery site is configured to receive the registration information, where the registration information carries the second description information, and recover the tolerated disaster recovery in the disaster recovery site according to the second description information. Cloud application.
  • the disaster recovery management module 121 of the disaster recovery site may obtain the first description information from the disaster recovery management module 120 of the production site, where the first description information includes not only the tolerated disaster recovery
  • the first description information may be used to generate the second description information of the cloud application to be disaster-tolerant at the disaster recovery site, and the second description information may also be used to deploy the disaster tolerant cloud application to the disaster recovery site as a whole.
  • the disaster management module 121 of the disaster recovery site may register the second description information to the cloud management module 115 of the disaster recovery site, so that the cloud management module 115 of the disaster recovery site may be configured according to the The second description information is used to completely recover the cloud application to be tolerated in the disaster recovery site, and implement disaster recovery based on the cloud application.
  • the embodiment of the present invention implements the disaster-tolerant configuration and recovery at the application level, and avoids the problem that the virtual machine granularity disaster recovery may not complete and quickly recover the cloud application.
  • FIG. 25 is a schematic structural diagram of a disaster tolerance device according to an embodiment of the present invention.
  • the disaster tolerance device provided by the embodiment of the present invention may include:
  • the processor 2501, the memory 2502, and the communication interface 2505 are connected through the system bus 2504 and complete each other. Letter.
  • Processor 2501 may be a single core or multi-core central processing unit, or a particular integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the memory 2502 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • Memory 2502 is used by computer to execute instructions 2503. Specifically, the program code may be included in the computer execution instruction 2503.
  • the processor 2501 runs the computer execution instruction 2503, and may perform the method flow described in any one of FIG. 2 to FIG. 5 or the method flow described in any one of FIG. 7 to FIG.
  • aspects of the present invention, or possible implementations of various aspects can be embodied as a system, method, or computer program product.
  • aspects of the invention, or possible implementations of various aspects may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, etc.), or a combination of software and hardware aspects, They are collectively referred to herein as "circuits," “modules,” or “systems.”
  • aspects of the invention, or possible implementations of various aspects may take the form of a computer program product, which is a computer readable program code stored in a computer readable medium.
  • the computer readable medium can be a computer readable signal medium or a computer readable storage medium.
  • the computer readable storage medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing, such as random access memory (RAM), read only memory (ROM), Erase programmable read-only memory (EPROM or flash memory), optical fiber, portable read-only memory (CD-ROM).
  • the processor in the computer reads the computer readable program code stored in the computer readable medium, such that the processor can perform the functional actions specified in each step or combination of steps in the flowchart; A device that functions as specified in each block, or combination of blocks.
  • the computer readable program code can be executed entirely on the user's computer, in part on the user's program Executed on a computer, as a separate software package, partly on the user's computer and partly on a remote computer, or entirely on a remote computer or server. It should also be noted that in some alternative implementations, the functions noted in the various steps of the flowcharts or in the blocks of the block diagrams may not occur in the order noted in the drawings. For example, two steps, or two blocks shown in succession may be executed substantially concurrently, or the blocks may sometimes be performed in the reverse order, depending upon the functionality involved.

Abstract

本发明实施例涉及一种容灾方法、系统和装置,能够获取待容灾的云应用的第一描述信息,该第一描述信息包括所述待容灾的云应用在生产站点所使用的源虚拟机的信息和源网络的信息,基于这种从整体上对待容灾的云应用进行描述的第一描述信息,可以生成所述待容灾的云应用在容灾站点的第二描述信息,该第二描述信息从整体上对所述待容灾的云应用在容灾站点的部署进行了描述,所述容灾站点能够获取所述第二描述信息,在所述容灾站点中恢复所述待容灾的云应用,实现了基于云应用的容灾。不同于现有技术基于虚拟机粒度的容灾方式,本发明实施例实现应用级别的容灾配置和恢复,避免了虚拟机粒度的容灾可能产生的不能完整、快速恢复云应用的问题。

Description

一种云应用的容灾方法、 系统和装置 技术领域
本发明实施例涉及一种计算机技术, 特别是一种云应用的容灾方法、 系 统和装置。
背景技术
当计算机系统遭受如火灾、水灾、地震、战争等不可抗拒的自然灾难时, 如果不采取有效措施, 可能造成整个计算机系统云应用的中断和数据的丟 失, 带来极大的损失。 容灾技术能够有效处理外界环境特别是灾难性事件对 计算机系统的影响,当灾难发生时,能够将生产站点的数据备份到容灾站点, 保证了用户数据的安全性, 保障了系统的高可用性。
虚拟化技术通过把多个操作系统整合到一台高性能服务器上, 最大化的 利用了硬件模块的所有资源, 能够用更少的投入实现更多的云应用, 不仅可 以筒化系统架构, 还可以降低管理资源的难度, 广泛应用于计算机系统中。 目前, 对运行在虚拟化计算机系统上的云应用进行容灾, 现有技术主要通过 以下方式:
管理员确定待容灾的云应用包含的虚拟机, 即由管理员指定待容灾的虚 拟机, 然后通过查询生产站点的虚拟化模块, 确定待容灾的虚拟机使用的存 储单元, 并为其在容灾站点中配置对应的存储单元, 使得容灾站点可以将待 容灾的虚拟机使用的存储单元中的数据复制到容灾站点中对应的存储单元 中。
当生产站点需要进行容灾恢复时, 在容灾站点中创建虚拟机, 并通过人 工操作对该创建的虚拟机进行相应的配置, 例如配置对应的网络, 使得待容 灾的虚拟机的存储和网络得以在容灾站点恢复, 完成生产站点的虚拟化容 灾。 拟机来进行容灾的备份和恢复的, 由于云应用部署在多个虚拟机上, 如果管 理员指定待容灾的虚拟机时遗漏了部分虚拟机, 将会使得部分虚拟机没有得 到恢复, 最终将使得该云应用无法完整恢复; 另外, 现有技术虚拟机的恢复 过程中, 需要通过人工逐个操作来配置每台虚拟机的网络, 导致多台虚拟机 的恢复过程较慢, 效率较低。
发明内容
本发明实施例提出了一种云应用的容灾方法、 系统和装置, 能够在容灾 站点的完整、 快速地恢复云应用。
第一方面, 本发明实施例提出了一种云应用的容灾方法, 该方法包括: 获取待容灾的云应用的第一描述信息,所述第一描述信息包括所述待容 灾的云应用在生产站点使用的源网络的信息以及所述待容灾的云应用在所 述生产站点使用的源虚拟机的信息;
根据所述第一描述信息, 生成所述待容灾的云应用的第二描述信息, 所 述第二描述信息包括所述待容灾的云应用在容灾站点使用的备份网络的信 向所述容灾站点提供所述第二描述信息, 以使得所述容灾站点根据所述 第二描述信息, 恢复所述待容灾的云应用。
结合第一方面, 在第一种可能的实现方式中, 所述待容灾的云应用在所 述生产站点使用的源虚拟机的信息包括: 所述源虚拟机的标识、 规格、 所述 源虚拟机在所述生产站点占用的第一存储单元的信息以及所述源虚拟机的 信息包括: 所述备份虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点 占用的第二存储单元的信息以及所述备份虚拟机的归属网络的信息。
结合第一方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述根据所述第一描述信息, 生成所述待容灾的云应用的第二描述信息, 包 括: 根据所述源虚拟机的标识和规格, 确定所述备份虚拟机的标识和规格; 根据所述第一存储单元的信息, 确定所述第二存储单元的信息; 根据所述源 网络的信息, 为所述待容灾的云应用配置所述备份网络的信息; 根据所述备 份网络的信息、 所述备份虚拟机的标识以及所述源虚拟机的归属网络的信 息, 确定所述备份虚拟机的归属网络的信息。
结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的 第二种可能的实现方式,在第三种可能的实现方式中,该方法用于容灾系统, 所述容灾系统包括生产站点的云管理模块、容灾站点的云管理模块和容灾管 理模块, 所述方法包括: 所述容灾管理模块从所述生产站点的云管理模块获 取待容灾的云应用的第一描述信息; 所述容灾管理模块根据所述第一描述信 息, 生成所述待容灾的云应用的第二描述信息; 所述容灾管理模块将所述第 二描述信息注册到所述容灾站点的云管理模块, 以使得所述容灾站点的云管 理模块根据所述第二描述信息, 恢复所述待容灾的云应用。
结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的 第二种可能的实现方式,在第四种可能的实现方式中,该方法用于容灾系统, 所述容灾系统包括生产站点的云管理模块和容灾站点的云管理模块, 所述方 法包括: 所述生产站点的云管理模块获取待容灾的云应用的第一描述信息; 所述生产站点的云管理模块根据所述第一描述信息, 生成所述待容灾的云应 用的第二描述信息; 所述生产站点的云管理模块将所述第二描述信息注册到 所述容灾站点的云管理模块, 以使得所述容灾站点的云管理模块根据所述第 二描述信息, 恢复所述待容灾的云应用。
结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的 第二种可能的实现方式,在第五种可能的实现方式中,该方法用于容灾系统, 所述容灾系统包括生产站点的云管理模块、 生产站点的容灾管理模块、 容灾 站点的容灾管理模块以及容灾站点的云管理模块, 所述方法包括: 所述生产 站点的容灾管理模块从所述生产站点的云管理模块获取待容灾的云应用的 第一描述信息; 所述生产站点的容灾管理模块根据所述第一描述信息, 生成 所述待容灾的云应用的第二描述信息; 所述生产站点的容灾管理模块将所述 第二描述信息发送到所述容灾站点的容灾管理模块, 以使得所述容灾站点的 容灾管理模块将所述第二描述信息注册到所述容灾站点的云管理模块, 恢复 所述待容灾的云应用。
第二方面, 本发明实施例提出了一种云应用的容灾方法, 该方法包括: 获取待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待容 灾的云应用在容灾站点使用的备份网络的信息以及所述待容灾的云应用在 所述容灾站点使用的备份虚拟机的信息;
将所述第二描述信息注册到所述容灾站点的云管理模块, 以使得所述容 灾站点的云管理模块根据所述第二描述信息, 恢复所述待容灾的云应用。
结合第二方面, 在第一种可能的实现方式中, 所述获取待容灾的云应用 的第二描述信息,包括:接收生产站点的容灾管理模块发送的第二描述信息; 或者, 获取待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待 容灾的云应用在生产站点使用的源网络的信息以及所述待容灾的云应用在 所述生产站点使用的源虚拟机的信息, 根据所述第一描述信息, 生成所述待 容灾的云应用的第二描述信息。
第三方面, 本发明实施例提出了一种云应用的容灾方法, 该方法包括: 获取待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待容 灾的云应用在容灾站点使用的备份网络的信息以及所述待容灾的云应用在 所述容灾站点使用的备份虚拟机的信息;
根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾的云应用。 结合第三方面, 在第一种可能的实现方式中, 所述待容灾的云应用在所 述容灾站点使用的备份虚拟机的信息包括: 所述备份虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点占用的第二存储单元的信息以及所述备份 虚拟机的归属网络的信息。
结合第三方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述备份虚拟机的归属网络的信息包括所述备份虚拟机的虚拟网卡与所述 备份网络的关联关系, 或者所述备份虚拟机的虚拟网卡的网络地址。
结合第三方面的第一种可能的实现方式或第二种可能的实现方式,在第 三种可能的实现方式中, 所述根据所述第二描述信息, 在所述容灾站点中恢 复所述待容灾的云应用, 包括: 根据所述备份网络的信息, 创建所述备份网 络; 根据所述备份虚拟机的标识、 规格以及所述第二存储单元的信息, 创建 所述备份虚拟机; 根据所述备份虚拟机的归属网络的信息, 将所述备份虚拟 机与所述备份网络进行关联。
第四方面, 本发明实施例提出了一种云应用的容灾装置, 该装置包括: 获取单元, 用于获取待容灾的云应用的第一描述信息, 所述第一描述信 息包括所述待容灾的云应用在生产站点使用的源网络的信息以及所述待容 灾的云应用在所述生产站点使用的源虚拟机的信息;
生成单元, 用于根据所述获取单元获取的所述第一描述信息, 生成所述 待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待容灾的云应 用在容灾站点使用的备份网络的信息以及所述待容灾的云应用在所述容灾 站点使用的备份虚拟机的信息; 信息, 以使得所述容灾站点根据所述第二描述信息, 恢复所述待容灾的云应 用。
结合第四方面, 在第一种可能的实现方式中, 所述待容灾的云应用在所 述生产站点使用的源虚拟机的信息包括: 所述源虚拟机的标识、 规格、 所述 源虚拟机在所述生产站点占用的第一存储单元的信息以及所述源虚拟机的 信息包括: 所述备份虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点 占用的第二存储单元的信息以及所述备份虚拟机的归属网络的信息。
结合第四方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述生成单元具体用于: 根据所述源虚拟机的标识和规格, 确定所述备份虚 拟机的标识和规格; 根据所述第一存储单元的信息, 确定所述第二存储单元 的信息; 根据所述源网络的信息, 为所述待容灾的云应用配置所述备份网络 的信息; 根据所述备份网络的信息、 所述备份虚拟机的标识以及所述源虚拟 机的归属网络的信息, 确定所述备份虚拟机的归属网络的信息。
结合第四方面或者第四方面的第一种可能的实现方式或者第四方面的 第二种可能的实现方式, 在第三种可能的实现方式中, 该装置用于包含生产 站点的云管理模块、 容灾管理模块和容灾站点的云管理模块的系统; 所述装 置为所述容灾管理模块; 所述获取单元, 具体用于从所述生产站点的云管理 模块获取待容灾的云应用的第一描述信息; 所述提交单元, 具体用于将所述 第二描述信息注册到所述容灾站点的云管理模块, 以使得所述容灾站点的云 管理模块根据所述第二描述信息, 恢复所述待容灾的云应用。
结合第四方面或者第四方面的第一种可能的实现方式或者第四方面的 第二种可能的实现方式, 在第四种可能的实现方式中, 该装置用于包含生产 站点的云管理模块和容灾站点的云管理模块的系统; 所述装置为所述生产站 点的云管理模块; 所述获取单元, 具体用于获取自身记录的待容灾的云应用 的第一描述信息; 所述提交单元, 具体用于将所述确定单元生成的所述第二 描述信息注册到所述容灾站点的云管理模块, 以使得所述容灾站点的云管理 模块根据所述第二描述信息, 恢复所述待容灾的云应用。
结合第四方面或者第四方面的第一种可能的实现方式或者第四方面的 第二种可能的实现方式, 在第五种可能的实现方式中, 该装置用于包含生产 站点的云管理模块、生产站点的容灾管理模块以及容灾站点的容灾管理模块 的系统; 所述装置为所述生产站点的容灾管理模块; 所述获取单元, 具体用 于从所述生产站点的云管理模块获取待容灾的云应用的第一描述信息; 所述 提交单元, 具体用于将所述确定单元生成的所述第二描述信息发送到容灾站 点的容灾管理模块, 以使得所述容灾站点的容灾管理模块将所述第二描述信 息注册到所述容灾站点的云管理模块, 恢复所述待容灾的云应用。 第五方面, 本发明实施例提出了一种云应用的容灾装置, 该装置包括: 获取单元, 用于获取待容灾的云应用的第二描述信息, 所述第二描述信 息包括所述待容灾的云应用在容灾站点使用的备份网络的信息以及所述待 注册单元, 用于将所述获取单元获取的所述第二描述信息注册到所述容 灾站点的云管理模块, 以使得所述容灾站点的云管理模块根据所述第二描述 信息, 恢复所述待容灾的云应用。
结合第五方面, 在第一种可能的实现方式中, 所述获取单元具体用于接 收生产站点的容灾管理模块发送的第二描述信息, 或者, 具体用于获取待容 灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在 用的源虚拟机的信息, 根据所述第一描述信息, 生成所述待容灾的云应用的 第二描述信息。
第六方面, 本发明实施例提出了一种云应用的容灾装置, 该装置包括: 获取单元, 用于获取待容灾的云应用的第二描述信息, 所述第二描述信 息包括所述待容灾的云应用在容灾站点使用的备份网络的信息以及所述待 恢复单元, 用于根据所述确定单元获取的所述第二描述信息, 在所述容 灾站点中恢复所述待容灾的云应用。
结合第六方面, 在第一种可能的实现方式中, 所述待容灾的云应用在所 述容灾站点使用的备份虚拟机的信息包括: 所述备份虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点占用的第二存储单元的信息以及所述备份 虚拟机的归属网络的信息。
结合第六方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述备份虚拟机的归属网络的信息包括所述备份虚拟机的虚拟网卡与所述 备份网络的关联关系, 或者所述备份虚拟机的虚拟网卡的网络地址。 结合第六方面的第一种可能的实现方式或者第二种可能的实现方式,在 第三种可能的实现方式中, 所述恢复单元包括: 第一恢复单元, 用于根据所 述备份网络的信息, 创建所述备份网络; 第二恢复单元, 用于根据所述备份 虚拟机的标识、 规格以及所述第二存储单元的信息, 创建所述备份虚拟机; 第三恢复单元, 用于根据所述备份虚拟机的归属网络的信息, 将所述备份虚 拟机与所述备份网络进行关联。
第七方面, 本发明实施例提出了一种容灾系统, 该系统包括生产站点的 云管理模块、 容灾管理模块和容灾站点的云管理模块;
所述生产站点的云管理模块用于记录待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 所述容灾管理模块用于从所述生产站点的云管理模块获取所述第一描 述信息;根据所述第一描述信息,生成所述待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待容灾的云应用在容灾站点使用的备份网络的 所述第二描述信息注册到所述容灾站点的云管理模块;
所述容灾站点的云管理模块用于接收注册信息, 所述注册信息携带所述 第二描述信息; 根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾 的云应用。
第八方面, 本发明实施例提出了一种容灾系统, 该系统包括生产站点的 云管理模块和容灾站点的云管理模块;
所述生产站点的云管理模块用于获取待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 述第一描述信息, 生成所述待容灾的云应用的第二描述信息, 所述第二描述 信息包括所述待容灾的云应用在容灾站点使用的备份网络的信息以及所述 待容灾的云应用在所述容灾站点使用的备份虚拟机的信息; 将所述第二描述 信息注册到所述容灾站点的云管理模块;
所述容灾站点的云管理模块用于接收注册信息,所述注册信息携带所述 第二描述信息; 根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾 的云应用。
第九方面, 本发明实施例提出了一种容灾系统, 该系统包括生产站点的 云管理模块和容灾站点的云管理模块;
所述生产站点的云管理模块用于获取待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 第一描述信息发送给所述容灾站点的云管理模块;
所述容灾站点的云管理模块用于接收所述第一描述信息,根据所述第一 描述信息, 生成所述待容灾的云应用的第二描述信息, 所述第二描述信息包 括所述待容灾的云应用在容灾站点使用的备份网络的信息以及所述待容灾 的云应用在所述容灾站点使用的备份虚拟机的信息; 根据所述第二描述信 息, 在所述容灾站点中恢复所述待容灾的云应用。
第十方面, 本发明实施例提出了一种容灾系统, 该系统包括生产站点的 云管理模块、 生产站点的容灾管理模块、 容灾站点的云管理模块和容灾站点 的容灾管理模块;
所述生产站点的云管理模块用于记录待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 所述生产站点的容灾管理模块用于从所述生产站点的云管理模块获取 待容灾的云应用的第一描述信息; 根据所述第一描述信息, 生成所述待容灾 的云应用的第二描述信息, 所述第二描述信息包括所述待容灾的云应用在容 灾站点使用的备份网络的信, 用的备份虚拟机的信息; 将所述第二描述信息发送到所述容灾站点的容灾管 理模块;
所述容灾站点的容灾管理模块用于接收所述生产站点的容灾管理模块 发送的所述第二描述信息,将所述第二描述信息注册到所述容灾站点的云管 理模块;
所述容灾站点的云管理模块用于接收注册信息, 所述注册信息携带所述 第二描述信息; 根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾 的云应用。
第十一方面, 本发明实施例提出了一种容灾系统, 该系统包括生产站点 的云管理模块、 生产站点的容灾管理模块、 容灾站点的云管理模块和容灾站 点的容灾管理模块;
所述生产站点的云管理模块用于记录待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 所述生产站点的容灾管理模块用于从所述生产站点的云管理模块获取 待容灾的云应用的第一描述信息; 将所述第一描述信息发送到所述容灾站点 的容灾管理模块;
所述容灾站点的容灾管理模块用于接收所述生产站点的容灾管理模块 发送的所述第一描述信息; 根据所述第一描述信息, 生成所述待容灾的云应 用的第二描述信息, 所述第二描述信息包括所述待容灾的云应用在容灾站点 使用的备份网络的信息以及所述待容灾的云应用在所述容灾站点使用的备 份虚拟机的信息; 将所述第二描述信息注册到所述容灾站点的云管理模块; 所述容灾站点的云管理模块用于接收注册信息, 所述注册信息携带所述 第二描述信息; 根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾 的云应用。
在本发明实施例中, 可以获取待容灾的云应用的第二描述信息, 该第二 描述信息从整体上对所述待容灾的云应用在容灾站点的部署进行了描述,将 获取到的所述第二描述信息提供给容灾站点的云管理模块,使得所述容灾站 点的云管理模块可以根据所述第二描述信息, 在所述容灾站点中完整、 快速 地恢复所述待容灾的云应用, 实现了基于云应用的容灾, 不同于现有技术基 于虚拟机粒度的容灾方式, 本发明实施例实现应用级别的容灾配置和恢复, 避免了虚拟机粒度的容灾可能产生的不能完整、 快速恢复云应用的问题。 附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对现有技术或实施 例中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳 动的前提下, 还可以根据这些附图获得其他的附图。
图 1 ( a )、 (b )和(c ) 为本发明实施例提供的系统框图;
图 2为本发明实施例提供的容灾方法流程图;
图 3为本发明实施例提供的又一种容灾方法流程图;
图 4为本发明实施例提供的又一种容灾方法流程图;
图 5为本发明实施例提供的又一种容灾方法流程图;
图 6为本发明实施例提供的云应用 APP1的第一描述信息的拓朴图; 图 7为本发明实施例提供的又一种容灾方法流程图;
图 8为本发明实施例提供的又一种容灾方法流程图;
图 9为本发明实施例提供的又一种容灾方法流程图;
图 10为本发明实施例提供的又一种容灾方法流程图;
图 11为本发明实施例提供的又一种容灾方法流程图;
图 12为本发明实施例提供的又一种容灾方法流程图;
图 13为本发明实施例提供的又一种容灾方法流程图;
图 14为本发明实施例提供的又一种容灾方法流程图; 图 15为本发明实施例提供的又一种容灾方法流程图;
图 16为本发明实施例提供的又一种容灾方法流程图;
图 17为本发明实施例提供的容灾装置的组成图;
图 18为本发明实施例提供的又一种容灾装置的组成图;
图 19为本发明实施例提供的又一种容灾装置的组成图;
图 20为本发明实施例提供的系统的组成图;
图 21为本发明实施例提供的又一种系统的组成图;
图 22为本发明实施例提供的又一种系统的组成图;
图 23为本发明实施例提供的又一种系统的组成图;
图 24为本发明实施例提供的又一种容灾装置的组成图;
图 25为本发明实施例提供的又一种容灾装置的结构组成示意图。 具体实施方式
本发明实施例提出了一种云应用的容灾方法、 系统和装置, 能够实现云 应用在容灾站点的完整、 快速地恢复。
一种容灾方法
如图 1 (a)、 (b )和(c)所示, 为本发明实施例提供的系统框图, 该系 统包括生产站点 (100)和容灾站点 (110), 所述生产站点 (100)至少为一 个云应用提供服务, 所述容灾站点 (110)用于恢复生产站点中待容灾的云 应用。 所述生产站点 (100)和容灾站点 (110)是一个相对的概念, 生产站 点(100)表明云应用在恢复之前所在的站点, 容灾站点 (110)表明云应用 恢复之后所在的站点, 两者可以是根据区域位置进行区分, 例如北京站点, 西安站点, 也可以是根据其他准则进行区分。
所述生产站点(100)和容灾站点 (110) 中都可以分别包括至少一个数 据中心, 例如图 1 (a)、 (b )和(c) 中, 所述生产站点 (100) 包括数据中 心 ( 101 ), 所述容灾站点 (110) 包括数据中心 (111 ), 所述数据中心可以 包括物理服务器, 所述物理服务器可以用于为生产站点或者容灾站点提供计 算、 存储和网络资源, 其中用于提供计算和网络资源的物理服务器可以称之 为计算节点, 用于提供存储资源的物理服务器可以称之为存储节点, 例如图
1所示的存储节点 (102 )和存储节点 (112 ), 以及计算节点 (103 )和计算 节点 113, 图 1以所述生产站点 (100 )和所述容灾站点 (110 )都分别以包 括一个数据中心为例示出,每个数据数据中心包括一个计算节点和一个存储 节点示出, 在其它的实施例中, 所述生产站点和容灾站点还可以分别包括多 个数据中心, 每个数据中心可以包括多个计算节点和多个存储节点。
所述数据中心(101、 111 )还可以包括虚拟化模块(104、 114 )和云管 理模块(105、 115 ), 所述虚拟化模块 (104、 114 )用于将所述物理服务器 上的计算(包括处理器和内存)、 存储和网络资源抽象成多个虚拟机中, 每 个虚拟机实际上都具有处理器、 内存、 网络连接和存储, 可以运行各自的操 作系统和应用程序,所述云管理模块( 105、 115 )可以对所述虚拟化模块( 104、 114 )或各虚拟机进行管理, 例如指示所述虚拟化模块( 104、 114 )创建虚 拟机。
所述数据中心 (101、 111 ) 的存储节点 (102、 112 )可以独立设置, 例 如采用共享存储设备, 所述存储节点 (102、 112 ) 包括多个存储单元, 用于 为每个虚拟机提供存储资源, 可以为生产站点 /容灾站点提供共享分区访问 (读、 写)能力, 使得不同计算节点上的虚拟机可以同时访问同一个存储设 备的同一个分区。 所述存储节点 (102、 112 )上包含存储管理软件 (106、 116 ), 可以对所述存储节点 ( 102、 112 )上的存储单元进行管理, 其中, 所 述共享存储设备可以是网络连接式存储( Network Attached Storage, NAS ) 设备, 还可以是存储网络(Storage Area Network, SAN )设备, 例如, 所述 存储节点(102、 112 )可以是 SAN设备, 所述 SAN设备的存储单元具体可 以是逻辑单元( Logical Unit Number, LUN ) , 所述 LUN是以存储阵列形式 显示的逻辑磁盘, 每台虚拟机的文件系统创建在所述 SAN设备的一个或多 个 LUN上, 所述 SAN设备的存储管理软件可以控制对所述 LUN的读写, 可以对所述 LUN的信息进行管理。
本发明实施例为了实现云应用的完整容灾恢复, 在创建云应用的时候, 可以直接采用云应用模板来创建所述云应用, 云管理模块(105、 115 )可以 接收所述云应用模板, 根据所述云应用模板来指示虚拟化模块(104、 114 ) 创建所述云应用使用的虚拟机和网络, 由于云应用模板能够完整地描述云应 用所需要的虚拟机和网络等信息, 可以使得虚拟化模块(104、 114 )在为所 述云应用部署虚拟机的时候, 能够从整体上进行部署考虑, 加快部署虚拟机 的效率。 当然, 在创建虚拟机的时候也可以不使用云应用模板, 而是使用现 有技术中的虚拟机模板, 云管理模块(105、 115 )仍然提供虚拟机模板来进 行虚拟机的创建。
当所述云应用所使用的虚拟机和网络由所述虚拟化模块 ( 104、 114 )创 建完成之后, 所述云管理模块(105、 115 )或者虚拟化模块( 104、 114 )可 以才艮据所部署的虚拟机和所述虚拟机的网络生成云应用的描述信息, 所述云 应用的描述信息包括运行所述云应用的实例的描述信息, 例如运行所述云应 用的虚拟机的信息, 以及所述云应用使用的网络信息等, 所述云应用的描述 信息具体将在后续实施例中详细介绍。 可以明确的是, 所述云应用的描述信 息既可以包括云应用的静态描述信息, 也可以包括云应用的动态描述信息。 在虚拟化模块(104、 114 )进行虚拟机部署之前, 云管理模块(105、 115 ) 接收到的云应用模板或虚拟机模板中所携带的信息可以称为云应用的静态 描述信息, 例如虚拟机的数量或规格, 等等; 在虚拟化模块(104、 114 )进 行虚拟机部署之后,虚拟机所部署的物理资源的所在位置或所归属的网络的 都已经配置完成, 这些信息可以称为云应用的动态描述信息。 在虚拟化模块 ( 104、 114 )进行虚拟机部署之后, 云管理模块(105、 115 )可以搜集所述 云应用的动态描述信息和静态描述信息, 并生成所述云应用的描述信息, 如 果所述云管理模块( 105、 115 )之前已经通过云应用模板获取到了所述云应 用的静态描述信息, 此时可以只获取云应用的动态描述信息。 所述云应用的 描述信息在云管理模块(105、 115 ) 中还可以通过模板的形式进行记录, 所 述云管理模块(105、 115 )可以通过新的模板记录所述云应用的描述信息, 也可以通过更新云应用模板的方式来保存完整的云应用描述信息。
此外, 在本发明实施例中, 为了实现基于云应用的容灾, 可以在所述云 管理模块(105、 115 )上增加云管理接口 (107、 117 ), 即所述云管理模块 ( 105、 115 )支持对生产站点中当前运行的云应用的云应用的描述信息的查 询, 并根据查询得到的所述云应用的描述信息进行云应用的容灾操作。 为了 描述方便, 本发明实施例中, 将运行在所述生产站点的云应用的描述信息称 为云应用的第一描述信息,将所述云应用在所述容灾站点的描述信息称为云 应用的第二描述信息。
在本发明实施例中, 系统组成可以如图 1 ( a )所示, 除了包括生产站点 与容灾站点之外,还可以包括容灾管理模块( 120 ),所述容灾管理模块( 120 ) 与生产站点的云管理模块( 105 )和容灾站点的云管理模块 ( 115 )分别连接, 所述容灾管理模块( 120 )可以通过云管理模块 ( 105 )上的云管理接口( 107 ) 查询生产站点中当前运行的云应用的第一描述信息, 所述容灾管理模块 ( 120 )可以通过云管理接口 (117 )将确定的云应用的第二描述信息注册到 所述云管理模块( 115 )。所述容灾管理模块( 120 )还可以与虚拟化模块( 104、 114 )连接, 使得所述容灾管理模块(120 )还可以通过虚拟化模块(104、 114 ) 查询云应用在生产站点或者容灾站点使用的源虚拟机的信息, 所述容 灾管理模块还可以与存储管理软件(106、 116 )连接。
进一步,在本发明实施例中,所述系统中的生产站点 100和容灾站点 110 还可以通过云管理模块进行通信连接, 如图 1 ( b )所示, 使得所述容灾站点 可以查询所述生产站点的云应用的描述信息, 即第一描述信息, 并才艮据查询 得到的所述云应用的第一描述信息进行云应用的容灾操作。 在图 1 (a)所示的系统构架中, 所述生产站点 (100)和所述容灾站点 ( 110)可以共用一个容灾管理模块, 还可以为所述生产站点和所述容灾站 点分别设置一个容灾管理模块, 如图 1 (c)所示, 所述系统中包括生产站点 的容灾管理模块(120)和容灾站点的容灾管理模块(121 ), 所述生产站点 的容灾管理模块 ( 120 )与所述生产站点 ( 100 ) 的云管理模块 ( 105 )连接, 所述容灾站点的容灾管理模块 121与所述容灾站点( 110 )的云管理模块( 115 ) 连接, 所述生产站点的容灾管理模块(120) 与所述容灾站点的容灾管理模 块( 121 )之间可以进行数据传输。 所述生产站点的容灾管理模块( 120)可 以从所述生产站点(100)的云管理模块 ( 105)获取所述生产站点的云应用 的第一描述信息, 并将所述第一描述信息发送到所述容灾站点的容灾管理模 块(121 ), 所述容灾站点的容灾管理模块(121 ) 可以接收所述生产站点的 容灾管理模块(120)发送的第一描述信息, 并根据所述第一描述信息生成 第二描述信息, 将所述第二描述信息注册到所述容灾站点的云管理模块 (115), 具体流程如后续实施例描述。
此外, 在图 1 (a)和图 1 (c)所示的系统构架中, 所述容灾站点(110) 的云管理模块(115)还可以与所述生产站点 (100) 的云管理模块(105) 连接, 使得云管理模块 ( 115 )可以从云管理模块 ( 105 )获取所述生产站点 的第一描述信息, 图 1 (a)和图 1 (c)所示的虚线连接表示此连接关系为 可选。 结合图 1 (a)或(b )或(c)所示的系统构架, 本发明实施例中的容灾 置, 当所述生产站点发生容灾事故时, 用以在容灾站点根据配置信息恢复所 述待容灾的云应用, 所述方法可以包括:
201: 获取待容灾的云应用的第一描述信息, 所述第一描述信息包括所 述待容灾的云应用在生产站点使用的源网络的信息以及所述待容灾的云应 用在所述生产站点使用的源虚拟机的信息。
202: 根据所述第一描述信息, 生成所述待容灾的云应用的第二描述信
203: 向所述容灾站点提供所述第二描述信息, 以使得所述容灾站点根 据所述第二描述信息, 恢复所述待容灾的云应用。
在本发明实施例中,步骤 201的执行主体可能根据系统组成不同而不同, 例如, 在图 1 ( b )中, 可能是所示的生产站点的云管理模块或者容灾站点的 云管理模块, 在图 1 ( a ) 中, 可能是所示的容灾管理模块, 在图 1 ( c ) 中, 可能是所示的生产站点的容灾管理模块或者是容灾站点的的容灾管理模块, 该第一描述信息不仅包括所述待容灾的云应用在生产站点所使用的源虚拟 机的信息, 还包括所述待容灾的云应用在生产站点使用的源网络的信息, 基 于这种从整体上对待容灾的云应用进行描述的第一描述信息, 可以生成所述 待容灾的云应用在容灾站点的第二描述信息, 该第二描述信息同样能够从整 体上对所述待容灾的云应用在容灾站点的部署进行描述; 在步骤 203中, 所 述向所述容灾站点提供所述第二描述信息, 基于不同的执行主体, 该动作的 执行会有所不同, 后续实施例将会详细介绍。 当容灾站点获取到该第二描述 信息之后, 就可以根据所述第二描述信息, 在所述容灾站点中完整恢复所述 待容灾的云应用, 实现了基于云应用的容灾。 不同于现有技术基于虚拟机粒 度的容灾方式, 本发明实施例实现应用级别的容灾配置, 避免了虚拟机粒度 的容灾可能产生的不能完整、 快速恢复云应用的问题。 结合图 1 ( c )所示的系统构架,本发明实施例中的容灾方法如图 3所示, 点发生容灾事故时, 用以在容灾站点根据配置信息恢复所述待容灾的云应 用, 所述方法可以由容灾站点的容灾管理模块执行, 所述方法可以包括: 301 : 获取待容灾的云应用的第二描述信息, 所述第二描述信息包括所 述待容灾的云应用在容灾站点使用的备份网络的信息以及所述待容灾的云 应用在所述容灾站点使用的备份虚拟机的信息。
302: 将所述第二描述信息注册到所述容灾站点的云管理模块, 以使得 所述容灾站点的云管理模块根据所述第二描述信息,在所述容灾站点中恢复 所述待容灾的云应用。
在本发明实施例中,所述容灾站点的容灾管理模块可以从所述生产站点 的容灾管理模块获取所述待容灾的云应用的第二描述信息, 该第二描述信息 从整体上对所述待容灾的云应用在容灾站点的部署进行了描述, 所述容灾站 点的容灾管理模块可以将获取到的所述第二描述信息注册到所述容灾站点 的云管理模块, 使得所述容灾站点的云管理模块可以根据所述第二描述信 息, 在所述容灾站点中完整的恢复所述待容灾的云应用, 实现了基于云应用 的容灾, 不同于现有技术基于虚拟机粒度的容灾方式, 本发明实施例实现应 用级别的容灾配置, 避免了虚拟机粒度的容灾可能产生的不能完整、 快速恢 复云应用的问题。 结合图 1 ( a )或(b )或(c )所示的系统构架, 本发明实施例中的容灾 复, 所述方法可以由容灾站点的云管理模块来执行, 所述方法包括:
401 : 获取待容灾的云应用的第二描述信息, 所述第二描述信息包括所 述待容灾的云应用在容灾站点使用的备份网络的信息以及所述待容灾的云 应用在所述容灾站点使用的备份虚拟机的信息。
402: 根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾的云 应用。
在本发明实施例中, 所述容灾站点的云管理模块可以从图 1 ( b )所示的 生产站点的云管理模块或者图 1 ( a )所示的容灾管理模块或者图 1 ( c )所 示的生产站点的容灾管理模块, 获取所述待容灾的云应用的第二描述信息, 该第二描述信息从整体上对所述待容灾的云应用在容灾站点的部署进行了 描述, 所述容灾站点的云管理模块获取到该第二描述信息之后, 可以根据所 述第二描述信息,在所述容灾站点中完整、快速地恢复所述待容灾的云应用, 实现了基于云应用的容灾, 不同于现有技术基于虚拟机粒度的容灾方式, 本 发明实施例实现应用级别的容灾配置和恢复,避免了虚拟机粒度的容灾可能 产生的不能完整、 快速地恢复云应用的问题。 具体实施例一之配置¾½ 结合图 1 ( a )所示的系统构架, 本发明实施例提供的容灾方法如图 5 所示, 用于将生产站点中的待容灾的云应用在容灾站点中进行配置, 当所述 生产站点发生容灾事故时, 用以在容灾站点根据配置信息恢复所述待容灾的 云应用, 所述方法可以由容灾管理模块执行, 所述方法可以包括:
501 : 从生产站点的云管理模块获取待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 所述源虚拟机的信息包括所述源虚拟机的标识、 规格、 所述源虚拟机在 所述生产站点占用的第一存储单元的信息以及所述源虚拟机的归属网络的 信息。
进一步,所述备份虚拟机的归属网络的信息可以包括所述源虚拟机的归 与所述源网络的关联关系。
例如, 图 1 ( a )所示的系统构架中,所述生产站点中运行了 3个云应用, 分别是: APP1 , APP2和 APP3 , 生产站点的云管理模块中可以保存有每个 云应用的拓朴关系, 所述云应用的拓朴关系可以采用云应用的第一描述信息 来表述, 例如云应用 APP1的第一描述信息如图 6所示。 当确定 APPl为待容灾的云应用时, 所述生产站点的云管理模块或者所 述容灾管理模块可以获取 APP1的第一描述信息, 所述 APP1的第一描述信 息可以如表 1所示, 包括:
表 1
Figure imgf000022_0001
1 ) APPl在生产站点使用的源网络的信息
( Virtual Local Area Network, VLAN ) 的信息, 也可以是两者。 例如: APP1使用了 Networkl和 Network2;
Networkl ( Subnet地址: 10.100.35.0/24 , VLAN ID=35 ); Network2 ( Subnet地址: 10.100.36.0/24 , VLAN ID=36 )。 2 ) APP1在生产站点使用的源虚拟机的标识和规格
所述源虚拟机的标识由所述生产站点分配, 可以是通用唯一识别码 (Universally Unique Identifier , uuid) ,所述源虚拟机的规格包括处理器和内存 的信息, 例如, 所述生产站点使用了源虚拟机 VM1、 VM2和 VM3来运行 云应用 APP1 , 则所述 APP1在生产站点使用的源虚拟机的标识和规格为: VM1 ( uuid=l , 2VCPU, 60G内存);
VM2 ( uuid=2, 2VCPU, 60G内存);
VM3 ( uuid=3 , 2VCPU, 40G内存);
3 ) APP1使用的源虚拟机在生产站点占用的第一存储单元的信息 所述源虚拟机在生产站点占用的第一存储单元的信息可以为单个虚拟 机的存储单元的信息, 例如, 所述 APP1使用的源虚拟机占用的第一存储单 元的信息为: VM1->LUN1和 LUN2; VM2->LUN1 ; VM3-> LUN2和 LUN3; 也可以为所述待容灾的云应用在生产站点使用的第一存储单元的整体的信 息,例如,所述 APP1使用的源虚拟机占用的第一存储单元的信息为: LUN1、 LUN2、 LUN3,此时所述源虚拟机在生产站点占用的第一存储单元的信息可能 不包括所述源虚拟机和所述源虚拟机占用的存储单元的关联关系, 由于所述 容灾站点的云管理模块可以由所述源虚拟机的标识,确定所述源虚拟机使用 了哪个 LUN上的哪些磁盘文件, 即确定所述待容灾的云应用在所述生产站 点使用的所述源虚拟机和所述源虚拟机占用的存储单元的关联关系。
4 ) APP1在生产站点使用的源虚拟机的网络地址
所述待容灾的云应用在所述生产站点使用的源虚拟机的网络地址具体 可以是所述源虚拟机的虚拟网卡的 IP地址,例如,所述 APP1使用的源虚拟 机的网络地址为:
VMl-VNICl-> IP地址: 10.100.35.10/24;
VM2-VNIC2-> IP地址: 10.100.35.11/24; VM3-VNIC3-> IP地址: 10.100.35.12/24;
VM3- VNIC3'-> IP地址: 10.100.36.12/24。
为: VMl-VNICl->连接 Networkl; VM2-VNIC2->连接 Network2; VM3-VNIC3->连接 Networkl; VM3-VNIC3'->连接 Network2„
上述 4 )和 5 )为可选的两个因素, 所述 APP1的源虚拟机的归属网络 的信息可以包括上述 4 )或者可以包括上述 5 ) 中的任一项, 也可以包括上 述 4 )和 5 )。
具体地,上述步骤 501中所述从生产站点的云管理模块获取所述待容灾 的云应用的第一描述信息可以有两种方法, 分别是:
1 )第一种方法
所述容灾管理模块通过与所述生产站点的云管理模块的接口,从所述生 产站点的云管理模块查询所述待容灾的云应用的第一描述信息, 其中, 所述 生产站点的云管理模块可以在部署所述云应用的虚拟机之后,搜集所述云应 用的运行实例的静态描述信息和动态描述信息生成所述第一描述信息。
2 )第二种方法
所述容灾管理模块通过与所述生产站点的云管理模块的接口,从所述生 产站点的云管理模块查询所述待容灾的云应用在所述生产站点使用的源虚 拟机的标识和规格、所述源虚拟机在所述生产站点占用的第一存储单元的信 息以及所述源虚拟机的网络地址, 生成所述第一描述信息。
具体地, 所述生成所述第一描述信息包括: 根据所述源虚拟机的网络地 址, 确定所述待容灾的云应用在生产站点使用的源网络的信息; 确定所述源 虚拟机的归属网络的信息; 根据所述源网络的信息、 所述源虚拟机的标识和 规格、所述源虚拟机在所述生产站点占用的第一存储单元的信息以及所述源 虚拟机的归属网络的信息, 得到所述第一描述信息, 例如, 源虚拟机 VM1 的虚拟网卡的 IP地址为: 10.100.35.10/24; 则可以得到所述 IP地址的掩码为 255.255.255.0, 将该 IP地址与所述掩码逻辑相与得到 APP1在生产站点使用 的 Subnet地址为 10.100.35. 0/24;同理,由 VM2的虚拟网卡的 IP地址和 VM3 的虚拟网卡的 IP地址,得到 APP1在生产站点使用的 Subnet地址为 10.100.35. 0/24和 10.100.36. 0/24, 因此, 可以得到 APP1在生产站点使用的源网络的 信息为: Networkl ( Subnet地址: 10.100.35. 0/24 )和 Network2 ( Subnet地 使用的源网络的信息、 所述源虚拟机的标识和规格、 所述源虚拟机在所述生 产站点占用的第一存储单元的信息以及所述源虚拟机的网络地址源虚拟机 的信息, 生成所述 APP1的第一描述信息如表 1所示。
进一步,如果所述源虚拟机的归属网络的信息包括所述源虚拟机的虚拟 网卡与所述源网络的关联关系, 则所述源虚拟机的虚拟网卡与所述源网络的 关联关系可以由所述源网络的信息以及所述源虚拟机的网络地址确定, 例如 所述 APP1的源网络的信息为: Networkl ( Subnet地址: 10.100.35.0/24, VLAN ID=35 ), Network2 ( Subnet地址: 10.100.36.0/24, VLAN ID=36 ), 根据所 述 APP1使用的源虚拟机的网络地址 VM1-VNIC1->IP地址: 10.100.35.10/24, 可以确定所述 VM1的虚拟网卡的 IP地址属于网段 10.100.35.0/24,则可以进 一步确定 VM1-VNIC1 与 Networkl 关联, 同理可以确定 VM2-VNIC2 与 Networkl关联, VM3-VNIC3与 Networkl , VM3-VNIC3'与 Network2关联, 即得到了 APP1的源虚拟机的虚拟网卡与所述源网络的关系。
502: 根据所述源虚拟机的信息, 确定所述待容灾的云应用在所述容灾 站点使用的备份虚拟机的标识和规格。
所述容灾管理模块, 在获取所述第一描述信息之后, 可以根据所述源虚 拟机的信息携带的所述源虚拟机的标识和规格,确定所述待容灾的云应用在 所述容灾站点使用的备份虚拟机的标识和规格, 具体地, 由于在容灾站点恢 复所述待容灾的云应用时, 需要为所述待容灾的云应用在生产站点使用的源 虚拟机对应创建备份虚拟机, 所述待容灾的云应用在容灾站点使用的备份虚 拟机的规格与所述源虚拟机的规格相同, 因此, 可以根据所述源虚拟机的标 识, 为所述备份虚拟机配置虚拟机的标识, 并根据所述源虚拟机的规格, 确 定所述备份虚拟机的规格, 所述备份虚拟机的标识可以与所述源虚拟机的标 识相同, 也可以不同。
例如, 所述 APP1使用的 3台源虚拟机的标识和规格为: VMl ( uuid=l ; 2VCPU, 60G内存), VM2( uuid=l ; 2VCPU, 60G内存), VM3( uuid=l ; 2VCPU, 40G内存), 可以为该 3台源虚拟机对应配置 3台虚拟机作为所述待容灾的 云应用在容灾站点使用的备份虚拟机即为 VM1 ( uuid=l )对应配置备份虚拟 机 VM11 '( uuid=l l ),为 VM2( uuid=2 )对应配置备份虚拟机 VM12'( uuid=12 ), 为 VM3 ( uuid=3 )对应配置备份虚拟机 VM13' ( uuid=13 ), 并确定 VM11 ' ( uuid=l l )、 VM12' ( uuid=12 ) 和 VM13' ( uuid=13 ) 的规格分别与 VM1 ( uuid=l )、 VM2 ( uuid=2 )和 VM3 ( uuid=3 ) 的规格一致, 如表 2所示, 则确定所述备份虚拟机的标识和规格为: VM11' ( uuid=l l , 2VCPU, 60G内 存), VM12' ( uuid=12 , 2VCPU, 60G内存), VM13' ( uuid=13 , 2VCPU, 40G 内存)。
503 : 根据所述源虚拟机的信息, 确定所述备份虚拟机在所述容灾站点 占用的第二存储单元的信息。
所述容灾管理模块, 在获取所述第一描述信息之后, 可以根据所述源虚 拟机的信息携带的所述第一存储单元的信息, 确定所述第二存储单元的信 息, 具体可以包括如下三个步骤:
503a: 获取容灾站点的空闲存储单元。
所述容灾站点的存储管理软件可以对所述容灾站点的存储节点进行管 理, 能够统计所述存储节点的所有存储单元的资源占用情况, 因此, 所述容 灾管理模块, 可以通过查询所述容灾站点的存储管理软件, 获取所述容灾站 点的空闲存储单元的信息, 例如, 所述容灾站点的存储管理软件对容灾站点 的 SAN设备的 LUN资源占用情况进行统计: LUN1 '-LUN6'资源已被占用, LUN7'-LUN15'未被占用, 则获取的空闲存储单元为: LUN7'-LUN15'。
503b: 从所述容灾站点的空闲存储单元中选择所述第二存储单元。
所述容灾管理模块, 可以根据所述第一存储单元的信息, 从容灾站点的 空闲存储单元中选择存储单元作为所述第二存储单元, 例如, APP1 使用的 源虚拟机占用的第一存储单元为 LUN1、 LUN2和 LUN3 , 从所述空闲存储 单元 LUN7'-LUN15'中选择 3个存储单元作为所述第二存储单元, 则所述第 二存储单元包括: LUN7'、 LUN8'和 LUN9'。
503c: 建立所述第一存储单元与所述第二存储单元的复制关系, 确定所 述备份虚拟机在所述容灾站点占用的第二存储单元的信息。
所述容灾管理模块, 在确定所述第二存储单元的信息之后, 可以进一步 确定所述第一存储单元与所述第二存储单元的复制关系, 并根据所述复制关 系确定所述备份虚拟机在所述容灾站点占用的第二存储单元的信息, 具体 备份虚拟机的标识和规格之后,还建立了所述源虚拟机的标识与所述备份虚 拟机的标识的对应关系, 可以根据所述源虚拟机的标识与所述备份虚拟机的 标识的对应关系、所述源虚拟机在所述生产站点占用的第一存储单元的信息 以及所述第一存储单元与所述第二存储单元的复制关系,确定所述备份虚拟 机在所述容灾站点占用的存储单元的信息, 例如, 所述 APP1使用的源虚拟 机在所述生产站点占用的第一存储单元为: VM1->LUN1 和 LUN2 , VM2->LUN1 , VM3-> LUN2和 LUN3; 所述 APP1使用的备份虚拟机在所述 容灾站点占用的第二存储单元为: LUN7'、 LUN8'和 LUN9', 用户可以直接 才旨定(LUN1、 LUN2和 LUN3 )与 (LUN7'、 LUN8'和 LUN9' )之间的复制 关系为: LUN1->LUN7', LUN2->LUN8', LUN3->LUN9',则根据 VM1( uuid=l ) -> VMir ( uuid=ll ), VM2 ( uuid=2 ) -> VM12' ( uuid=12 ), VM3 ( uuid=3 ) -> VM13' ( uuid=13 ), 可以确定所述备份虚拟机在所述容灾站点占用的第二 存储单元的信息为: VM11' ( uuid=ll ) -> LUN7'和 LUN8', VM12' ( uuid=12 ) -> LUN7', VM13' ( uuid=13 ) -> LUN8'和 LUN9', 所述确定所述第一存储单 元与所述第二存储单元的复制关系可以根据用户的指定来确定。
所述备份虚拟机在容灾站点占用的第二存储单元的信息可以为单个虚 拟机的存储单元的信息, 例如, VM11' ( uuid=ll ) -> LUN7'和 LUN8', VM12' ( uuid=12 ) -> LUN7', VM13' ( uuid=13 ) -> LUN8'和 LUN9'; 也可以为所述 待容灾的云应用在容灾站点使用的第二存储单元的整体的信息, 例如, LUN7' 、 LUN8'和 LUN9', 此时所述备份虚拟机在生产站点占用的第一存储 单元的信息可能不包括所述备份虚拟机和所述备份虚拟机占用的存储单元 的关联关系, 但是所述第二存储单元中保存有所述源虚拟机的标识, 根据所 述源虚拟机的标识与所述备份虚拟机的标识的对应关系,可以确定所述备份 虚拟机和所述备份虚拟机占用的存储单元的关联关系。
504: 指示所述生产站点的存储管理软件和所述容灾站点的存储管理软 件将所述第一存储单元的数据复制到所述第二存储单元。
所述容灾管理模块在步骤 503之后,将所述第一存储单元与所述第二存 储单元的复制关系配置到所述生产站点的存储管理软件和所述容灾站点的 存储管理软件,使得所述生产站点的存储管理软件和所述容灾站点的存储管 理软件, 可以根据所述第一存储单元与所述第二存储单元的复制关系, 按照 设定的复制周期和复制方式,将所述第一存储单元的数据复制到所述第二存 储单元。
例如, 所述 APP1使用的源虚拟机在所述生产站点占用的第一存储单元 为: LUN1、 LUN2和 LUN3 , 所述 APP1使用的备份虚拟机在所述容灾站点 占用的第二存储单元为: LUN7'、 LUN8'和 LUN9', 确定( LUN1、 LUN2和 LUN3 ) 与 (LUN7'、 LUN8'和 LUN9' )之间的复制关系为: LUN1->LUN7', LUN2->LUN8', LUN3->LUN9', 将所述复制关系配置到所述生产站点和容 灾站点的存储管理软件, 使得所述生产站点和容灾站点的存储管理软件, 每 隔预定时间, 例如 5分钟, 将 LUN1、 LUN2和 LUN3的数据分别增量复制 到 LUN7'、 LUN8'和 LUN9'。
505: 根据所述源网络的信息, 为所述待容灾的云应用配置备份网络的 信息。
所述容灾管理模块, 在获取所述第一描述信息之后, 可以根据所述第一 描述信息携带的所述源网络的信息, 为所述待容灾的云应用配置所述备份网 络的信息, 具体地, 由于所述源网络的信息可以是运行所述待容灾的云应用 的源虚拟机所在的子网 (Subnet ) 的信息, 也可以是运行所述待容灾的云应 用的源虚拟机所在的虚拟局域网 (Virtual Local Area Network, VLAN )的信 息, 也可以是两者, 则, 所述根据所述源网络的信息, 为所述待容灾的云应 用配置所述备份网络的信息可以是根据所述源网络的 Subnet的信息,从所述 容灾站点未被使用的 Subnet地址中分配 Subnet地址作为所述备份网络的 Subnet的信息;
根据所述源网络的 VLAN的信息,从所述容灾站点未被使用的 VLAN ID 中分配 VLAN ID作为所述备份网络的 VLAN的信息;
贝^ ,所述备份网络的信息可以是所述备份网络的 Subnet的信息,也可以 是所述备份网络的 VLAN的信息, 也可以是两者。
其中,所述容灾站点未被使用的 Subnet地址和 VLAN ID可以预先保存, 还可以是从用户获取, 或者还可以根据规则来确定, 所述容灾站点未被使用 的 Subnet地址和 VLAN ID的信息, 在配置 APP1的备份网络的过程中, 可 以从所述容灾站点未被使用的 Subnet地址和 /或 VLAN ID中选定 Subnet地 址和 /或 VLAN ID作为所述备份网络的信息。
例如, 所述 APP1 使用的源网络的信息为: Networkl ( Subnet地址: 10.100.35.0/24, VLAN ID=35 ); Network2 ( Subnet地址: 10.100.36.0/24, VLAN ID=36 ), 可以根据用户指示从容灾站点未被使用的网络中指定两组 Subnet地址和两组 VLAN ID作为 APP1 的备份网络的信息, 具体地, 为 Networkl 和 Network2 的 Subnet 地址指定对应备份的 Subnet 地址: 10.100.35.0/24 ->20.200.135.0/24 , 10.100.36.0/24 ->20.200.136.0/24; 为 Networkl和 Network2的 VLAN ID指定对应备份的 VLAN ID: VLAN ID =35->135 , VLAN ID =36->136,则所述 APP1的备份网络的信息为: networkl' ( Subnet地址: 20.200.135.0/24, VLAN ID= 135 ) ; network2' ( Subnet地址: 20.200.136.0/24, VLAN ID=136 )。
此外, 所述容灾站点未被使用的 Subnet地址和 VLAN ID中可能包含与 所述源网络的 Subnet地址和 VLAN ID一致的 Subnet地址和 VLAN ID, 因 此, 可以指定所述备份网络的信息与所述源网络的信息相同, 使得所述源虚 拟机的网络地址可能与所述备份虚拟机的网络地址相同, 即使得所述待容灾 的云应用在所述生产站点和在所述容灾站点可以使用相同的网络地址进行 业务处理,例如,所述容灾站点未被使用的 Subnet地址中包括: 10.100.35.0/24 和 10.100.36.0/24,所述容灾站点未被使用的 VLAN ID中包括: VLAN ID=35 和 VLAN ID=36, 则可以配置所述备份网络的信息为: networkl' ( Subnet地 址: 10.100.135.0/24, VLAN ID=35 ) ; network2'( Subnet地址: 10.100.136.0/24, VLAN ID=36 ), 使得所述备份网络 networkl'和 network2'的信息与所述源网 络 Networkl和 Network2的信息相同, 从而在容灾恢复时, 可以为所述备份 虚拟机分配与所述源虚拟机相同的网络地址。
506: 根据所述源虚拟机的信息和所述备份网络的信息, 确定所述备份 虚拟机的归属网络的信息。
所述容灾管理模块, 在获取所述第一描述信息之后, 可以进一步获取所 述源虚拟机的归属网络的信息、所述备份虚拟机的标识和所述备份网络的信 息, 并根据所述源虚拟机的归属网络的信息、 所述备份虚拟机的标识和所述 备份网络的信息, 确定所述备份虚拟机的归属网络的信息, 其中, 所述备份 份虚拟机的虚拟网卡与所述备份网络的关联关系。 由于所述源虚拟机的归属网络的信息包括所述源虚拟机的网络地址或 虚拟机的归属网络的信息、 所述备份虚拟机的标识和所述备份网络的信息, 确定所述备份虚拟机的归属网络的信息, 可以包括: (1 )根据所述源虚拟机 的归属网络的信息携带的所述源虚拟机的网络地址以及所述源网络的信息, 的虚拟网卡与所述源网络的关联关系、所述备份虚拟机的标识和所述备份网 络的信息, 确定所述备份虚拟机的网络地址, 使得容灾恢复后, 所述待容灾 的云应用可以使用所述指定的备份虚拟机的网络地址, 所述根据所述源虚拟 机的网络地址以及所述源网络的信息, 确定所述源虚拟机的虚拟网卡与所述 源网络的关联关系的具体实现方式, 详见步骤 501 ; 或者, 可以包括,
( 2 )获取所述源虚拟机的归属网络的信息携带的所述源虚拟机的虚拟 网卡与所述源网络的关联关系,根据所述源虚拟机的虚拟网卡与所述源网络 的关联关系、 所述备份虚拟机的标识和所述备份网络的信息, 确定所述备份 虚拟机的网络地址; 或者, 可以包括,
( 3 )根据所述源网络的信息以及所述源虚拟机的归属网络的信息携带 的所述源虚拟机的网络地址,确定所述源虚拟机的虚拟网卡与所述源网络的 关联关系, 根据所述备份网络的信息、 所述备份虚拟机的标识以及所述源虚 拟机的虚拟网卡与所述源网络的关联关系,确定所述备份虚拟机的虚拟网卡 与所述备份网络的关联关系, 所述备份虚拟机的虚拟网卡与所述备份网络的 关联关系也可以不进行预先确定, 而是在容灾恢复过程中根据所述备份网络 的信息以及所述备份虚拟机的网络地址,确定所述备份虚拟机的虚拟网卡与 所述备份网络的关联关系; 或者, 可以包括,
( 4 )获取所述源虚拟机的归属网络的信息携带的所述源虚拟机的虚拟 网卡与所述源网络的关联关系,根据所述源虚拟机的虚拟网卡与所述源网络 的关联关系、 所述备份虚拟机的标识和所述备份网络的信息, 确定所述备份 虚拟机的虚拟网卡与所述备份网络的关联关系。
进一步, 所述容灾管理模块, 在为所述待容灾的云应用配置所述备份网 络的信息之后,还建立了所述源网络的信息与所述备份网络的信息的对应关 规格之后,还建立了所述源虚拟机的标识与所述备份虚拟机的标识的对应关 述备份虚拟机的标识和所述备份网络的信息,确定所述备份虚拟机的网络地 址,具体可以是:根据所述源网络的信息与所述备份网络的信息的对应关系、 所述源虚拟机的标识与所述备份虚拟机的标识的对应关系以及所述源虚拟 机的虚拟网卡与所述源网络的关联关系, 可以确定所述备份虚拟机的网络地 址, 例如, 所述 APP1 在生产站点使用的源虚拟机的网络地址为: VM1-VNIC1->IP 地址 : 10.100.35.10/24 , VM2-VNIC2->IP 地址 : 10.100.35.11/24, VM3-VNIC3->IP地址: 10.100.35.12/24, VM3-VNIC3'->IP 地址: 10.100.36.12/24,为所述 APP1配置的所述备份网络的信息为 networkl' ( Subnet地址: 20.200.135.0/24 ), network2' ( Subnet地址: 20.200.136.0/24 ), 由于 VM3-VNIC3'->IP地址: 10.100.36.12/24属于 Network2 ( Subnet地址: 10.100.36.0/24 ), 则从 Network2对应的备份网络 network2' ( Subnet地址: 20.200.136.0/24 )中指定 1个 IP地址作为备份虚拟机 VM13'的网络地址, 由 于 VM1-VNIC1->IP 地址: 10.100.35.10/24 、 VM2-VNIC2->IP 地址: 10.100.35.11/24和 VM3-VNIC3->IP地址: 10.100.35.12/24属于 Networkl ( Subnet地址: 10.100.35.0/24 ), 则从 Networkl对应的备份网络 networkl' ( Subnet地址: 20.200.135.0/24 ) 中指定 3个 IP地址分别作为备份虚拟机 VM11'、 VM12'和 VM13'的虚拟网卡的 IP地址, 则所述 APP1在容灾站点使 用的备份虚拟机的网络地址可以为: VM11'-VNIC11->IP 地址: 20.200.135.10/24 , VM12'-VNIC12->IP 地 址 : 20.200.135.11/24 , VM13'-VNIC13->IP 地址: 20.200.135.12/24 , VM3- VNIC13'->IP 地址: 20.200.136.12/24。 所述备份虚拟机的网络地址也可以不进行预先配置, 而是 在容灾恢复过程中根据所述备份网络的信息以及所述备份虚拟机的虚拟网 卡与所述备份网络的关系进行分配。 虚拟机的标识以及所述备份网络的信息,确定所述备份虚拟机的归属网络的 信息具体可以是: 根据所述源网络的信息与所述备份网络的信息的对应关 系、所述源虚拟机的标识与所述备份虚拟机的标识的对应关系以及所述源虚 拟机的虚拟网卡与所述源网络的关联关系, 确定所述备份虚拟机的虚拟网卡 与所述备份网络的关联关系, 例如, 所述 APP1的源虚拟机的标识与备份虚 拟机的标识的对应关系为: VM1 ( uuid=l ) ->VMH' ( uuid=l l ), VM2 ( uuid=2 ) ->VM12' ( uuid=12 ), VM3 ( uuid=3 ) ->VM13' ( uuid=13 ); 所述 APP1的源 网络的信息与备份网络的信息的对应关系为: Networkl->networkl ' , Network2->network2'; 所述 APP1使用的源虚拟机的虚拟网卡与源网络的关 联关系为: VM1 ( uuid=l ) -VNICl->连接 Networkl , VM2 ( uuid=2 ) -VNICl-> 连接 Network2 , VM3 ( uuid=3 ) -VNICl->连接 Networkl , VM3 ( uuid=3 ) -VNICl->连接 Network2; 则由 VM1 ( uuid=l ) -〉连接 Networkl关联, 可以 确定 VMir ( uuid=l l ) -VNIC11 与 networkl'关联, 同理可以确定 VM12' ( uuid=12 ) -VNIC12 与 network2'关联, VM13' ( uuid=13 ) -VNIC13 与 networkl ' , VM13' ( uuid=13 ) -VNIC13'与 network2'关联, 即得到了所述 APP1
507 : 根据所述备份网络的信息、 所述备份虚拟机的标识和规格、 所述 第二存储单元的信息、 以及所述备份虚拟机的归属网络的信息, 获得所述第 二描述信息。
所述容灾管理模块可以生成所述第二描述信息, 所述第二描述信息包括 所述待容灾的云应用在容灾站点使用的备份网络的信息以及所述待容灾的 云应用在所述容灾站点使用的备份虚拟机的信息, 其中, 所述备份虚拟机的 信息包括所述备份虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点占 用的第二存储单元的信息以及所述备份虚拟机的归属网络的信息。
例如, 所述 APP1的第二描述信息可以如表 3所示。
APP1的第二描述信息
networkl'( Subnet地址: 20.200.135.0/24, VLAN ID=135 ); 备份网络的信息
network2'( Subnet地址: 20.200.136.0/24, VLAN ID=136 );
VM11' ( uuid=l l , 2VCPU, 60G内存)
备份虚拟机的标
VM12' ( uuid=12, 2VCPU, 60G内存)
识和规格
VM13' ( uuid=13, 2VCPU, 40G内存)
备份虚拟机在容
可以是: a ) VMll'-> LUN7'和 LUN8'; VM12'-> LUNV 备 灾站点占用的第
VM13'-> LUN8'和 LUN9';
份 二存储单元的信
或者, 还可以是: b ) LUN7\ LUN8'和 LUN9'。
虚 息
拟 VMll'-VNICll-> IP地址: 20.200.135.10/24;
备份虚拟机
机 备份 VM12'-VNIC12-> IP地址: 20.200.135.11/24;
的网络地址
的 虚拟 VM13'-VNIC13-> IP地址: 20.200.135.12/24;
(可选)
信 机的 VM13'- VNIC13'-> IP地址: 20.200.136.12/24;
息 归属 备份虚拟机
VM1 Γ-VNICl 1->连接 Networkl;
网络 的虚拟网卡
VM12'-VNIC12->连接 Networkl;
的信 与源网络的
VM13'-VNIC13->连接 Networkl;
息 关联关 系
VM13'-VNIC13'->连接 Network2;
(可选)
508: 将所述第二描述信息注册到所述容灾站点的云管理模块。
所述容灾管理模块将所述第二描述信息注册到所述容灾站点的云管理 模块可以有两种方式: 第一种方式, 所述容灾管理模块将所述第二描述信息 直接注册到所述容灾站点的云管理模块, 以使得所述容灾站点的云管理模块 根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾的云应用; 第二 种方式, 所述容灾管理模块将所述第二描述信息发送到所述生产站点的云管 理模块,使得所述生产站点的云管理模块通过云管理接口将所述第二描述信 息注册到所述容灾站点的云管理模块。
在本发明实施例中, 所述容灾管理模块能够获取到待容灾的云应用的第 一描述信息, 该第一描述信息不仅包括所述待容灾的云应用在生产站点所使 的信息, 基于这种从整体上对待容灾的云应用进行描述的第一描述信息, 可 以为所述待容灾的云应用配置在所述容灾站点使用的备份网络的信息以及 在所述容灾站点使用的备份虚拟机的信息, 即生成所述待容灾的云应用在容 灾站点的第二描述信息, 该第二描述信息从整体上对所述待容灾的云应用在 容灾站点的部署进行了描述, 所述容灾管理模块将所述第二描述信息注册到 所述容灾站点的云管理模块,使得所述容灾站点的云管理模块可以根据所述 第二描述信息, 在所述容灾站点中完整恢复所述待容灾的云应用, 实现了基 于云应用的容灾。 不同于现有技术基于虚拟机粒度的容灾方式, 本发明实施 例实现应用级别的容灾配置, 避免了虚拟机粒度的容灾可能产生的不能完 整、 快速恢复云应用的问题。
具体实施例一之恢复絲 结合图 1 ( a )所示的系统构架, 本发明实施例的容灾方法如图 7所示, 用于当所述生产站点发生容灾事故时, 将所述生产站点中的待容灾的云应用 恢复到容灾站点中, 所述方法可以由所述容灾站点的云管理模块执行, 所述 方法可以包括:
701 : 接收来自容灾管理模块的注册信息, 所述注册信息携带所述待容 灾的云应用的第二描述信息。
所述容灾站点的云管理模块可以接收来自容灾管理模块的注册信息, 获 取所述注册信息携带的所述待容灾的云应用的第二描述信息, 所述来自容灾 管理模块的注册信息包括所述容灾管理模块直接注册到所述容灾站点的云 管理模块的注册信息,还可以包括所述容灾管理模块通过所述生产站点的云 管理模块注册到所述容灾站点的云管理模块的注册信息。 份网络的信息以及所述待容灾的云应用在所述容灾站点使用的备份虚拟机 的信息; 所述待容灾的云应用在所述容灾站点使用的备份虚拟机的信息包 括: 所述备份虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点占用的 第二存储单元的信息以及所述备份虚拟机的归属网络的信息, 例如, 所述
APP1的第二描述信息可以如表 2所示。
进一步, 所述备份虚拟机的归属网络的信息可以包括所述备份虚拟机的 虚拟网卡与所述备份网络的关联关系, 或者所述备份虚拟机的虚拟网卡的网 络地址。
702: 指示所述容灾站点的存储管理软件或者所述生产站点的存储管理 软件, 停止将所述第一存储单元的数据复制到所述第二存储单元。
在所述容灾站点恢复所述待容灾的云应用之前, 所述容灾站点的云管理 模块可以首先对所述容灾站点的存储管理软件或者所述生产站点的存储管 理软件进行配置, 以阻止所述容灾站点将所述第一存储单元的数据复制到所 述第二存储单元, 避免容灾恢复后, 所述第二存储单元继续通过复制获取所 述第一存储单元的数据而导致的数据覆盖,保障了所述待容灾的云应用的可 靠恢复。
步骤 702为可选步骤,步骤 702可以在步骤 701之前,也可以在步骤 701 之后, 本发明实施例在此不作限定。
703: 根据所述第二描述信息中的所述备份网络的信息, 指示所述容灾 站点的虚拟化模块创建所述备份网络。
所述容灾站点的云管理模块在获取所述第二描述信息之后, 可以向所述 容灾站点的虚拟化模块发送虚拟化网络创建指令, 所述虚拟化网络创建指令 携带所述备份网络的信息,使得所述容灾站点的虚拟化模块根据所述虚拟化 网络创建指令确定所述待容灾的云应用所使用的虚拟交换机, 并将所述备份 网络的信息配置到所述虚拟交换机上的端口组, 具体地, 所述容灾站点的云 管理模块向所述容灾站点的虚拟化模块发送所述虚拟化网络创建指令, 所述 虚拟化网络创建指令携带所述备份网络的信息以及所述第二存储单元的信 息; 所述虚拟化模块在接收到所述虚拟化网络创建指令后, 根据所述第二存 储单元的信息, 确定所述待容灾的云应用在所述容灾站点使用的虚拟交换 机, 并根据所述备份网络的信息, 指定或创建所述虚拟机换机上的端口组, 并建立所述备份网络与所述虚拟交换机上的端口组的对应关系,再根据所述 备份网络与所述虚拟交换机上的端口组的对应关系,将所述备份网络的信息 配置到所述虚拟交换机上的端口组, 使得所述备份网络得以恢复, 例如, 所
LUN7'、LUN8' 和 LUN9', 可以从 LUN7'、 LUN8'和 LUN9'相关联的计算节点所使用的虚拟 机换机中选择两个虚拟交换机 DVS1'和 DVS2', 并确定将 networkl'与 DVS1' 对应关联, network2'与 DVS2'对应关联, 再根据所述确定的对应关系, 指示 所述容灾站点的虚拟化模块将 networkl'的信息 ( Subnet 地址: 20.200.135.0/24, VLAN ID=135 )注册配置到 DVS1'的端口组中,将 network2' 的信息 (Subnet地址: 20.200.136.0/24 , VLAN ID=136 )注册配置到 DVS2' 的端口组中, 使得所述 APP1 在容灾站点使用的备份网络 networkl'和 network2'得以恢复, networkl'与 network2'还可以与同一个虚拟交互机对应关 联, 本发明实施例在此不作限定。
进一步, 在所述虚拟化模块创建所述备份网络之后, 所述容灾站点的云 管理模块还可以从所述容灾站点的虚拟化模块获取所述备份网络与所述虚 拟交换机的端口组的对应关系, 并记录所述备份网络的信息与所述虚拟交换 机的端口组的对应关系。
704: 根据所述第二描述信息中的所述备份虚拟机的信息, 指示所述容 灾站点的虚拟化模块创建所述备份虚拟机。 在获取所述第二描述信息之后, 所述容灾站点的云管理模块可以根据所 述第二描述信息中的所述备份虚拟机的标识、规格以及所述第二存储单元的 信息, 指示所述容灾站点的虚拟化模块创建所述备份虚拟机, 包括: 向所述 容灾站点的虚拟化模块发送虚拟机创建指令, 所述虚拟机创建指令携带所述 备份虚拟机的标识、 规格以及所述第二存储单元的信息, 指示所述容灾站点 的虚拟化模块根据上述信息创建所述备份虚拟机以及所述备份虚拟机的虚 拟网卡, 所述创建的备份虚拟机占用所述第二存储单元。
具体地, 所述容灾站点的虚拟化模块在接收到所述虚拟机创建指令后, 根据所述虚拟机创建指令携带的所述第二存储单元的信息,确定创建所述备 份虚拟机使用的计算节点, 并根据所述备份虚拟机的标识、 规格, 使用所述 计算节点的资源创建所述备份虚拟机和所述备份虚拟机的虚拟网卡, 并根据 所述第二存储单元的信息, 指定所述备份虚拟机占用所述第二存储单元, 例 息为: VMll'-> LUN7'和 LUN8', VM12'-> LUN7', VM13'-> LUN8'和 LUN9'; 所述容灾站点的云管理模块可以确定 LUN7'、 LUN8'和 LUN9'相关联的计算 节点, 然后指示所述容灾站点的虚拟化模块利用所述计算节点的资源创建备 份虚拟机及所述备份虚拟机的虚拟网卡: VM11'( uuid=ll; 2VCPU, 60G内存, VNIC11 ), VM12' ( uuid=12; 2VCPU, 60G内存, VNIC12 ), VM13' ( uuid=13; 2VCPU, 40G内存, VNIC13和 VNIC13' ) , 并根据所述第二存储单元的信息, 指定 VM11'占用存储单元 LUN7'和 LUN8', VM12'占用存储单元 LUN7', VM13'占用存储单元 LUN8'和 LUN9', 所述计算节点可以为一个或多个, 只 需保证在所述计算节点上创建的备份虚拟机 VM 11'可以访问存储单元 LUN7' 和 LUN8', VM12'可以访问存储单元 LUN7', VM13'可以访问存储单元 LUN8' 和 LUN9'即可, 本发明实施例在此不作限定;
进一步, 所述容灾站点的虚拟化模块还可以为所述创建的备份虚拟机的 虚拟网卡分配介质访问控制 ( Media Access Control, MAC )地址。 705: 根据所述第二描述信息, 为所述备份虚拟机分配网络地址。
在创建所述备份虚拟机之后, 所述容灾站点的云管理模块可以指示所述 容灾站点的虚拟化模块或者所述容灾站点的动态主机配置协议( Dynamic Host Configuration Protocol, DHCP )服务器为所述创建的备份虚拟机的虚拟 网卡分配网络地址, 其中, 所述网络地址可以是 IP地址, 具体地, 所述容 灾站点可以通过如下两种方法为所述备份虚拟机的虚拟网卡分配网络地址: 1 )第一种方法
所述容灾站点的云管理模块确定所述备份虚拟机的网络地址, 然后指示 所述容灾站点的虚拟化模块, 在创建所述备份虚拟机的虚拟网卡之后, 将所 述备份虚拟机的网络地址分配给所述备份虚拟机的虚拟网卡, 具体地, 如果 在容灾配置过程中, 已经为所述待容灾的云应用使用的备份虚拟机配置了网 络地址, 则所述备份虚拟机的归属网络的信息携带所述备份虚拟机的网络地 址, 所述容灾站点的云管理模块可以获取所述备份虚拟机的归属网络的信息 携带的所述备份虚拟机的网络地址; 如果在容灾配置过程中, 没有为所述待 容灾的云应用使用的备份虚拟机配置网络地址, 则所述容灾站点的云管理模 块可以根据所述备份网络的信息以及所述备份虚拟机的虚拟网卡与所述备 址中, 为所述备份虚拟机的虚拟网卡分配网络地址。
2 )第二种方法
所述容灾站点的云管理模块可以将地址分配信息注册到所述容灾站点 的动态主机配置协议( Dynamic Host Configuration Protocol, DHCP )服务器, 使得所述 DHCP服务器根据所述注册信息为所述创建的备份虚拟机的虚拟 网卡分配网络地址, 所述地址分配信息可以是所述备份虚拟机的网络地址、 所述备份虚拟机的虚拟网卡的物理地址的关联关系,还可以是所述备份虚拟 机对应关联的备份网络的信息。 具体地, 如果在容灾配置过程中, 已经为所述待容灾的云应用使用的备 份虚拟机配置了网络地址, 则所述备份虚拟机的归属网络的信息携带所述备 份虚拟机的网络地址, 所述容灾站点的云管理模块可以从所述容灾站点的虚 拟化模块获取所述备份虚拟机的虚拟网卡的物理地址, 并建立所述备份虚拟 所述备份虚拟机的网络地址和所述备份虚拟机的虚拟网卡的物理地址, 以及 所述备份虚拟机的网络地址和所述备份虚拟机的虚拟网卡的物理地址的关 联关系注册到所述容灾站点的 DHCP服务器, 使得所述容灾站点的 DHCP 服务器将所述备份虚拟机的网络地址分配给所述备份虚拟机的虚拟网卡, 例 如, 所述容灾站点的云管理模块从所述容灾站点的虚拟化模块获取 VM11'、 VM12'和 VM13'的 MAC 地址, 从所述第二描述信息中获取预先配置的 VM11'、 VM12'和 VM13'的 IP地址, 并分别建立 VM11'、 VM12'和 VM13'的 MAC地址与 IP地址的对应关系, 将所述对应关系注册到 DHCP服务器, 使 得所述 DHCP服务器可以为 VM11'、 VM12'和 VM13'分配预先配置的 IP地 址; 如果在容灾配置过程中, 没有为所述待容灾的云应用使用的备份虚拟机 配置网络地址, 则所述容灾站点的云管理模块根据所述备份网络的信息以及 机对应关联的备份网络的信息, 并将所述备份虚拟机对应关联的备份网络的 信息注册到 DHCP服务器, 使得所述容灾站点的 DHCP服务器根据所述备 份虚拟机对应关联的备份网络的信息为所述备份虚拟机的虚拟网卡分配网 络地址, 例如所述图 1 ( a )或(b )或(c ) 中的容灾站点的云管理模块确定 VM11'对应关联的网络的 subnet地址为 20.200.135.0/24, VM12'对应关联的 网络的 subnet地址为 20.200.135.0/24 , VM11'对应关联的网络的 subnet地址 为 20.200.135.0/24和 20.200.136.0/24, 将所述备份虚拟机对应关联的的网络 的 subnet地址注册到 DHCP服务器中, 使得所述 DHCP服务器根据 VM11' 对应关联的网络的 subnet地址, 为 VM11'分配动态 IP地址, 根据 VM12'对 应关联的网络的 subnet地址, 为 VM12'分配动态 IP地址, 根据 VM13'对应 关联的网络的 subnet地址, 为 VM13'分配动态 IP地址。
706: 根据所述第二描述信息中的所述备份虚拟机的信息, 指示所述容 灾站点的虚拟化模块将所述备份虚拟机与所述备份网络关联。
在创建所述备份虚拟机和所述备份网络之后, 所述容灾站点的云管理模 块可以指示所述容灾站点的虚拟化模块,根据所述备份虚拟机的信息中的所 述备份虚拟机的归属网络的信息,将所述备份虚拟机的虚拟网卡与所述虚拟 交换机进行关联, 具体包括: 所述容灾站点的云管理模块可以根据所述备份 虚拟机的归属网络的信息, 获取所述备份虚拟机的虚拟网卡与所述备份网络 系可以是直接从所述备份虚拟机的归属网络的信息中获取,或者根据所述备
所述容灾站点的云管理模块可以从所述容灾站点的虚拟化模块获取所 述备份网络的信息与所述虚拟交换机的端口组的对应关系, 并根据所述备份 虚拟机的虚拟网卡与所述备份网络的关联关系, 以及所述备份网络的信息与 所述虚拟交换机的端口组的对应关系, 确定所述备份虚拟机的虚拟网卡与所 述虚拟交换机的端口组的对应关系;
所述容灾站点的云管理模块根据所述备份虚拟机的虚拟网卡与所述虚 拟交换机的端口组的对应关系,指示所述虚拟化模块将所述备份虚拟机的虚 拟网卡与所述虚拟交换机上的端口组进行关联,使得所述备份虚拟机可以根 据所述备份虚拟机的网络地址, 利用所述备份虚拟机的虚拟网卡对应关联的 虚拟交换机上的端口组和所述备份网络进行数据传输。
在本发明实施例中, 所述容灾站点的云管理模块可以从所述容灾管理模 块获取所述待容灾的云应用的第二描述信息, 该第二描述信息从整体上对所 述待容灾的云应用在容灾站点的部署进行了描述, 所述容灾站点的云管理模 块获取到该第二描述信息之后, 可以根据所述第二描述信息中的所述备份网 络的信息, 指示所述容灾站点的虚拟化模块创建所述备份网络, 根据所述第 二描述信息中的所述备份虚拟机的标识、 规格以及所述第二存储单元的信 息, 指示所述容灾站点的虚拟化模块创建所述备份虚拟机, 根据所述第二描 述信息中的所述备份虚拟机的归属网络的信息,将所述备份虚拟机与所述备 份网络进行关联,在所述容灾站点中完整、快速地恢复所述待容灾的云应用, 实现了基于云应用的容灾, 不同于现有技术基于虚拟机粒度的容灾方式, 本 发明实施例实现应用级别的容灾恢复, 避免了虚拟机粒度的容灾可能产生的 不能完整、 快速地恢复云应用的问题。 具体实施例二之配置¾½ 结合图 1 ( b )所示的系统构架, 本发明实施例提供的容灾方法如图 8 所示, 用于将生产站点中的待容灾的云应用在容灾站点中进行配置, 当所述 生产站点发生容灾事故时, 用以在容灾站点根据配置信息恢复所述待容灾的 云应用, 所述方法可以由生产站点的云管理模块执行, 所述方法可以包括:
801 : 获取待容灾的云应用的第一描述信息, 所述第一描述信息包括所 述待容灾的云应用在生产站点使用的源网络的信息以及所述待容灾的云应 用在所述生产站点使用的源虚拟机的信息。
所述生产站点的云管理模块获取所述待容灾的云应用的第一描述信息 可以有两种方法, 分别是:
1 )第一种方法
所述生产站点的云管理模块直接获取自身记录的所述待容灾的云应用 的第一描述信息, 其中, 所述生产站点的云管理模块可以在部署所述云应用 的虚拟机之后,搜集所述云应用的运行实例的静态描述信息和动态描述信息 生成所述第一描述信息。
2 )第二种方法 所述生产站点的云管理模块根据自身记录的所述待容灾的云应用在所 述生产站点使用的源虚拟机的标识和规格、所述源虚拟机在所述生产站点占 用的第一存储单元的信息以及所述源虚拟机的网络地址, 生成所述第一描述 信息。 网络的信息以及所述待容灾的云应用在所述生产站点使用的源虚拟机的信 息, 所述源虚拟机的信息包括所述源虚拟机的标识、 规格、 所述源虚拟机在 所述生产站点占用的第一存储单元的信息以及所述源虚拟机的归属网络的 信息。
进一步, 所述源虚拟机的归属网络的信息可以包括所述源虚拟机的网络
802: 根据所述源虚拟机的信息, 确定所述待容灾的云应用在所述容灾 站点使用的备份虚拟机的标识和规格。
803: 根据所述源虚拟机的信息, 确定所述备份虚拟机在所述容灾站点 占用的第二存储单元的信息。
所述生产站点的云管理模块, 在获取所述第一描述信息之后, 可以根据 所述源虚拟机的信息携带的所述第一存储单元的信息,确定所述第二存储单 元的信息, 具体可以包括如下三个步骤:
803a: 获取容灾站点的空闲存储单元。
803b: 从所述容灾站点的空闲存储单元中选择所述第二存储单元。
803c: 建立所述第一存储单元与所述第二存储单元的复制关系, 确定所 述备份虚拟机在所述容灾站点占用的第二存储单元的信息。
804: 指示所述生产站点的存储管理软件和所述容灾站点的存储管理软 件将所述第一存储单元的数据复制到所述第二存储单元。
805: 根据所述源网络的信息, 为所述待容灾的云应用配置备份网络的 信息。 806: 根据所述源虚拟机的信息和所述备份网络的信息, 确定所述备份 虚拟机的归属网络的信息。
807: 根据所述备份网络的信息、 所述备份虚拟机的标识和规格、 所述 第二存储单元的信息、 以及所述备份虚拟机的归属网络的信息, 获得所述第 二描述信息。
808: 将所述第二描述信息注册到所述容灾站点的云管理模块。
所述生产站点的云管理模块将所述第二描述信息直接注册到所述容灾 站点的云管理模块, 以使得所述容灾站点的云管理模块根据所述第二描述信 息, 在所述容灾站点中恢复所述待容灾的云应用。 本发明实施例中步骤 802-807的具体实施方式与步骤 502-507类似, 在 此不再赘述。 在本发明实施例中, 所述生产站点的云管理模块能够获取到待容灾的云 应用的第一描述信息, 该第一描述信息不仅包括所述待容灾的云应用在生产 站点所使用的源虚拟机的信息,还包括所述待容灾的云应用在生产站点使用 的源网络的信息,基于这种从整体上对待容灾的云应用进行描述的第一描述 信息, 可以为所述待容灾的云应用配置在所述容灾站点使用的备份网络的信 息以及在所述容灾站点使用的备份虚拟机的信息, 即生成所述待容灾的云应 用在容灾站点的第二描述信息, 该第二描述信息从整体上对所述待容灾的云 应用在容灾站点的部署进行了描述, 所述生产站点的云管理模块将所述第二 描述信息注册到所述容灾站点的云管理模块,使得所述容灾站点的云管理模 块可以根据所述第二描述信息,在所述容灾站点中完整恢复所述待容灾的云 应用, 实现了基于云应用的容灾。 不同于现有技术基于虚拟机粒度的容灾方 式, 本发明实施例实现应用级别的容灾配置, 避免了虚拟机粒度的容灾可能 产生的不能完整、 快速恢复云应用的问题。 具体实施例二之恢复絲 结合图 1 ( b )所示的系统构架, 本发明实施例的容灾方法如图 9所示, 用于当所述生产站点发生容灾事故时, 将所述生产站点中的待容灾的云应用 恢复到容灾站点中, 所述方法可以由所述容灾站点的云管理模块执行, 所述 方法可以包括:
901 : 接收来自生产站点的云管理模块的注册信息, 所述注册信息携带 所述待容灾的云应用的第二描述信息。
所述容灾站点的云管理模块可以接收来自生产站点云管理模块的注册 信息, 获取所述注册信息携带的所述待容灾的云应用的第二描述信息, 所述 第二描述信息包括所述待容灾的云应用在容灾站点使用的备份网络的信息 以及所述待容灾的云应用在所述容灾站点使用的备份虚拟机的信息; 所述待 机的标识、 规格、 所述备份虚拟机在所述容灾站点占用的第二存储单元的信 息以及所述备份虚拟机的归属网络的信息。
进一步, 所述备份虚拟机的归属网络的信息可以包括所述备份虚拟机的 虚拟网卡与所述备份网络的关联关系, 或者所述备份虚拟机的虚拟网卡的网 络地址。
902: 指示所述容灾站点的存储管理软件或者所述生产站点的存储管理 软件, 停止将所述第一存储单元的数据复制到所述第二存储单元。
步骤 902为可选步骤,步骤 902可以在步骤 901之前,也可以在步骤 901 之后, 本发明实施例在此不作限定。
903: 根据所述第二描述信息中的所述备份网络的信息, 指示所述容灾 站点的虚拟化模块创建所述备份网络。
904: 根据所述第二描述信息中的所述备份虚拟机的信息, 指示所述容 灾站点的虚拟化模块创建所述备份虚拟机。
905: 根据所述第二描述信息, 为所述备份虚拟机分配网络地址。
906: 根据所述第二描述信息中的所述备份虚拟机的信息, 指示所述容 灾站点的虚拟化模块将所述备份虚拟机与所述备份网络关联。 本发明实施例中步骤 902-906的具体实施方式与步骤 702-706类似, 在 此不再赘述。 在本发明实施例中, 所述容灾站点的云管理模块可以从所述生产站点的 云管理模块获取所述待容灾的云应用的第二描述信息, 该第二描述信息从整 体上对所述待容灾的云应用在容灾站点的部署进行了描述, 所述容灾站点的 云管理模块获取到该第二描述信息之后, 可以根据所述第二描述信息中的所 述备份网络的信息, 指示所述容灾站点的虚拟化模块创建所述备份网络, 根 据所述第二描述信息中的所述备份虚拟机的标识、规格以及所述第二存储单 元的信息, 指示所述容灾站点的虚拟化模块创建所述备份虚拟机, 根据所述 第二描述信息中的所述备份虚拟机的归属网络的信息,将所述备份虚拟机与 所述备份网络进行关联, 在所述容灾站点中完整、 快速地恢复所述待容灾的 云应用, 实现了基于云应用的容灾, 不同于现有技术基于虚拟机粒度的容灾 方式, 本发明实施例实现应用级别的容灾恢复, 避免了虚拟机粒度的容灾可 能产生的不能完整、 快速地恢复云应用的问题。 具体实施例三之配置¾½
结合图 1 ( b )所示的系统构架, 本发明实施例提供的容灾方法如图 10 得所述容灾站点的云管理模块可以才艮据所述配置信息,将所述待容灾在云应 用在容灾站点中进行配置, 恢复所述待容灾的云应用, 所述方法可以由生产 站点的云管理模块执行, 所述方法可以包括:
1001 : 获取待容灾的云应用的第一描述信息, 所述第一描述信息包括所 述待容灾的云应用在生产站点使用的源网络的信息以及所述待容灾的云应 用在所述生产站点使用的源虚拟机的信息。
所述生产站点的云管理模块获取所述待容灾的云应用的第一描述信息 可以有两种方法, 分别是:
1 )第一种方法
所述生产站点的云管理模块直接获取自身记录的所述待容灾的云应用 的第一描述信息, 其中, 所述生产站点的云管理模块可以在部署所述云应用 的虚拟机之后,搜集所述云应用的运行实例的静态描述信息和动态描述信息 生成所述第一描述信息。
2 )第二种方法
所述生产站点的云管理模块根据自身记录的所述待容灾的云应用在所 述生产站点使用的源虚拟机的标识和规格、所述源虚拟机在所述生产站点占 用的第一存储单元的信息以及所述源虚拟机的网络地址, 生成所述第一描述 信息。 网络的信息以及所述待容灾的云应用在所述生产站点使用的源虚拟机的信 息, 所述源虚拟机的信息包括所述源虚拟机的标识、 规格、 所述源虚拟机在 所述生产站点占用的第一存储单元的信息以及所述源虚拟机的归属网络的 信息。
进一步, 所述源虚拟机的归属网络的信息包括所述源虚拟机的网络地址
1002: 将所述第一描述信息发送到所述容灾站点的云管理模块。
所述生产站点的云管理模块可以将所述第一描述信息发送到所述容灾 站点的云管理模块, 使得所述容灾站点的云管理模块, 可以基于这种从整体 上对待容灾的云应用进行描述的第一描述信息, 为所述待容灾的云应用配置 所述待容灾的云应用的第二描述信息, 恢复所述待容灾的云应用。
在本发明实施例中, 所述生产站点的云管理模块能够获取到待容灾的云 应用的第一描述信息, 该第一描述信息不仅包括所述待容灾的云应用在生产 站点所使用的源虚拟机的信息,还包括所述待容灾的云应用在生产站点使用 的源网络的信息, 所述生产站点的云管理模块能够将所述第一描述信息发送 到所述容灾站点的云管理模块, 使得所述容灾站点的云管理模块, 可以基于 这种从整体上对待容灾的云应用进行描述的第一描述信息, 为所述待容灾的 云应用配置所述待容灾的云应用的第二描述信息, 并根据所述第二描述信 息, 在所述容灾站点中完整恢复所述待容灾的云应用, 实现基于云应用的容 灾。 不同于现有技术基于虚拟机粒度的容灾方式, 本发明实施例实现应用级 别的容灾配置, 避免了虚拟机粒度的容灾可能产生的不能完整、 快速恢复云 应用的问题。 具体实施例三之恢复¾½
结合图 1 ( b )所示的系统构架, 本发明实施例的容灾方法如图 11所示, 点发生容灾事故时, 将所述生产站点中的待容灾的云应用恢复到容灾站点 中, 所述方法可以由所述容灾站点的云管理模块执行, 所述方法可以包括: 1101: 从生产站点的云管理模块获取待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 所述容灾站点的云管理模块可以接收所述生产站点的云管理模块发送 的所述待容灾的云应用的第一描述信息。 源虚拟机的标识、 规格、 所述源虚拟机在所述生产站点占用的第一存储单元 的信息以及所述源虚拟机的归属网络的信息。
其中, 所述源虚拟机的归属网络的信息包括所述源虚拟机的虚拟网卡与 所述源网络的关联关系或者所述源虚拟机的虚拟网卡的网络地址。
1102: 根据所述第一描述信息, 生成所述待容灾的云应用的第二描述信 息, 所述第二描述信, 述备份虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点占用的第二存 储单元的信息以及所述备份虚拟机的归属网络的信息。
所述容灾站点的云管理模块根据所述第一描述, 生成所述待容灾的云应 用的第二描述信息, 包括: 根据所述源虚拟机的标识和规格, 确定所述备份 虚拟机的标识和规格; 根据所述第一存储单元的信息, 确定所述第二存储单 元的信息; 根据所述源网络的信息, 为所述待容灾的云应用配置所述备份网 络的信息; 根据所述备份网络的信息、 所述备份虚拟机的标识以及所述源虚 拟机的归属网络的信息, 确定所述备份虚拟机的归属网络的信息;
其中, 所述备份虚拟机的归属网络的信息可以包括所述备份虚拟机的虚 拟网卡与所述备份网络的关联关系或者所述备份虚拟机的虚拟网卡的网络 地址。
所述根据第一描述信息, 生成所述待容灾的云应用的第二描述信息, 具 体实施方式可以参考步骤 502-507。 软件, 停止将所述第一存储单元的数据复制到所述第二存储单元。
步骤 1103为可选步骤, 步骤 1103可以在步骤 1102之前, 也可以在步 骤 1102之后, 本发明实施例在此不作限定。
1104: 根据所述第二描述信息中的所述备份网络的信息, 指示所述容灾 站点的虚拟化模块创建所述备份网络。
1105: 根据所述第二描述信息中的所述备份虚拟机的信息, 指示所述容 灾站点的虚拟化模块创建所述备份虚拟机。
1106: 根据所述第二描述信息, 为所述备份虚拟机分配网络地址。 1107: 根据所述第二描述信息中的所述备份虚拟机的信息, 指示所述容 灾站点的虚拟化模块将所述备份虚拟机与所述备份网络关联。 本发明实施例中步骤 1103-1107的具体实施方式与步骤 702-706类似, 在此不再赘述。 在本发明实施例中, 所述容灾站点的云管理模块能够从所述生产站点的 云管理模块获取到待容灾的云应用的第一描述信息, 该第一描述信息不仅包 容灾的云应用在生产站点使用的源网络的信息,基于这种从整体上对待容灾 的云应用进行描述的第一描述信息, 可以生成所述待容灾的云应用在容灾站 点的第二描述信息, 该第二描述信息从整体上对所述待容灾的云应用在容灾 站点的部署进行了描述, 可以根据所述第二描述信息中的所述备份网络的信 息, 指示所述容灾站点的虚拟化模块创建所述备份网络, 根据所述第二描述 信息中的所述备份虚拟机的标识、 规格以及所述第二存储单元的信息, 指示 所述容灾站点的虚拟化模块创建所述备份虚拟机,根据所述第二描述信息中 的所述备份虚拟机的归属网络的信息, 将所述备份虚拟机与所述备份网络进 行关联, 在所述容灾站点中完整、 快速地恢复所述待容灾的云应用, 实现了 基于云应用的容灾, 不同于现有技术基于虚拟机粒度的容灾方式, 本发明实 施例实现应用级别的容灾配置和恢复, 避免了虚拟机粒度的容灾可能产生的 不能完整、 快速地恢复云应用的问题。 具体实施例四之配置¾½
结合图 1 ( c )所示的系统构架, 本发明实施例提供的容灾方法如图 12 所示, 用于将生产站点中的待容灾的云应用在容灾站点中进行配置, 当所述 生产站点发生容灾事故时, 用以在容灾站点根据配置信息恢复所述待容灾的 法可以包括:
1201 : 从生产站点的云管理模块获取待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 所述生产站点的容灾管理模块从生产站点的云管理模块获取所述待容 灾的云应用的第一描述信息可以有两种方法, 分别是:
1 )第一种方法
所述生产站点的容灾管理模块通过与所述生产站点的云管理模块的接 口, 从所述生产站点的云管理模块查询所述待容灾的云应用的第一描述信 息,其中,所述生产站点的云管理模块可以在部署所述云应用的虚拟机之后, 搜集所述云应用的运行实例的静态描述信息和动态描述信息生成所述第一 描述信息。
2 )第二种方法
所述容灾管理模块通过与所述生产站点的云管理模块的接口,从所述生 产站点的云管理模块查询所述待容灾的云应用在所述生产站点使用的源虚 拟机的标识和规格、所述源虚拟机在所述生产站点占用的第一存储单元的信 息以及所述源虚拟机的网络地址, 生成所述第一描述信息。
其中, 所述源虚拟机的信息包括所述源虚拟机的标识、 规格、 所述源虚 拟机在所述生产站点占用的第一存储单元的信息以及所述源虚拟机的归属 网络的信息。
进一步, 所述源虚拟机的归属网络的信息包括所述源虚拟机的网络地址
1202: 根据所述源虚拟机的信息, 确定所述待容灾的云应用在所述容灾 站点使用的备份虚拟机的标识和规格。
1203: 根据所述源虚拟机的信息, 确定所述备份虚拟机在所述容灾站点 占用的第二存储单元的信息。
1204: 指示所述生产站点的存储管理软件和所述容灾站点的存储管理软 件将所述第一存储单元的数据复制到所述第二存储单元。
1205: 根据所述源网络的信息, 为所述待容灾的云应用配置备份网络的 信息。
1206: 根据所述源虚拟机的信息和所述备份网络的信息, 确定所述备份 虚拟机的归属网络的信息。
1207: 根据所述备份网络的信息、 所述备份虚拟机的标识和规格、 所述 第二存储单元的信息、 以及所述备份虚拟机的归属网络的信息, 获得所述第 二描述信息。
1208: 将所述第二描述信息发送到所述容灾站点的容灾管理模块。 所述生产站点的云管理模块可以将所述第二描述信息发送到所述容灾 站点的容灾管理模块,使得所述容灾站点的容灾管理模块可以将所述第二描 述信息注册到所述容灾站点, 在容灾站点恢复所述待容灾的云应用。 本发明实施例中步骤 1202-1207的具体实施方式与步骤 502-507类似, 在此不再赘述。 在本发明实施例中, 所述生产站点的容灾管理模块能够从生产站点的云 管理模块获取到待容灾的云应用的第一描述信息, 该第一描述信息不仅包括 所述待容灾的云应用在生产站点所使用的源虚拟机的信息,还包括所述待容 灾的云应用在生产站点使用的源网络的信息,基于这种从整体上对待容灾的 云应用进行描述的第一描述信息, 可以为所述待容灾的云应用配置在所述容 灾站点使用的备份网络的信息以及在所述容灾站点使用的备份虚拟机的信 息, 即生成所述待容灾的云应用在容灾站点的第二描述信息, 该第二描述信 息从整体上对所述待容灾的云应用在容灾站点的部署进行了描述, 所述生产 站点的容灾管理模块将所述第二描述信息发送到所述容灾站点的容灾管理 模块,使得所述容灾站点的容灾管理模块可以向所述容灾站点提供所述第二 描述信息, 完整恢复所述待容灾的云应用, 实现了基于云应用的容灾。 不同 于现有技术基于虚拟机粒度的容灾方式, 本发明实施例实现应用级别的容灾 配置, 避免了虚拟机粒度的容灾可能产生的不能完整、 快速恢复云应用的问 题。 具体实施例五之配置¾½
结合图 1 ( c )所示的系统构架, 本发明实施例提供的容灾方法如图 13 所示, 用于将生产站点中的待容灾的云应用在容灾站点中的配置信息提供给 容灾站点, 当所述生产站点发生容灾事故时, 用以在容灾站点根据配置信息 恢复所述待容灾的云应用, 所述方法可以由容灾站点的容灾管理模块执行, 所述方法可以包括:
1301: 从生产站点的容灾管理模块获取待容灾的云应用的第二描述信
所述容灾站点的容灾管理模块可以接收所述生产站点的容灾管理模块 发送的所述待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待 容灾的云应用在容灾站点使用的备份网络的信息以及所述待容灾的云应用 在所述容灾站点使用的备份虚拟机的信息, 所述待容灾的云应用在所述容灾 站点使用的备份虚拟机的信息包括所述备份虚拟机的标识、 规格、 所述备份 虚拟机在所述容灾站点占用的第二存储单元的信息以及所述备份虚拟机的 归属网络的信息。
进一步, 所述备份虚拟机的归属网络的信息可以包括所述备份虚拟机的 1302: 将所述第二描述信息注册到所述容灾站点的云管理模块, 以使得 所述容灾站点的云管理模块根据所述第二描述信息,在所述容灾站点中恢复 所述待容灾的云应用。
在本发明实施例中,所述容灾站点的容灾管理模块可以从所述生产站点 的容灾管理模块获取所述待容灾的云应用的第二描述信息, 该第二描述信息 从整体上对所述待容灾的云应用在容灾站点的部署进行了描述, 所述容灾站 点的容灾管理模块可以将获取到的所述第二描述信息注册到所述容灾站点 的云管理模块, 使得所述容灾站点的云管理模块可以根据所述第二描述信 息, 在所述容灾站点中完整的恢复所述待容灾的云应用, 实现了基于云应用 的容灾, 不同于现有技术基于虚拟机粒度的容灾方式, 本发明实施例实现应 用级别的容灾配置, 避免了虚拟机粒度的容灾可能产生的不能完整、 快速恢 复云应用的问题。 具体实施例六之配置¾½
结合图 1 ( c )所示的系统构架, 本发明实施例提供的容灾方法如图 14 得容灾站点的容灾管理模块可以才艮据所述配置信息,将所述待容灾的云应用 在容灾站点中进行配置, 从而在容灾站点中恢复所述待容灾的云应用, 所述 方法可以由生产站点的容灾管理模块执行, 所述方法可以包括:
1401: 从所述生产站点的云管理模块获取待容灾的云应用的第一描述信
所述获取所述待容灾的云应用的第一描述信息可以有两种方法, 分别 是:
1 )第一种方法
所述生产站点的容灾管理模块可以获取所述生产站点的云管理模块记 录的所述待容灾的云应用的第一描述信息, 其中, 所述生产站点的云管理模 块可以在部署所述云应用的虚拟机之后,搜集所述云应用的运行实例的静态 描述信息和动态描述信息生成所述第一描述信息。
2 )第二种方法
所述生产站点的容灾管理模块可以从所述生产站点的云管理模块获取 虚拟机在所述生产站点占用的第一存储单元的信息以及所述源虚拟机的网 络地址, 生成所述第一描述信息。 网络的信息以及所述待容灾的云应用在所述生产站点使用的源虚拟机的信 息, 所述源虚拟机的信息包括所述源虚拟机的标识、 规格、 所述源虚拟机在 所述生产站点占用的第一存储单元的信息以及所述源虚拟机的归属网络的 信息。
进一步, 所述源虚拟机的归属网络的信息包括所述源虚拟机的网络地址
1402: 将所述第一描述信息发送到所述容灾站点的容灾管理模块。 所述生产站点的容灾管理模块可以将所述第一描述信息发送到所述容 灾站点的容灾管理模块, 使得所述容灾站点的容灾管理模块, 可以基于这种 从整体上对待容灾的云应用进行描述的第一描述信息, 为所述待容灾的云应 用配置所述待容灾的云应用的第二描述信息,在容灾站点恢复所述待容灾的 云应用。
在本发明实施例中, 所述生产站点的容灾管理模块能够获取到待容灾的 云应用的第一描述信息, 该第一描述信息不仅包括所述待容灾的云应用在生 产站点所使用的源虚拟机的信息,还包括所述待容灾的云应用在生产站点使 用的源网络的信息, 所述生产站点的容灾管理模块能够将所述第一描述信息 发送到所述容灾站点的容灾管理模块, 使得所述容灾站点的容灾管理模块, 可以基于这种从整体上对待容灾的云应用进行描述的第一描述信息, 为所述 待容灾的云应用配置所述待容灾的云应用的第二描述信息,从而在所述容灾 站点中完整恢复所述待容灾的云应用, 实现基于云应用的容灾。 不同于现有 技术基于虚拟机粒度的容灾方式, 本发明实施例实现应用级别的容灾配置, 避免了虚拟机粒度的容灾可能产生的不能完整、 快速恢复云应用的问题。
具体实施例七之配置¾½ 结合图 1 ( c )所示的系统构架, 本发明实施例提供的容灾方法如图 15 所示, 用于将生产站点中的待容灾的云应用在容灾站点中进行配置, 当所述 生产站点发生容灾事故时, 用以在容灾站点根据配置信息恢复所述待容灾的 云应用,所述方法可以由容灾站点的容灾管理模块执行,所述方法可以包括: 1501 : 从生产站点的容灾管理模块获取待容灾的云应用的第一描述信
所述容灾站点的容灾管理模块可以接收所述生产站点的容灾管理模块 发送的所述第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生 产站点使用的源网络的信息以及所述待容灾的云应用在所述生产站点使用 的源虚拟机的信息, 所述源虚拟机的信息包括所述源虚拟机的标识、 规格、 所述源虚拟机在所述生产站点占用的第一存储单元的信息以及所述源虚拟 机的归属网络的信息。
进一步, 所述源虚拟机的归属网络的信息包括所述源虚拟机的网络地址
1502: 根据所述源虚拟机的信息, 确定所述待容灾的云应用在所述容灾 站点使用的备份虚拟机的标识和规格。
1503: 根据所述源虚拟机的信息, 确定所述备份虚拟机在所述容灾站点 占用的第二存储单元的信息。
1504: 指示所述生产站点的存储管理软件和所述容灾站点的存储管理软 件将所述第一存储单元的数据复制到所述第二存储单元。
1505: 根据所述源网络的信息, 为所述待容灾的云应用配置备份网络的 信息。
1506: 根据所述源虚拟机的信息和所述备份网络的信息, 确定所述备份 虚拟机的归属网络的信息。
1507: 根据所述备份网络的信息、 所述备份虚拟机的标识和规格、 所述 第二存储单元的信息、 以及所述备份虚拟机的归属网络的信息, 获得所述第 二描述信息。
1508: 将所述第二描述信息注册到所述容灾站点的云管理模块。
所述容灾站点的容灾管理模块将所述第二描述信息直接注册到所述容 灾站点的云管理模块, 以使得所述容灾站点的云管理模块根据所述第二描述 信息, 在所述容灾站点中恢复所述待容灾的云应用。 本发明实施例中步骤 1502-1507与步骤 502-507的具体实施方式类似, 在此不再赘述。 在本发明实施例中, 所述容灾站点的容灾管理模块能够从所述生产站点 的容灾管理模块获取所述待容灾的云应用的第一描述信息, 该第一描述信息 不仅包括所述待容灾的云应用在生产站点所使用的源虚拟机的信息,还包括 所述待容灾的云应用在生产站点使用的源网络的信息,基于这种从整体上对 待容灾的云应用进行描述的第一描述信息, 可以为所述待容灾的云应用配置 在所述容灾站点使用的备份网络的信息以及在所述容灾站点使用的备份虚 拟机的信息, 即生成所述待容灾的云应用在容灾站点的第二描述信息, 该第 二描述信息从整体上对所述待容灾的云应用在容灾站点的部署进行了描述, 所述容灾站点的容灾管理模块将所述第二描述信息注册到所述容灾站点的 云管理模块, 使得所述容灾站点的云管理模块可以根据所述第二描述信息, 在所述容灾站点中完整恢复所述待容灾的云应用, 实现了基于云应用的容 灾。 不同于现有技术基于虚拟机粒度的容灾方式, 本发明实施例实现应用级 别的容灾配置, 避免了虚拟机粒度的容灾可能产生的不能完整、 快速恢复云 应用的问题。 具体实施例四 -七之恢复¾½ 结合图 1 ( c )所示的系统构架, 本发明实施例的容灾方法如图 16所示, 用于当所述生产站点发生容灾事故时, 将所述生产站点中的待容灾的云应用 恢复到容灾站点中, 所述方法可以由所述容灾站点的云管理模块执行, 所述 方法可以包括:
1601 : 接收来自容灾站点的容灾管理模块的注册信息, 所述注册信息携 带所述待容灾的云应用的第二描述信息。
所述容灾站点的云管理模块可以接收来自容灾站点的容灾管理模块的 注册信息, 获取所述注册信息携带的所述待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待容灾的云应用在容灾站点使用的备份网络的
虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点占用的第二存储单元 的信息以及所述备份虚拟机的归属网络的信息。
进一步, 所述备份虚拟机的归属网络的信息可以包括所述备份虚拟机的 虚拟网卡与所述备份网络的关联关系, 或者所述备份虚拟机的虚拟网卡的网 络地址。 软件, 停止将所述第一存储单元的数据复制到所述第二存储单元。
步骤 1602为可选步骤, 步骤 1602可以在步骤 1601之前, 也可以在步 骤 1601之后, 本发明实施例在此不作限定。
1603: 根据所述第二描述信息中的所述备份网络的信息, 指示所述容灾 站点的虚拟化模块创建所述备份网络。
1604: 根据所述第二描述信息中的所述备份虚拟机的信息, 指示所述容 灾站点的虚拟化模块创建所述备份虚拟机。
1605: 根据所述第二描述信息, 为所述备份虚拟机分配网络地址。 1606: 根据所述第二描述信息中的所述备份虚拟机的信息, 指示所述容 灾站点的虚拟化模块将所述备份虚拟机与所述备份网络关联。
本发明实施例中步骤 1602-1606与步骤 702-706的具体实施方式类似, 在此不再赘述。 在本发明实施例中, 所述容灾站点的云管理模块可以从所述容灾站点的 容灾管理模块获取所述待容灾的云应用的第二描述信息, 该第二描述信息从 整体上对所述待容灾的云应用在容灾站点的部署进行了描述, 所述容灾站点 的云管理模块获取到该第二描述信息之后, 可以根据所述第二描述信息中的 所述备份网络的信息, 指示所述容灾站点的虚拟化模块创建所述备份网络, 根据所述第二描述信息中的所述备份虚拟机的标识、规格以及所述第二存储 单元的信息, 指示所述容灾站点的虚拟化模块创建所述备份虚拟机, 根据所 述第二描述信息中的所述备份虚拟机的归属网络的信息,将所述备份虚拟机 与所述备份网络进行关联, 在所述容灾站点中完整、 快速地恢复所述待容灾 的云应用, 实现了基于云应用的容灾, 不同于现有技术基于虚拟机粒度的容 灾方式, 本发明实施例实现应用级别的容灾恢复, 避免了虚拟机粒度的容灾 可能产生的不能完整、 快速地恢复云应用的问题。 一种容灾装置
结合图 1 ( a )或(b )或(c )所示的系统构架, 本发明实施例中的容灾 装置如图 17所示, 用于将生产站点中的待容灾的云应用在容灾站点中进行 配置, 当所述生产站点发生容灾事故时, 用以在容灾站点根据配置信息恢复 所述待容灾的云应用, 所述装置可以为图 1 ( b )所示的生产站点的云管理模 块, 还可以为图 1 ( a )所示的容灾管理模块, 还可以为图 1 ( c )所示的生 产站点的容灾管理模块或者容灾站点的容灾管理模块, 所述装置可以包括: 获取单元 1701 ,用于获取待容灾的云应用的第一描述信息,所述第一描 述信息包括所述待容灾的云应用在生产站点使用的源网络的信息以及所述 待容灾的云应用在所述生产站点使用的源虚拟机的信息。
生成单元 1702,用于根据所述获取单元 1701获取的所述第一描述信息, 生成所述待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待容 灾的云应用在容灾站点使用的备份网络的信息以及所述待容灾的云应用在 所述容灾站点使用的备份虚拟机的信息。
提交单元 1703 , 用于向所述容灾站点提供所述生成单元 1702生成的所 述第二描述信息, 以使得所述容灾站点根据所述第二描述信息, 恢复所述待 容灾的云应用。
在本发明实施例中, 所述获取单元 1701 能够获取到待容灾的云应用的 第一描述信息, 该第一描述信息不仅包括所述待容灾的云应用在生产站点所 使用的源虚拟机的信息,还包括所述待容灾的云应用在生产站点使用的源网 络的信息, 所述生成单元 1702基于这种从整体上对待容灾的云应用进行描 述的第一描述信息, 可以生成所述待容灾的云应用在容灾站点的第二描述信 息, 该第二描述信息同样能够从整体上对所述待容灾的云应用在容灾站点的 部署进行描述, 所述提交单元 1703 能够向所述容灾站点提供所述第二描述 信息, 使得所述容灾站点获取到该第二描述信息之后, 就可以根据所述第二 描述信息, 在所述容灾站点中完整恢复所述待容灾的云应用, 实现了基于云 应用的容灾。 不同于现有技术基于虚拟机粒度的容灾方式, 本发明实施例实 现应用级别的容灾配置, 避免了虚拟机粒度的容灾可能产生的不能完整、 快 速恢复云应用的问题。 结合图 1 ( c )所示的系统构架, 本发明实施例中的容灾装置如图 18所 示, 用于获取生产站点中的待容灾的云应用在容灾站点中的配置信息, 当所 述生产站点发生容灾事故时, 用以在容灾站点根据所述配置信息恢复所述待 容灾的云应用, 所述容灾装置可以为容灾站点的容灾管理模块, 所述装置包 括:
获取单元 1801 ,用于获取待容灾的云应用的第二描述信息,所述第二描 述信息包括所述待容灾的云应用在容灾站点使用的备份网络的信息以及所 注册单元 1802, 用于将获取单元 1801获取的所述第二描述信息注册到 所述容灾站点的云管理模块, 以使得所述容灾站点的云管理模块根据所述第 二描述信息, 在所述容灾站点中恢复所述待容灾的云应用。
在本发明实施例中, 所述获取单元 1801可以获取所述待容灾的云应用 的第二描述信息, 该第二描述信息从整体上对所述待容灾的云应用在容灾站 点的部署进行了描述, 所述注册单元 1802可以将所述第二描述信息注册到 所述容灾站点的容灾管理模块,使得所述容灾站点可以根据所述第二描述信 息, 在所述容灾站点中完整的恢复所述待容灾的云应用, 实现了基于云应用 的容灾, 不同于现有技术基于虚拟机粒度的容灾方式, 本发明实施例实现应 用级别的容灾配置和恢复,避免了虚拟机粒度的容灾可能产生的不能完整恢 复云应用的问题。 结合图 1 ( a )或(b )或(c )所示的系统构架, 本发明实施例中的容灾 装置如图 19所述, 用于将生产站点中的待容灾的云应用在容灾站点中进行 恢复, 所述装置可以为容灾站点的云管理模块, 所述装置包括:
获取单元 1901 ,用于获取待容灾的云应用的第二描述信息,所述第二描 述信息包括所述待容灾的云应用在容灾站点使用的备份网络的信息以及所 恢复单元 1902,用于根据所述获取单元 1901获取的所述第二描述信息, 在所述容灾站点中恢复所述待容灾的云应用。
在本发明实施例中, 所述获取单元 1901可以从图 1 ( b )所示的生产站 点的云管理模块或者图 1 ( a )所示的容灾管理模块或者图 1 ( c )所示的生 产站点的容灾管理模块, 获取所述待容灾的云应用的第二描述信息, 该第二 描述信息从整体上对所述待容灾的云应用在容灾站点的部署进行了描述, 所 述恢复单元 1902可以根据所述第二描述信息, 在所述容灾站点中完整、 快 速地恢复所述待容灾的云应用, 实现了基于云应用的容灾, 不同于现有技术 基于虚拟机粒度的容灾方式, 本发明实施例实现应用级别的容灾配置和恢 复, 避免了虚拟机粒度的容灾可能产生的不能完整、 快速地恢复云应用的问 题。 如图 20所示的系统, 包扩生产站点的云管理装置 2004、 容灾管理装置 2000和容灾站点的云管理装置 2005的系统,所述装置为容灾管理装置 2000, 其中的容灾管理装置 2000包括: 获取单元 2001、生成单元 2002和提交单元 2003 , 所述装置可以用于将生产站点中的待容灾的云应用在容灾站点中进行 配置, 当所述生产站点发生容灾事故时, 用以在容灾站点根据配置信息恢复 所述待容灾的云应用。
所述获取单元 2001用于从生产站点的云管理装置 2004获取待容灾的云 应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站 点使用的源网络的信息以及所述待容灾的云应用在所述生产站点使用的源 虚拟机的信息, 所述源虚拟机的信息包括所述源虚拟机的标识、 规格、 所述 源虚拟机在所述生产站点占用的第一存储单元的信息以及所述源虚拟机的 归属网络的信息, 其中, 所述备份虚拟机的归属网络的信息可以包括所述源 的虚拟网卡与所述源网络的关联关系。
所述获取所述待容灾的云应用的第一描述信息可以有两种方法, 1 ) 第 一种方法, 所述获取单元 2001通过与所述生产站点的云管理装置的接口, 从所述生产站点的云管理装置查询所述待容灾的云应用的第一描述信息, 其 中, 所述生产站点的云管理装置可以在部署所述云应用的虚拟机之后, 搜集 所述云应用的运行实例的静态描述信息和动态描述信息生成所述第一描述 信息; 2 )第二种方法, 所述获取单元 2001通过与所述生产站点的云管理装 置的接口,从所述生产站点的云管理装置查询所述待容灾的云应用在所述生 产站点使用的源虚拟机的标识和规格、所述源虚拟机在所述生产站点占用的 第一存储单元的信息以及所述源虚拟机的网络地址, 生成所述第一描述信 息。
所述生成单元 2002用于根据所述获取单元 2001获取的所述第一描述信 息, 为所述待容灾的云应用配置在所述容灾站点使用的备份网络的信息、 配 置在所述容灾站点使用的备份虚拟机的信息, 即生成所述待容灾的云应用的 第二描述信息, 所述第二描述信息包括所述待容灾的云应用在容灾站点使用 的备份网络的信息以及所述待容灾的云应用在所述容灾站点使用的备份虚 拟机的信息, 所述待容灾的云应用在所述容灾站点使用的备份虚拟机的信息 包括: 所述备份虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点占用 的第二存储单元的信息以及所述备份虚拟机的归属网络的信息;
贝' h 所述生成单元 2002具体用于: 根据所述源虚拟机的标识和规格, 确定所述备份虚拟机的标识和规格; 根据所述第一存储单元的信息, 确定所 述第二存储单元的信息; 根据所述源网络的信息, 为所述待容灾的云应用配 置所述备份网络的信息; 根据所述备份网络的信息、 所述备份虚拟机的标识 以及所述源虚拟机的归属网络的信息, 确定所述备份虚拟机的归属网络的信 息, 其中, 所述备份虚拟机的归属网络的信息包括所述备份虚拟机的虚拟网 卡与所述备份网络的关联关系或者所述备份虚拟机的网络地址。
所述生成单元 2002还可以用于建立所述第一存储单元与所述第二存储 单元的复制关系, 并将所述复制关系配置到所述生产站点的存储管理软件和 所述容灾站点的存储管理软件,使得所述生产站点的存储管理软件和容灾站 点的存储管理软件, 可以根据所述第一存储单元与所述第二存储单元的复制 关系, 按照设定的复制周期和复制方式, 将所述第一存储单元的数据复制到 所述第二存储单元, 所述确定所述第一存储单元与所述第二存储单元的复制 关系可以才艮据用户的指定来确定。
所述提交单元 2003用于将所述生成单元 2002生成的所述第二描述信息 注册到所述容灾站点的云管理装置 2005 ,以使得所述容灾站点的云管理装置 2005可以根据所述第二描述信息,在所述容灾站点中恢复所述待容灾的云应 用。
在本发明实施例中, 所述获取单元 2001 能够从所述生产站点的云管理 装置获取待容灾的云应用的第一描述信息, 该第一描述信息不仅包括所述待 容灾的云应用在生产站点所使用的源虚拟机的信息,还包括所述待容灾的云 应用在生产站点使用的源网络的信息,基于这种从整体上对待容灾的云应用 进行描述的第一描述信息, 所述生成单元 2002可以为所述待容灾的云应用 配置在所述容灾站点使用的备份网络的信息、 配置在所述容灾站点使用的备 份虚拟机的信息, 即生成所述待容灾的云应用在容灾站点的第二描述信息, 该第二描述信息从整体上对所述待容灾的云应用在容灾站点的部署进行了 描述, 所述提交单元 2003可以将所述第二描述信息注册到所述容灾站点的 云管理装置,使得所述容灾站点的云管理装置可以才艮据所述第二描述信息完 整、 快速地恢复所述待容灾的云应用, 实现了基于云应用的容灾。 不同于现 有技术基于虚拟机粒度的容灾方式, 本发明实施例实现应用级别的容灾配 置, 避免了虚拟机粒度的容灾可能产生的不能完整、 快速地恢复云应用的问 题。 如图 21所示的系统, 包括生产站点的云管理装置 2100和容灾站点的云 管理装置 2104,其中,所述生产站点的云管理装置 2100包括:获取单元 2101、 生成单元 2102和提交单元 2103 , 所述装置可以用于将生产站点中的待容灾 的云应用在容灾站点中进行配置, 当所述生产站点发生容灾事故时, 用以在 容灾站点 4艮据配置信息恢复所述待容灾的云应用。
所述获取单元 2101用于获取待容灾的云应用的第一描述信息, 所述第 一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信息以及 的信息包括所述源虚拟机的标识、 规格、 所述源虚拟机在所述生产站点占用 的第一存储单元的信息以及所述源虚拟机的归属网络的信息, 进一步, 所述 源虚拟机的归属网络的信息包括所述源虚拟机的网络地址或者所述源虚拟 机的虚拟网卡与所述源网络的关联关系。
所述获取单元 2101获取所述待容灾的云应用的第一描述信息可以有两 种方法, 分别是: 第一种方法, 所述获取单元 2101 直接获取所述生产站点 的云管理装置记录的所述待容灾的云应用的第一描述信息, 其中, 所述生产 站点的云管理装置可以在部署所述云应用的虚拟机之后,搜集所述云应用的 运行实例的静态描述信息和动态描述信息生成所述第一描述信息; 第二种方 法, 所述获取单元 2101根据所述生产站点的云管理装置记录的所述待容灾 的云应用在所述生产站点使用的源虚拟机的标识和规格、所述源虚拟机在所 述生产站点占用的第一存储单元的信息以及所述源虚拟机的网络地址, 生成 所述第一描述信息。
所述生成单元 2102用于根据所述获取单元 2101获取的所述第一描述信 息, 为所述待容灾的云应用配置在所述容灾站点使用的备份网络的信息、 配 置在所述容灾站点使用的备份虚拟机的信息, 即生成所述待容灾的云应用的 第二描述信息, 所述第二描述信息包括所述待容灾的云应用在容灾站点使用 的备份网络的信息以及所述待容灾的云应用在所述容灾站点使用的备份虚 拟机的信息, 所述待容灾的云应用在所述容灾站点使用的备份虚拟机的信息 包括: 所述备份虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点占用 的第二存储单元的信息以及所述备份虚拟机的归属网络的信息; 则, 所述生 成单元 2102具体用于: 根据所述源虚拟机的标识和规格, 确定所述备份虚 拟机的标识和规格; 根据所述第一存储单元的信息, 确定所述备份虚拟机在 所述容灾站点占用的第二存储单元的信息; 根据所述源网络的信息, 为所述 待容灾的云应用配置所述备份网络的信息; 根据所述备份网络的信息、 所述 备份虚拟机的标识以及所述源虚拟机的归属网络的信息,确定所述备份虚拟 机的归属网络的信息, 其中, 所述备份虚拟机的归属网络的信息可以包括所 的网络地址。
所述生成单元 2102还可以用于建立所述第一存储单元与所述第二存储 单元的复制关系, 并将所述复制关系配置到所述生产站点的存储管理软件和 所述容灾站点的存储管理软件,使得所述生产站点的存储管理软件和容灾站 点的存储管理软件, 可以根据所述第一存储单元与所述第二存储单元的复制 关系, 按照设定的复制周期和复制方式, 将所述第一存储单元的数据复制到 所述第二存储单元, 所述确定所述第一存储单元与所述第二存储单元的复制 关系可以才艮据用户的指定来确定。
所述提交单元 2103用于将所述生成单元 2102生成的所述第二描述信息 注册到所述容灾站点的云管理装置 2104,以使得所述容灾站点的云管理装置 2104可以根据所述第二描述信息,在所述容灾站点中恢复所述待容灾的云应 用。
在本发明实施例中, 所述获取单元 2101 能够获取待容灾的云应用的第 一描述信息, 该第一描述信息不仅包括所述待容灾的云应用在生产站点所使 的信息, 基于这种从整体上对待容灾的云应用进行描述的第一描述信息, 所 述生成单元 2102可以为所述待容灾的云应用配置在所述容灾站点使用的备 份网络的信息、 配置在所述容灾站点使用的备份虚拟机的信息, 即生成所述 待容灾的云应用在容灾站点的第二描述信息, 该第二描述信息从整体上对所 述待容灾的云应用在容灾站点的部署进行了描述, 所述提交单元 2103 可以 将所述第二描述信息注册到所述容灾站点的云管理装置,使得所述容灾站点 的云管理装置可以根据所述第二描述信息完整、快速地恢复所述待容灾的云 应用, 实现了基于云应用的容灾。 不同于现有技术基于虚拟机粒度的容灾方 式, 本发明实施例实现应用级别的容灾配置, 避免了虚拟机粒度的容灾可能 如图 22所示的系统, 包括生产站点的容灾管理装置 2200、 生产站点的 云管理装置 2204、 容灾站点容灾管理装置 2205 和容灾站点的云管理装置 2206, 其中, 所述容灾管理装置 2200可以包括: 获取单元 2201、 生成单元 2202和提交单元 2203; 所述装置可以用于将生产站点中的待容灾的云应用 在容灾站点中进行配置, 当所述生产站点发生容灾事故时, 用以在容灾站点 根据配置信息恢复所述待容灾的云应用。
具体地,所述获取单元 2201用于从所述生产站点的云管理装置 2204获 取待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云 应用在生产站点使用的源网络的信息以及所述待容灾的云应用在所述生产 站点使用的源虚拟机的信息。 所述源虚拟机的信息包括所述源虚拟机的标 识、 规格、 所述源虚拟机在所述生产站点占用的第一存储单元的信息以及所 述源虚拟机的归属网络的信息, 进一步, 所述源虚拟机的归属网络的信息包 关联关系。
所述获取单元 2201获取所述待容灾的云应用的第一描述信息可以有两 种方法, 分别是: 第一种方法, 所述获取单元 2201从所述生产站点的云管 理装置 2204获取所述待容灾的云应用的第一描述信息, 其中, 所述生产站 点的云管理装置可以在部署所述云应用的虚拟机之后,搜集所述云应用的运 行实例的静态描述信息和动态描述信息生成所述第一描述信息; 第二种方 法, 所述获取单元 2201根据所述生产站点的云管理装置 2204记录的所述待 在所述生产站点占用的第一存储单元的信息以及所述源虚拟机的网络地址, 生成所述第一描述信息。
所述生成单元 2202用于根据所述获取单元 2201获取的所述第一描述信 息, 为所述待容灾的云应用配置在所述容灾站点使用的备份网络的信息、 配 置在所述容灾站点使用的备份虚拟机的信息, 即生成所述待容灾的云应用的 第二描述信息, 所述第二描述信息包括所述待容灾的云应用在容灾站点使用 的备份网络的信息以及所述待容灾的云应用在所述容灾站点使用的备份虚 拟机的信息, 所述待容灾的云应用在所述容灾站点使用的备份虚拟机的信息 包括: 所述备份虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点占用 的第二存储单元的信息以及所述备份虚拟机的归属网络的信息;
贝' J , 所述生成单元 2202具体用于: 根据所述源虚拟机的标识和规格, 确定所述备份虚拟机的标识和规格; 根据所述第一存储单元的信息, 确定所 述备份虚拟机在所述容灾站点占用的第二存储单元的信息; 根据所述源网络 的信息, 为所述待容灾的云应用配置所述备份网络的信息; 根据所述备份网 络的信息、 所述备份虚拟机的标识以及所述源虚拟机的归属网络的信息, 确 定所述备份虚拟机的归属网络的信息; 其中, 所述备份虚拟机的归属网络的 所述备份虚拟机的网络地址。
所述提交单元 2203用于将所述生成单元 2202生成的所述第二描述信息 发送到所述容灾站点的容灾理模块 2205 ,以使得所述容灾站点的容灾理模块 2205可以根据所述第二描述信息,在所述容灾站点中恢复所述待容灾的云应 用。
此外, 所述生成单元 2202还可以用于建立所述第一存储单元与所述第 二存储单元的复制关系, 并将所述复制关系配置到所述生产站点的存储管理 软件和所述容灾站点的存储管理软件,使得所述生产站点的存储管理软件和 容灾站点的存储管理软件, 可以根据所述第一存储单元与所述第二存储单元 的复制关系, 按照设定的复制周期和复制方式, 将所述第一存储单元的数据 复制到所述第二存储单元, 所述确定所述第一存储单元与所述第二存储单元 的复制关系可以才艮据用户的指定来确定。 在本发明实施例中, 所述获取单元 2201 能够从所述生产站点的云管理 装置 2204获取待容灾的云应用的第一描述信息, 该第一描述信息不仅包括 所述待容灾的云应用在生产站点所使用的源虚拟机的信息,还包括所述待容 灾的云应用在生产站点使用的源网络的信息,基于这种从整体上对待容灾的 云应用进行描述的第一描述信息, 所述生成单元 2202可以为所述待容灾的 云应用配置在所述容灾站点使用的备份网络的信息、 配置在所述容灾站点使 用的备份虚拟机的信息, 即生成所述待容灾的云应用在容灾站点的第二描述 信息, 该第二描述信息从整体上对所述待容灾的云应用在容灾站点的部署进 行了描述, 所述提交单元 2203可以将所述第二描述信息发送到所述容灾站 点的容灾管理装置 2205 ,使得所述容灾站点的容灾管理装置可以向所述容灾 站点提供所述第二描述信息, 完整恢复所述待容灾的云应用, 实现了基于云 应用的容灾。 不同于现有技术基于虚拟机粒度的容灾方式, 本发明实施例实 现应用级别的容灾配置, 避免了虚拟机粒度的容灾可能产生的不能完整、 快 速恢复云应用的问题。 如图 23所示的系统, 包括生产站点的容灾管理装置 2304、 生产站点的 云管理装置 2303、 容灾站点的容灾管理装置 2300和容灾站点的云管理装置 2305 , 其中, 所述容灾管理装置 2300可以包括: 获取单元 2301和注册单元 2302; 所述装置可以用于将生产站点中的待容灾的云应用在容灾站点中进行 配置, 当所述生产站点发生容灾事故时, 用以在容灾站点根据配置信息恢复 所述待容灾的云应用, 所述装置。
具体地, 所述获取单元 2301用于获取待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待容灾的云应用在容灾站点使用的备份网络的 述待容灾的云应用在所述容灾站点使用的备份虚拟机的信息包括所述备份 虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点占用的第二存储单元 的信息以及所述备份虚拟机的归属网络的信息, 进一步, 所述备份虚拟机的 的虚拟网卡与所述备份网络的关联关系。
所述获取单元 2301可以接收所述生产站点的容灾管理装置 2301发送的 所述待容灾的云应用的第二描述信息, 还可以接收所述生产站点的容灾管理 装置 2301发送的所述待容灾的云应用的第一描述信息, 根据所述第一描述 信息, 生产所述第二描述信息, 所述第一描述信息包括所述待容灾的云应用 在生产站点使用的源网络的信息以及所述待容灾的云应用在所述生产站点 使用的源虚拟机的信息, 所述源虚拟机的信息包括所述源虚拟机的标识、 规 格、所述源虚拟机在所述生产站点占用的第一存储单元的信息以及所述源虚 拟机的归属网络的信息; 则, 所述根据所述第一描述信息, 生产所述第二描 述信息包括: 根据所述源虚拟机的标识和规格, 确定所述备份虚拟机的标识 和规格; 根据所述第一存储单元的信息, 确定所述备份虚拟机在所述容灾站 点占用的第二存储单元的信息; 根据所述源网络的信息, 为所述待容灾的云 应用配置所述备份网络的信息; 根据所述备份网络的信息、 所述备份虚拟机 的标识以及所述源虚拟机的归属网络的信息,确定所述备份虚拟机的归属网 络的信息。
其中,所述源虚拟机的归属网络的信息可以包括所述源虚拟机的网络地
注册到所述容灾站点的云管理装置 2305 ,以使得所述容灾站点的云管理装置 2305根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾的云应用。
在本发明实施例中, 所述获取单元 2301 能够获取所述待容灾的云应用 的第二描述信息, 该第二描述信息从整体上对所述待容灾的云应用在容灾站 点的部署进行了描述, 所述容灾站点的容灾管理装置可以将获取到的所述第 二描述信息注册到所述容灾站点的云管理装置 2305 ,使得所述容灾站点的云 管理装置 2305可以根据所述第二描述信息, 在所述容灾站点中完整的恢复 所述待容灾的云应用, 实现了基于云应用的容灾, 不同于现有技术基于虚拟 机粒度的容灾方式, 本发明实施例实现应用级别的容灾配置, 避免了虚拟机 粒度的容灾可能产生的不能完整、 快速恢复云应用的问题。 结合图 1 ( a )或(b )或(c )所示的系统构架, 本发明实施例的容灾装 复, 所述装置可以为所述容灾站点的云管理模块, 所述装置可以包括: 确定 单元 2401和恢复单元 2402。
所述确定单元 2401用于获取待容灾的云应用的第二描述信息, 所述第 二描述信息包括所述待容灾的云应用在容灾站点使用的备份网络的信息以 及所述待容灾的云应用在所述容灾站点使用的备份虚拟机的信息, 所述备份 虚拟机的信息包括: 所述备份虚拟机的标识、 规格、 所述备份虚拟机在所述 容灾站点占用的第二存储单元的信息以及所述备份虚拟机的归属网络的信 息, 例如, 所述 APP1的第二描述信息可以如表 2所示。 进一步, 所述备份 网络的关联关系, 或者所述备份虚拟机的虚拟网卡的网络地址。 所述所述确 定单元 2401获取待容灾的云应用的第二描述信息可以有如下两种方法: 1 )第一种方法
在图 1 ( b )所示的系统构架中, 所述确定单元 2401用于接收来自所述 生产站点的云管理模块的注册信息, 获取所述注册信息携带的所述待容灾的 云应用的第二描述信息。
在图 1 ( a )所示的系统构架中, 所述确定单元 2401用于接收来自所述 容灾管理模块的注册信息, 获取所述注册信息携带的所述待容灾的云应用的 第二描述信息。
在图 1 ( c )所示的系统构架中, 所述确定单元 2401用于接收来自所述 容灾站点的容灾管理模块的注册信息, 获取所述注册信息携带的所述待容灾 的云应用的第二描述信息。
2 )第二种方法
在图 1 ( a )或 (b )或 (c )所示的系统构架中, 所述确定单元 2401获 取所述待容灾的云应用的第一描述信息, 根据所述第一描述信息, 生成所述 第二描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用 的源网络的信息以及所述待容灾的云应用在所述生产站点使用的源虚拟机 的信息, 其中, 所述源虚拟机的信息包括所述源虚拟机的标识、 规格、 所述 源虚拟机在所述生产站点占用的第一存储单元的信息以及所述源虚拟机的 归属网络的信息, 所述源虚拟机的归属网络的信息包括所述源虚拟机的网络
息, 在所述容灾站点中恢复所述待容灾的云应用, 所述恢复单元 2402具体 包括第一恢复单元 2402a、 第二恢复单元 2402b、 第三恢复单元 2402c; 所述 第一恢复单元 2402a用于根据所述备份网络的信息, 指示所述容灾站点的虚 拟化模块创建所述备份网络; 所述第二恢复单元 2402b用于根据所述备份虚 拟机的标识、 规格以及所述第二存储单元的信息, 指示所述容灾站点的虚拟 化模块创建所述备份虚拟机; 所述第三恢复单元 2402c用于根据所述备份虚 拟机的归属网络的信息,指示所述容灾站点的虚拟化模块将所述备份虚拟机 与所述备份网络进行关联。
具体地, 所述第一恢复单元 2402a,在所述确定单元 2401获取所述第二 描述信息之后, 可以向所述容灾站点的虚拟化模块发送虚拟化网络创建指 令, 所述虚拟化网络创建指令携带所述备份网络的信息, 使得所述容灾站点 的虚拟化模块根据所述虚拟化网络创建指令确定所述待容灾的云应用所使 用的虚拟交换机, 并将所述备份网络的信息配置到所述虚拟交换机上的端口 组, 具体地, 所述容灾站点的云管理模块向所述容灾站点的虚拟化模块发送 所述虚拟化网络创建指令, 所述虚拟化网络创建指令携带所述备份网络的信 息以及所述第二存储单元的信息; 所述虚拟化模块在接收到所述虚拟化网络 创建指令后, 根据所述第二存储单元的信息, 确定所述待容灾的云应用在所 述容灾站点使用的虚拟交换机, 并根据所述备份网络的信息, 指定或创建所 述虚拟机换机上的端口组, 并建立所述备份网络与所述虚拟交换机上的端口 组的对应关系,再根据所述备份网络与所述虚拟交换机上的端口组的对应关 系, 将所述备份网络的信息配置到所述虚拟交换机上的端口组, 使得所述备 份网络得以恢复。 所述第一恢复单元 2402a, 在所述虚拟化模块创建所述备 份网络之后,还用于从所述容灾站点的虚拟化模块获取所述备份网络与所述 虚拟交换机的端口组的对应关系, 并记录所述备份网络的信息与所述虚拟交 换机的端口组的对应关系。
所述第二恢复单元 2402b,在所述确定单元 2401获取所述第二描述信息 之后, 可以根据所述第二描述信息中的所述备份虚拟机的标识、 规格以及所 述第二存储单元的信息,指示所述容灾站点的虚拟化模块创建所述备份虚拟 机, 包括: 向所述容灾站点的虚拟化模块发送虚拟机创建指令, 所述虚拟机 创建指令携带所述备份虚拟机的标识、 规格以及所述第二存储单元的信息, 指示所述容灾站点的虚拟化模块根据上述信息创建所述备份虚拟机以及所 述备份虚拟机的虚拟网卡。
所述第三恢复单元 2402c, 在所述第一恢复单元 2402a创建所述备份网 络以及所述第二恢复单元 2402b创建所述备份虚拟机之后, 可以指示所述容 灾站点的虚拟化模块, 根据所述备份虚拟机的归属网络的信息, 将所述备份 虚拟机的虚拟网卡与所述虚拟交换机进行关联, 具体包括: 所述第三恢复单 元 2402c可以根据所述备份虚拟机的归属网络的信息, 获取所述备份虚拟机 的虚拟网卡与所述备份网络的关联关系, 所述获取所述备份虚拟机的虚拟网 卡与所述备份网络的关联关系可以是直接从所述备份虚拟机的归属网络的 信息中获取,或者根据所述备份虚拟机的归属网络的信息中的所述备份虚拟 机的网络地址以及所述备份网络的信息,确定所述备份虚拟机的虚拟网卡与 所述备份网络的关联关系; 所述第三恢复单元 2402c可以从所述第一恢复单 元 2402a获取所述备份网络的信息与所述虚拟交换机的端口组的对应关系, 份网络的信息与所述虚拟交换机的端口组的对应关系,确定所述备份虚拟机 的虚拟网卡与所述虚拟交换机的端口组的对应关系; 所述第三恢复单元 2402c根据所述备份虚拟机的虚拟网卡与所述虚拟交换机的端口组的对应关 系,指示所述虚拟化模块将所述备份虚拟机的虚拟网卡与所述虚拟交换机上
述备份网络进行数据传输。
进一步, 所述装置还可以包括:
阻止单元 2403 , 用于在所述恢复单元 2402在所述容灾站点恢复所述待 容灾的云应用之前, 用于对所述容灾站点的存储管理软件或者所述生产站点 的存储管理软件进行配置, 以阻止所述容灾站点将所述第一存储单元的数据 复制到所述第二存储单元, 避免容灾恢复后, 所述第二存储单元继续通过复 制获取所述第一存储单元的数据而导致的数据覆盖,保障了所述待容灾的云 应用的可靠恢复。
在本发明实施例中, 所述确定单元 2401可以获取所述待容灾的云应用 的第二描述信息, 该第二描述信息从整体上对所述待容灾的云应用在容灾站 点的部署进行了描述, 所述恢复单元 2402在所述确定单元 2401获取到该第 二描述信息之后, 可以根据所述第二描述信息中的所述备份网络的信息, 指 示所述容灾站点的虚拟化模块创建所述备份网络,根据所述第二描述信息中 的所述备份虚拟机的标识、 规格以及所述第二存储单元的信息, 指示所述容 灾站点的虚拟化模块创建所述备份虚拟机,根据所述第二描述信息中的所述 备份虚拟机的归属网络的信息, 将所述备份虚拟机与所述备份网络进行关 联,实现了基于云应用的容灾,不同于现有技术基于虚拟机粒度的容灾方式, 本发明实施例实现应用级别的容灾恢复,避免了虚拟机粒度的容灾可能产生 的不能完整、 快速地恢复云应用的问题。 本发明实施例提供的容灾系统,用于将生产站点中的待容灾的云应用在 容灾站点中进行配置, 当所述生产站点发生容灾事故时, 用以在容灾站点根 据配置信息恢复所述待容灾的云应用, 如图 1 ( a )所示, 所述系统包括生产 站点的云管理模块 105、 容灾管理模块 120和容灾站点的云管理模块 115; 所述生产站点的云管理模块 105用于记录待容灾的云应用的第一描述信
所述容灾管理模块 120用于从所述生产站点的云管理模块 105获取所述 第一描述信息; 根据所述第一描述信息, 生成所述待容灾的云应用的第二描 述信息, 所述第二描述信息包括所述待容灾的云应用在容灾站点使用的备份 网络的信息以及所述待容灾的云应用在所述容灾站点使用的备份虚拟机的 信息; 将所述第二描述信息注册到所述容灾站点的云管理模块 115;
所述容灾站点的云管理模块 115用于接收注册信息,所述注册信息携带 所述第二描述信息; 根据所述第二描述信息, 在所述容灾站点中恢复所述待 容灾的云应用。
在本发明实施例中,所述容灾管理模块 120可以从所述生产站点的云管 理模块 105获取所述第一描述信息, 该第一描述信息不仅包括所述待容灾的 云应用在生产站点所使用的源虚拟机的信息,还包括所述待容灾的云应用在 生产站点使用的源网络的信息,基于这种从整体上对待容灾的云应用进行描 述的第一描述信息, 可以生成所述待容灾的云应用在容灾站点的第二描述信 息, 该第二描述信息同样能够从整体上对所述待容灾的云应用在容灾站点的 部署进行描述; 所述容灾管理模块 120可以将所述第二描述信息发送到所述 容灾站点的云管理模块 115, 当所述容灾站点的云管理模块 115获取到该第 二描述信息之后, 可以根据所述第二描述信息, 在所述容灾站点中完整恢复 所述待容灾的云应用, 实现了基于云应用的容灾。 不同于现有技术基于虚拟 机粒度的容灾方式, 本发明实施例实现应用级别的容灾配置和恢复, 避免了 虚拟机粒度的容灾可能产生的不能完整、 快速恢复云应用的问题。 本发明实施例提供的容灾系统,用于将生产站点中的待容灾的云应用在 容灾站点中进行配置, 当所述生产站点发生容灾事故时, 用以在容灾站点根 据配置信息恢复所述待容灾的云应用, 如图 1 ( b )所示, 所述系统包括生产 站点的云管理模块 105和容灾站点的云管理模块 115;
所述生产站点的云管理模块 105用于获取待容灾的云应用的第一描述信
所述第一描述信息, 生成所述待容灾的云应用的第二描述信息, 所述第二描 述信息包括所述待容灾的云应用在容灾站点使用的备份网络的信息以及所 述信息注册到所述容灾站点的云管理模块 115;
所述容灾站点的云管理模块 115用于接收注册信息, 所述注册信息携带 所述第二描述信息; 根据所述第二描述信息, 在所述容灾站点中恢复所述待 容灾的云应用。
在本发明实施例中, 所述生产站点的云管理模块 105可以获取所述第一 描述信息, 该第一描述信息不仅包括所述待容灾的云应用在生产站点所使用 信息, 基于这种从整体上对待容灾的云应用进行描述的第一描述信息, 可以 生成所述待容灾的云应用在容灾站点的第二描述信息, 该第二描述信息同样 能够从整体上对所述待容灾的云应用在容灾站点的部署进行描述; 所述生产 站点的云管理模块 105可以将所述第二描述信息发送到所述容灾站点的云管 理模块 115,当所述容灾站点的云管理模块 115获取到该第二描述信息之后, 可以根据所述第二描述信息,在所述容灾站点中完整恢复所述待容灾的云应 用,实现了基于云应用的容灾。不同于现有技术基于虚拟机粒度的容灾方式, 本发明实施例实现应用级别的容灾配置和恢复,避免了虚拟机粒度的容灾可 能产生的不能完整、 快速恢复云应用的问题。 本发明实施例提供的容灾系统,用于将生产站点中的待容灾的云应用在 容灾站点中进行配置, 当所述生产站点发生容灾事故时, 用以在容灾站点根 据配置信息恢复所述待容灾的云应用, 图 1 ( b )所示, 所述系统包括生产站 点的云管理模块 105和容灾站点的云管理模块 115;
所述生产站点的云管理模块 105用于获取待容灾的云应用的第一描述信
述第一描述信息发送给所述容灾站点的云管理模块 115;
所述容灾站点的云管理模块 115用于接收所述第一描述信息,根据所述 第一描述信息, 生成所述待容灾的云应用的第二描述信息, 所述第二描述信 息包括所述待容灾的云应用在容灾站点使用的备份网络的信息以及所述待 信息, 在所述容灾站点中恢复所述待容灾的云应用。 在本发明实施例中, 所 述容灾站点的云管理模块 115可以从所述生产站点的云管理模块 105获取所 述待容灾的云应用的第一描述信息, 该第一描述信息不仅包括所述待容灾的 云应用在生产站点所使用的源虚拟机的信息,还包括所述待容灾的云应用在 生产站点使用的源网络的信息,基于这种从整体上对待容灾的云应用进行描 述的第一描述信息, 可以生成所述待容灾的云应用在容灾站点的第二描述信 息, 该第二描述信息同样能够从整体上对所述待容灾的云应用在容灾站点的 部署进行描述; 当所述生产站点发生容灾事故时, 所述容灾站点的云管理模 块 115可以根据所述第二描述信息, 在所述容灾站点中完整恢复所述待容灾 的云应用, 实现了基于云应用的容灾。 不同于现有技术基于虚拟机粒度的容 灾方式, 本发明实施例实现应用级别的容灾配置和恢复, 避免了虚拟机粒度 的容灾可能产生的不能完整、 快速恢复云应用的问题。 本发明实施例提供的容灾系统,用于将生产站点中的待容灾的云应用在 容灾站点中进行配置, 当所述生产站点发生容灾事故时, 用以在容灾站点根 据配置信息恢复所述待容灾的云应用, 如图 1 ( c )所示, 所述系统包括生产 站点的云管理模块 105、 生产站点的容灾管理模块 120、 容灾站点的云管理 模块 115和容灾站点的容灾管理模块 121 ;
所述生产站点的云管理模块 105用于记录待容灾的云应用的第一描述信
所述生产站点的容灾管理模块 120 用于从所述生产站点的云管理模块
105获取待容灾的云应用的第一描述信息; 根据所述第一描述信息, 生成所 述待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待容灾的云 应用在容灾站点使用的备份网络的信息以及所述待容灾的云应用在所述容 灾站点使用的备份虚拟机的信息; 将所述第二描述信息发送到所述容灾站点 的容灾管理模块 121 ;
所述容灾站点的容灾管理模块 121用于接收所述生产站点的容灾管理模 块 120发送的所述第二描述信息,将所述第二描述信息注册到所述容灾站点 的云管理模块 115;
所述容灾站点的云管理模块 115用于接收注册信息, 所述注册信息携带 所述第二描述信息; 根据所述第二描述信息, 在所述容灾站点中恢复所述待 容灾的云应用。 在本发明实施例中, 所述生产站点的容灾管理模块 120可以从所述生产 站点的云管理模块 105获取所述第一描述信息, 该第一描述信息不仅包括所 的云应用在生产站点使用的源网络的信息,基于这种从整体上对待容灾的云 应用进行描述的第一描述信息, 可以生成所述待容灾的云应用在容灾站点的 第二描述信息, 该第二描述信息同样能够从整体上对所述待容灾的云应用在 容灾站点的部署进行描述; 所述生产站点的容灾管理模块 120可以将所述第 二描述信息发送到所述容灾站点的容灾管理模块 121 , 所述容灾站点的容灾 管理模块 121 在将所述第二描述信息注册到所述容灾站点的云管理模块 115, 使得所述容灾站点的云管理模块 115可以根据所述第二描述信息, 在 所述容灾站点中完整恢复所述待容灾的云应用, 实现了基于云应用的容灾。 不同于现有技术基于虚拟机粒度的容灾方式, 本发明实施例实现应用级别的 容灾配置和恢复, 避免了虚拟机粒度的容灾可能产生的不能完整、 快速恢复 云应用的问题。 本发明实施例提供的容灾系统,用于将生产站点中的待容灾的云应用在 容灾站点中进行配置, 当所述生产站点发生容灾事故时, 用以在容灾站点根 据配置信息恢复所述待容灾的云应用, 如图 1 ( c )所示, 所述系统包括生产 站点的云管理模块 105、 生产站点的容灾管理模块 120、 容灾站点的云管理 模块 115和容灾站点的容灾管理模块 121 ;
所述生产站点的云管理模块 105用于记录待容灾的云应用的第一描述信
所述生产站点的容灾管理模块 120 用于从所述生产站点的云管理模块 105获取待容灾的云应用的第一描述信息; 将所述第一描述信息发送到所述 容灾站点的容灾管理模块 121 ; 所述容灾站点的容灾管理模块 121用于接收所述生产站点的容灾管理模 块 120发送的所述第一描述信息; 根据所述第一描述信息, 生成所述待容灾 的云应用的第二描述信息, 所述第二描述信息包括所述待容灾的云应用在容 用的备份虚拟机的信息; 将所述第二描述信息注册到所述容灾站点的云管理 模块 115;
所述容灾站点的云管理模块 115用于接收注册信息,所述注册信息携带 所述第二描述信息; 根据所述第二描述信息, 在所述容灾站点中恢复所述待 容灾的云应用。
在本发明实施例中, 所述容灾站点的容灾管理模块 121可以从所述生产 站点的容灾管理模块 120获取所述第一描述信息, 该第一描述信息不仅包括 所述待容灾的云应用在生产站点所使用的源虚拟机的信息,还包括所述待容 灾的云应用在生产站点使用的源网络的信息,基于这种从整体上对待容灾的 云应用进行描述的第一描述信息, 可以生成所述待容灾的云应用在容灾站点 的第二描述信息, 该第二描述信息同样能够从整体上对所述待容灾的云应用 在容灾站点的部署进行描述; 所述容灾站点的容灾管理模块 121可以将所述 第二描述信息注册到所述容灾站点的云管理模块 115 , 使得所述容灾站点的 云管理模块 115可以根据所述第二描述信息, 在所述容灾站点中完整恢复所 述待容灾的云应用, 实现了基于云应用的容灾。 不同于现有技术基于虚拟机 粒度的容灾方式, 本发明实施例实现应用级别的容灾配置和恢复, 避免了虚 拟机粒度的容灾可能产生的不能完整、 快速恢复云应用的问题。 如图 25 , 为本发明实施例提供的容灾装置的结构组成示意图。 本发明实 施例提供的容灾装置可包括:
处理器 2501、存储器 2502、系统总线 2504和通信接口 2505。处理器 2501、 存储器 2502和通信接口 2505之间通过系统总线 2504连接并完成相互间的通 信。
处理器 2501可能为单核或多核中央处理单元, 或者为特定集成电路, 或者为被配置成实施本发明实施例的一个或多个集成电路。
存储器 2502 可以为高速 RAM 存储器, 也可以为非易失性存储器 ( non-volatile memory ) , 例如至少一个磁盘存储器。
存储器 2502用于计算机执行指令 2503。 具体的, 计算机执行指令 2503 中可以包括程序代码。
当所述容灾装置运行时, 处理器 2501运行计算机执行指令 2503 , 可以 执行图 2-图 5任意之一所述的方法流程或者图 7-图 17任意之一所述的方法 流程。
本领域普通技术人员将会理解, 本发明的各个方面、 或各个方面的可能 实现方式可以被具体实施为系统、 方法或者计算机程序产品。 因此, 本发明 的各方面、 或各个方面的可能实现方式可以采用完全硬件实施例、 完全软件 实施例 (包括固件、驻留软件等等),或者组合软件和硬件方面的实施例的形 式, 在这里都统称为"电路"、 "模块 "或者 "系统"。 此外, 本发明的各方面、 或各个方面的可能实现方式可以采用计算机程序产品的形式,计算机程序产 品是指存储在计算机可读介质中的计算机可读程序代码。
计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。 计算机可读存储介质包含但不限于电子、 磁性、 光学、 电磁、 红外或半导体 系统、 设备或者装置, 或者前述的任意适当组合, 如随机存取存储器 (RAM), 只读存储器 (ROM)、 可擦除可编程只读存储器 (EPROM 或者快闪 存储器)、 光纤、 便携式只读存储器 (CD-ROM)。
计算机中的处理器读取存储在计算机可读介质中的计算机可读程序代 码, 使得处理器能够执行在流程图中每个步骤、 或各步骤的组合中规定的功 能动作;生成实施在框图的每一块、或各块的组合中规定的功能动作的装置。
计算机可读程序代码可以完全在用户的计算机上执行、部分在用户的计 算机上执行、 作为单独的软件包、 部分在用户的计算机上并且部分在远程计 算机上, 或者完全在远程计算机或者服务器上执行。 也应该注意, 在某些替 代实施方案中, 在流程图中各步骤、 或框图中各块所注明的功能可能不按图 中注明的顺序发生。 例如, 依赖于所涉及的功能, 接连示出的两个步骤、 或 两个块实际上可能被大致同时执行,或者这些块有时候可能被以相反顺序执 行。
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的结 合来实现。 这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特 定应用和设计约束条件。 专业技术人员可以对每个特定的应用来使用不同方 法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应所述以权利要求的保护范围为准。

Claims

权利要求
1、 一种云应用的容灾方法, 其特征在于, 包括:
获取待容灾的云应用的第一描述信息,所述第一描述信息包括所述待容 灾的云应用在生产站点使用的源网络的信息以及所述待容灾的云应用在所 述生产站点使用的源虚拟机的信息;
根据所述第一描述信息, 生成所述待容灾的云应用的第二描述信息, 所 述第二描述信息包括所述待容灾的云应用在容灾站点使用的备份网络的信 向所述容灾站点提供所述第二描述信息, 以使得所述容灾站点根据所述 第二描述信息, 恢复所述待容灾的云应用。
2、 根据权利要求 1所述的方法, 其特征在于, 所述待容灾的云应用在 所述生产站点使用的源虚拟机的信息包括: 所述源虚拟机的标识、 规格、 所 述源虚拟机在所述生产站点占用的第一存储单元的信息以及所述源虚拟机 的归属网络的信息; 述备份虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点占用的第二存 储单元的信息以及所述备份虚拟机的归属网络的信息。
3、 根据权利要求 2所述的方法, 其特征在于,
所述根据所述第一描述信息, 生成所述待容灾的云应用的第二描述信 息, 包括:
根据所述源虚拟机的标识和规格, 确定所述备份虚拟机的标识和规格; 根据所述第一存储单元的信息, 确定所述第二存储单元的信息; 根据所述源网络的信息, 为所述待容灾的云应用配置所述备份网络的信 息;
根据所述备份网络的信息、所述备份虚拟机的标识以及所述源虚拟机的 归属网络的信息, 确定所述备份虚拟机的归属网络的信息。
4、 根据权利要求 2或 3所述的方法, 其特征在于, 所述源虚拟机的归 所述备份虚拟机的归属网络的信息包括所述备份虚拟机的虚拟网卡与 所述备份网络的关联关系。
5、 根据权利要求 2或 3所述的方法, 其特征在于, 所述源虚拟机的归 属网络的信息包括所述源虚拟机的虚拟网卡的网络地址;
所述备份虚拟机的归属网络的信息包括所述备份虚拟机的虚拟网卡的 网络地址。
6、 根据权利要求 5所述的方法, 其特征在于, 所述确定所述备份虚拟 机的归属网络的信息之后, 还包括:
络的关联关系。
7、 根据权利要求 2-6任一项所述的方法, 其特征在于, 所述方法还包 括:
建立所述第一存储单元与所述第二存储单元的复制关系;
将所述复制关系提供给所述生产站点的存储管理软件和所述容灾站点 的存储管理软件, 以使得所述生产站点的存储管理软件和所述容灾站点的存 储管理软件根据所述复制关系,将所述第一存储单元的数据复制到所述第二 存储单元。
8、 根据权利要求 1-7任一项所述的方法, 其特征在于, 所述方法用于 容灾系统, 所述容灾系统包括生产站点的云管理模块、 容灾站点的云管理模 块和容灾管理模块, 所述方法包括:
所述容灾管理模块从所述生产站点的云管理模块获取待容灾的云应用 的第一描述信息; 所述容灾管理模块才艮据所述第一描述信息, 生成所述待容灾的云应用的 第二描述信息;
所述容灾管理模块将所述第二描述信息注册到所述容灾站点的云管理 模块, 以使得所述容灾站点的云管理模块根据所述第二描述信息, 恢复所述 待容灾的云应用。
9、 根据权利要求 1-7任一项所述的方法, 其特征在于, 所述方法用于 容灾系统, 所述容灾系统包括生产站点的云管理模块和容灾站点的云管理模 块, 所述方法包括:
所述生产站点的云管理模块获取待容灾的云应用的第一描述信息; 所述生产站点的云管理模块根据所述第一描述信息, 生成所述待容灾的 云应用的第二描述信息;
所述生产站点的云管理模块将所述第二描述信息注册到所述容灾站点 的云管理模块, 以使得所述容灾站点的云管理模块根据所述第二描述信息, 恢复所述待容灾的云应用。
10、 根据权利要求 1-7任一项所述的方法, 其特征在于, 所述方法用于 容灾系统, 所述容灾系统包括生产站点的云管理模块、 生产站点的容灾管理 模块、容灾站点的容灾管理模块以及容灾站点的云管理模块,所述方法包括: 所述生产站点的容灾管理模块从所述生产站点的云管理模块获取待容 灾的云应用的第一描述信息;
所述生产站点的容灾管理模块才艮据所述第一描述信息, 生成所述待容灾 的云应用的第二描述信息;
所述生产站点的容灾管理模块将所述第二描述信息发送到所述容灾站 点的容灾管理模块, 以使得所述容灾站点的容灾管理模块将所述第二描述信 息注册到所述容灾站点的云管理模块, 恢复所述待容灾的云应用。
11、 一种云应用的容灾方法, 其特征在于, 包括:
获取待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待容 灾的云应用在容灾站点使用的备份网络的信息以及所述待容灾的云应用在 所述容灾站点使用的备份虚拟机的信息;
将所述第二描述信息注册到所述容灾站点的云管理模块, 以使得所述容 灾站点的云管理模块根据所述第二描述信息, 恢复所述待容灾的云应用。
12、 根据权利要求 11 所述的方法, 其特征在于, 所述获取待容灾的云 应用的第二描述信息, 包括:
接收生产站点的容灾管理模块发送的第二描述信息; 或者,
获取待容灾的云应用的第一描述信息,所述第一描述信息包括所述待容 灾的云应用在生产站点使用的源网络的信息以及所述待容灾的云应用在所 述生产站点使用的源虚拟机的信息, 根据所述第一描述信息, 生成所述待容 灾的云应用的第二描述信息。
13、 一种云应用的容灾方法, 其特征在于, 包括:
获取待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待容 灾的云应用在容灾站点使用的备份网络的信息以及所述待容灾的云应用在 所述容灾站点使用的备份虚拟机的信息;
根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾的云应用。
14、 根据权利要求 13所述的方法, 其特征在于, 所述待容灾的云应用 在所述容灾站点使用的备份虚拟机的信息包括: 所述备份虚拟机的标识、 规 格、所述备份虚拟机在所述容灾站点占用的第二存储单元的信息以及所述备 份虚拟机的归属网络的信息。
15、 根据权利要求 14所述的方法, 其特征在于, 所述备份虚拟机的归 或者所述备份虚拟机的虚拟网卡的网络地址。
16、 根据权利要求 14或 15所述的方法, 其特征在于, 所述根据所述第 二描述信息, 在所述容灾站点中恢复所述待容灾的云应用, 包括:
根据所述备份网络的信息, 创建所述备份网络; 根据所述备份虚拟机的标识、 规格以及所述第二存储单元的信息, 创建 所述备份虚拟机;
根据所述备份虚拟机的归属网络的信息,将所述备份虚拟机与所述备份 网络进行关联。
17、 根据权利要求 16所述的方法, 其特征在于, 所述根据所述备份网 络的信息, 创建所述备份网络, 包括:
向所述容灾站点的虚拟化模块发送虚拟化网络创建指令, 所述虚拟化网 络创建指令携带所述备份网络的信息,使得所述容灾站点的虚拟化模块根据 所述虚拟化网络创建指令确定所述待容灾的云应用所使用的虚拟交换机, 并 将所述备份网络的信息配置到所述虚拟交换机上的端口组。
18、 根据权利要求 17所述的方法, 其特征在于, 所述虚拟化网络创建 指令还携带所述第二存储单元的信息, 以使得所述容灾站点的虚拟化模块根 据所述第二存储单元的信息确定所述待容灾的云应用所使用的虚拟交换机。
19、 根据权利要求 17或 18所述的方法, 其特征在于, 在所述根据所述 备份网络的信息, 创建所述备份网络之后, 所述方法还包括:
从所述容灾站点的虚拟化模块获取所述备份网络与所述虚拟交换机的 端口组的对应关系;
记录所述备份网络的信息与所述虚拟交换机的端口组的对应关系。
20、 根据权利要求 19所述的方法, 其特征在于, 所述根据所述备份虚 拟机的标识、 规格以及所述第二存储单元的信息, 创建所述备份虚拟机, 包 括:
向所述容灾站点的虚拟化模块发送虚拟机创建指令, 所述虚拟机创建指 令携带所述备份虚拟机的标识、 规格以及所述第二存储单元的信息, 指示所 述容灾站点的虚拟化模块创建所述备份虚拟机以及所述备份虚拟机的虚拟 网卡。
21、 根据权利要求 20所述的方法, 其特征在于, 所述根据所述备份虚 拟机的归属网络的信息,将所述备份虚拟机与所述备份网络进行关联,包括: 根据所述备份虚拟机的归属网络的信息, 获取所述备份虚拟机的虚拟网 卡与所述备份网络的关联关系; 备份网络的信息与所述虚拟交换机的端口组的对应关系,确定所述备份虚拟 机的虚拟网卡与所述虚拟交换机的端口组的对应关系;
根据所述备份虚拟机的虚拟网卡与所述虚拟交换机的端口组的对应关 系,指示所述容灾站点的虚拟化模块将所述备份虚拟机的虚拟网卡与所述虚 拟交换机的端口组进行关联。
22、 根据权利要求 13-21任一项所述的方法, 其特征在于, 所述获取待 容灾的云应用的第二描述信息, 包括:
接收注册信息, 所述注册信息携带所述第二描述信息; 或者,
获取所述待容灾的云应用的第一描述信息,所述第一描述信息包括所述 待容灾的云应用在生产站点使用的源网络的信息以及所述待容灾的云应用 在所述生产站点使用的源虚拟机的信息, 根据所述第一描述信息, 生成所述 第二描述信息。
23、 一种云应用的容灾装置, 其特征在于, 包括:
获取单元, 用于获取待容灾的云应用的第一描述信息, 所述第一描述信 息包括所述待容灾的云应用在生产站点使用的源网络的信息以及所述待容 灾的云应用在所述生产站点使用的源虚拟机的信息;
生成单元, 用于根据所述获取单元获取的所述第一描述信息, 生成所述 待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待容灾的云应 用在容灾站点使用的备份网络的信息以及所述待容灾的云应用在所述容灾 站点使用的备份虚拟机的信息; 信息, 以使得所述容灾站点根据所述第二描述信息, 恢复所述待容灾的云应 用。
24、 根据权利要求 23所述的装置, 其特征在于, 所述待容灾的云应用 在所述生产站点使用的源虚拟机的信息包括: 所述源虚拟机的标识、 规格、 所述源虚拟机在所述生产站点占用的第一存储单元的信息以及所述源虚拟 机的归属网络的信息; 述备份虚拟机的标识、 规格、 所述备份虚拟机在所述容灾站点占用的第二存 储单元的信息以及所述备份虚拟机的归属网络的信息。
25、 根据权利要求 24所述的装置, 其特征在于,
所述生成单元具体用于:
根据所述源虚拟机的标识和规格, 确定所述备份虚拟机的标识和规格; 根据所述第一存储单元的信息, 确定所述第二存储单元的信息; 根据所述源网络的信息, 为所述待容灾的云应用配置所述备份网络的信 息;
根据所述备份网络的信息、所述备份虚拟机的标识以及所述源虚拟机的 归属网络的信息, 确定所述备份虚拟机的归属网络的信息。
26、 根据权利要求 25所述的装置, 其特征在于, 所述源虚拟机的归属 所述备份虚拟机的归属网络的信息包括所述备份虚拟机的虚拟网卡与 所述备份网络的关联关系。
27、 根据权利要求 25所述的装置, 其特征在于, 所述源虚拟机的归属 网络的信息包括所述源虚拟机的虚拟网卡的网络地址;
所述备份虚拟机的归属网络的信息包括所述备份虚拟机的虚拟网卡的 网络地址。
28、 根据权利要求 24-27任一项所述的装置, 其特征在于, 所述生成单 元还用于: 建立所述第一存储单元与所述第二存储单元的复制关系; 将所述复制关系提供给所述生产站点的存储管理软件和所述容灾站点 的存储管理软件, 以使得所述生产站点的存储管理软件和所述容灾站点的存 储管理软件根据所述复制关系,将所述第一存储单元的数据复制到所述第二 存储单元。
29、 根据权利要求 23-28任一项所述的装置, 其特征在于, 所述装置用 于包含生产站点的云管理模块、容灾管理模块和容灾站点的云管理模块的系 统;
所述装置为所述容灾管理模块;
所述获取单元, 具体用于从所述生产站点的云管理模块获取待容灾的云 应用的第一描述信息;
所述提交单元,具体用于将所述第二描述信息注册到所述容灾站点的云 管理模块, 以使得所述容灾站点的云管理模块根据所述第二描述信息, 恢复 所述待容灾的云应用。
30、 根据权利要求 23-28任一项所述的装置, 其特征在于, 所述装置用 于包含生产站点的云管理模块和容灾站点的云管理模块的系统;
所述装置为所述生产站点的云管理模块;
所述获取单元, 具体用于获取自身记录的待容灾的云应用的第一描述信 息;
所述提交单元, 具体用于将所述确定单元生成的所述第二描述信息注册 到所述容灾站点的云管理模块, 以使得所述容灾站点的云管理模块根据所述 第二描述信息, 恢复所述待容灾的云应用。
31、 根据权利要求 23-28任一项所述的装置, 其特征在于, 所述装置用 于包含生产站点的云管理模块、生产站点的容灾管理模块以及容灾站点的容 灾管理模块的系统;
所述装置为所述生产站点的容灾管理模块; 所述获取单元,具体用于从所述生产站点的云管理模块获取待容灾的云 应用的第一描述信息;
所述提交单元,具体用于将所述确定单元生成的所述第二描述信息发送 到容灾站点的容灾管理模块, 以使得所述容灾站点的容灾管理模块将所述第 二描述信息注册到所述容灾站点的云管理模块, 恢复所述待容灾的云应用。
32、 一种云应用的容灾装置, 其特征在于, 所述装置包括:
获取单元, 用于获取待容灾的云应用的第二描述信息, 所述第二描述信 息包括所述待容灾的云应用在容灾站点使用的备份网络的信息以及所述待 注册单元,用于将所述获取单元获取的所述第二描述信息注册到所述容 灾站点的云管理模块, 以使得所述容灾站点的云管理模块根据所述第二描述 信息, 恢复所述待容灾的云应用。
33、 根据权利要求 32所述的装置, 其特征在于, 所述获取单元具体用 于接收生产站点的容灾管理模块发送的第二描述信息, 或者, 具体用于获取 待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应 用在生产站点使用的源网络的信息以及所述待容灾的云应用在所述生产站 点使用的源虚拟机的信息, 根据所述第一描述信息, 生成所述待容灾的云应 用的第二描述信息。
34、 一种云应用的容灾装置, 其特征在于, 包括:
获取单元, 用于获取待容灾的云应用的第二描述信息, 所述第二描述信 息包括所述待容灾的云应用在容灾站点使用的备份网络的信息以及所述待 恢复单元, 用于根据所述确定单元获取的所述第二描述信息, 在所述容 灾站点中恢复所述待容灾的云应用。
35、 根据权利要求 34所述的装置, 其特征在于, 所述待容灾的云应用 在所述容灾站点使用的备份虚拟机的信息包括: 所述备份虚拟机的标识、 规 格、所述备份虚拟机在所述容灾站点占用的第二存储单元的信息以及所述备 份虚拟机的归属网络的信息。
36、 根据权利要求 35所述的装置, 其特征在于, 所述备份虚拟机的归 或者所述备份虚拟机的虚拟网卡的网络地址。
37、 根据权利要求 35或 36所述的装置, 其特征在于, 所述恢复单元包 括:
第一恢复单元, 用于根据所述备份网络的信息, 创建所述备份网络; 第二恢复单元, 用于根据所述备份虚拟机的标识、 规格以及所述第二存 储单元的信息, 创建所述备份虚拟机;
第三恢复单元, 用于根据所述备份虚拟机的归属网络的信息, 将所述备 份虚拟机与所述备份网络进行关联。
38、 根据权利要求 37所述的装置, 其特征在于, 所述第一恢复单元具 体用于:
向所述容灾站点的虚拟化模块发送虚拟化网络创建指令, 所述虚拟化网 络创建指令携带所述备份网络的信息,使得所述容灾站点的虚拟化模块根据 所述虚拟化网络创建指令确定所述待容灾的云应用所使用的虚拟交换机, 并 将所述备份网络的信息配置到所述虚拟交换机上的端口组。
39、 根据权利要求 38所述的装置, 其特征在于, 所述第一恢复单元还 用于在所述虚拟化网络创建指令携带所述第二存储单元的信息, 以使得所述 容灾站点的虚拟化模块根据所述第二存储单元的信息确定所述待容灾的云 应用所使用的虚拟交换机。
40、 根据权利要求 38或 39所述的装置, 其特征在于, 所述第一恢复单 元还用于:
从所述容灾站点的虚拟化模块获取所述备份网络与所述虚拟交换机的 端口组的对应关系; 记录所述备份网络的信息与所述虚拟交换机的端口组的对应关系。
41、 根据权利要求 40所述的方法, 其特征在于, 所述第二恢复单元具 体用于:
向所述容灾站点的虚拟化模块发送虚拟机创建指令, 所述虚拟机创建指 令携带所述备份虚拟机的标识、 规格以及所述第二存储单元的信息, 指示所 述容灾站点的虚拟化模块创建所述备份虚拟机以及所述备份虚拟机的虚拟 网卡。
42、 根据权利要求 41所述的装置, 其特征在于, 所述第三恢复单元具 体用于:
根据所述备份虚拟机的归属网络的信息, 获取所述备份虚拟机的虚拟网 卡与所述备份网络的关联关系; 备份网络的信息与所述虚拟交换机的端口组的对应关系,确定所述备份虚拟 机的虚拟网卡与所述虚拟交换机的端口组的对应关系;
根据所述备份虚拟机的虚拟网卡与所述虚拟交换机的端口组的对应关 系,指示所述容灾站点的虚拟化模块将所述备份虚拟机的虚拟网卡与所述虚 拟交换机的端口组进行关联。
43、 根据权利要求 34-42任一项所述的装置, 其特征在于, 所述获取单 元具体用于:
接收注册信息, 所述注册信息携带所述第二描述信息; 或者,
从生产站点的云管理模块获取所述待容灾的云应用的第一描述信息, 所 述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信息 以及所述待容灾的云应用在所述生产站点使用的源虚拟机的信息,根据所述 第一描述信息, 生成所述第二描述信息。
44、一种容灾系统,其特征在于,所述系统包括生产站点的云管理模块、 容灾管理模块和容灾站点的云管理模块; 所述生产站点的云管理模块用于记录待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 所述容灾管理模块用于从所述生产站点的云管理模块获取所述第一描 述信息;根据所述第一描述信息,生成所述待容灾的云应用的第二描述信息, 所述第二描述信息包括所述待容灾的云应用在容灾站点使用的备份网络的 所述第二描述信息注册到所述容灾站点的云管理模块;
所述容灾站点的云管理模块用于接收注册信息,所述注册信息携带所述 第二描述信息; 根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾 的云应用。
45、 一种容灾系统, 其特征在于, 所述系统包括生产站点的云管理模块 和容灾站点的云管理模块;
所述生产站点的云管理模块用于获取待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 述第一描述信息, 生成所述待容灾的云应用的第二描述信息, 所述第二描述 信息包括所述待容灾的云应用在容灾站点使用的备份网络的信息以及所述 待容灾的云应用在所述容灾站点使用的备份虚拟机的信息; 将所述第二描述 信息注册到所述容灾站点的云管理模块;
所述容灾站点的云管理模块用于接收注册信息, 所述注册信息携带所述 第二描述信息; 根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾 的云应用。
46、 一种容灾系统, 其特征在于, 所述系统包括生产站点的云管理模块 和容灾站点的云管理模块;
所述生产站点的云管理模块用于获取待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 第一描述信息发送给所述容灾站点的云管理模块;
所述容灾站点的云管理模块用于接收所述第一描述信息,根据所述第一 描述信息, 生成所述待容灾的云应用的第二描述信息, 所述第二描述信息包 括所述待容灾的云应用在容灾站点使用的备份网络的信息以及所述待容灾 的云应用在所述容灾站点使用的备份虚拟机的信息; 根据所述第二描述信 息, 在所述容灾站点中恢复所述待容灾的云应用。
47、一种容灾系统,其特征在于,所述系统包括生产站点的云管理模块、 生产站点的容灾管理模块、容灾站点的云管理模块和容灾站点的容灾管理模 块;
所述生产站点的云管理模块用于记录待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 所述生产站点的容灾管理模块用于从所述生产站点的云管理模块获取 待容灾的云应用的第一描述信息; 根据所述第一描述信息, 生成所述待容灾 的云应用的第二描述信息, 所述第二描述信息包括所述待容灾的云应用在容 用的备份虚拟机的信息; 将所述第二描述信息发送到所述容灾站点的容灾管 理模块;
所述容灾站点的容灾管理模块用于接收所述生产站点的容灾管理模块 发送的所述第二描述信息,将所述第二描述信息注册到所述容灾站点的云管 理模块;
所述容灾站点的云管理模块用于接收注册信息, 所述注册信息携带所述 第二描述信息; 根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾 的云应用。
48、一种容灾系统,其特征在于,所述系统包括生产站点的云管理模块、 生产站点的容灾管理模块、容灾站点的云管理模块和容灾站点的容灾管理模 块;
所述生产站点的云管理模块用于记录待容灾的云应用的第一描述信息, 所述第一描述信息包括所述待容灾的云应用在生产站点使用的源网络的信 所述生产站点的容灾管理模块用于从所述生产站点的云管理模块获取 待容灾的云应用的第一描述信息; 将所述第一描述信息发送到所述容灾站点 的容灾管理模块;
所述容灾站点的容灾管理模块用于接收所述生产站点的容灾管理模块 发送的所述第一描述信息; 根据所述第一描述信息, 生成所述待容灾的云应 用的第二描述信息, 所述第二描述信息包括所述待容灾的云应用在容灾站点 使用的备份网络的信息以及所述待容灾的云应用在所述容灾站点使用的备 份虚拟机的信息; 将所述第二描述信息注册到所述容灾站点的云管理模块; 所述容灾站点的云管理模块用于接收注册信息, 所述注册信息携带所述 第二描述信息; 根据所述第二描述信息, 在所述容灾站点中恢复所述待容灾 的云应用。
49、 一种容灾装置, 其特征在于, 所述装置包括包括处理器、 存储器、 总线和通信接口;
所述存储器用于存储计算机执行指令, 所述处理器与所述存储器通过所 述总线连接, 当所述容灾装置运行时, 所述处理器执行所述存储器存储的所 述计算机执行指令, 以使所述容灾装置执行如权利要求 1-10中任一所述的 容灾方法。
50、 一种容灾装置, 其特征在于, 所述装置包括包括处理器、 存储器、 总线和通信接口;
所述存储器用于存储计算机执行指令, 所述处理器与所述存储器通过所 述总线连接, 当所述容灾装置运行时, 所述处理器执行所述存储器存储的所 述计算机执行指令, 以使所述容灾装置执行如权利要求 11或 12所述的容灾 方法。
51、 一种容灾装置, 其特征在于, 所述装置包括包括处理器、 存储器、 总线和通信接口;
所述存储器用于存储计算机执行指令, 所述处理器与所述存储器通过所 述总线连接, 当所述容灾装置运行时, 所述处理器执行所述存储器存储的所 述计算机执行指令, 以使所述容灾装置执行如权利要求 13-22中任一所述的 容灾方法。
52、 一种计算机可读介质, 其特征在于, 包括计算机执行指令, 以供计 算机的处理器执行所述计算机执行指令时,所述计算机执行如权利要求 1-10 中任一所述的容灾方法。
53、 一种计算机可读介质, 其特征在于, 包括计算机执行指令, 以供计 算机的处理器执行所述计算机执行指令时, 所述计算机执行如权利要求 11 或 12所述的容灾方法。
54、 一种计算机可读介质, 其特征在于, 包括计算机执行指令, 以供计 算机的处理器执行所述计算机执行指令时, 所述计算机执行如权利要求 13-22中任一所述的容灾方法。
PCT/CN2013/085823 2013-10-23 2013-10-23 一种云应用的容灾方法、系统和装置 WO2015058380A1 (zh)

Priority Applications (10)

Application Number Priority Date Filing Date Title
EP19153250.6A EP3627358B1 (en) 2013-10-23 2013-10-23 Method, system, and apparatus for cloud application redundancy
EP17171874.5A EP3287906B1 (en) 2013-10-23 2013-10-23 Method, system, and apparatus for cloud application redundancy
AU2013403767A AU2013403767B2 (en) 2013-10-23 2013-10-23 Cloud application disaster recovery method, system and device
CN201380001445.5A CN103843284B (zh) 2013-10-23 2013-10-23 一种云应用的容灾方法、系统和装置
EP13882628.4A EP2879060B1 (en) 2013-10-23 2013-10-23 Cloud application disaster recovery method, system and device
PCT/CN2013/085823 WO2015058380A1 (zh) 2013-10-23 2013-10-23 一种云应用的容灾方法、系统和装置
JP2016514244A JP6366694B2 (ja) 2013-10-23 2013-10-23 クラウドアプリケーションの冗長化のための方法、システム、および装置
ES17171874T ES2726024T3 (es) 2013-10-23 2013-10-23 Método, sistema y aparato para la redundancia de aplicaciones en la nube
US14/539,332 US9703654B2 (en) 2013-10-23 2014-11-12 Method, system, and apparatus for cloud application redundancy
US14/737,188 US9529683B2 (en) 2013-10-23 2015-06-11 Method, system, and apparatus for cloud application redundancy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/085823 WO2015058380A1 (zh) 2013-10-23 2013-10-23 一种云应用的容灾方法、系统和装置

Related Child Applications (3)

Application Number Title Priority Date Filing Date
US14539332 A-371-Of-International 2013-10-23
US14/539,332 Continuation US9703654B2 (en) 2013-10-23 2014-11-12 Method, system, and apparatus for cloud application redundancy
US14/737,188 Continuation US9529683B2 (en) 2013-10-23 2015-06-11 Method, system, and apparatus for cloud application redundancy

Publications (1)

Publication Number Publication Date
WO2015058380A1 true WO2015058380A1 (zh) 2015-04-30

Family

ID=50804812

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085823 WO2015058380A1 (zh) 2013-10-23 2013-10-23 一种云应用的容灾方法、系统和装置

Country Status (7)

Country Link
US (2) US9703654B2 (zh)
EP (3) EP2879060B1 (zh)
JP (1) JP6366694B2 (zh)
CN (1) CN103843284B (zh)
AU (1) AU2013403767B2 (zh)
ES (1) ES2726024T3 (zh)
WO (1) WO2015058380A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017146695A (ja) * 2016-02-16 2017-08-24 富士通株式会社 通信設定方法、通信設定プログラム、情報処理装置および情報処理システム

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104268001B (zh) 2014-09-24 2017-09-05 华为技术有限公司 一种创建虚拟机的方法和创建虚拟机的装置
US20160117231A1 (en) * 2014-10-23 2016-04-28 Unitrends, Inc. Complex Network Modeling For Disaster Recovery
CN105530116B (zh) * 2014-10-24 2020-06-16 中兴通讯股份有限公司 一种虚拟化网络备份、恢复的方法和相应装置
US11005710B2 (en) * 2015-08-18 2021-05-11 Microsoft Technology Licensing, Llc Data center resource tracking
CN105187256B (zh) * 2015-09-29 2018-11-06 华为技术有限公司 一种容灾方法、设备和系统
CN105376305B (zh) * 2015-10-27 2019-03-19 鞠洪尧 一种云计算网络智能容灾系统
CN105262633B (zh) * 2015-11-27 2019-03-12 中国建设银行股份有限公司 一种应用级容灾方法及应用级容灾系统
US10892942B2 (en) * 2016-01-22 2021-01-12 Equinix, Inc. Container-based cloud exchange disaster recovery
CN106102070A (zh) * 2016-05-31 2016-11-09 深圳市双赢伟业科技股份有限公司 交换机运行状态控制方法及装置
CN106603635B (zh) * 2016-11-29 2019-05-24 北京科技大学 一种平台数据异地备份方法
CN108632067B (zh) * 2017-03-21 2020-12-08 华为技术有限公司 容灾部署方法、装置及系统
JP6585656B2 (ja) * 2017-05-10 2019-10-02 株式会社ソニー・インタラクティブエンタテインメント 製造ライン用コンピュータシステム及びそのネットワーク設定方法
CN114911649A (zh) * 2017-06-02 2022-08-16 伊姆西Ip控股有限责任公司 备份和恢复数据的方法和系统
US10608793B2 (en) 2017-06-08 2020-03-31 Bank Of America Corporation Serial data transmission
US10461898B2 (en) 2017-06-08 2019-10-29 Bank Of America Corporation Parallel data transmission
CN107391294B (zh) * 2017-07-28 2021-01-29 苏州浪潮智能科技有限公司 一种ipsan容灾系统的建立方法及装置
US10581969B2 (en) * 2017-09-14 2020-03-03 International Business Machines Corporation Storage system using cloud based ranks as replica storage
US10372363B2 (en) 2017-09-14 2019-08-06 International Business Machines Corporation Thin provisioning using cloud based ranks
US10721304B2 (en) 2017-09-14 2020-07-21 International Business Machines Corporation Storage system using cloud storage as a rank
TWI649657B (zh) * 2017-12-20 2019-02-01 雙子星雲端運算股份有限公司 雲端服務管理方法
CN108196501A (zh) * 2017-12-22 2018-06-22 北京东土科技股份有限公司 一种基于plc的分布式控制系统的容灾方法、装置和系统
CN107995319B (zh) * 2018-01-08 2021-05-18 迈普通信技术股份有限公司 虚拟设备配置方法及网络设备
CN109032765A (zh) * 2018-09-05 2018-12-18 郑州云海信息技术有限公司 一种虚拟机双机热备部署方法、装置及设备
CN111915721B (zh) * 2020-07-28 2024-01-26 广州中科智巡科技有限公司 一种基于激光点云的输电线路走廊建筑物平断面提取方法及系统
CN112001955A (zh) * 2020-08-24 2020-11-27 深圳市建设综合勘察设计院有限公司 一种基于二维投影平面匹配约束的点云配准方法及系统
US11436103B2 (en) 2020-10-13 2022-09-06 EMC IP Holding Company LLC Replication for cyber recovery for multiple tier data
US11327844B1 (en) * 2020-10-30 2022-05-10 Dell Products L.P. Automated cloud recovery to provide a full usable application image
US11218424B1 (en) * 2020-12-30 2022-01-04 Equinix, Inc. Remote port for network connectivity for non-colocated customers of a cloud exchange
CN114024922B (zh) * 2022-01-06 2022-06-07 北京国科天迅科技有限公司 一种针对光纤交换机的镜像端口冗余处理方法及装置
CN115576538B (zh) * 2022-12-09 2023-03-07 成都麟通科技有限公司 一种多余度系统的余度管理软件代码自动生成方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448028A (zh) * 2009-01-08 2009-06-03 成都市华为赛门铁克科技有限公司 一种持续数据保护方法、装置和系统
CN102591741A (zh) * 2010-11-29 2012-07-18 国际商业机器公司 使用可缩放虚拟容量实现灾难恢复的方法和系统
US20130086585A1 (en) * 2011-09-30 2013-04-04 International Business Machines Corporation Managing the Persistent Data of a Pre-Installed Application in an Elastic Virtual Machine Instance

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004295465A (ja) * 2003-03-27 2004-10-21 Hitachi Ltd 計算機システム
US7401251B1 (en) * 2005-09-29 2008-07-15 Emc Corporation Architecture for managing failover and recovery after failover in a data storage environment
US20090249284A1 (en) * 2008-02-29 2009-10-01 Doyenz Incorporated Automation for virtualized it environments
US8234469B2 (en) * 2009-07-09 2012-07-31 Microsoft Corporation Backup of virtual machines using cloned virtual machines
JP5544951B2 (ja) * 2010-03-16 2014-07-09 日本電気株式会社 仮想コンピュータシステム、管理サーバ、仮想マシンの構築方法およびそのプログラム
US20110258481A1 (en) * 2010-04-14 2011-10-20 International Business Machines Corporation Deploying A Virtual Machine For Disaster Recovery In A Cloud Computing Environment
CN102025776A (zh) * 2010-11-16 2011-04-20 山东中创软件工程股份有限公司 一种容灾控制方法、装置及系统
JP5681465B2 (ja) * 2010-12-02 2015-03-11 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation 情報処理システム、情報処理装置、準備方法、プログラムおよび記録媒体
KR20120072241A (ko) * 2010-12-23 2012-07-03 한국전자통신연구원 클라우드 컴퓨팅 환경에서의 클라우드 간 개인 가상 머신 이동 시스템 및 그 방법
US20130103834A1 (en) * 2011-10-21 2013-04-25 Blue Coat Systems, Inc. Multi-Tenant NATting for Segregating Traffic Through a Cloud Service
US8700946B2 (en) * 2011-10-27 2014-04-15 Sungard Availability Services, Lp Dynamic resource allocation in recover to cloud sandbox
US9229749B2 (en) * 2011-10-31 2016-01-05 Cisco Technology, Inc. Compute and storage provisioning in a cloud environment
CN102523257A (zh) * 2011-11-30 2012-06-27 广东电子工业研究院有限公司 一种基于iaas云平台的虚拟机容错方法
US8856339B2 (en) * 2012-04-04 2014-10-07 Cisco Technology, Inc. Automatically scaled network overlay with heuristic monitoring in a hybrid cloud environment
CN102629224B (zh) * 2012-04-26 2014-11-26 广东电子工业研究院有限公司 一种基于云平台的一体化数据容灾方法及其装置
CN102917064B (zh) * 2012-10-23 2015-09-02 广州杰赛科技股份有限公司 基于私有云计算平台的双机热备方法
JP5477497B2 (ja) * 2013-05-17 2014-04-23 日本電気株式会社 仮想サーバ管理システムおよびその方法ならびに管理サーバ装置
US10084652B2 (en) * 2014-05-22 2018-09-25 Vmware, Inc. Customizing network configuration of virtual machines using subnet mapping rules
US20160117231A1 (en) 2014-10-23 2016-04-28 Unitrends, Inc. Complex Network Modeling For Disaster Recovery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448028A (zh) * 2009-01-08 2009-06-03 成都市华为赛门铁克科技有限公司 一种持续数据保护方法、装置和系统
CN102591741A (zh) * 2010-11-29 2012-07-18 国际商业机器公司 使用可缩放虚拟容量实现灾难恢复的方法和系统
US20130086585A1 (en) * 2011-09-30 2013-04-04 International Business Machines Corporation Managing the Persistent Data of a Pre-Installed Application in an Elastic Virtual Machine Instance

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2879060A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017146695A (ja) * 2016-02-16 2017-08-24 富士通株式会社 通信設定方法、通信設定プログラム、情報処理装置および情報処理システム

Also Published As

Publication number Publication date
EP2879060A1 (en) 2015-06-03
AU2013403767B2 (en) 2017-03-30
US9529683B2 (en) 2016-12-27
AU2013403767A1 (en) 2015-10-01
CN103843284B (zh) 2015-12-02
EP3627358A1 (en) 2020-03-25
US9703654B2 (en) 2017-07-11
EP2879060B1 (en) 2017-05-31
US20150112944A1 (en) 2015-04-23
JP6366694B2 (ja) 2018-08-01
ES2726024T3 (es) 2019-10-01
US20150309896A1 (en) 2015-10-29
CN103843284A (zh) 2014-06-04
JP2016519381A (ja) 2016-06-30
EP3287906A1 (en) 2018-02-28
EP3287906B1 (en) 2019-03-06
EP2879060A4 (en) 2015-06-10
EP3627358B1 (en) 2022-08-17

Similar Documents

Publication Publication Date Title
WO2015058380A1 (zh) 一种云应用的容灾方法、系统和装置
US10050850B2 (en) Rack awareness data storage in a cluster of host computing devices
US8819190B2 (en) Management of file images in a virtual environment
US8473692B2 (en) Operating system image management
US8996477B2 (en) Multiple node/virtual input/output (I/O) server (VIOS) failure recovery in clustered partition mobility
WO2016121830A1 (ja) 仮想ネットワークファンクション管理装置、システム、ヒーリング方法及びプログラム
CN104956332B (zh) 一种用于管理计算资源的方法、存储媒体和计算系统
JP5427574B2 (ja) 仮想計算機の移動管理方法、前記移動管理方法を用いた計算機、前記移動管理方法を用いた仮想化機構および前記移動管理方法を用いた計算機システム
JP4681505B2 (ja) 計算機システム、管理計算機及びプログラム配布方法
WO2015074200A1 (zh) 一种生成快照的方法、系统和装置
WO2012109876A1 (zh) 虚拟化数据备份方法、虚拟化数据重组方法、装置及系统
US20120151095A1 (en) Enforcing logical unit (lu) persistent reservations upon a shared virtual storage device
US20150127612A1 (en) Method and apparatus of managing application workloads on backup and recovery system
Fishman et al. {HVX}: Virtualizing the Cloud
WO2015027513A1 (zh) 交付点跨域迁移系统
Guay et al. Early experiences with live migration of SR-IOV enabled InfiniBand
JP6758431B2 (ja) クラウドアプリケーションの冗長化のための方法、システム、および装置
JP6466558B2 (ja) クラウドアプリケーションの冗長化のための方法、システム、および装置
KR101812676B1 (ko) 가상화 통합관리 장치

Legal Events

Date Code Title Description
REEP Request for entry into the european phase

Ref document number: 2013882628

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013882628

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2013403767

Country of ref document: AU

Date of ref document: 20131023

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016514244

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE