[go: up one dir, main page]

CN106254573A - System installation method, device and the server of server based on binding pattern - Google Patents

System installation method, device and the server of server based on binding pattern Download PDF

Info

Publication number
CN106254573A
CN106254573A CN201610809840.1A CN201610809840A CN106254573A CN 106254573 A CN106254573 A CN 106254573A CN 201610809840 A CN201610809840 A CN 201610809840A CN 106254573 A CN106254573 A CN 106254573A
Authority
CN
China
Prior art keywords
server
vlan
network interface
address
mask
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
CN201610809840.1A
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.)
1Verge Internet Technology Beijing Co Ltd
Original Assignee
1Verge Internet Technology Beijing 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 1Verge Internet Technology Beijing Co Ltd filed Critical 1Verge Internet Technology Beijing Co Ltd
Priority to CN201610809840.1A priority Critical patent/CN106254573A/en
Publication of CN106254573A publication Critical patent/CN106254573A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/695Types of network addresses using masks or ranges of addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention provides system installation method, device and the server of a kind of server based on binding pattern, and wherein this system installation method includes: Dynamic Host Configuration Protocol server arranges multiple network interface;Multiple network interface is utilized to bind each VLAN respectively;Each VLAN is bound with loopback address respectively;The address resolution protocol closing multiple network interface ignores function;In the case of the mount request receiving server to be installed, refusing to send to server to be installed gateway information, the first line of a couplet port mode of server to be installed is configured to access module;Mask option in configuration file is set to the mask of super net;And in the super IP address corresponding for each server-assignment to be installed off the net, enable each server to be installed to carry out system installation.So, owing to need not bind the IP address of each VLAN and need not be divided into single VLAN, therefore configure convenient, and simple to operate and be difficult to that operational error occurs.

Description

System installation method, device and the server of server based on binding pattern
Technical field
The present invention relates to server technology field, particularly relate to the system installation side of a kind of server based on binding pattern Method, device and server.
Background technology
At present, in order to prevent the Single Point of Faliure of single network interface, or improve utilization rate and handling capacity, the server end of network interface Can use bonding (binding) pattern, then switch end opens port trunking, but in the online implementing of server or refitting Time also bring along certain puzzlement.Such as, at pxe, (preboot execute environment, pretrigger performs server Environment) start time can not packaging V LAN TAG (Virtual Local Area Network Tag, virtual local area network tags), At this moment need to modify switch link aggregation pattern.
At present, under bonding pattern, if server needs to reach the standard grade or refitting system, then can carry out following operation: first First, DHCP (Dynamic Host Configuration Protocol, DHCP) server is according to this service VLAN (Virtual Local Area Network, VLAN) belonging to device is this server-assignment IP address automatically; Secondly, notify switch management person, corresponding for switch port modifications is become access (access) pattern;Again, start to install System, and carry out the network startup of pxe;Then, after system installation, server end is arranged to bonding pattern; Finally, switch corresponding port open aggregation scheme is made.
But, if a large amount of server needs to reach the standard grade or refitting system, then can continually switch be operated, so While inefficiency, too increase the risk of certain operational error.
To this end, in the prior art, it is proposed that the system installation method under a kind of machine room the whole network Bonding pattern.If A large amount of servers need to reach the standard grade or refitting system, then in this system installation method, first, Dynamic Host Configuration Protocol server can be bound all of VLAN.Such as, as it is shown in figure 1, be provided with two VLAN under the management of switch device, the gateway address of VLAN101 is joined It is set to 10.1.1.1, and its network segment is configured to 10.1.1.0/24, the gateway address of VLAN101 is configured to 10.1.2.1, And its network segment is configured to 10.1.2.0/24.Secondly, Dynamic Host Configuration Protocol server is according to the gateway of each VLAN and the network segment, each for being in Server-assignment IP address under VLAN, then carries out common system installation for each server, arranges bonding and unlatching Port trunking pattern.
According to this system installation method, need to divide VLAN, and need the gateway different to each VLAN manual allocation Address, such complex operation and easily produce operational error.
Summary of the invention
Technical problem
In view of this, the technical problem to be solved in the present invention is: need to reach the standard grade or reset system for a large amount of servers Situation, it is provided that a kind of simple to operate and system mounting means of slipping up few.
Solution
In order to solve above-mentioned technical problem, according to an aspect of the present invention, it is provided that a kind of service based on binding pattern The system installation method of device, including: Dynamic Host Configuration Protocol server, i.e. Dynamic Host Configuration Protocol server arrange multiple network interface;Profit Each VLAN is bound respectively with the plurality of network interface;Each described VLAN is tied up with loopback address respectively Fixed;The address resolution protocol closing the plurality of network interface ignores function;In the mount request receiving server to be installed In the case of, refuse to send to described server to be installed, the first line of a couplet port mode of described server to be installed gateway information It is configured to access module;Mask option in configuration file is set to the mask of super net;And described super off the net be each The IP address that described server-assignment to be installed is corresponding, enables each described server to be installed to carry out system installation.
For said method, in a kind of possible implementation, the plurality of network interface is utilized to bind respectively respectively VLAN, including: the label of each described VLAN is added respectively for each described network interface;Send out to switch device Message is put in delivery, and described configuration message includes the label of each described VLAN and the corresponding relation of each described network interface, Described switch device can manage each described VLAN according to described corresponding relation.
For said method, in a kind of possible implementation, by each described VLAN respectively with loopback address Binding includes: the IP address of each described VLAN is respectively set to loopback address.
For said method, in a kind of possible implementation, close the address resolution association of the plurality of network interface View ignores function, including: the address resolution protocol of the plurality of network interface is ignored parameter arp_ignore and is set to 0.
For said method, in a kind of possible implementation, the mask option in configuration file is set to super net Mask, including: the described mask option in described configuration file is set to 255.0.0.0.
In order to solve above-mentioned technical problem, according to a further aspect in the invention, it is provided that a kind of service based on binding pattern The system installation device of device, including: interface arranges unit, is used for arranging multiple network interface;First binding unit, is used for utilizing The plurality of network interface binds each VLAN respectively;Second binding unit, for dividing each described VLAN Do not bind with loopback address;Closing unit, ignores function for closing the address resolution protocol of the plurality of network interface;Response Unit, in the case of the mount request receiving server to be installed, refuses to send to described clothes to be installed gateway information Business device, the first line of a couplet port mode of described server to be installed is configured to access module;Mask arranges unit, for by civilian for configuration Mask option in part is set to the mask of super net;And allocation unit, for super off the net waiting to pacify described in each described The IP address that dress server-assignment is corresponding, enables each described server to be installed to carry out system installation.
For said apparatus, in a kind of possible implementation, described first binding unit includes: add module, uses In the label adding each described VLAN for each described network interface respectively;Sending module, for sending out to switch device Message is put in delivery, and described configuration message includes the label of each described VLAN and the corresponding relation of each described network interface, Described switch device can manage each described VLAN according to described corresponding relation.
For said apparatus, in a kind of possible implementation, described second binding unit is used for: by each described virtual The IP address of LAN is respectively set to loopback address.
For said apparatus, in a kind of possible implementation, described closing unit is used for: connect by the plurality of network The address resolution protocol of mouth is ignored parameter arp_ignore and is set to 0.
For said apparatus, in a kind of possible implementation, described mask arrange unit for: by described configuration literary composition Described mask option in part is set to 255.0.0.0.
In order to solve above-mentioned technical problem, according to another aspect of the invention, it is provided that a kind of DHCP clothes Business device, including: according to the system installation device of above-mentioned server based on binding pattern.
Beneficial effect
By system installation method, device and the server of the server based on binding pattern of the embodiment of the present invention, Dynamic Host Configuration Protocol server arranges multiple network port and is bound with each VLAN by these multiple network ports, and by the IP ground of each VLAN Location is arranged to loopback address, so that Dynamic Host Configuration Protocol server need not bind each VLAN's for the installation of such as machine room the whole network IP address, but it is directly bound loopback address, and need not be divided into single VLAN.By the embodiment of the present invention based on The system installation method of the server of binding pattern, device and server, owing to need not bind the IP address of each VLAN also And need not be divided into single VLAN, and therefore configure convenient, and simple to operate and be difficult to that operational error occurs.
According to below with reference to the accompanying drawings detailed description of illustrative embodiments, the further feature of the present invention and aspect being become Clear.
Accompanying drawing explanation
The accompanying drawing of the part comprising in the description and constituting description together illustrates the present invention's with description Exemplary embodiment, feature and aspect, and for explaining the principle of the present invention.
Fig. 1 illustrates the application scenarios figure of the system installation method in prior art under machine room the whole network Bonding pattern.
Fig. 2 illustrates the flow process of the system installation method of based on binding pattern according to an embodiment of the invention server Figure.
Fig. 3 illustrates the applied field of the system installation method of based on binding pattern according to an embodiment of the invention server Jing Tu.
Fig. 4 illustrate the system installation method of based on binding pattern according to an embodiment of the invention server by network Port and VLAN carry out the schematic diagram of the configuration result bound and VLAN and loopback address are bound.
Fig. 5 illustrates pacifying to waiting of the system installation method of based on binding pattern according to an embodiment of the invention server The schematic diagram of the result that reports an error of dress server response gateway information.
Fig. 6 illustrates the flow process of the system installation method of based on binding pattern according to another embodiment of the present invention server Figure.
Fig. 7 illustrates the structural frames of the system installation device of based on binding pattern according to an embodiment of the invention server Figure.
Fig. 8 illustrates the structure of the system installation device of based on binding pattern according to another embodiment of the present invention server Block diagram.
Fig. 9 illustrates the structured flowchart of Dynamic Host Configuration Protocol server according to another embodiment of the present invention.
Figure 10 shows the system installation device of a kind of based on binding pattern the server of another embodiment of the present invention Structured flowchart.
Detailed description of the invention
Various exemplary embodiments, feature and the aspect of the present invention is described in detail below with reference to accompanying drawing.In accompanying drawing identical Reference represent the same or analogous element of function.Although the various aspects of embodiment shown in the drawings, but remove Non-specifically is pointed out, it is not necessary to accompanying drawing drawn to scale.
The most special word " exemplary " means " as example, embodiment or illustrative ".Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
It addition, in order to better illustrate the present invention, detailed description of the invention below gives numerous details. It will be appreciated by those skilled in the art that do not have some detail, the present invention equally implements.In some instances, for Method well known to those skilled in the art, means, element and circuit are not described in detail, in order to highlight the purport of the present invention.
Embodiment 1
Fig. 2 illustrates the flow process of the system installation method of based on binding pattern according to an embodiment of the invention server Figure.As in figure 2 it is shown, this system installation method mainly comprises the steps that
Step S110, Dynamic Host Configuration Protocol server arrange multiple network interface;
Step S120, multiple network interface is utilized to bind each VLAN respectively;
Step S130, by each VLAN respectively with loopback address bind;
Step S140, close arp_ignore (address resolution protocol ignorance) function of multiple network interface;
Step S150, in the case of the mount request receiving server to be installed, refuse by gateway information send extremely Server to be installed, the first line of a couplet port mode of described server to be installed is configured to access module;
Step S160, the mask option in configuration file is set to the mask of super net;And
Step S170, in the super IP address corresponding for each server-assignment to be installed off the net, make each server energy to be installed Enough carry out system installation.
For above-mentioned steps S110~S130, first, a large amount of server is had to need to reach the standard grade or reset and be in such as machine room In the case of system, it is (virtual that Dynamic Host Configuration Protocol server arranges network interface for all VLAN managed under the switch device of machine room Logic interfacing).In a kind of possible implementation, the network interface of the quantity corresponding with VLAN quantity can be set, And these network interfaces are bound with each VLAN respectively.
For having, as it is shown on figure 3, the switch device of machine room such as managed 3 VLAN, i.e. VLAN101, VLAN102 and VLAN103.Thus, Dynamic Host Configuration Protocol server can arrange 3 network interfaces in step s 110, i.e. bond0.101, Bond0.102 and bond0.103.Then, in the step s 120, Dynamic Host Configuration Protocol server utilizes network interface bond0.101 to bind VLAN101, utilizes network interface bond0102 to bind VLAN102, and utilizes network interface bond0103 to bind VLAN103.So, it is achieved that the multiple network interfaces set by utilization bind each VLAN respectively.
Further, by above-mentioned setting, so that each VLAN is able to receive that Dynamic Host Configuration Protocol server is to asking that each VLAN sends Seek bag.Wherein, Dynamic Host Configuration Protocol server be utilize broadcast and based on OSI (Open System Interconnection, open System interconnect) data link layer send request bag.
Then, in step s 130, each VLAN is bound with loopback address respectively.For example, it is possible to by the IP ground of each VLAN Location is disposed as 127.0.0.1, it is also possible to the IP address of each VLAN is disposed as 127.0.0.200.By so binding VLAN, it is not necessary to the IP of corresponding VLAN is separately configured.
It should be noted that the IP address of each VLAN can be set to the arbitrary value in the 127.0.0.0/24 network segment, only This IP address to be loopback address.
Furthermore, it is necessary to explanation, in the examples described above, the quantity of the VLAN of switch management is 3, but the present invention does not limits In this, the quantity of the VLAN of switch management can be any amount.Such as, if the quantity of VLAN is 100, the most correspondingly 100 network interfaces can be configured, and utilize these 100 network interfaces to bind this 100 VLAN respectively, then by this The IP address of 100 VLAN is each configured to loopback address.
If Fig. 4 is the configuration result carrying out above-mentioned steps S110~S130.
For above-mentioned steps S140, so that set overall network interface all can receive message, need to close The arp_ignore function of these network interfaces.Such as, if switch has 10 entity interfaces, and connect by these 10 entities Mouthful, such as 100 network interfaces (corresponding 10 network interfaces of each entity interface) can be fictionalized.Under normal circumstances, if Do not close the arp_ignore function of these network interfaces, then 10 network interface energy that may be only corresponding with entity interface Enough receive message, and other 90 network interfaces possibly cannot receive message.
To this end, in the present embodiment, the arp_ignore function of these interfaces can be closed, so that set whole nets Network interface all can receive message.Such as, the arp_ignore parameter of these interfaces is set to 0 by the following stated.
echo 0>/proc/sys/net/ipv4/conf/all/arp_ignore
echo 0>/proc/sys/net/ipv4/conf/bond0.101/arp_ignore
echo 0>/proc/sys/net/ipv4/conf/bond0.102/arp_ignore
echo 0>/proc/sys/net/ipv4/conf/bond0.103/arp_ignore
For above-mentioned steps S150, in order to make the server (server to be installed) needing installation system to be accessed or Person's messaging, first becomes access (access) pattern by the port trunking schema modification of server to be installed.
After the port trunking schema modification of server to be installed is become access pattern, service to be installed takes to DHCP Business device sends mount request.Dynamic Host Configuration Protocol server, after receiving this mount request, can make corresponding response.In this response, Would generally send gateway information to server to be installed, wherein this gateway information specifically includes that and divides for server to be installed in the past IP address, subnet mask and DNS (Domain Name System, the domain name system) address information etc. joined.If in the present invention Embodiment carries out such response, then server by utilizing IP address 127.0.0.1 to be installed can be caused to remove TFTP (Trivial File Transfer Protocol, TFTP) download boot image on server.But, at this moment network is Obstructed, and reporting an error as shown in Figure 5 can be produced.
To this end, in embodiments of the present invention, in the case of the mount request of server to be installed, refusal is by gateway information Send to server to be installed.Thus it is not result on tftp server downloading boot image, is also not result in such as Fig. 5 institute That shows reports an error.
Additionally, in step S160 later, the mask option in configuration file is set to the mask of super net, so that Mask can include the mask of all of VLAN.
Specifically, can be in Dynamic Host Configuration Protocol server, not config option in accessory file dhcpd.conf Nextroute, but the mask option in accessory file dhcpd.conf is such as configured to the mask of 10 sections, i.e. it is configured to Or mask option can also be modified as default value 255.0.0.0,.
After such configuration, in step S170, as shown in Figure 3, it is possible to use webpxe control station is set Super off the net for each server to be installed automatically distribute correspondence IP address.In a kind of possible implementation, webpxe is controlled Platform processed is that the IP address of each server-assignment to be installed is different from each other.In a kind of possible implementation, webpxe control station IP address for the server-assignment each to be installed under same VLAN is different from each other.
It should be noted that webpxe control station can be individually to control equipment, it is also possible to embed in Dynamic Host Configuration Protocol server A part as Dynamic Host Configuration Protocol server.
After the configuration carrying out above-mentioned steps, so that it may so that server to be installed carries out the installation of normal pxe, i.e. For each server installation system to be installed, and carrying out the network startup of pxe, after completion system is installed, server end is arranged Become bonding pattern, then make switch device corresponding port open aggregation scheme.
More than it should be noted that, loopback address being configured to IP address 127.0.0.1 is only example, and can return Ring address configuration becomes other IP address.Further, the above mask by super net is configured to the mask 255.0.0.0 of 10 sections and only shows Example, it is also possible to the mask of super net is configured to the mask of other section, as long as this mask can include the mask of all VLAN. It is only example to close arp_ignore function that the arp_ignore parameter of network interface is set to more than additionally, 0, can adopt Otherwise it is configured, as long as this setting can close arp_ignore function.
So, by the system installation method of the server based on binding pattern of the embodiment of the present invention, Dynamic Host Configuration Protocol server Multiple network port is set and these multiple network ports are bound with each VLAN, and the IP address of each VLAN is arranged to back Ring address, so that Dynamic Host Configuration Protocol server need not bind the IP address of each VLAN for the installation of such as machine room the whole network, and It is to be directly bound loopback address, and need not be divided into single VLAN.By the embodiment of the present invention based on binding pattern The system installation method of server, owing to need not bind the IP address of each VLAN and need not be divided into individually VLAN, therefore configures convenient, and simple to operate and be difficult to operational error occur.
Embodiment 2
Fig. 6 illustrates the flow process of the system installation method of based on binding pattern according to another embodiment of the present invention server Figure.The step that in Fig. 6, label is identical with Fig. 2 has identical function, for simplicity's sake, omits to these steps specifically Bright.
As shown in Figure 6, the system installation method shown in Fig. 6 differs primarily in that with the system installation method shown in Fig. 2, Above-mentioned steps S120 specifically may comprise steps of:
Step S1201, add the label of each VLAN respectively for each network interface;
Step S1202, to switch device send configuration message, described configuration message includes the label of each VLAN With the corresponding relation of each network interface, described switch device can manage each VLAN according to corresponding relation.
For having, for VLAN, uniquely can mark with VLAN Tag (virtual local area network tags) under normal circumstances Know this VLAN.Therefore, in above-mentioned steps S1201, can to set each network interface add these VLAN upper label, I.e. VLAN Tag, so can set up the one-to-one relationship between each network interface and each VLAN by VLAN Tag.
Then, in step S1202, generate configuration message according to the corresponding relation of each VLAN Tag with each network interface, And send this configuration message to the switch device managing all VLAN.Switch device receive this configuration message it After, it is possible to manage each VLAN according to this corresponding relation.
So, by the system installation method of the server based on binding pattern of the embodiment of the present invention, can be by each VLAN Tag interpolation to each network port realizes the binding between each VLAN and each network interface, and by the IP ground of each VLAN Location is arranged to loopback address, so that Dynamic Host Configuration Protocol server need not bind each VLAN's for the installation of such as machine room the whole network IP address, but it is directly bound loopback address, and need not be divided into single VLAN.By the embodiment of the present invention based on The system installation method of the server of binding pattern, owing to need not bind the IP address of each VLAN and need not be divided into Individually VLAN, therefore configures convenient, and simple to operate and be difficult to operational error occur.
Embodiment 3
Fig. 7 illustrates the structural frames of the system installation device of based on binding pattern according to an embodiment of the invention server Figure.As it is shown in fig. 7, system installation device 70 specifically includes that interface arranges unit 71, it is used for arranging multiple network interface;First Binding unit 72, is used for utilizing the plurality of network interface to bind each VLAN respectively;Second binding unit 73, is used for Each described VLAN is bound with loopback address respectively;Closing unit 74, for closing the ground of the plurality of network interface Location analysis protocol ignores function;Response unit 75, in the case of the mount request receiving server to be installed, refusal is by net Pass information sends to described server to be installed, and the first line of a couplet port mode of described server to be installed is configured to access module; Mask arranges unit 76, for the mask option in configuration file is set to the mask of super net;And allocation unit 77, For in the described super IP address corresponding for each described server-assignment to be installed off the net, enabling each described server to be installed Carry out system installation.
The system installation device 70 of the server based on binding pattern of the embodiment of the present invention can be used to perform above-mentioned reality Execute the system installation method described in example 1 or 2.The detailed process of said system installation method refers to above-described embodiment 1 or 2.
So, by the system installation device of the server based on binding pattern of the embodiment of the present invention, Dynamic Host Configuration Protocol server Multiple network port is set and these multiple network ports are bound with each VLAN, and the IP address of each VLAN is arranged to back Ring address, so that Dynamic Host Configuration Protocol server need not bind the IP address of each VLAN for the installation of such as machine room the whole network, and It is to be directly bound loopback address, and need not be divided into single VLAN.By the embodiment of the present invention based on binding pattern The system installation device of server, owing to need not bind the IP address of each VLAN and need not be divided into individually VLAN, therefore configures convenient, and simple to operate and be difficult to operational error occur.
Embodiment 4
Fig. 8 illustrates the structure of the system installation device of based on binding pattern according to another embodiment of the present invention server Block diagram.The assembly that in Fig. 8, label is identical with Fig. 7 has identical function, for simplicity's sake, omits to these assemblies specifically Bright.
As shown in Figure 8, the system installation device 80 shown in Fig. 8 and the main distinction of the system installation device 70 shown in Fig. 7 Being, described first binding unit 72 includes: add module 721, for adding each described void respectively for each described network interface Intend the label of LAN;Sending module 722, for sending configuration message to switch device, described configuration message includes each institute Stating the label of VLAN and the corresponding relation of each described network interface, described switch device can be according to described corresponding pass System manages each described VLAN.
In a kind of possible implementation, described second binding unit 73 is used for: by the IP of each described VLAN Address is respectively set to loopback address.
In a kind of possible implementation, described closing unit 74 is used for: solved the address of the plurality of network interface Analysis agreement is ignored parameter arp_ignore and is set to 0.
In a kind of possible implementation, described mask arrange unit 76 for: described in described configuration file Mask option is set to 255.0.0.0.
So, by the system installation device of the server based on binding pattern of the embodiment of the present invention, can be by each VLAN Tag interpolation to each network port realizes the binding between each VLAN and each network interface, and by the IP ground of each VLAN Location is arranged to loopback address, so that Dynamic Host Configuration Protocol server need not bind each VLAN's for the installation of such as machine room the whole network IP address, but it is directly bound loopback address, and need not be divided into single VLAN.By the embodiment of the present invention based on The system installation device of the server of binding pattern, owing to need not bind the IP address of each VLAN and need not be divided into Individually VLAN, therefore configures convenient, and simple to operate and be difficult to operational error occur.
Embodiment 5
Fig. 9 illustrates the structured flowchart of Dynamic Host Configuration Protocol server according to an embodiment of the invention.As it is shown in figure 9, Dynamic Host Configuration Protocol server 90 can include the system installation device 70 or 80 described in above-described embodiment.
By the Dynamic Host Configuration Protocol server of the embodiment of the present invention, multiple network port is set and by these multiple network ports with each VLAN binds, and the IP address of each VLAN is arranged to loopback address, so that Dynamic Host Configuration Protocol server is complete for such as machine room The installation of net need not bind the IP address of each VLAN, but is directly bound loopback address, and need not be divided into individually VLAN.By the Dynamic Host Configuration Protocol server of the embodiment of the present invention, owing to need not bind the IP address of each VLAN and need not It is divided into single VLAN, therefore configures convenient, and simple to operate and be difficult to that operational error occurs.
Embodiment 6
Figure 10 shows that the system of a kind of based on binding pattern the server of an alternative embodiment of the invention installs dress The structured flowchart put.Described system installation device 1000 can be possess the host server of computing capability, personal computer PC, Or portable portable computer or terminal etc..Calculating node is not implemented and limits by the specific embodiment of the invention Fixed.
Described system installation device 1000 includes processor (processor) 1010, communication interface (Communications Interface) 1020, memorizer (memory) 1030 and bus 1040.Wherein, processor 1010, communication interface 1020 and Memorizer 1030 completes mutual communication by bus 1040.
Communication interface 1020 is used for and network device communications, and wherein the network equipment includes such as Virtual Machine Manager center, is total to Enjoy storage etc..
Processor 1010 is used for performing program.Processor 1010 is probably a central processor CPU, or special collection Become circuit ASIC (Application Specific Integrated Circuit), or be configured to implement the present invention One or more integrated circuits of embodiment.
Memorizer 1030 is used for depositing file.Memorizer 1030 may comprise high-speed RAM memorizer, it is also possible to also includes non- Volatile memory (non-volatile memory), for example, at least one disk memory.Memorizer 1030 can also be to deposit Memory array.Memorizer 1030 is also possible to by piecemeal, and described piece can be by certain rule sets synthesis virtual volume.
In a kind of possible embodiment, said procedure can be the program code including computer-managed instruction.This journey Sequence is particularly used in:
Multiple network interface is set;
The plurality of network interface is utilized to bind each VLAN respectively;
Each described VLAN is bound with loopback address respectively;
The address resolution protocol closing the plurality of network interface ignores function;
In the case of the mount request receiving server to be installed, refuse to send to described to be installed gateway information Server, the first line of a couplet port mode of described server to be installed is configured to access module;
Mask option in configuration file is set to the mask of super net;And
In the described super IP address corresponding for each described server-assignment to be installed off the net, make each described server to be installed System installation can be carried out.
In a kind of possible implementation, the plurality of network interface is utilized to bind each VLAN respectively, bag Include:
The label of each described VLAN is added respectively for each described network interface;
Sending configuration message to switch device, described configuration message includes the label of each described VLAN and each institute Stating the corresponding relation of network interface, described switch device can manage each described VLAN according to described corresponding relation.
In a kind of possible implementation, each described VLAN is included with loopback address binding respectively:
The IP address of each described VLAN is respectively set to loopback address.
In a kind of possible implementation, the address resolution protocol closing the plurality of network interface ignores function, bag Include:
The address resolution protocol of the plurality of network interface is ignored parameter arp_ignore and is set to 0.
In a kind of possible implementation, the mask option in configuration file is set to the mask of super net, including:
Described mask option in described configuration file is set to 255.0.0.0.
Those of ordinary skill in the art are it is to be appreciated that each exemplary cell in embodiment described herein and algorithm Step, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually with hardware also It is that software form realizes, depends on application-specific and the design constraint of technical scheme.Professional and technical personnel can be for Specific application selects different methods to realize described function, but this realization is it is not considered that exceed the model of the present invention Enclose.
If using the form of computer software realize described function and as independent production marketing or use time, then exist To a certain extent it is believed that all or part of (part such as contributed prior art) of technical scheme is Embody in form of a computer software product.This computer software product is generally stored inside the non-volatile of embodied on computer readable In storage medium, including some instructions with so that computer equipment (can be that personal computer, server or network set Standby etc.) perform all or part of step of various embodiments of the present invention method.And aforesaid storage medium include USB flash disk, portable hard drive, Read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic The various medium that can store program code such as dish or CD.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (11)

1. the system installation method of a server based on binding pattern, it is characterised in that including:
Dynamic Host Configuration Protocol server, i.e. Dynamic Host Configuration Protocol server arrange multiple network interface;
The plurality of network interface is utilized to bind each VLAN respectively;
Each described VLAN is bound with loopback address respectively;
The address resolution protocol closing the plurality of network interface ignores function;
In the case of the mount request receiving server to be installed, refuse to send to described service to be installed gateway information Device, the first line of a couplet port mode of described server to be installed is configured to access module;
Mask option in configuration file is set to the mask of super net;And
In the described super IP address corresponding for each described server-assignment to be installed off the net, enable each described server to be installed Carry out system installation.
Method the most according to claim 1, it is characterised in that utilize the plurality of network interface to bind respectively each virtual LAN, including:
The label of each described VLAN is added respectively for each described network interface;
Sending configuration message to switch device, described configuration message includes the label of each described VLAN and each described net The corresponding relation of network interface, described switch device can manage each described VLAN according to described corresponding relation.
Method the most according to claim 1, it is characterised in that each described VLAN is bound with loopback address respectively Including:
The IP address of each described VLAN is respectively set to loopback address.
Method the most according to claim 1, it is characterised in that the address resolution protocol closing the plurality of network interface is neglected Visual function, including:
The address resolution protocol of the plurality of network interface is ignored parameter arp_ignore and is set to 0.
5. according to the method according to any one of claim 1-4, it is characterised in that the mask option in configuration file is arranged For the mask of super net, including:
Described mask option in described configuration file is set to 255.0.0.0.
6. the system installation device of a server based on binding pattern, it is characterised in that including:
Interface arranges unit, is used for arranging multiple network interface;
First binding unit, is used for utilizing the plurality of network interface to bind each VLAN respectively;
Second binding unit, for binding each described VLAN with loopback address respectively;
Closing unit, ignores function for closing the address resolution protocol of the plurality of network interface;
Response unit, in the case of the mount request receiving server to be installed, refuses to send to described gateway information Server to be installed, the first line of a couplet port mode of described server to be installed is configured to access module;
Mask arranges unit, for the mask option in configuration file is set to the mask of super net;And
Allocation unit, in the described super IP address corresponding for each described server-assignment to be installed off the net, makes each institute State server to be installed and can carry out system installation.
Device the most according to claim 6, it is characterised in that described first binding unit includes:
Add module, for adding the label of each described VLAN respectively for each described network interface;
Sending module, for sending configuration message to switch device, described configuration message includes each described VLAN Label and the corresponding relation of each described network interface, described switch device can manage each described void according to described corresponding relation Intend LAN.
Device the most according to claim 6, it is characterised in that described second binding unit is used for:
The IP address of each described VLAN is respectively set to loopback address.
Device the most according to claim 6, it is characterised in that described closing unit is used for:
The address resolution protocol of the plurality of network interface is ignored parameter arp_ignore and is set to 0.
10. according to the device according to any one of claim 6-9, it is characterised in that described mask arrange unit for:
Described mask option in described configuration file is set to 255.0.0.0.
11. 1 kinds of Dynamic Host Configuration Protocol server, it is characterised in that including: as according to any one of claim 6-10 The system installation device of server based on binding pattern.
CN201610809840.1A 2016-09-07 2016-09-07 System installation method, device and the server of server based on binding pattern Pending CN106254573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610809840.1A CN106254573A (en) 2016-09-07 2016-09-07 System installation method, device and the server of server based on binding pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610809840.1A CN106254573A (en) 2016-09-07 2016-09-07 System installation method, device and the server of server based on binding pattern

Publications (1)

Publication Number Publication Date
CN106254573A true CN106254573A (en) 2016-12-21

Family

ID=57599223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610809840.1A Pending CN106254573A (en) 2016-09-07 2016-09-07 System installation method, device and the server of server based on binding pattern

Country Status (1)

Country Link
CN (1) CN106254573A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848787A (en) * 2006-04-30 2006-10-18 西安交通大学 An automated rapid deployment method for cluster server system nodes
US7363374B2 (en) * 2001-04-27 2008-04-22 International Business Machines Corporation Method and system for fault-tolerant remote boot in the presence of boot server overload/failure with self-throttling boot servers
CN104219099A (en) * 2014-09-25 2014-12-17 浪潮(北京)电子信息产业有限公司 Automatic server cluster deploying method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7363374B2 (en) * 2001-04-27 2008-04-22 International Business Machines Corporation Method and system for fault-tolerant remote boot in the presence of boot server overload/failure with self-throttling boot servers
CN1848787A (en) * 2006-04-30 2006-10-18 西安交通大学 An automated rapid deployment method for cluster server system nodes
CN104219099A (en) * 2014-09-25 2014-12-17 浪潮(北京)电子信息产业有限公司 Automatic server cluster deploying method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵嘉: "面向高性能计算的集群部署管理软件设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Similar Documents

