CN109240855B - Method and device for realizing double-active disaster recovery aiming at server virtualization system - Google Patents

Method and device for realizing double-active disaster recovery aiming at server virtualization system Download PDF

Info

Publication number
CN109240855B
CN109240855B CN201811055991.8A CN201811055991A CN109240855B CN 109240855 B CN109240855 B CN 109240855B CN 201811055991 A CN201811055991 A CN 201811055991A CN 109240855 B CN109240855 B CN 109240855B
Authority
CN
China
Prior art keywords
storage
virtualization system
server virtualization
creating
virtual machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811055991.8A
Other languages
Chinese (zh)
Other versions
CN109240855A (en
Inventor
谢永志
赵程程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811055991.8A priority Critical patent/CN109240855B/en
Publication of CN109240855A publication Critical patent/CN109240855A/en
Application granted granted Critical
Publication of CN109240855B publication Critical patent/CN109240855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Abstract

The invention provides a method and a device for realizing double-activity disaster recovery aiming at a server virtualization system, wherein the method configures an ICS (Internet connection sharing) of the server virtualization system, and creates a CFS (computational fluid dynamics) storage domain and a shared storage pool; and modifying the configuration file of the storage domain, and setting the heartbeat timeout time to be greater than the storage recovery time of double activities. The device comprises a license adding module, a license adding module and a license adding module, wherein the license adding module is used for adding an ICS license of the server virtualization system; the host adding module is used for adding a server virtualization system host; the storage domain creating module is used for creating a storage domain of the server virtualization system; the storage pool creating module is used for creating a server virtualization system storage pool; the virtual machine creating module is used for creating a virtual machine; and the storage domain background configuration module is used for modifying the storage domain background configuration file and setting the heartbeat timeout time to be greater than the storage recovery time of double activities. The invention enhances the security of data access, better adapts to the requirements of enterprise-level customers and promotes the improvement of the functions of the company virtualization products.

Description

Method and device for realizing double-active disaster recovery aiming at server virtualization system
Technical Field
The invention belongs to the field of server virtualization system backup, and particularly relates to a method and a device for realizing double-active disaster recovery aiming at a server virtualization system.
Background
ICS, a short for InCloud Sphere, Langchao Server virtualization system.
CFS, the short for Cloud File Storage, is a Cloud File Storage, safe, reliable and extensible shared File Storage service.
The wave tide server virtualization system InCloud Sphere is a virtualization platform for IT cloud design and development, and integrates physical resources such as calculation, storage and network through a virtualization technology to perform centralized management on virtual resources, hardware resources and user resources.
The technology for making the main production end database and the standby machine end database simultaneously run on line in the double-active disaster recovery system, namely the disaster recovery system, and is in a readable and queryable state.
The wave server virtualization system lncloud Sphere aims at improving the service efficiency of server resources, abstracts resources such as physical servers into a plurality of virtual machines in the system, realizes virtual fusion and efficient management of the physical resources, and provides 7 × 24 reliable guarantee for upper-layer services in a flexible manner. In addition, the big data era data is gradually becoming an asset of enterprises and society as a resource, brings huge economic value to the society and enterprises through integration, and has higher and higher requirements on the safety of data access and reading and writing. At present, a realization mode for the butt joint between the InCloud Sphere and the storage double-activity of the wave server virtualization system is lacked.
Therefore, it is very necessary to provide a method and an apparatus for implementing disaster recovery for a server virtualization system to overcome the above-mentioned drawbacks in the prior art.
Disclosure of Invention
The present invention provides a method and an apparatus for implementing disaster tolerance of dual activities for a server virtualization system, aiming at the defect that the existing realization method for the butt joint between the wave and tide server virtualization system lncloud Sphere and the storage dual activities is lacking, so as to solve the technical problems.
In order to achieve the purpose, the invention provides the following technical scheme:
a method for realizing double-active disaster recovery aiming at a server virtualization system is characterized in that an ICS (Internet connection sharing) of the server virtualization system is configured, and a CFS (computational fluid dynamics) storage domain and a shared storage pool are created; and modifying the configuration file of the storage domain, and setting the heartbeat timeout time to be greater than the storage recovery time of double activities.
Further, the method specifically comprises the following steps:
s1, adding an ICS license of a server virtualization system;
s2, adding a server virtualization system host;
s3, creating a storage domain of a server virtualization system;
s4, creating a server virtualization system storage pool;
s5, creating a virtual machine;
s6, modifying the background configuration file of the storage domain, and setting the heartbeat timeout time to be greater than the storage recovery time of double activities. Double-active storage is created for an ICS (Internet connection sharing) of a server virtualization system, and when one storage is down, the double-active recovery time is less than the heartbeat timeout time, so that backup storage is recovered in time, and data loss is prevented.
Further, the specific steps of step S1 are as follows:
s11, logging in a server virtualization system (ICS);
s12, obtaining a license key;
and S13, adding the acquired license key. When entering the server virtualization system, the authority is obtained first, and the license key is protection set for the server virtualization system.
Further, the specific steps of step S2 are as follows:
s21, acquiring a host IP and a password;
and S22, adding a host to the server virtualization system. A host is selected for storage.
Further, the specific steps of step S3 are as follows:
s31, acquiring a storage area network;
s32, acquiring a storage domain host;
and S33, creating a storage domain. The storage domain may be created by selecting all hosts added in step S2, or may be created by selecting some hosts.
Further, the specific steps of step S4 are as follows:
s41, acquiring a storage domain of the storage pool;
s42, acquiring a host of the storage pool;
s43, creating a storage pool. The storage pool is used for storage of the virtual machine.
Further, the specific steps of step S5 are as follows:
s51, acquiring an operating system of the virtual machine;
s52, distributing a CPU core, a memory and a hard disk for the virtual machine;
s53, mounting mirror images;
and S54, starting the virtual machine, and guiding to finish the installation of the mirror image. And creating a virtual machine, wherein the storage of the virtual machine is in the created storage pool.
Further, the operating system of the virtual machine in step S51 adopts a centOS operating system;
in step S52, a 4-core CPU, a 4G memory, and a 40G hard disk are allocated to the virtual machine.
Further, the specific steps of step S6 are as follows:
s61, logging in a background stored in the computing node;
s62, setting heartbeat time in a driving service program of the cluster file system, so that the heartbeat time is greater than the time of storage dual-active switching;
and S63, setting the lock timeout time of the server virtualization system and the storage double-activity. The time for switching the double-active storage is ensured to be less than the lock overtime time, so that the standby storage can be started normally when one path of storage fails.
The invention also provides the following technical scheme:
a device for realizing double-active disaster recovery aiming at a server virtualization system comprises
The license adding module is used for adding an ICS license of the server virtualization system;
the host adding module is used for adding a server virtualization system host;
the storage domain creating module is used for creating a storage domain of the server virtualization system;
the storage pool creating module is used for creating a server virtualization system storage pool;
the virtual machine creating module is used for creating a virtual machine;
and the storage domain background configuration module is used for modifying the storage domain background configuration file and setting the heartbeat timeout time to be greater than the storage recovery time of double activities.
The invention has the beneficial effects that:
the invention provides a practical and feasible method for double activities of butt joint storage in the server virtual machine system, enhances the safety of data access, better meets the requirements of enterprise-level customers and promotes the improvement of the functions of company virtualization products.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
FIG. 1 is a first flowchart of a method of the present invention;
FIG. 2 is a flow chart of a method of the present invention;
FIG. 3 is a schematic diagram of the system of the present invention;
wherein, 1-license addition module; 2-adding a module to the host; 3-a storage domain creation module; 4-storage pool creation module; 5-virtual machine creation module; and 6, a storage domain background configuration module.
The specific implementation mode is as follows:
in order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Example 1:
as shown in fig. 1, the present invention provides a method for implementing disaster recovery for a server virtualization system, which configures an ICS of the server virtualization system, and creates a CFS storage domain and a shared storage pool; modifying the configuration file of the storage domain, and setting the heartbeat timeout time to be greater than the storage recovery time of double activities; the method specifically comprises the following steps:
s1, adding an ICS license of a server virtualization system;
s2, adding a server virtualization system host;
s3, creating a storage domain of a server virtualization system;
s4, creating a server virtualization system storage pool;
s5, creating a virtual machine;
s6, modifying the background configuration file of the storage domain, and setting the heartbeat timeout time to be greater than the storage recovery time of double activities.
Example 2:
as shown in fig. 2, the present invention provides a method for implementing disaster recovery for a server virtualization system, which configures an ICS of the server virtualization system, and creates a CFS storage domain and a shared storage pool; modifying the configuration file of the storage domain, and setting the heartbeat timeout time to be greater than the storage recovery time of double activities; the method specifically comprises the following steps:
s1, adding an ICS license of a server virtualization system; the method comprises the following specific steps:
s11, logging in a server virtualization system (ICS);
s12, obtaining a license key;
s13, adding the acquired license key;
s2, adding a server virtualization system host; the method comprises the following specific steps:
s21, acquiring a host IP and a password;
s22, adding a host to the server virtualization system;
s3, creating a storage domain of a server virtualization system; the method comprises the following specific steps:
s31, acquiring a storage area network;
s32, acquiring a storage domain host;
s33, creating a storage domain;
s4, creating a server virtualization system storage pool; the method comprises the following specific steps:
s41, acquiring a storage domain of the storage pool;
s42, acquiring a host of the storage pool;
s43, creating a storage pool;
s5, creating a virtual machine; the method comprises the following specific steps:
s51, acquiring an operating system of the virtual machine; adopting a centOS operating system;
s52, distributing a CPU core, a memory and a hard disk for the virtual machine; allocating a 4-core CPU, a 4G memory and a 40G hard disk for the virtual machine;
s53, mounting mirror images;
s54, starting the virtual machine, and guiding to finish the installation of the mirror image;
s6, modifying the background configuration file of the storage domain, and setting the heartbeat timeout time to be greater than the storage recovery time of double activities; the method comprises the following steps:
s61, logging in a background stored in the computing node;
s62, setting heartbeat time in a driving service program of the cluster file system, so that the heartbeat time is greater than the time of storage dual-active switching;
and S63, setting the lock timeout time of the server virtualization system and the storage double-activity.
By applying the method for implementing disaster recovery for a server virtualization system in the above embodiment 2,
s1, adding a server virtualization system (ICS) license, logging in the server virtualization system (ICS), entering a homepage, entering a license item managed by the system, clicking to increase a license key, acquiring the license key, and finishing the addition of the license;
s2, adding a server virtualization system host, entering a computing pool page, clicking an add host option, acquiring a host IP and a password, and waiting for the host to be added into the system;
s3, establishing a storage domain of a server virtualization system, entering a storage pool page, clicking a storage domain option, acquiring a network, adding a host, and completing the establishment of the storage domain;
s4, establishing a server virtualization system storage pool, entering a storage pool page, clicking a CFS storage domain option, selecting the storage domain established in the step S3, and attaching a host to complete the establishment of the storage pool;
and S5, creating two virtual machines, entering a virtual machine page, clicking a virtual machine adding option, selecting a centOS system, distributing a 4-core CPU, a 4G memory and a 40G hard disk for the virtual machine, mounting a mirror image, and finishing virtual machine creation. Starting a virtual machine, and guiding to finish the installation of the mirror image;
s6, modifying the background configuration file of the storage domain, and setting the heartbeat timeout time to be greater than the storage recovery time of double activities; respectively logging in a computing node background in a storage domain, vi/etc/sysconfig/O2 cb, finding O2CB _ IDLE _ TIMEOUT _ MS, modifying to 30000, namely 120S is larger than the time of storing double-active switching, and restarting O2CB service by the computing node;
vi/etc/ics _ storage _ conf/storage. conf, find "SANLOCK _ IO _ TIMEOUT", set SANLOCK TIMEOUT time to be 20.
Example 3:
as shown in fig. 3, the present invention provides a device for implementing dual-active disaster recovery for a server virtualization system, including: a license adding module 1, configured to add an ICS license of the server virtualization system;
the host adding module 2 is used for adding a server virtualization system host;
a storage domain creating module 3, configured to create a server virtualization system storage domain;
the storage pool creating module 4 is used for creating a server virtualization system storage pool;
a virtual machine creation module 5, configured to create a virtual machine;
and the storage domain background configuration module 6 is used for modifying the storage domain background configuration file and setting the heartbeat timeout time to be greater than the storage recovery time of double activities.
The embodiments of the present invention are illustrative rather than restrictive, and the above-mentioned embodiments are only provided to help understanding of the present invention, so that the present invention is not limited to the embodiments described in the detailed description, and other embodiments derived from the technical solutions of the present invention by those skilled in the art also belong to the protection scope of the present invention.

Claims (9)

1. A method for realizing double-active disaster recovery aiming at a server virtualization system is characterized in that an ICS (Internet connection sharing) of the server virtualization system is configured, and a CFS (computational fluid dynamics) storage domain and a shared storage pool are created; modifying the configuration file of the storage domain, and setting the heartbeat timeout time to be greater than the storage recovery time of double activities;
the method specifically comprises the following steps:
s1, adding an ICS license of a server virtualization system;
s2, adding a server virtualization system host;
s3, creating a storage domain of a server virtualization system;
s4, creating a server virtualization system storage pool;
s5, creating a virtual machine;
s6, modifying the background configuration file of the storage domain, and setting the heartbeat timeout time to be greater than the storage recovery time of double activities.
2. The method according to claim 1, wherein the step S1 includes the following steps:
s11, logging in a server virtualization system (ICS);
s12, obtaining a license key;
and S13, adding the acquired license key.
3. The method according to claim 1, wherein the step S2 includes the following steps:
s21, acquiring a host IP and a password;
and S22, adding a host to the server virtualization system.
4. The method according to claim 1, wherein the step S3 includes the following steps:
s31, acquiring a storage area network;
s32, acquiring a storage domain host;
and S33, creating a storage domain.
5. The method according to claim 1, wherein the step S4 includes the following steps:
s41, acquiring a storage domain of the storage pool;
s42, acquiring a host of the storage pool;
s43, creating a storage pool.
6. The method according to claim 1, wherein the step S5 includes the following steps:
s51, acquiring an operating system of the virtual machine;
s52, distributing a CPU core, a memory and a hard disk for the virtual machine;
s53, mounting mirror images;
and S54, starting the virtual machine, and guiding to finish the installation of the mirror image.
7. The method according to claim 6, wherein the operating system of the virtual machine in step S51 adopts a centOS operating system; in step S52, a 4-core CPU, a 4G memory, and a 40G hard disk are allocated to the virtual machine.
8. The method according to claim 1, wherein the step S6 includes the following steps:
s61, logging in a background stored in the computing node;
s62, setting heartbeat time in a driving service program of the cluster file system, so that the heartbeat time is greater than the time of storage dual-active switching;
and S63, setting the lock timeout time of the server virtualization system and the storage double-activity.
9. An apparatus for implementing dual-active disaster recovery for a server virtualization system, comprising:
a license addition module (1) for adding a server virtualization system (ICS) license;
the host machine adding module (2) is used for adding a server virtualization system host machine;
a storage domain creating module (3) for creating a server virtualization system storage domain;
a storage pool creation module (4) for creating a server virtualization system storage pool;
a virtual machine creation module (5) for creating a virtual machine;
and the storage domain background configuration module (6) is used for modifying the storage domain background configuration file and setting the heartbeat timeout time to be greater than the storage recovery time of double activities.
CN201811055991.8A 2018-09-11 2018-09-11 Method and device for realizing double-active disaster recovery aiming at server virtualization system Active CN109240855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811055991.8A CN109240855B (en) 2018-09-11 2018-09-11 Method and device for realizing double-active disaster recovery aiming at server virtualization system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811055991.8A CN109240855B (en) 2018-09-11 2018-09-11 Method and device for realizing double-active disaster recovery aiming at server virtualization system

Publications (2)

Publication Number Publication Date
CN109240855A CN109240855A (en) 2019-01-18
CN109240855B true CN109240855B (en) 2021-11-26

Family

ID=65067749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811055991.8A Active CN109240855B (en) 2018-09-11 2018-09-11 Method and device for realizing double-active disaster recovery aiming at server virtualization system

Country Status (1)

Country Link
CN (1) CN109240855B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110580193B (en) * 2019-08-15 2022-07-08 苏州浪潮智能科技有限公司 Virtualization-based single-site disaster recovery method, system and equipment
CN110502371B (en) * 2019-08-23 2022-05-10 北京浪潮数据技术有限公司 CFS storage domain recovery method, device, equipment and readable storage medium
CN110941508B (en) * 2019-11-08 2022-03-22 北京浪潮数据技术有限公司 Post-disaster recovery system, method and device for virtualization system and readable storage medium
CN111858191B (en) * 2020-06-29 2024-02-09 广东浪潮大数据研究有限公司 Dual-active storage control method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767643A (en) * 2015-04-09 2015-07-08 喜舟(上海)实业有限公司 Disaster recovery backup system based on virtual machine
CN105184154B (en) * 2015-09-15 2017-06-20 中国科学院信息工程研究所 A kind of system and method that crypto-operation service is provided in virtualized environment
CN107819851A (en) * 2017-11-10 2018-03-20 郑州云海信息技术有限公司 A kind of Openstack single nodes deployment and virtualization system ICS docking calculation

Also Published As

Publication number Publication date
CN109240855A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
CN109240855B (en) Method and device for realizing double-active disaster recovery aiming at server virtualization system
US10277525B2 (en) Method and apparatus for disaggregated overlays via application services profiles
RU2604519C2 (en) Cross-cloud management and troubleshooting
CN102103518B (en) System for managing resources in virtual environment and implementation method thereof
CN109151045B (en) Distributed cloud system and monitoring method
CN113037560B (en) Service flow switching method and device, storage medium and electronic equipment
US10922303B1 (en) Early detection of corrupt data partition exports
CN106713391B (en) Session information sharing method and sharing system
EP2802990B1 (en) Fault tolerance for complex distributed computing operations
CN106850260A (en) A kind of dispositions method and device of virtual resources management platform
CN104618693A (en) Cloud computing based online processing task management method and system for monitoring video
US10191958B1 (en) Storage provisioning in a data storage environment
WO2012145963A1 (en) Data management system and method
CN103399894A (en) Distributed transaction processing method on basis of shared storage pool
CN107682460B (en) Distributed storage cluster data communication method and system
CN111343262B (en) Distributed cluster login method, device, equipment and storage medium
CN103226483A (en) DHBS (dual hot-backup system) and method thereof based on SOA (service-oriented architecture) and cloud storage
CN111310230B (en) Spatial data processing method, device, equipment and medium
CN108259569A (en) It is a kind of based on IPSAN share storage without acting on behalf of continuous data protection method
US11290318B2 (en) Disaster recovery of cloud resources
CN103067365A (en) Set top box, client-side, system and method for virtual desktop access
CN104516778B (en) The preservation of process checkpoint and recovery system and method under a kind of multitask environment
CN107590032A (en) The method and storage cluster system of storage cluster failure transfer
US9197519B2 (en) Tracking objects within dynamic environments
Jing et al. Remote Sensing Data Backup and Recovery System for Power Industry

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant