CN109445910A - A kind of virtual machine vlan management method, apparatus, terminal and storage medium - Google Patents
A kind of virtual machine vlan management method, apparatus, terminal and storage medium Download PDFInfo
- Publication number
- CN109445910A CN109445910A CN201811298831.6A CN201811298831A CN109445910A CN 109445910 A CN109445910 A CN 109445910A CN 201811298831 A CN201811298831 A CN 201811298831A CN 109445910 A CN109445910 A CN 109445910A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- management system
- routing table
- machine management
- vlanid
- 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.)
- Granted
Links
Classifications
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- 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/45562—Creating, deleting, cloning virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present application provides a kind of virtual machine vlan management method, apparatus, terminal and storage medium, comprising: installs virtual machine management system in physical machine and business network trunk and No. VlanID identical is arranged for the virtual machine management system;Virtual machine is installed in physical machine and is different from No. VlanID of other virtual machines for virtual machine setting and is the business network trunk in corresponding virtual machine management system by network settings;The outlet routing table of the virtual machine is added in the correspondence physical machine of virtual machine;The ingress routing table of the virtual machine is added in the correspondence physical machine of virtual machine;Table of query and routing tests to newly-increased routing table.Part physical host is replaced by using virtual machine, increases routing table on the physical host where virtual machine host to achieve the purpose that the host of different Vlan ID can be added in the same iCenter and reaches test.Special switch or router is not needed, save the cost also improves working efficiency.
Description
Technical field
The invention belongs to Virtual Machine Manager technical fields, and in particular to a kind of virtual machine vlan management method, apparatus, terminal
And storage medium.
Background technique
ICenter (managing main frame node), physical host node, fictitious host computer node in virtual management system;?
ICenter can only manage the host of same Vlan ID in virtual management system, can not then be added when there are different Vlan ID
Into iCenter, if it is desired to which iCenter manages the host of different Vlan ID, then needing that road is arranged in physical switches
Increase routing table by table (physical switches also need support) or in the router, and needs more physical hosts.It is different
Direct communication is unable between VLAN ID host.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of virtual machine vlan management method, apparatus, terminal and storage and is situated between
Matter, to solve the above technical problems.
In a first aspect, the embodiment of the present application provides a kind of virtual machine vlan management method, which comprises
In physical machine install virtual machine management system and for the virtual machine management system be arranged business network trunk and
Identical No. VlanID;
Virtual machine is installed on the virtual machine management system of physical machine and is different from other void for virtual machine setting
Intend No. VlanID of machine and is the business network trunk in corresponding virtual machine management system by network settings;
The outlet routing table of the virtual machine is added on the correspondence virtual machine management system of virtual machine;
The ingress routing table of the virtual machine is added on the correspondence virtual machine management system of virtual machine;
Table of query and routing tests to newly-increased routing table.
With reference to first aspect, described that virtual machine pipe is installed in physical machine in the first embodiment of first aspect
Reason system is simultaneously arranged business network trunk and identical No. VlanID for the virtual machine management system and includes:
Virtual machine management system is installed in physical machine and setting is No. VlanID identical;
The virtual machine management system is added in iCenter;
Business network trunk is added in the management interchanger of iCenter.
With reference to first aspect, in second of embodiment of first aspect, the correspondence virtual machine pipe in virtual machine
The outlet routing table that the virtual machine is added in reason system includes:
The corresponding virtual machine management system of the virtual machine is logged in by SSH;
Order ovs-ofctl show managevSwitch is executed in corresponding virtual machine management system to obtain the void
Port serial number of the quasi- machine in corresponding virtual machine management system;
The outlet routing table of the virtual machine is added to corresponding virtual machine management system according to the port serial number.
With reference to first aspect, in the third embodiment of first aspect, the correspondence virtual machine pipe in virtual machine
The ingress routing table that the virtual machine is added in reason system includes:
Obtain the ingress routing table configuration file of virtual machine;
Obtain No. VlanID of virtual machine;
It is added to pair according to the ingress routing table configuration file and No. VlanID ingress routing table by the virtual machine
Answer virtual machine management system.
Second aspect, the embodiment of the present application provide a kind of virtual machine vlan management device, and described device includes:
Setting unit is managed, the installation virtual machine management system in physical machine is configured to and is the Virtual Machine Manager system
System setting business network trunk and No. VlanID identical;
Virtual setting unit is configured to the installation virtual machine on the virtual machine management system of physical machine and is the void
Quasi- machine setting is different from No. VlanID of other virtual machines and is the service network in corresponding virtual machine management system by network settings
Network trunk;
Adding unit is exported, is configured to add going out for the virtual machine on the correspondence virtual machine management system of virtual machine
Mouth routing table;
Entrance adding unit is configured to add entering for the virtual machine on the correspondence virtual machine management system of virtual machine
Mouth routing table;
Verification unit is added, table of query and routing is configured to and tests to newly-increased routing table.
In conjunction with second aspect, in the first embodiment of second aspect, the management setting unit includes:
Management installation module is configured to install virtual machine management system and the identical VlanID of setting in physical machine
Number;
Adding module is managed, is configured to for the virtual machine management system being added in iCenter;
Network adding module is configured to add business network trunk in the management interchanger of iCenter.
In conjunction with second aspect, in second of embodiment of second aspect, the outlet adding unit includes:
Virtual login module is configured to SSH and logs in the corresponding virtual machine management system of the virtual machine;
Serial number obtains module, is configured to execute order ovs-ofctl show in corresponding virtual machine management system
ManagevSwitch is to obtain the virtual machine in the port serial number of corresponding virtual machine management system;
Adding module is exported, is configured to be added to the outlet routing table of the virtual machine pair according to the port serial number
Answer virtual machine management system.
In conjunction with second aspect, in the third embodiment of second aspect, the entrance adding module includes:
File acquisition module is configured to obtain the ingress routing table configuration file of virtual machine;
Number obtains module, is configured to No. VlanID that obtains virtual machine;
Entrance adding module is configured to the virtual machine according to the ingress routing table configuration file and No. VlanID
Ingress routing table be added to corresponding virtual machine management system.
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,
Virtual machine vlan management method, apparatus, terminal and storage medium provided by the invention, are replaced by using virtual machine
Part physical host, increasing routing table on the physical host where virtual machine host can with the host for reaching different Vlan ID
Achieve the purpose that test to be added in the same iCenter.Special switch or router is not needed, save the cost also mentions
High working efficiency.
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 management system is installed in physical machine and service network is set for the virtual machine management system
Network trunk and No. VlanID identical;
Step 120, virtual machine is installed on the virtual machine management system of physical machine and is distinguished for virtual machine setting
It is the business network trunk in corresponding virtual machine management system in No. VlanID of other virtual machines and by network settings;
Step 130, the outlet routing table of the virtual machine is added on the correspondence virtual machine management system of virtual machine;
Step 140, the ingress routing table of the virtual machine is added on the correspondence virtual machine management system of virtual machine;
Step 150, table of query and routing tests to newly-increased routing table.
Optionally, described that virtual machine management system is installed in physical machine and is described as the application one embodiment
Business network trunk is arranged in virtual machine management system and identical No. VlanID includes:
Virtual machine management system is installed in physical machine and setting is No. VlanID identical;
The virtual machine management system is added in iCenter;
Business network trunk is added in the management interchanger of iCenter.
Optionally, described to add institute on the correspondence virtual machine management system of virtual machine as the application one embodiment
The outlet routing table for stating virtual machine includes:
The corresponding virtual machine management system of the virtual machine is logged in by SSH;
Order ovs-ofctl show managevSwitch is executed in corresponding virtual machine management system to obtain the void
Port serial number of the quasi- machine in corresponding virtual machine management system;
The outlet routing table of the virtual machine is added to corresponding virtual machine management system according to the port serial number.
Optionally, described to add institute on the correspondence virtual machine management system of virtual machine as the application one embodiment
The ingress routing table for stating virtual machine includes:
Obtain the ingress routing table configuration file of virtual machine;
Obtain No. VlanID of virtual machine;
It is added to pair according to the ingress routing table configuration file and No. VlanID ingress routing table by the virtual machine
Answer virtual machine management system.
In order to facilitate the understanding of the present invention, below with the principle of virtual machine vlan management method of the present invention, in conjunction with implementation
The process being managed in example to virtual machine VLAN, further retouches virtual machine vlan management method provided by the invention
It states.
The present embodiment specifically describes the virtual machine vlan management method by taking two physical machines as an example, comprising:
S1, virtual machine management system is installed in physical machine and business network is set for the virtual machine management system
Trunk and No. VlanID identical.
As installation virtual machine management system and Vlan ID are arranged on two physical machines (A, B) (0);It will installation
There is the physical machine of virtual machine management system to be known as physical host, host is added in iCenter, is handed in the management of iCenter
It changes planes middle addition business network trunk (vlan selection: trunk all).
S2, virtual machine is installed on the virtual machine management system of physical machine and is different from other for virtual machine setting
The Vlan ID number of virtual machine and be the business network trunk in corresponding virtual machine management system by network settings.
Virtual machine is installed on two physical hosts, and the operating system for the virtual machine installed is using consistent with physical host
Virtual machine management system, the virtual machine for being equipped with virtual machine management system is known as fictitious host computer.Fictitious host computer is respectively set
Business network trunk at different Vlan ID numbers, and in network selection management interchanger.
S3, the outlet routing table that the virtual machine is added on the correspondence virtual machine management system of virtual machine.
It checks " port name " of two virtual machines, then corresponding physical host is logged in by SSH respectively and execute " ovs-
Ofctl show managevSwitch " checks the virtual machine in the corresponding serial number H of corresponding physical host according to title is disconnected
(number i.e. before port name).
The outlet routing table that the virtual machine is added in order: ovs-ofctl add-flow is executed on corresponding physical host
ManagevSwitch priority=100, in_port=H, actions=strip_vlan, NORMAL
S4, the ingress routing table that the virtual machine is added on the correspondence virtual machine management system of virtual machine.
The ingress routing table that order adds the virtual machine: ovs-ofctl add- is executed on the correspondence physical host of virtual machine
Flow managevSwitch priority=100, dl_dst=d2:38:88:1f:a4:d1, actions=mod_vlan_
Vid:81, wherein " d2:38:88:1f:a4:d1 " is routing configuration file/etc/ics/ics-net/Manage on the virtual machine
" HWADD " corresponding mac in IP.conf;" 81 " are the Vlan ID value of fictitious host computer.
S5, table of query and routing test to newly-increased routing table.
" ovs-ofctl dump-flows managevSitch " is executed on the corresponding physical host of virtual machine inquires road
Successfully (2 newly-increased routing tables are successfully had) by whether table adds, another virtual machine method of inspection is same as mentioned above.
The different fictitious host computer of Vlan ID is added in iCenter, is added successfully, is generated 2 on management pipe interchanger
A new management net " manageNetwork81, manageNetwork82 ";Management interchanger can manage multiple vlan number management
Net functional test is verified.
If Fig. 2 shows, which includes:
Setting unit 210 is managed, the management setting unit 210 is used to install virtual machine management system simultaneously in physical machine
For the virtual machine management system, business network trunk and identical Vlan ID number are set;
Virtual setting unit 220, the virtual setting unit 220 on the virtual machine management system of physical machine for installing
Virtual machine and for the virtual machine setting be different from other virtual machines Vlan ID number and be corresponding virtual machine by network settings
Business network trunk in management system;
Adding unit 230 is exported, the outlet adding unit 230 is used for the correspondence virtual machine management system in virtual machine
Add the outlet routing table of the virtual machine;
Entrance adding unit 240, the entrance adding unit 240 are used for the correspondence virtual machine management system in virtual machine
Add the ingress routing table of the virtual machine;
Verification unit 250 is added, the addition verification unit 250 examines newly-increased routing table for table of query and routing
It tests.
Optionally, as the application one embodiment, the management setting unit includes:
Management installation module is configured to install virtual machine management system and the identical VlanID of setting in physical machine
Number;
Adding module is managed, is configured to for the virtual machine management system being added in iCenter;
Network adding module is configured to add business network trunk in the management interchanger of iCenter.
Optionally, as the application one embodiment, the outlet adding unit includes:
Virtual login module is configured to SSH and logs in the corresponding virtual machine management system of the virtual machine;
Serial number obtains module, is configured to execute order ovs-ofctl show in corresponding virtual machine management system
ManagevSwitch is to obtain the virtual machine in the port serial number of corresponding virtual machine management system;
Adding module is exported, is configured to be added to the outlet routing table of the virtual machine pair according to the port serial number
Answer virtual machine management system.
Optionally, as the application one embodiment, the entrance adding module includes:
File acquisition module is configured to obtain the ingress routing table configuration file of virtual machine;
Number obtains module, is configured to obtain the Vlan ID number of virtual machine;
Entrance adding module, being configured to will be described virtual according to the ingress routing table configuration file and Vlan ID number
The ingress routing table of machine is added to corresponding virtual machine management system.
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 replaces part physical host by using virtual machine, in the physical host where virtual machine host
Upper increase routing table reaches test to achieve the purpose that the host of different Vlan ID can be added in the same iCenter.No
Special switch or router is needed, save the cost also improves working efficiency, the attainable technical effect of the present embodiment institute
It 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. a kind of virtual machine vlan management method, which is characterized in that the described method includes:
Virtual machine management system is installed in physical machine and business network trunk and identical is set for the virtual machine management system
No. VlanID;
Virtual machine is installed on the virtual machine management system of physical machine and is different from other virtual machines for virtual machine setting
No. VlanID and be the business network trunk in corresponding virtual machine management system by network settings;
The outlet routing table of the virtual machine is added on the correspondence virtual machine management system of virtual machine;
The ingress routing table of the virtual machine is added on the correspondence virtual machine management system of virtual machine;
Table of query and routing tests to newly-increased routing table.
2. the method according to claim 1, wherein described install virtual machine management system in physical machine and be
Business network trunk is arranged in the virtual machine management system and identical No. VlanID includes:
Virtual machine management system is installed in physical machine and setting is No. VlanID identical;
The virtual machine management system is added in iCenter;
Business network trunk is added in the management interchanger of iCenter.
3. the method according to claim 1, wherein described add on the correspondence virtual machine management system of virtual machine
The outlet routing table for adding the virtual machine includes:
The corresponding virtual machine management system of the virtual machine is logged in by SSH;
Order ovs-ofctl show managevSwitch is executed in corresponding virtual machine management system to obtain the virtual machine
In the port serial number of corresponding virtual machine management system;
The outlet routing table of the virtual machine is added to corresponding virtual machine management system according to the port serial number.
4. the method according to claim 1, wherein described add on the correspondence virtual machine management system of virtual machine
The ingress routing table for adding the virtual machine includes:
Obtain the ingress routing table configuration file of virtual machine;
Obtain No. VlanID of virtual machine;
Corresponding void is added to according to the ingress routing table configuration file and No. VlanID ingress routing table by the virtual machine
Quasi- machine management system.
5. a kind of virtual machine vlan management device, which is characterized in that described device includes:
Setting unit is managed, be configured to that virtual machine management system is installed in physical machine and is set for the virtual machine management system
Set business network trunk and No. VlanID identical;
Virtual setting unit is configured to the installation virtual machine on the virtual machine management system of physical machine and is the virtual machine
No. VlanID for being different from other virtual machines is set and is the business network in corresponding virtual machine management system by network settings
trunk;
Adding unit is exported, is configured to add the Exit Road of the virtual machine on the correspondence virtual machine management system of virtual machine
By table;
Entrance adding unit is configured to add the entrance road of the virtual machine on the correspondence virtual machine management system of virtual machine
By table;
Verification unit is added, table of query and routing is configured to and tests to newly-increased routing table.
6. device according to claim 5, which is characterized in that the management setting unit includes:
Management installation module is configured to install virtual machine management system in physical machine and setting is No. VlanID identical;
Adding module is managed, is configured to for the virtual machine management system being added in iCenter;
Network adding module is configured to add business network trunk in the management interchanger of iCenter.
7. device according to claim 5, which is characterized in that the outlet adding unit includes:
Virtual login module is configured to SSH and logs in the corresponding virtual machine management system of the virtual machine;
Serial number obtains module, is configured to execute order ovs-ofctl show in corresponding virtual machine management system
ManagevSwitch is to obtain the virtual machine in the port serial number of corresponding virtual machine management system;
Adding module is exported, is configured to that the outlet routing table of the virtual machine is added to corresponding void according to the port serial number
Quasi- machine management system.
8. device according to claim 5, which is characterized in that the entrance adding module includes:
File acquisition module is configured to obtain the ingress routing table configuration file of virtual machine;
Number obtains module, is configured to No. VlanID that obtains virtual machine;
Entrance adding module is configured to according to the ingress routing table configuration file and No. VlanID entering the virtual machine
Mouth routing table is added to corresponding virtual machine management system.
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 |
---|---|---|---|
CN201811298831.6A CN109445910B (en) | 2018-11-02 | 2018-11-02 | Virtual machine VLAN management method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811298831.6A CN109445910B (en) | 2018-11-02 | 2018-11-02 | Virtual machine VLAN management method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109445910A true CN109445910A (en) | 2019-03-08 |
CN109445910B CN109445910B (en) | 2022-03-04 |
Family
ID=65549746
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811298831.6A Active CN109445910B (en) | 2018-11-02 | 2018-11-02 | Virtual machine VLAN management method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109445910B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080002663A1 (en) * | 2006-06-30 | 2008-01-03 | Sun Microsystems, Inc. | Virtual network interface card loopback fastpath |
CN102970204A (en) * | 2012-10-24 | 2013-03-13 | 曙光信息产业(北京)有限公司 | Distributed switch system based on xen virtualization platform and achieving method thereof |
CN103607308A (en) * | 2013-11-29 | 2014-02-26 | 杭州东信北邮信息技术有限公司 | Virtual machine multi-network management system and method in cloud computing environment |
US20150046572A1 (en) * | 2013-08-07 | 2015-02-12 | Cisco Technology, Inc. | Extending Virtual Station Interface Discovery Protocol (VDP) and VDP-Like Protocols for Dual-Homed Deployments in Data Center Environments |
CN104579898A (en) * | 2015-01-26 | 2015-04-29 | 中国联合网络通信集团有限公司 | Tenant isolating method and system |
CN105684355A (en) * | 2013-08-29 | 2016-06-15 | 惠普发展公司,有限责任合伙企业 | Automatically configuring virtual router |
CN107332791A (en) * | 2017-07-25 | 2017-11-07 | 郑州云海信息技术有限公司 | A kind of method and apparatus that network is created with virtual switch |
-
2018
- 2018-11-02 CN CN201811298831.6A patent/CN109445910B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080002663A1 (en) * | 2006-06-30 | 2008-01-03 | Sun Microsystems, Inc. | Virtual network interface card loopback fastpath |
CN102970204A (en) * | 2012-10-24 | 2013-03-13 | 曙光信息产业(北京)有限公司 | Distributed switch system based on xen virtualization platform and achieving method thereof |
US20150046572A1 (en) * | 2013-08-07 | 2015-02-12 | Cisco Technology, Inc. | Extending Virtual Station Interface Discovery Protocol (VDP) and VDP-Like Protocols for Dual-Homed Deployments in Data Center Environments |
CN105684355A (en) * | 2013-08-29 | 2016-06-15 | 惠普发展公司,有限责任合伙企业 | Automatically configuring virtual router |
CN103607308A (en) * | 2013-11-29 | 2014-02-26 | 杭州东信北邮信息技术有限公司 | Virtual machine multi-network management system and method in cloud computing environment |
CN104579898A (en) * | 2015-01-26 | 2015-04-29 | 中国联合网络通信集团有限公司 | Tenant isolating method and system |
CN107332791A (en) * | 2017-07-25 | 2017-11-07 | 郑州云海信息技术有限公司 | A kind of method and apparatus that network is created with virtual switch |
Non-Patent Citations (2)
Title |
---|
沈敏虎等: "虚拟机网络部署与管理研究", 《实验技术与管理》 * |
陈刚: "XenServer资源池构建及远程接入访问控制部署", 《电信快报》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109445910B (en) | 2022-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1482712B1 (en) | Virtual network addresses | |
US5796953A (en) | System having user terminal connecting to a remote test system via the internet for remotely testing communication network | |
CN112130957B (en) | Method and system for using intelligent network card for breaking through virtualization isolation of container | |
CN109039829A (en) | A kind of network card performance testing method, apparatus, terminal and storage medium | |
CN110392001B (en) | Rack-level network switch | |
CN109547349A (en) | Flow managing method, device, terminal and storage medium based on virtual flow-line | |
CN109902014A (en) | A kind of server system shares method, apparatus, controlled terminal and the storage medium of serial ports | |
CN109933376A (en) | PCIE silk-screen information updating method, device, controlled terminal and storage medium in a kind of BIOS setup | |
CN109510742A (en) | A kind of server network interface card remote test method, device, terminal and storage medium | |
CN112600903B (en) | Elastic virtual network card migration method | |
CN109101611A (en) | File system directories maximize test method, device, terminal and storage medium | |
CN104506403B (en) | A kind of virtual network management method for supporting multi-stage isolation | |
CN109976926A (en) | Method, circuit, terminal and the storage medium of protection BMC renewal process are restarted in a kind of shielding | |
CN109408032A (en) | A kind of customized Fast implementation of BIOS, device, terminal and storage medium | |
CN114124714B (en) | Multi-level network deployment method, device, equipment and storage medium | |
US7940729B2 (en) | Analysis and control of traffic based on identified packet control functions | |
CN112003794B (en) | Floating IP current limiting method, system, terminal and storage medium | |
CN109274784A (en) | IP and MAC Address binding method, device, terminal and storage medium based on openstack | |
CN109815070A (en) | A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium | |
CN108733482A (en) | Method, processor and the communication device of acquisition of information | |
CN109361543A (en) | A kind of whole machine cabinet monitoring method, device, terminal and storage medium | |
CN109889421B (en) | Router management method, device, terminal, system and storage medium | |
CN109213599A (en) | A kind of BMC service management, device, terminal and storage medium | |
CN109445910A (en) | A kind of virtual machine vlan management method, apparatus, terminal and storage medium | |
CN109992420A (en) | A kind of Parallel PC IE-SSD performance optimization method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |