[go: nahoru, domu]

CN109032765A - A kind of virtual machine two-node cluster hot backup dispositions method, device and equipment - Google Patents

A kind of virtual machine two-node cluster hot backup dispositions method, device and equipment Download PDF

Info

Publication number
CN109032765A
CN109032765A CN201811031241.7A CN201811031241A CN109032765A CN 109032765 A CN109032765 A CN 109032765A CN 201811031241 A CN201811031241 A CN 201811031241A CN 109032765 A CN109032765 A CN 109032765A
Authority
CN
China
Prior art keywords
virtual machine
node cluster
hot backup
cluster hot
host
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811031241.7A
Other languages
Chinese (zh)
Inventor
袁艳涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811031241.7A priority Critical patent/CN109032765A/en
Publication of CN109032765A publication Critical patent/CN109032765A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention discloses a kind of virtual machine two-node cluster hot backup dispositions methods, after the configuration-direct including receiving input, configure according to configuration-direct to active and standby virtual machine, obtain the virtual machine system for the two-node cluster hot backup that configuration is completed, and be saved as virtual machine template;It receives the running environment configuration data in the virtualization data library of input and is sent to host to be disposed;After the importing instruction for receiving input, the virtual machine template of preservation is called to import host to be disposed;According to the configuration data of running environment configuration data adjustment virtual machine template, the virtual machine system for being set to the two-node cluster hot backup wait dispose on host is obtained.The present invention is when disposing the virtual machine system of two-node cluster hot backup, the virtual machine template pre-set can be called directly to be configured, fundamental construction without carrying out virtual machine system every time, simplifies the deployment process of the virtual machine system of two-node cluster hot backup, improves deployment efficiency.The invention also discloses devices and equipment based on the above method.

Description

A kind of virtual machine two-node cluster hot backup dispositions method, device and equipment
Technical field
The present invention relates to deploying virtual machine technical fields, more particularly to a kind of virtual machine two-node cluster hot backup dispositions method, dress It sets and equipment.
Background technique
With the development and further investigation of virtualization technology, virtual machine replaces entity physical machine to become enterprise's various businesses Running environment has become a trend, and virtualization data library is the primary warehouse of virtualization resource storage, is that management and monitoring are empty The basis of quasi- resource, so the performance in virtualization data library will have a direct impact on the performance of whole system, once database service goes out Existing problem, the management and application of entire virtualization system just paralyse state.
Based on the above issues, the mode of virtual machine two-node cluster hot backup is generallyd use at present to improve the reliable of virtualization data library Property.Two-node cluster hot backup refers to that active and standby virtual machine is arranged, in host virtual machine failure, it will enables standby virtual machine at once and takes over main void The business of quasi- machine, realizes the High Availabitity of virtualization data library service.
But user is matched on new host every time when deployment has the virtual machine system of two-node cluster hot backup at present When setting, it is required to carry out configurations operation to virtual machine system first, the operation ring for the virtual machine for later again obtaining building Border parameter is configured, and could complete entirely to dispose process.It is complex to dispose process, disposes low efficiency, poor user experience.
Therefore, how to provide that a kind of to dispose high-efficient virtual machine two-node cluster hot backup dispositions method, device and equipment be ability The current problem to be solved of field technique personnel.
Summary of the invention
The object of the present invention is to provide a kind of virtual machine two-node cluster hot backup dispositions method, device and equipment, in deployment dual-locomotive heat When standby virtual machine system, the virtual machine template pre-set can be called directly and configured, and no longer need to carry out virtual The fundamental construction of machine system improves deployment efficiency to simplify the deployment process of the virtual machine system of two-node cluster hot backup.
In order to solve the above technical problems, the present invention provides a kind of virtual machine two-node cluster hot backup dispositions methods, comprising:
After the configuration-direct for receiving input, active and standby virtual machine is configured according to the configuration-direct, is configured At two-node cluster hot backup virtual machine system, and be saved as virtual machine template;
It receives the running environment configuration data in the virtualization data library of input and is sent to host to be disposed;
After the importing instruction for receiving input, the virtual machine template of preservation is called to import the host to be disposed;
The configuration data that the virtual machine template is adjusted according to the running environment configuration data, obtain being set to it is described to Dispose the virtual machine system of the two-node cluster hot backup on host.
Preferably, after the every configuration-direct for receiving input, active and standby virtual machine is carried out according to the configuration-direct The process of configuration specifically includes:
Receive input the configuration-direct after, installed respectively in the active and standby virtual machine virtualization data library service, Installation kit required for distributed block device replication DBRD and heartbeat detection is simultaneously run;
After the installation kit operation of the DBRD, in the virtual machine locating for itself virtual disk is selected to be set as DBRD The data synchronous disk of service, and it is logical to select a Network card setup in the virtual machine locating for itself to synchronize for the DBRD data serviced Road;
After the installation kit operation of the heartbeat detection, selecting a Network card setup in the virtual machine locating for itself is heartbeat The data channel of detection, and DBRD service and the service of virtualization data library are added in the heartbeat management list of itself, it is described double The hot standby virtual machine system of machine, which configures, to be completed.
It is preferably, described to call the virtual machine template saved importing described wait dispose before host, further includes:
It verifies whether the running environment configuration data meets preset two-node cluster hot backup deployment conditions, is protected if satisfied, calling The virtual machine template deposited imports the host to be disposed, if not satisfied, the prompt that display is re-entered.
Preferably, the running environment configuration data includes the network information, storage information and processor information.
Preferably, the running environment configuration data further includes the user name of IP information and the host to be disposed and close Code.
Preferably, whether the verifying running environment configuration data meets the mistake of preset two-node cluster hot backup deployment conditions Journey specifically includes:
Whether verifying the network information, whether to be equal to the default network information, the IP information occupied and described to portion Whether the username and password of administration's host is equal to default log-on message, if the network information is equal to the default network information, described IP information is unoccupied and the username and password of the host to be disposed is equal to default log-on message, then is verified, no Then, verifying does not pass through.
Preferably, the storage information includes memory size.
Preferably, the processor information includes CPU number.
In order to solve the above technical problems, the present invention also provides a kind of virtual machine two-node cluster hot backups to dispose device, comprising:
Template-setup module, after configuration-direct for receiving input, according to the configuration-direct to active and standby virtual machine into Row configuration, obtains the virtual machine system for the two-node cluster hot backup that configuration is completed, and be saved as virtual machine template;
Configuration data receiving module, the running environment configuration data in virtualization data library for receiving input are simultaneously sent to Host to be disposed;
Import modul, after importing for receiving input instruction, call the virtual machine template of preservation import it is described to Dispose host;
Adjustment module is obtained for adjusting the configuration data of the virtual machine template according to the running environment configuration data To the virtual machine system for being set to the two-node cluster hot backup wait dispose on host.
In order to solve the above technical problems, the present invention also provides a kind of virtual machine two-node cluster hot backup deployment facilities, comprising:
Memory, for storing computer program;
Processor realizes the virtual machine two-node cluster hot backup portion as described in any of the above item when for executing the computer program The step of arranging method.
The present invention provides a kind of virtual machine two-node cluster hot backup dispositions method, device and equipment, are receiving configuration-direct first Afterwards, configuration obtains the virtual machine system with two-node cluster hot backup function, and regard system export as virtual machine template, subsequent When needing to dispose the virtual machine system of two-node cluster hot backup on host, the running environment according to actual conditions input can be received first Configuration data imports running environment configuration data and virtual machine template in host to be disposed later, in host to be disposed The interior configuration data according to running environment configuration data adjustment virtual machine template, can complete virtual machine on host to be disposed The setting of system, and the virtual machine system being provided with has the function of two-node cluster hot backup and meets desired running environment.Thus may be used See, in the present invention, it is only necessary to the complete configuration of a virtual machine system is initially carried out, later in the void of deployment two-node cluster hot backup every time It when quasi- machine system, then no longer needs to carry out the configurations operation of the virtual machine system of two-node cluster hot backup, but foundation is only needed to connect The running environment configuration data received is partially adjusted virtual machine template, can be automatically performed the deployment of virtual machine system, The deployment process and user's operation of virtual machine system are simple, and user experience is good.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to institute in the prior art and embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow chart of the process of virtual machine two-node cluster hot backup dispositions method provided by the invention;
Fig. 2 is the flow chart of the process of another virtual machine two-node cluster hot backup dispositions method provided by the invention;
Fig. 3 is the structural schematic diagram that device is disposed in a kind of virtual machine two-node cluster hot backup provided by the invention.
Specific embodiment
Core of the invention is to provide a kind of virtual machine two-node cluster hot backup dispositions method, device and equipment, in deployment dual-locomotive heat When standby virtual machine system, the virtual machine template pre-set can be called directly and configured, and no longer need to carry out virtual The fundamental construction of machine system improves deployment efficiency to simplify the deployment process of the virtual machine system of two-node cluster hot backup.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Shown in Figure 1 the present invention provides a kind of virtual machine two-node cluster hot backup dispositions method, Fig. 1 is provided by the invention A kind of flow chart of the process of virtual machine two-node cluster hot backup dispositions method;This method comprises:
Step s1: after the configuration-direct for receiving input, active and standby virtual machine is configured according to configuration-direct, is configured The virtual machine system of the two-node cluster hot backup of completion, and it is saved as virtual machine template;
Under normal conditions, in the configuration process of virtual machine system for carrying out two-node cluster hot backup, many configuration process and match Set parameter setting be in order to realize two-node cluster hot backup function and virtual machine building necessary to, belong to building two-node cluster hot backup void The configurations operation of quasi- machine system;This part operation is unrelated with running environment locating for host to be disposed and user demand , in the virtual machine system of configuration two-node cluster hot backup every time, these operations are identical.Therefore, the present invention is every in order to simplify The process of the virtual machine system of secondary deployment two-node cluster hot backup, is configured with the virtual machine system conduct of a basic two-node cluster hot backup first Template simultaneously saves, later during actual disposition, it is only necessary to call the virtual machine template, and according to actual running environment and use Family demand adjusts some parameter data in template, and the deployment of virtual machine system can be completed.Make so only need initially into The complete configuration of virtual machine system of row, later every time deployment two-node cluster hot backup virtual machine system when, then no longer need into The configurations of the virtual machine system of row two-node cluster hot backup operate, to improve the configuration effect of the virtual machine system of two-node cluster hot backup Rate.
Step s2: it receives the running environment configuration data in the virtualization data library of input and is sent to host to be disposed;
It is understood that in the configuration process of virtual machine system, although there are the operation part of many fixations, There is also by the configuration parameter wait dispose running environment locating for host and user demand is influenced, not due to these configuration parameters Be it is unalterable, therefore, in the configuration process of virtual machine system for carrying out two-node cluster hot backup every time, be required to receive it is current most The running environment configuration data in new virtualization data library.It is subsequent to complete virtual machine system according to these running environment configuration datas The configuration of system can enable finally obtained virtual machine system be advantageously applied to wait dispose in host, and meet user Actual demand.
Step s3: after the importing instruction for receiving input, the virtual machine template of preservation is called to import host to be disposed;
It is understood that being usually not preserve virtual machine template in host wait dispose, therefore, it is desirable to carry out virtual machine If the deployment of system, need that the virtual machine template of preservation is directed into wait dispose in host after receiving importing instruction, it After virtual machine template could be adjusted wait dispose in host, so that virtual machine system be enable to operate in host to be disposed On.
Step s4: it according to the configuration data of running environment configuration data adjustment virtual machine template, obtains being set to wait dispose The virtual machine system of two-node cluster hot backup on host.
After running environment configuration data and virtual machine template are imported wait dispose host, wait dispose in host according to fortune Corresponding configuration parameter in row environment configurations data point reuse virtual machine template, it is finally obtained virtual after the completion of adjusting in this way Machine system just adapts to the running environment of host to be disposed and meets the actual demand of user, to complete virtual machine system Deployment.
According to above content it is found that simplifying the configuration flow when virtual machine system configuration of two-node cluster hot backup in the present invention, So that not needing to carry out identical configurations operation every time, directly in the virtual machine system of deployment two-node cluster hot backup every time The virtual machine template set before is adjusted according to the related configuration data of the running environment received, it is subsequent It is automatically performed the deployment of virtual machine system, the deployment process of virtual machine system is simple, and the virtual machine system of two-node cluster hot backup configures effect Rate is high.And it is this since the active and standby virtual machine in virtual machine system is configured based on identical running environment configuration data The environment deployment having the same always of active and standby virtual machine can be guaranteed to the mode of the unified adjustment of template, ensure that active and standby virtual machine Between business and Data Migration.
In addition, host to be disposed carry out virtual machine system deployment during, sometimes user can directly to host into Row operation, in this case, user directly can input running environment configuration data, host by the human-computer interaction interface on host After the importing instruction for receiving user's input, virtual machine template directly can be called simultaneously by the USB flash disk connected on host or cloud etc. It imports in itself and is disposed.But in some cases, host to be disposed be in distal end, user can not scene treat deployment master Machine is operated, at this point, being usually remotely to control host to be disposed by local PC, user is remotely controlled by local PC to portion The above-mentioned deployment program of operation in host is affixed one's name to, later by local PC and wait dispose the connection between host, local PC is to wait dispose Host sends running environment configuration data and virtual machine template, wait dispose the work of the deployment program in host, according to operation ring Border configuration data and virtual machine template complete the deployment of virtual machine system.Specifically it is not construed as limiting using which kind of mode present invention, But no matter which kind of method, it is required to be provided with the deployment journey that can carry dispositions method provided by the invention wait dispose in host Sequence.
Specifically, the process for configuring the virtual machine system of two-node cluster hot backup specifically includes in step s1:
After the configuration-direct for receiving input, the service of virtualization data library, DBRD are installed respectively in active and standby virtual machine Installation required for (Distributed Replicated Block Device, distributed block device replication) and heartbeat detection It wraps and runs;Above-mentioned installation kit can be installed based on Linux system;
After the installation kit operation of DBRD, in the virtual machine locating for itself virtual disk is selected to be set as DBRD service Data synchronous disk, and the data synchronizing channel for selecting a Network card setup in the virtual machine locating for itself to service for DBRD; I.e. DBRD services when, the data in the disk are for keeping synchronizing with the data corresponded in another virtual machine in disk , thus data and business migration when facilitating host virtual machine failure;When the Data Migration of host virtual machine to standby virtual machine, it is clear that It needs to be migrated by data synchronizing channel;
After the installation kit operation of heartbeat detection, selecting a Network card setup in the virtual machine locating for itself is heartbeat detection Data channel, and in the heartbeat management list of itself add DBRD service and virtualization data library service, two-node cluster hot backup Virtual machine system configuration is completed.Since heartbeat detection needs to carry out the transmitting-receiving of signal, it is therefore desirable to data channel be arranged;Here Heartbeat management list is for informing that heartbeat detection service needs to detect those services in heartbeat detection.
It is understood that the present invention realizes the two-node cluster hot backup of virtual machine using DBRD and heartbeat detection technology, thus Realize the high availability in virtualization data library.The process of two-node cluster hot backup is realized according to DBRD and heartbeat detection technology specifically: Active and standby virtual machine is disposed with same environment, but there was only host virtual machine operation data library business in synchronization, starts heartbeat After detection service, heartbeat detection service can moment detection host virtual machine business operating status, and pull-up DBRD and virtual simultaneously Change management service, once discovery host virtual machine service disconnection or host virtual machine break down, standby virtual machine can be enabled at once and taken over The business of host virtual machine realizes the High Availabitity of virtualization data library service, wherein DBRD is virtual for realizing active and standby virtual machine Change the real-time synchronization function of service data in database.
Therefore, when constructing virtual machine system as template, need to install first virtualization data library service, DBRD and Installation kit required for heartbeat detection.The installation kit of virtualization data library service is empty in order to carry out in the building of active and standby virtual machine The configuration of quasi-ization database;The installation kit of DBRD is the configuration in order to realize DBRD service;The installation kit of heartbeat detection be in order to Realize the configuration of heartbeat detection function.
Specifically, above-mentioned running environment configuration data includes the network information, storage information and processor information.Running environment It is usually predominantly by the resource point of the capacity (such as memory size) of configuration, the storage of network, the path of storage and processor It limits with (such as CPU number), therefore, can be basically completed by the setting network information, storage information and processor information Setting to running environment.In addition, running environment configuration data can also include the user name of IP information and host to be disposed With password etc., these contents are related to host to be disposed, for the mark as host to be disposed, to distinguish host to be disposed The difference of virtual machine system on the virtual machine system of upper setting and other hosts.Certainly, the above is only several preferred embodiments, The present invention does not limit the particular content of running environment configuration data.
In a preferred embodiment, shown in Figure 2, Fig. 2 is another virtual machine two-node cluster hot backup deployment provided by the invention The flow chart of the process of method;After step s2, before step s3, further includes:
Step s21: whether verifying running environment configuration data meets preset two-node cluster hot backup deployment conditions, if satisfied, into Enter step s3, if not satisfied, entering step s5;
Step s5: the prompt re-entered is shown.
It is understood that due to running environment configuration data be it is input by user, due to user hand accidentally or other Reason so that the running environment configuration data received may and it is incorrect, or and do not meet the deployment conditions of two-node cluster hot backup, So when need first to verify the running environment configuration data received, examine running environment configuration data whether Meet two-node cluster hot backup deployment conditions, if satisfied, showing that received running environment configuration data can be used for adjusting virtual machine at this time Template, if not satisfied, showing that received running environment configuration data is problematic at this time, needs to realize the deployment of virtual machine system User is wanted to re-enter.By above-mentioned verifying, the void finally disposed caused by the running environment configuration data of mistake can be avoided Quasi- machine system storage problem, can not occur the case where normal use, improve the reliability of virtual machine system deployment.
Certainly, in other embodiments, when running environment configuration data is unsatisfactory for preset two-node cluster hot backup deployment conditions, It can also show the prompt that this time deployment terminates.Or when being unsatisfactory for, other means also can be used, the present invention does not limit this It is fixed.
Further, in step s21, whether verifying running environment configuration data meets preset two-node cluster hot backup deployment conditions Process specifically include:
Whether the verifying network information is equal to whether the default network information, IP information occupied and the user of host to be disposed Whether name and password are equal to default log-on message, if the network information be equal to the default network information, IP information it is unoccupied and to The username and password for disposing host is equal to default log-on message, then is verified, and otherwise, verifying does not pass through.
It is understood that when running environment configuration data includes the network information, IP information, the user name of host to be disposed It when with password, needs respectively to verify it, only when all data is all satisfied corresponding condition, ability running environment is matched It sets data and meets preset two-node cluster hot backup deployment conditions.Certainly, the detailed process of above-mentioned verifying and running environment configuration data institute The content for including is related, and the present invention is not especially limited this.In addition, when needing to test multinomial running environment configuration data When card, different task parallelism verifyings is can be used in items verifying, or successively can also serially verify, and this is not limited by the present invention
In addition, the present invention can realize the computer program of the above method using C# high level language, this part is calculated Machine program can be installed and used based on any windows host.Certainly, the present invention, which does not limit, realizes the above method Computer program writes language, that is, the OS Type of host to be disposed.
The present invention also provides a kind of virtual machine two-node cluster hot backups to dispose device, and shown in Figure 3, Fig. 3 provides for the present invention A kind of virtual machine two-node cluster hot backup deployment device structural schematic diagram.The device includes:
Template-setup module 1 after configuration-direct for receiving input, matches active and standby virtual machine according to configuration-direct It sets, obtains the virtual machine system for the two-node cluster hot backup that configuration is completed, and be saved as virtual machine template;
Configuration data receiving module 2, the running environment configuration data in virtualization data library for receiving input are simultaneously sent To host to be disposed;
Import modul 3 calls the virtual machine template of preservation to import master to be disposed after importing instruction for receiving input Machine;
Module 4 is adjusted, for the configuration data according to running environment configuration data adjustment virtual machine template, is set to The virtual machine system of two-node cluster hot backup wait dispose on host.
The present invention also provides a kind of virtual machine two-node cluster hot backup deployment facilities, comprising:
Memory, for storing computer program;
Processor is realized when for executing computer program such as the virtual machine two-node cluster hot backup dispositions method of any of the above item Step.
Above several specific embodiments are only the preferred embodiment of the present invention, and above several specific embodiments can be with Any combination, the embodiment obtained after combination is also within protection scope of the present invention.It should be pointed out that for the art For those of ordinary skill, relevant speciality technical staff deduced out in the case where not departing from spirit of that invention and concept thereof other change Into and variation, should all be included in the protection scope of the present invention.
It should also be noted that, in the present specification, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.

Claims (10)

1. a kind of virtual machine two-node cluster hot backup dispositions method characterized by comprising
After the configuration-direct for receiving input, active and standby virtual machine is configured according to the configuration-direct, obtains what configuration was completed The virtual machine system of two-node cluster hot backup, and it is saved as virtual machine template;
It receives the running environment configuration data in the virtualization data library of input and is sent to host to be disposed;
After the importing instruction for receiving input, the virtual machine template of preservation is called to import the host to be disposed;
The configuration data that the virtual machine template is adjusted according to the running environment configuration data obtains being set to described wait dispose The virtual machine system of two-node cluster hot backup on host.
2. virtual machine two-node cluster hot backup dispositions method according to claim 1, which is characterized in that the items for receiving input After configuration-direct, the process configured according to the configuration-direct to active and standby virtual machine is specifically included:
After the configuration-direct for receiving input, the service of virtualization data library, distribution are installed respectively in the active and standby virtual machine Formula block device replicates installation kit required for DBRD and heartbeat detection and runs;
After the installation kit operation of the DBRD, in the virtual machine locating for itself virtual disk is selected to be set as DBRD service Data synchronous disk, and the data synchronizing channel for selecting a Network card setup in the virtual machine locating for itself to service for DBRD;
After the installation kit operation of the heartbeat detection, selecting a Network card setup in the virtual machine locating for itself is heartbeat detection Data channel, and in the heartbeat management list of itself add DBRD service and virtualization data library service, the dual-locomotive heat Standby virtual machine system, which configures, to be completed.
3. virtual machine two-node cluster hot backup dispositions method according to claim 1, which is characterized in that described to call the described of preservation Virtual machine template imports described wait dispose before host, further includes:
Verify whether the running environment configuration data meets preset two-node cluster hot backup deployment conditions, if satisfied, calling preservation The virtual machine template imports the host to be disposed, if not satisfied, the prompt that display is re-entered.
4. virtual machine two-node cluster hot backup dispositions method according to claim 3, which is characterized in that the running environment configures number According to including the network information, storage information and processor information.
5. virtual machine two-node cluster hot backup dispositions method according to claim 4, which is characterized in that the running environment configures number According to the username and password for further including IP information and the host to be disposed.
6. virtual machine two-node cluster hot backup dispositions method according to claim 5, which is characterized in that the verifying operation ring The process whether border configuration data meets preset two-node cluster hot backup deployment conditions specifically includes:
Verify whether the network information is equal to whether the default network information, the IP information occupied and the master to be disposed Whether the username and password of machine is equal to default log-on message, if the network information is equal to the default network information, IP letter The username and password for ceasing the unoccupied and described host to be disposed is equal to default log-on message, then is verified, otherwise, tests Card does not pass through.
7. virtual machine two-node cluster hot backup dispositions method according to claim 4, which is characterized in that the storage information includes interior Deposit size.
8. virtual machine two-node cluster hot backup dispositions method according to claim 4, which is characterized in that the processor information includes CPU number.
9. device is disposed in a kind of virtual machine two-node cluster hot backup characterized by comprising
Template-setup module after configuration-direct for receiving input, matches active and standby virtual machine according to the configuration-direct It sets, obtains the virtual machine system for the two-node cluster hot backup that configuration is completed, and be saved as virtual machine template;
Configuration data receiving module, the running environment configuration data in virtualization data library for receiving input are simultaneously sent to portion Affix one's name to host;
Import modul after importing instruction for receiving input, calls the virtual machine template of preservation to import described wait dispose Host;
Adjustment module is set for adjusting the configuration data of the virtual machine template according to the running environment configuration data It is placed in the virtual machine system of the two-node cluster hot backup wait dispose on host.
10. a kind of virtual machine two-node cluster hot backup deployment facility characterized by comprising
Memory, for storing computer program;
Processor realizes virtual machine dual-locomotive heat as claimed in any one of claims 1 to 8 when for executing the computer program The step of standby dispositions method.
CN201811031241.7A 2018-09-05 2018-09-05 A kind of virtual machine two-node cluster hot backup dispositions method, device and equipment Pending CN109032765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811031241.7A CN109032765A (en) 2018-09-05 2018-09-05 A kind of virtual machine two-node cluster hot backup dispositions method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811031241.7A CN109032765A (en) 2018-09-05 2018-09-05 A kind of virtual machine two-node cluster hot backup dispositions method, device and equipment

Publications (1)

Publication Number Publication Date
CN109032765A true CN109032765A (en) 2018-12-18

Family

ID=64623504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811031241.7A Pending CN109032765A (en) 2018-09-05 2018-09-05 A kind of virtual machine two-node cluster hot backup dispositions method, device and equipment

Country Status (1)

Country Link
CN (1) CN109032765A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371595A (en) * 2020-02-25 2020-07-03 深信服科技股份有限公司 Network security deployment method, device, equipment and readable storage medium
CN113590272A (en) * 2021-09-30 2021-11-02 武汉四通信息服务有限公司 Virtual machine deployment method, device, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917064B (en) * 2012-10-23 2015-09-02 广州杰赛科技股份有限公司 Based on the double hot standby method of privately owned cloud computing platform
US20150309896A1 (en) * 2013-10-23 2015-10-29 Huawei Technologies Co., Ltd. Method, System, and Apparatus for Cloud Application Redundancy
CN105812169A (en) * 2014-12-31 2016-07-27 华为软件技术有限公司 Host and standby machine switching method and device
US9645858B2 (en) * 2012-03-02 2017-05-09 Vmware, Inc. Single, logical, multi-tier application blueprint used for deployment and management of multiple physical applications in a cloud infrastructure
CN107153571A (en) * 2017-06-13 2017-09-12 郑州云海信息技术有限公司 A kind of dispositions method and device of virtual management node

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9645858B2 (en) * 2012-03-02 2017-05-09 Vmware, Inc. Single, logical, multi-tier application blueprint used for deployment and management of multiple physical applications in a cloud infrastructure
CN102917064B (en) * 2012-10-23 2015-09-02 广州杰赛科技股份有限公司 Based on the double hot standby method of privately owned cloud computing platform
US20150309896A1 (en) * 2013-10-23 2015-10-29 Huawei Technologies Co., Ltd. Method, System, and Apparatus for Cloud Application Redundancy
CN105812169A (en) * 2014-12-31 2016-07-27 华为软件技术有限公司 Host and standby machine switching method and device
CN107153571A (en) * 2017-06-13 2017-09-12 郑州云海信息技术有限公司 A kind of dispositions method and device of virtual management node

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈俊等: "虚拟化桌面云教学平台的规模化部署与优化", 《电子技术与软件工程》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371595A (en) * 2020-02-25 2020-07-03 深信服科技股份有限公司 Network security deployment method, device, equipment and readable storage medium
CN113590272A (en) * 2021-09-30 2021-11-02 武汉四通信息服务有限公司 Virtual machine deployment method, device, electronic device and storage medium

Similar Documents

Publication Publication Date Title
US11997094B2 (en) Automatically deployed information technology (IT) system and method
US9207929B2 (en) Integrated system and firmware update method
CN102214128B (en) Repurposable recovery environment
US7698704B2 (en) Method for installing operating system on remote storage: flash deploy and install zone
CN104360878B (en) A kind of method and device of application software deployment
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
CN104461594B (en) The upgrade method and device of embedded OS
CN109799998B (en) OpenStack cluster configuration and batch deployment method and system
US11354150B1 (en) Utilizing maintenance event windows to determine placement of instances
CN104077199A (en) Shared disk based high availability cluster isolation method and system
CN107153571A (en) A kind of dispositions method and device of virtual management node
CN103399781A (en) Cloud server and virtual machine management method thereof
CN112152843B (en) Cluster node deployment method, device and system and electronic equipment
CN109032765A (en) A kind of virtual machine two-node cluster hot backup dispositions method, device and equipment
CN109379223A (en) A kind of method and apparatus for realizing network interface card automated setting
EP4350553A2 (en) Configurable memory device connected to a microprocessor
US20240111579A1 (en) Termination of sidecar containers
CN108055159A (en) A kind of clustered node operation synchronous method and device
WO2013078548A1 (en) System and method for automatically configuring and updating a virtual server
JP2011248616A (en) Server system and method for selecting migration system for virtual server
CN105471597B (en) Installation, discharging method and the peace Loading-dumping device of network management disaster tolerance system
CN109245920A (en) Interchanger method of automatic configuration, device, interchanger and storage medium
Vetter et al. IBM Power Systems HMC Implementation and Usage Guide
CN118151854A (en) DSC database cluster deployment method and device, electronic equipment and storage medium
CN117632559A (en) Fault disk repairing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218

RJ01 Rejection of invention patent application after publication