CN109683814A - The shared storage creation method of one kind, device, terminal and storage medium - Google Patents
The shared storage creation method of one kind, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109683814A CN109683814A CN201811468307.9A CN201811468307A CN109683814A CN 109683814 A CN109683814 A CN 109683814A CN 201811468307 A CN201811468307 A CN 201811468307A CN 109683814 A CN109683814 A CN 109683814A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- management platform
- interface card
- network interface
- storage
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000015654 memory Effects 0.000 claims abstract description 25
- 238000004891 communication Methods 0.000 claims description 9
- 238000012423 maintenance Methods 0.000 claims description 8
- 230000033228 biological regulation Effects 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 4
- 239000011800 void material Substances 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000001105 regulatory effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000004888 barrier function Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000017525 heat dissipation Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0653—Monitoring storage devices or systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
- G06F3/0664—Virtualisation aspects at device level, e.g. emulation of a storage device or system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45591—Monitoring or debugging support
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45595—Network integration; Enabling network access in virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of share and stores creation method, device, terminal and storage medium, comprising: creates virtual machine in multiple main frames respectively;The network interface card of host where virtual machine connection is set;Virtual machine management platform is created by connecting virtual machine and other hosts;Regulate and control storage flow by the virtual machine management platform and realizes shared storage;The spare network interface card of virtual machine is set and fault virtual machine is managed by virtual machine management platform.The present invention can in reasonable layout system host physical memory resources, realize shared storage and be not necessarily to an ad hoc storage server, so that the amount of storage of whole system maximumlly be utilized, promote user experience.
Description
Technical field
The invention belongs to cloud computation data center technical fields, and in particular to the shared storage creation method, device, end of one kind
End and storage medium.
Background technique
With the development of cloud data, the business of many large enterprises is all to shared storage generation demand.But it current is total to
It enjoys memory technology to need to buy special storage server mostly to realize, this has undoubtedly aggravated the cost of small business.And this
The shared memory capacity that kind method obtains is solely dependent upon the storage capacity of dedicated storage server, also results in hardware system and deposits
Store up the waste of resource.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of share and stores creation method, device, terminal and storage Jie
Matter, to solve the above technical problems.
In a first aspect, the embodiment of the present application provides a kind of shared storage creation method, which comprises
Virtual machine is created in multiple main frames respectively;
The network interface card of host where virtual machine connection is set;
Virtual machine management platform is created by connecting virtual machine and other hosts;
Regulate and control storage flow by the virtual machine management platform and realizes shared storage;
The spare network interface card of virtual machine is set and fault virtual machine is managed by virtual machine management platform.
With reference to first aspect, in the first embodiment of first aspect, the creation virtual machine and other hosts
Communication connection includes:
Setting virtual machine traffic network interface card simultaneously generates uniquely tagged number;
Adhere to separately according to the label number of the flow network interface card network interconnection of the virtual machine of different hosts;
Virtual machine management platform is created according to virtual machine network.
With reference to first aspect, described to be regulated and controled by virtual machine management platform in second of embodiment of first aspect
Storage flow realizes that shared storage includes:
Shared storage is virtually generated according to the local disk of host where virtual machine;
Obtain the local disk capacity information of the host;
Data to be stored the maximum local disk of capacity is sent to according to the local disk capacity information to store.
With reference to first aspect, in the third embodiment of first aspect, the spare network interface card of the setting virtual machine simultaneously leads to
Crossing virtual machine management platform control fault virtual machine includes:
Unique corresponding IP is distributed to virtual machine using the virtual machine management platform and generates virtual machine IP statistical form;
It obtains virtual machine IP and generates virtual machine IP acquisition table;
Judge that virtual machine IP obtains table and whether virtual machine IP statistical form is consistent:
It is then to recycle to obtain virtual machine IP;
It is no, then determine there are fault virtual machine and enable the spare network interface card of fault virtual machine.
Second aspect, the embodiment of the present application provide a kind of shared storage creating device, and described device includes:
Creating unit is configured to create virtual machine in multiple main frames respectively;
Setting unit is configured to the network interface card of host where setting virtual machine connects;
Connection unit, is configured to connecting virtual machine and other hosts create virtual machine management platform;
Regulate and control unit, is configured to the virtual machine management platform regulation storage flow and realizes shared storage;
Maintenance unit is configured to the spare network interface card of setting virtual machine and manages fault virtual by virtual machine management platform
Machine.
In conjunction with second aspect, in the first embodiment of second aspect, the connection unit includes:
Network card setup module is configured to setting virtual machine traffic network interface card and generates uniquely tagged number;
Network interconnection module is configured to adhere to separately according to the label number of the flow network interface card virtual machine of different hosts
Network interconnection;
Platform creation module is configured to create virtual machine management platform according to virtual machine network.
In conjunction with second aspect, in second of embodiment of second aspect, the regulation unit includes:
Shared virtual module is configured to virtually generate shared storage according to the local disk of host where virtual machine;
Procurement of reserve capacity module is configured to obtain the local disk capacity information of the host;
Data allocation module is configured to that data to be stored is sent to capacity most according to the local disk capacity information
Big local disk is stored.
In conjunction with second aspect, in the third embodiment of second aspect, the maintenance unit includes:
IP statistical module is configured to distribute unique corresponding IP and life to virtual machine using the virtual machine management platform
At virtual machine IP statistical form;
IP obtains module, is configured to obtain virtual machine IP and generates virtual machine IP acquisition table;
IP comparison module is configured to judge whether virtual machine IP acquisition table and virtual machine IP statistical form are consistent;
Circulation obtains module, is configured to, and recycles and obtains virtual machine IP;
Spare enabling module is configured to determine there are fault virtual machine and enable the spare network interface card of fault virtual machine.
The third aspect provides a kind of terminal, comprising:
Processor, memory, wherein
The memory is used to store computer program,
The processor from memory for calling and running the computer program, so that terminal executes above-mentioned end
The method for holding terminal.
Fourth aspect provides a kind of computer storage medium, instruction is stored in the computer readable storage medium,
When run on a computer, so that computer executes method described in above-mentioned various aspects.
5th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that
Computer executes method described in above-mentioned various aspects.
The beneficial effects of the present invention are,
Shared storage creation method, device, terminal and storage medium provided by the invention, by respectively on applied host machine
Virtual machine is created, and the network connection for creating virtual machine in communication connection and different hosts of the virtual machine from place host forms void
Quasi- machine manages platform, regulates and controls storage flow by virtual machine management platform and realizes shared storage.The present invention being capable of reasonable layout system
The physical memory resources of host in uniting realize shared storage and are not necessarily to an ad hoc storage server, thus by whole system
Amount of storage maximumlly utilizes, and promotes user experience.Furthermore it is steady also to enhance system by the spare network interface card of setting virtual machine by the present invention
It is qualitative.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.
Fig. 2 is the schematic block diagram of the device of the application one embodiment.
Fig. 3 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real
The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention
Range.
The Key Term occurred in the application is explained below.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.Wherein, Fig. 1 executing subject can be one kind
Doctors and patients' interactive maintenance device.
As shown in Figure 1, this method 100 includes:
Step 110, virtual machine is created in multiple main frames respectively;
Step 120, the network interface card of host where setting virtual machine connects;
Step 130, virtual machine management platform is created by connecting virtual machine and other hosts;
Step 140, storage flow is regulated and controled by the virtual machine management platform and realizes shared storage;
Step 150, the spare network interface card of virtual machine is set and passes through virtual machine management platform and manages fault virtual machine.
Optionally, as the application one embodiment, the communication connection of the creation virtual machine and other hosts includes:
Setting virtual machine traffic network interface card simultaneously generates uniquely tagged number;
Adhere to separately according to the label number of the flow network interface card network interconnection of the virtual machine of different hosts;
Virtual machine management platform is created according to virtual machine network.
Optionally, described that the realization of storage flow is regulated and controled altogether by virtual machine management platform as the application one embodiment
Enjoying storage includes:
Shared storage is virtually generated according to the local disk of host where virtual machine;
Obtain the local disk capacity information of the host;
Data to be stored the maximum local disk of capacity is sent to according to the local disk capacity information to store.
Optionally, as the application one embodiment, the spare network interface card of the setting virtual machine is simultaneously flat by Virtual Machine Manager
Platform manages fault virtual machine
Unique corresponding IP is distributed to virtual machine using the virtual machine management platform and generates virtual machine IP statistical form;
It obtains virtual machine IP and generates virtual machine IP acquisition table;
Judge that virtual machine IP obtains table and whether virtual machine IP statistical form is consistent:
It is then to recycle to obtain virtual machine IP;
It is no, then determine there are fault virtual machine and enable the spare network interface card of fault virtual machine.
In order to facilitate the understanding of the present invention, below with the principle of the shared storage creation method of the present invention, in conjunction with the embodiments
In process that shared storage is created, shared storage creation method provided by the invention is further described.
Specifically, the shared storage creation method includes:
S1, virtual machine is created in multiple main frames respectively.
Three hosts are selected to distinguish marker bit No. 1, No. 2, No. 3, corresponding as three hosts of demonstrating in the present embodiment
It is respectively A, B, C that local disk, which has led to,.One virtual machine (this virtual machine number is best) is set on three hosts respectively.
The network interface card of host where S2, setting virtual machine connect.
Local communication network interface card is set to the virtual machine created in step S1, for host where connecting virtual machine.
S3, virtual machine management platform is created by connecting virtual machine and other hosts.
Virtual machine traffic network interface card is set, for virtual machine to be connect with the virtual machine on other hosts, forms virtual machine net
Network system creates virtual machine management platform on the basis of virtual machine network system.
S4, regulate and control the shared storage of storage flow realization by the virtual machine management platform.
Shared storage is produced using the hardware store resource of host where virtual machine, the local of three hosts in the present embodiment
Memory capacity is respectively A, B, C, then the capacity D for sharing storage is slightly less than A+B+C, and then the capacity D of entire shared storage is used for
The use of entire virtual machine management platform.Virtual machine management platform obtains the current local disk capacity letter of three hosts in real time
Breath, and therefrom select the maximum host of capacity;If being locally stored for host 1 has run out but needs to store there are also data, at this time
The data for needing to store are uploaded into virtual machine management platform by the virtual machine on host 1, virtual machine management platform deposits needs
The data of storage are directly issued to the maximum host of capacity and are stored.
S5, the spare network interface card of setting virtual machine simultaneously manage fault virtual machine by virtual machine management platform.
Spare network interface card is set for each virtual machine, virtual machine management platform monitors some virtual machine traffic network interface card and event occurs
When barrier, control enables the spare network interface card of the virtual machine at once.
Monitoring method of the virtual machine management platform to virtual machine in the present embodiment are as follows: distribute No. IP and life to each virtual machine
At virtual machine IP statistical form, whether completely acquisition virtual machine IP simultaneously judges No. IP obtained, and indicates there is event if not exclusively
Hinder virtual machine, the virtual machine IP that will acquire is compareed with virtual machine IP statistical form, finds out the virtual machine IP that can not be obtained.Output
Fault virtual machine IP, tester enables the spare network interface card of fault virtual machine according to miscue.The enabling of spare network interface card
It can be controlled by virtual machine management platform and enable spare network interface card automatically, fault virtual machine host and other hosts first is network
Interconnection, host where virtual machine management platform positioning failure virtual machine, virtual machine management platform is to fault virtual machine send chain
The request of spare network interface card is connect, thus mutual by the spare network interface card recovery fault virtual machine of fault virtual machine and the network of other virtual machines
Even.
If Fig. 2 shows, which includes:
Creating unit 210, the creating unit 210 in multiple main frames for creating virtual machine respectively;
Setting unit 220, the network interface card of host where the setting unit 220 is used to be arranged virtual machine connection;
Connection unit 230, the connection unit 230 are used to create Virtual Machine Manager by connecting virtual machine and other hosts
Platform;
Regulate and control unit 240, the regulation unit 240 is used to regulate and control storage flow by the virtual machine management platform and realize
Shared storage;
Maintenance unit 250, the maintenance unit 250 is for being arranged the spare network interface card of virtual machine and passing through virtual machine management platform
Manage fault virtual machine.
Optionally, as the application one embodiment, the connection unit includes:
Network card setup module is configured to setting virtual machine traffic network interface card and generates uniquely tagged number;
Network interconnection module is configured to adhere to separately according to the label number of the flow network interface card virtual machine of different hosts
Network interconnection;
Platform creation module is configured to create virtual machine management platform according to virtual machine network.
Optionally, as the application one embodiment, the regulation unit includes:
Shared virtual module is configured to virtually generate shared storage according to the local disk of host where virtual machine;
Procurement of reserve capacity module is configured to obtain the local disk capacity information of the host;
Data allocation module is configured to that data to be stored is sent to capacity most according to the local disk capacity information
Big local disk is stored.
Optionally, as the application one embodiment, the maintenance unit includes:
IP statistical module is configured to distribute unique corresponding IP and life to virtual machine using the virtual machine management platform
At virtual machine IP statistical form;
IP obtains module, is configured to obtain virtual machine IP and generates virtual machine IP acquisition table;
IP comparison module is configured to judge whether virtual machine IP acquisition table and virtual machine IP statistical form are consistent;
Circulation obtains module, is configured to, and recycles and obtains virtual machine IP;
Spare enabling module is configured to determine there are fault virtual machine and enable the spare network interface card of fault virtual machine.
Fig. 3 is a kind of structural schematic diagram of terminal installation 300 provided in an embodiment of the present invention, which can be with
For executing the method provided by the embodiments of the present application for updating heat dissipation policing parameter.
Wherein, which may include: processor 310, memory 320 and communication unit 330.These components
It is communicated by one or more bus, it will be understood by those skilled in the art that the structure of server shown in figure is not
The restriction to the application is constituted, it is also possible to hub-and-spoke configuration either busbar network, can also include more than illustrating
Or less component, perhaps combine certain components or different component layouts.
Wherein, which can be used for executing instruction for storage processor 310, and memory 320 can be by any class
The volatibility or non-volatile memories terminal or their combination of type are realized, such as static random access memory (SRAM), electricity
Erasable Programmable Read Only Memory EPROM (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory
(PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.When executing instruction in memory 320
When being executed by processor 310, so that terminal 300 some or all of is able to carry out in following above method embodiment step.
Processor 310 is the control centre for storing terminal, utilizes each of various interfaces and the entire electric terminal of connection
A part by running or execute the software program and/or module that are stored in memory 320, and calls and is stored in storage
Data in device, to execute the various functions and/or processing data of electric terminal.The processor can be by integrated circuit
(Integrated Circuit, abbreviation IC) composition, such as the IC that can be encapsulated by single are formed, can also be by more of connection
The encapsulation IC of identical function or different function and form.For example, processor 310 can only include central processing unit
(Central Processing Unit, abbreviation CPU).In the application embodiment, CPU can be single operation core, can also
To include multioperation core.
Communication unit 330, for establishing communication channel, so that the storage terminal be allow to be led to other terminals
Letter.It receives the user data of other terminals transmission or sends user data to other terminals.
The application also provides a kind of computer storage medium, wherein the computer storage medium can be stored with program, the journey
Sequence may include step some or all of in each embodiment provided by the present application when executing.The storage medium can for magnetic disk,
CD, read-only memory (English: read-only memory, referred to as: ROM) or random access memory (English:
Random access memory, referred to as: RAM) etc..
Therefore, the application is on applied host machine by creating virtual machine respectively, and creates the logical of virtual machine and place host
The network connection of virtual machine forms virtual machine management platform in letter connection and different hosts, is deposited by virtual machine management platform regulation
It stores up flow and realizes shared storage.The present invention can in reasonable layout system host physical memory resources, realize shared storage and
Without an ad hoc storage server, so that the amount of storage of whole system maximumlly be utilized, user experience is promoted.Furthermore originally
Invention also passes through the spare network interface card enhancing system stability of setting virtual machine, and the attainable technical effect of the present embodiment institute may refer to
Described above, details are not described herein again.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which is stored in
Such as USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory in one storage medium
The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk, including it is several
Instruction is used so that a terminal (can be personal computer, server or second terminal, the network terminal etc.) is held
Row all or part of the steps of the method according to each embodiment of the present invention.
Same and similar part may refer to each other between each embodiment in this specification.Implement especially for terminal
For example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring in embodiment of the method
Explanation.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
Although by reference to attached drawing and combining the mode of preferred embodiment to the present invention have been described in detail, the present invention
It is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present invention
Embodiment carry out various equivalent modifications or substitutions, and these modifications or substitutions all should in covering scope of the invention/appoint
What those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, answer
It is included within the scope of the present invention.Therefore, protection scope of the present invention is answered described is with scope of protection of the claims
It is quasi-.
Claims (10)
1. the shared storage creation method of one kind, which is characterized in that the described method includes:
Virtual machine is created in multiple main frames respectively;
The network interface card of host where virtual machine connection is set;
Virtual machine management platform is created by connecting virtual machine and other hosts;
Regulate and control storage flow by the virtual machine management platform and realizes shared storage;
The spare network interface card of virtual machine is set and fault virtual machine is managed by virtual machine management platform.
2. the method according to claim 1, wherein the communication connection packet of the creation virtual machine and other hosts
It includes:
Setting virtual machine traffic network interface card simultaneously generates uniquely tagged number;
Adhere to separately according to the label number of the flow network interface card network interconnection of the virtual machine of different hosts;
Virtual machine management platform is created according to virtual machine network.
3. the method according to claim 1, wherein described regulate and control storage flow reality by virtual machine management platform
Now sharing storage includes:
Shared storage is virtually generated according to the local disk of host where virtual machine;
Obtain the local disk capacity information of the host;
Data to be stored the maximum local disk of capacity is sent to according to the local disk capacity information to store.
4. the method according to claim 1, wherein the spare network interface card of the setting virtual machine and pass through virtual machine pipe
Platform manages fault virtual machine
Unique corresponding IP is distributed to virtual machine using the virtual machine management platform and generates virtual machine IP statistical form;
It obtains virtual machine IP and generates virtual machine IP acquisition table;
Judge that virtual machine IP obtains table and whether virtual machine IP statistical form is consistent:
It is then to recycle to obtain virtual machine IP;
It is no, then determine there are fault virtual machine and enable the spare network interface card of fault virtual machine.
5. the shared storage creating device of one kind, which is characterized in that described device includes:
Creating unit is configured to create virtual machine in multiple main frames respectively;
Setting unit is configured to the network interface card of host where setting virtual machine connects;
Connection unit, is configured to connecting virtual machine and other hosts create virtual machine management platform;
Regulate and control unit, is configured to the virtual machine management platform regulation storage flow and realizes shared storage;
Maintenance unit is configured to the spare network interface card of setting virtual machine and manages fault virtual machine by virtual machine management platform.
6. device according to claim 5, which is characterized in that the connection unit includes:
Network card setup module is configured to setting virtual machine traffic network interface card and generates uniquely tagged number;
Network interconnection module is configured to adhere to separately according to the label number of the flow network interface card net of the virtual machine of different hosts
Network interconnection;
Platform creation module is configured to create virtual machine management platform according to virtual machine network.
7. device according to claim 5, which is characterized in that the regulation unit includes:
Shared virtual module is configured to virtually generate shared storage according to the local disk of host where virtual machine;
Procurement of reserve capacity module is configured to obtain the local disk capacity information of the host;
Data allocation module is configured to data to be stored is sent to capacity according to the local disk capacity information maximum
Local disk is stored.
8. device according to claim 5, which is characterized in that the maintenance unit includes:
IP statistical module is configured to distribute unique corresponding IP to virtual machine using the virtual machine management platform and generates void
Quasi- machine IP statistical form;
IP obtains module, is configured to obtain virtual machine IP and generates virtual machine IP acquisition table;
IP comparison module is configured to judge whether virtual machine IP acquisition table and virtual machine IP statistical form are consistent;
Circulation obtains module, is configured to, and recycles and obtains virtual machine IP;
Spare enabling module is configured to determine there are fault virtual machine and enable the spare network interface card of fault virtual machine.
9. a kind of terminal characterized by comprising
Processor;
The memory executed instruction for storage processor;
Wherein, the processor is configured to perform claim requires the described in any item methods of 1-4.
10. a kind of computer readable storage medium for being stored with computer program, which is characterized in that the program is executed by processor
Shi Shixian method for example of any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811468307.9A CN109683814A (en) | 2018-12-03 | 2018-12-03 | The shared storage creation method of one kind, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811468307.9A CN109683814A (en) | 2018-12-03 | 2018-12-03 | The shared storage creation method of one kind, device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109683814A true CN109683814A (en) | 2019-04-26 |
Family
ID=66186022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811468307.9A Pending CN109683814A (en) | 2018-12-03 | 2018-12-03 | The shared storage creation method of one kind, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109683814A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475349A (en) * | 2020-03-08 | 2020-07-31 | 苏州浪潮智能科技有限公司 | Method, system, terminal and storage medium for testing stability of cluster DPDK |
CN114490472A (en) * | 2021-12-06 | 2022-05-13 | 南京蒙柏信息产业有限公司 | One-port multi-machine concurrent sharing terminal for data conversion |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120158923A1 (en) * | 2009-05-29 | 2012-06-21 | Ansari Mohamed | System and method for allocating resources of a server to a virtual machine |
CN103944750A (en) * | 2014-03-14 | 2014-07-23 | 华为技术有限公司 | Method and device for processing bonded network card faults |
WO2015048384A1 (en) * | 2013-09-27 | 2015-04-02 | Fisher-Rosemount Systems, Inc. | Systems and methods for automated commissioning of virtualized distributed control systems |
CN105242872A (en) * | 2014-06-18 | 2016-01-13 | 华中科技大学 | Virtual cluster-oriented shared memory system |
CN106528265A (en) * | 2016-10-24 | 2017-03-22 | 郑州云海信息技术有限公司 | Virtual machine management method and system based on distributed SAN (Storage Area Network) storage architecture |
CN107342895A (en) * | 2017-06-26 | 2017-11-10 | 网宿科技股份有限公司 | A kind of network optimized approach of multi-tenant, system, computing device and storage medium |
CN107370622A (en) * | 2017-07-14 | 2017-11-21 | 郑州云海信息技术有限公司 | A kind of virtual machine multiplexing host MAC and IP method and system |
CN107404522A (en) * | 2017-07-20 | 2017-11-28 | 郑州云海信息技术有限公司 | The cluster virtual machine high availability implementation method and device of a kind of cross-node |
CN107885576A (en) * | 2017-10-16 | 2018-04-06 | 北京易讯通信息技术股份有限公司 | A kind of virtual machine HA method in private clound based on OpenStack |
CN108132829A (en) * | 2018-01-11 | 2018-06-08 | 郑州云海信息技术有限公司 | A kind of high available virtual machine realization method and system based on OpenStack |
-
2018
- 2018-12-03 CN CN201811468307.9A patent/CN109683814A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120158923A1 (en) * | 2009-05-29 | 2012-06-21 | Ansari Mohamed | System and method for allocating resources of a server to a virtual machine |
WO2015048384A1 (en) * | 2013-09-27 | 2015-04-02 | Fisher-Rosemount Systems, Inc. | Systems and methods for automated commissioning of virtualized distributed control systems |
CN103944750A (en) * | 2014-03-14 | 2014-07-23 | 华为技术有限公司 | Method and device for processing bonded network card faults |
CN105242872A (en) * | 2014-06-18 | 2016-01-13 | 华中科技大学 | Virtual cluster-oriented shared memory system |
CN106528265A (en) * | 2016-10-24 | 2017-03-22 | 郑州云海信息技术有限公司 | Virtual machine management method and system based on distributed SAN (Storage Area Network) storage architecture |
CN107342895A (en) * | 2017-06-26 | 2017-11-10 | 网宿科技股份有限公司 | A kind of network optimized approach of multi-tenant, system, computing device and storage medium |
CN107370622A (en) * | 2017-07-14 | 2017-11-21 | 郑州云海信息技术有限公司 | A kind of virtual machine multiplexing host MAC and IP method and system |
CN107404522A (en) * | 2017-07-20 | 2017-11-28 | 郑州云海信息技术有限公司 | The cluster virtual machine high availability implementation method and device of a kind of cross-node |
CN107885576A (en) * | 2017-10-16 | 2018-04-06 | 北京易讯通信息技术股份有限公司 | A kind of virtual machine HA method in private clound based on OpenStack |
CN108132829A (en) * | 2018-01-11 | 2018-06-08 | 郑州云海信息技术有限公司 | A kind of high available virtual machine realization method and system based on OpenStack |
Non-Patent Citations (3)
Title |
---|
朱团结等: "基于共享内存的Xen虚拟机间通信的研究", 《计算机技术与发展》 * |
李正磊等: "服务器虚拟化技术在数据中心方面的应用研究", 《信息与电脑(理论版)》 * |
秦学东等: "基于开源虚拟化的高可用服务器架构", 《现代图书情报技术》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475349A (en) * | 2020-03-08 | 2020-07-31 | 苏州浪潮智能科技有限公司 | Method, system, terminal and storage medium for testing stability of cluster DPDK |
CN111475349B (en) * | 2020-03-08 | 2023-01-10 | 苏州浪潮智能科技有限公司 | Method, system, terminal and storage medium for testing stability of cluster DPDK |
CN114490472A (en) * | 2021-12-06 | 2022-05-13 | 南京蒙柏信息产业有限公司 | One-port multi-machine concurrent sharing terminal for data conversion |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11704144B2 (en) | Creating virtual machine groups based on request | |
CN103369027B (en) | Location aware Virtual Service in mixing cloud environment is equipped with | |
CN105939290B (en) | A kind of method and device for distributing resource | |
CN105207798B (en) | Service arrangement method and device in software defined network | |
Tsai et al. | Two-tier multi-tenancy scaling and load balancing | |
CN104115447A (en) | Allowing destroy scheme configuration method and device under cloud computing architecture | |
CN109547349A (en) | Flow managing method, device, terminal and storage medium based on virtual flow-line | |
CN102082692A (en) | Method and equipment for migrating virtual machines based on network data flow direction, and cluster system | |
CN109313564A (en) | For supporting the server computer management system of the highly usable virtual desktop of multiple and different tenants | |
KR20140018187A (en) | A computer cluster arragement for processing a computation task and method for operation thereof | |
CN109039829A (en) | A kind of network card performance testing method, apparatus, terminal and storage medium | |
CN112948063B (en) | Cloud platform creation method and device, cloud platform and cloud platform implementation system | |
CN110661641B (en) | Virtual network function VNF deployment method and device | |
CN105095103A (en) | Storage device management method and device used for cloud environment | |
CN104077199A (en) | Shared disk based high availability cluster isolation method and system | |
CN109743202B (en) | Data management method, device and equipment and readable storage medium | |
CN111988160B (en) | Method and device for deploying virtualized network function | |
CN109101611A (en) | File system directories maximize test method, device, terminal and storage medium | |
Andreetto et al. | Merging OpenStack-based private clouds: the case of CloudVeneto. it | |
CN112600903A (en) | Elastic virtual network card migration method | |
CN109683814A (en) | The shared storage creation method of one kind, device, terminal and storage medium | |
CN109218086A (en) | A kind of switching network construction method and system | |
CN109788052A (en) | A kind of server configuration remote inquiry method, apparatus, terminal and storage medium | |
CN106385330A (en) | Network function virtualization composer realization method and device | |
CN109254780A (en) | A kind of method, apparatus and controlled terminal of batch refresh server node firmware |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190426 |