Publication Publication Date Title
CN109120494B (en) The method of physical machine is accessed in cloud computing system
CN107580083A (en) A kind of method and system of container IP address distribution
CN102124449B (en) Method and system for low-overhead data transfer
US12244520B2 (en) Network service integration into a network fabric of a data center
JP2020129800A (en) Virtual network interface object
CN106685679A (en) Network service deployment method and device
US10205638B1 (en) Method and apparatus for configuring a network topology in a cloud computing environment
US10361970B2 (en) Automated instantiation of wireless virtual private networks
CN112688814B (en) Equipment access method, device, equipment and machine readable storage medium
US20220321503A1 (en) Automated deployment of internet connectivity to rack switches in a data center
CN114124714B (en) Multi-level network deployment method, device, equipment and storage medium
CN104104534A (en) Realization method of virtual network (VN) management and virtual network management system
CN117997734A (en) Management method and system for multi-resource pool network
JP2024501005A (en) Management method and device for container clusters
CN106878204A (en) The creation method and device of a kind of virtual machine
CN112087311B (en) Virtual network function VNF deployment method and device
CN109039913A (en) Virtual routing device and virtual machine communication system
CN109120444A (en) cloud resource management method, processor and storage medium
CN104468223B (en) Data center computing, storing and network equipment automatic management and distribution method
CN111800523B (en) Management method, data processing method and system of virtual machine network
US20220350637A1 (en) Virtual machine deployment method and related apparatus
CN107995124A (en) Traffic scheduling method and device
CN108089910A (en) The method and apparatus for configuring virtual machine IP address
US7266820B2 (en) Trunked customized connectivity process for installing software onto an information handling system
EP4567593A1 (en) Cloud computing technology-based virtual instance creation method and cloud management platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161221

WD01 Invention patent application deemed withdrawn after publication