Detailed description of the invention
Hereby with regard to a preferred embodiment of the present invention, coordinate graphic, after describing in detail such as.
First the first preferred embodiment and second please refer to Fig. 1 and Fig. 2, the respectively present invention
The system architecture diagram of preferred embodiment.Person shown in figure, for the system architecture in the machine room of high in the clouds, master
One high in the clouds domain name service (Cloud Domain Name Service, the CDNS) clothes of the present invention to be included
Business device 1 (this cloud server 1 will be referred to as below in specification in literary composition), a master network switch (main
Switch) 2, one start server (boot server) 3 and multiple sub-network (subnet) system 4,5.This
In embodiment, the plurality of sub-network system 4,5 is by this master network switch 2 and this cloud server 1
And this start server 3 connects, and quantity is as a example by two, but is not limited.
In the present embodiment, each sub-network system 4,5 can be considered as a rack (Rack), the most often
In one high in the clouds machine room, can have the sub-network system that quantity is the hugest in fact.This first sub-network system
4 mainly have a first sub-network switch 41, this first sub-network switch 41 have multiple
Connectivity port, in order to connect multiple stage the first main frame 42 (the referred to as main frame (Cloud Host) in high in the clouds).Wherein,
The plurality of main frame can be mainly entity host (Physical Machine, PM) or fictitious host computer (Virtual
Machine, VM), either PM or VM, all can be entered by this cloud server 1 of the present invention
Row Hostname and the management and control (holding detailed description) of procotol (Internet Protocol, IP) address.
The plurality of first main frame 42 connects this master network on upper strata by this first sub-network switch 41
Switch 2, then connect this cloud server 1 and this start server 3 by this master network switch 2,
To accept this cloud server 1 and the service of this start server 3.
This second sub-network system 5 has one second sub-network switch 51, this second sub-network switch
51 have multiple connectivity port equally, in order to connect multiple stage the second main frame 52 (can comprise equally PM and
VM).The plurality of second main frame 52 connects this major network on upper strata by this second sub-network switch 51
Cross winding changes planes 2, and connects this cloud server 1 by this master network switch 2 and this start services
Device 3.For convenience of description, below will in specification in literary composition, only with this first sub-network system 4 under
The plurality of first main frame 42 illustrate.
It is noted that in the present invention, mainly performed one by any server in the machine room of high in the clouds
Separate procedure (process), to serve as this cloud server 1 in the present invention and this start server 3
Role.Therefore this cloud server 1 can be any server in the machine room of high in the clouds, or, this high in the clouds
Server 1 can be realized by same station server with this start server 3, should not be limited.
This cloud server 1 is primarily used to be responsible for the host name of All hosts in the machine room of management and control whole high in the clouds
Claim and IP the address, (company of the newest PM in arbitrary blank main frame is newly added this high in the clouds machine room
Connect, or the generation of new VM), and to carry out a system startup and installation procedure (boot up and
Installation task) time, self Hostname and IP directly can be obtained by this cloud server 1
Address.Thus, it is not necessary to the administrative staff of high in the clouds machine room manually carry out Hostname and IP to main frame
The setting of address, can effectively reach the automation of arrangement and installation procedure.
Further, this cloud server 1, predominantly one system beyond the clouds of the present invention uses, and depends on
The server set up according to Domain Name System DNS (Domain Name System) standard, this cloud server 1
The normal solution (forward resolution) of DNS, anti-solution (reverse resolution) and agency (DNS can be supported
Proxy) function (holding detailed description).Therefore any main frame all can be come to this cloud service by IP address
The Hostname of correspondence inquired by device 1, also can inquire correspondence by Hostname to this cloud server 1
IP address.So, can effectively achieve IP address, Hostname (hostname) is opened up with network
Piao's effect in correspondence with each other, for the administrative staff of high in the clouds machine room, this cloud server 1 is real can be carried
For particularly convenient management and control function.More specifically, this cloud server 1 can be external or built-in one
Image Data storehouse (Mapping Database) 10, this Image Data storehouse 10 is mainly used to store this high in the clouds machine
The relevant information such as All hosts title in room and IP address, and for this cloud server 1 with reference to.
Continue and refer to Fig. 3, for the flow chart of first specific embodiment of the present invention.When in this high in the clouds machine room
Either host (illustrating as a example by this first main frame 42 below) be intended to carry out this system and start and install
During program (startup of such as operating system and installation procedure), need to possess and have an IP address, can be suitable
The carrying out of profit is installed, therefore this cloud server 1 will receive that this first main frame 42 sends to IP
One request (step S10) of address.Then, this cloud server 1, i.e. according to this request, first distributes (assign)
One temporary ip address uses (step S12) to this first main frame 42, and thus, this first main frame 42 can depend on
Network is connected, to carry out the startup of this system by this start server 3 and to install journey according to this temporary ip address
Sequence.
It is noted that this temporary ip address mainly distributes to this first main frame 42 for performing to open
Dynamic, install and be used, not allow appointment IP address (the fixed IP that this first main frame 42 forever uses
address).Therefore, different main frames different time points carry out this system start with installation procedure time,
This temporary ip address of same group may be used, but the plurality of main frame completes the startup of this system and peace
After dress program, it is bound to use different appointment IP addresses to connect network.Therefore want to distribute smoothly
Temporary ip address and specify IP address, this cloud server 1 necessarily know all can be used one
Temporary ip address scope, and the appointment IP address range that can be used.
Then, this cloud server 1 accepts a registration action (step S14) of this first main frame 42, and
And more specifically, this first main frame 42 is according to this temporary ip address used, to this cloud service
Device 1 carries out registration action.After having registered, this cloud server 1 obtains this first main frame 42 and makes
This temporary ip address, an and medium plan (the Media Access of this first main frame 42
Control, MAC) address, and write (step in a corresponding table (this correspondence table 100 as shown in Figure 7)
Rapid S16).This correspondence table 100 is available for this cloud server 1 in the master inquiring about this first main frame 42 in the future
Machine title be used and, this correspondence table 100 mainly can be stored in this Image Data storehouse 10, or
Directly it is stored in this cloud server 1, but is not limited.
As shown in the following Table I, this cloud server 1, by this correspondence table 100, records this high in the clouds machine room
In the relevant information of each main frame, for inquiring about in the future.Wherein, the plurality of host name described in table one
Claim, specify IP address, MAC Address and temporary ip address content the most only in order to illustrate, and
Non-as limit.
Hostname |
Specify IP address |
MAC Address |
Temporary ip address |
Host 1 |
192.168.10.1 |
00-AA-BB-50-CC-92 |
192.168.15.1 |
Host 2 |
192.168.10.2 |
00-CC-DD-45-FF-88 |
192.168.15.2 |
……… |
……… |
……… |
……… |
Host n |
192.168.10.n |
00-BC-EF-55-FI-12 |
192.168.15.n |
Table one
In the present embodiment, starting (run) at this cloud server 1 front, administrative staff need to be by this high in the clouds machine room
Topological structure (topology), and above-mentioned this temporary ip address scope that can be used and this appointment IP
Address realm is write as setting shelves (configuration file) (these setting shelves 1061 as shown in Figure 7),
And according to these setting shelves 1061, this cloud server 1 is set.Thus, when this cloud server 1
After startup, i.e. automatically according to these setting shelves 1061, to connected sub-network switch (such as this first
Sub-network switch 41) on all connectivity ports all distribute a corresponding Hostname and a correspondence
Appointment IP address, the main frame connected for this connectivity port uses.Further, this cloud server 1
As above this correspondence table 100 shown in table one can be produced, and by the plurality of Hostname and the plurality of finger
Determine IP address to write in this correspondence table 100.
It is noted that in the present embodiment, this cloud server 1 mainly according to place country,
The information such as the connectivity port of machine room, rack and the network switch, calculate each master by algorithm
The Hostname of machine.Therefore, each main frame all can be allocated a Hostname with identification,
The management being beneficial to administrative staff is safeguarded.
After this step S16 above-mentioned, i.e. all in this high in the clouds machine room of complete documentation in this correspondence table 100
The Hostname of main frame, appointment IP address, temporary ip address and MAC Address.This cloud service
Device 1 can obtain this MAC Address when this first main frame 42 carries out this registration action, and writes this correspondence
In table 100;Furthermore, all-ones subnet cross winding more periodically can be changed planes and be ask by this cloud server 1
Ask, to obtain this MAC of the main frame that each connectivity port on each estrade network switch is connected
Address.More specifically, this cloud server 1 is mainly by simple network management protocol (Simple
Network Management Protocol, SNMP), periodically the plurality of sub-network switch is carried out
Inquiry, and the MAC Address of gained is updated in this correspondence table 100.But, this cloud server
Which kind of mode 1 use obtain the MAC Address of the plurality of main frame, and when obtains, visually real
Depending on border uses, should not be limited.
When this first main frame 42 proceeds to a network installation step, this cloud server 1 need to be inquired, with
Obtain this appointment IP address that can forever use.This cloud server 1 receives this first main frame 42 and carries
DNS inquiry instruction (step S18) gone out, and after queried this Image Data storehouse 10, produce one
Corresponding DNS replies, and replies to this first main frame 42 (step S20), and wherein this DNS replies bag
Include this cloud server 1 and distribute to this Hostname and this appointment IP ground that this first main frame 42 uses
The information of location.More specifically, this DNS reply system include this cloud server 1 distribute to this first
The Hostname of the connectivity port on sub-network switch 41 and the information of appointment IP address, wherein should
Connectivity port connects this first main frame 42, and therefore, this first main frame 42 can use this connectivity port quilt
This Hostname of distribution and this appointment IP address.
In this step S18, this first main frame 42 is mainly instructed this high in the clouds by gethostbyaddr ()
Server 1 proposes inquiry, and in this step S20, this cloud server 1 solves according to a DNS is counter
Program (DNS reverse resolution) processes this DNS inquiry instruction, and produces this DNS answer
(DNS answer)。
More specifically, general gethostbyaddr () instruction, mainly send an IP address (such as
192.168.1.1) give dns server, carry out this DNS anti-solution program through this dns server and be converted to
Corresponding domain name (such as www.delta.com.tw), then this domain name is replied with this DNS
Mode is replied.It is to say, by the present invention, the service call of operating system be can be used directly just
This cloud server can be used, reach without by special software.In this step S18, by this
First main frame 42 sends this DNS inquiry instruction to this cloud server 1 (wherein this DNS inquiry instruction
Include this temporary ip address that this first main frame 42 uses).This cloud server 1 is ask with this DNS
Asking instructions query this correspondence table 100, this connectivity port connected to obtain this first main frame 42 is allocated
This Hostname and this appointment IP address information after, then produce and meet this DNS of DNS specification
Reply.As it has been described above, this DNS replies must include distributing to this host name of this first main frame 42
Claim and the information of this appointment IP address, and have to comply with DNS specification, for example, this DNS
Answer can for example, " Hostname. specify IP address .delta.com.tw " form, but be not limited.
After this first main frame 42 receives this DNS answer, being somebody's turn to do of correspondence can be obtained from this DNS replies
Hostname and the information of this appointment IP address.
When have multiple host carry out simultaneously this system start with installation procedure time, this cloud server 1 will be with
Time receive the DNS inquiry that multiple host proposes, and DNS need to be replied simultaneously reply to multiple host,
Above-mentioned only as a example by single this first main frame 42, convenient explanation, but be not limited.
Then please refer to Fig. 4 and Fig. 5, the respectively flow chart of second specific embodiment of the present invention
And the 3rd system architecture diagram of specific embodiment.As it has been described above, when the system of this first main frame 42 starts
When proceeding to this network installation step with installation procedure, it will first by keyed (Block), this first main frame 42
Have to wait for this cloud server 1 and distribute this appointment IP address, and dynamic to one by this cloud server 1
Host setting agreement (Dynamic Host Configuration Protocol, DHCP) server 6 carries out one
Update action (step S22).As it is shown in figure 5, this high in the clouds machine room has this Dynamic Host Configuration Protocol server 6, should
Dynamic Host Configuration Protocol server 6 is connected with this cloud server 1 and this first main frame 42 by network system.DHCP
For usual knowledge in the art, do not repeat them here.Further, if there are other main frames to carry out simultaneously
This system start and installation procedure, then when proceeding to this network installation step, also can first by keyed, and
Wait the action of this cloud server 1.
When there being multiple host to proceed to this network installation step, and during by keyed, this cloud server 1
Whether judge by the quantity of the main frame of keyed more than a threshold value, or the stand-by period of the plurality of main frame
Whether overtime (step S24), if it is not, then this cloud server 1 continues executing with this step S22, to continue
This Dynamic Host Configuration Protocol server 6 is carried out this update action.If this cloud server 1 judges by the main frame of keyed
Quantity exceed this threshold value, or the stand-by period exceedes, or when this update action completes, then this high in the clouds
Server 1 is given notice, it is allowed to the plurality of main frame continues executing with this network installation step (step continued
S26).Wherein, this cloud server 1 mainly can be by multiple broadcasting (multicasting) technology, once
Unlock (unlocking) multiple stage by the main frame of keyed, and then, the system that can synchronize the plurality of main frame opens
Move and installation procedure, reduce the mortality of installation automatically with this.
After this step S26, the plurality of main frame (such as this first main frame 42) can be according to from this DNS
The information of this appointment IP address obtained in answer, requires to update address to this Dynamic Host Configuration Protocol server 6
(renew IP) (step S28), i.e. request uses this appointment IP address.Finally, this first main frame 42
After in this appointment IP address, more new settings completes, then by remaining program finishes execution (step S30).
It is noted that in embodiments of the invention, the plurality of main frame mainly starts in this system
When going to this network installation step with installation procedure, pinned by this cloud server 1, to maintain installation
Synchronism.But, this cloud server 1 the most also can solve beyond the clouds in cluster system (Cluster),
Distributing software stationary problem on startup.It is to say, each self-starting of the plurality of main frame one point
When dissipating formula software, can be by the control of this cloud server 1, when proceeding to certain specific program by keyed,
Further, when a unlocking condition is satisfied, then by this cloud server 1 with the technology of multicasting
Unlock the plurality of main frame simultaneously.Consequently, it is possible to can effectively maintain this distributing software on performing
Synchronize.
Refer to Fig. 6, for the flow chart of the 3rd specific embodiment of the present invention, description complete in Fig. 6
This cloud server 1, this first main frame 41 and the action of this Dynamic Host Configuration Protocol server 6, and each dynamic
The execution sequence made.
First, when this first main frame 41 system to be carried out starts with installation procedure, this high in the clouds can be taken
Business device 1 proposes this request (step S40) of IP address, after this cloud server 1 receives this request,
Can require that an IP address is come as this temporary ip address (step S42) to this Dynamic Host Configuration Protocol server 6.Should
Dynamic Host Configuration Protocol server 6, according to this temporary ip address scope spendable, is chosen a temporary ip address and is returned
Multiple to this cloud server 1 (step S44), this temporary ip address is distributed to by this cloud server 1 again
This first main frame 42 uses (step S46).
After this first main frame 42 obtains this temporary ip address in this step S46, can be smoothed out making
The system of industry system starts and installation procedure (step S48).Treat that this system starts to go to installation procedure
After certain phase, this first main frame 42 is understood with this temporary ip address used to this cloud server 1
Carry out registering (step S50), to make this cloud server 1 produce this complete correspondence table 100.Then,
When the installation action of this first main frame 42 proceeds to this network installation step, referred to by this DNS inquiry
(the present embodiment instructs for gethostbyaddr ()) is made to propose this DNS inquiry to this CDNS server 1
(step S52), and this DNS inquiry instruction is with including this temporary IP that this first main frame 42 uses
Location.After this cloud server 1 receives this DNS inquiry instruction, according to being somebody's turn to do that this first main frame 42 uses
Temporary ip address inquires about this correspondence table 100, to carry out this DNS anti-solution program and to produce this DNS answer,
Reply to this first main frame 42 (step S54) again.Now, this first main frame 42 will be first by keyed, temporarily
Stop system starts and installation procedure.
Then, this appointment IP address using to this first main frame 42 is carried out by this cloud server 1
Distribution (step S56), and, according to the information of this appointment IP address, this Dynamic Host Configuration Protocol server 6 is carried out
This update action (step S58).To be updated complete or by the quantity of the main frame of keyed exceed this threshold value,
Or during the stand-by period overtime of main frame, this cloud server 1, by multiple broadcasting mode, once unlocks many
Platform main frame (step S60), including this first main frame 42 illustrated in the present embodiment.
After this step S60, this first main frame 42 obtains this Hostname in being replied by this DNS and this refers to
Determine the information of IP address, and be allowed to continue execution network installation step.Now, this first main frame
42, according to the information of this appointment IP address, require to update address (step S62) to this Dynamic Host Configuration Protocol server 6,
This Dynamic Host Configuration Protocol server 6 is then according to this update action of this cloud server 1, and this first main frame 42
The information of this appointment IP address proposed, distributes this appointment IP address and uses (step to this first main frame 42
Rapid S64).And after step S64, this first main frame 42 can use this Hostname and this appointment IP ground
Location completes the installation steps of network, and remaining program is all finished (step S66).
After step S66, this first main frame 42 is a cloud host machine that completely can be used, and
And administrative staff can according to this first main frame 42 use this Hostname and this appointment IP address, to this
First main frame 42 carries out various management and control.
Continue and refer to Fig. 7, for the cloud server Organization Chart of first specific embodiment of the present invention.Aforementioned
This separate procedure mainly include organizing different procedure codes more, by the operation of the plurality of procedure code, should
Cloud server 1 can distinguish and include multiple module, specifically includes that receiver module 101, IP ground
Location processing module 102, one information providing module 103, Registering modules 104, DNS processing module
105, one module 106 and a corresponding table access module 107 are stored.
This receiver module 101 is to receive this request to IP address that this first main frame 42 sends,
This IP address processing module 102 can be according to this request, and this Dynamic Host Configuration Protocol server 6 is required distribution, and this faces
Time IP address, and, this cloud server 1 is again by this information providing module 103, by this temporary IP
Address is distributed to this first main frame 42 and is used.Start when this first main frame 42 performs this system and journey is installed
Sequence and when proceeding to this network installation step, this cloud server 1 is to be connect by this Registering modules 104
This registration action carried out by this first main frame 42.With this first main frame 42 is used this is interim
IP address and this MAC Address write in this correspondence table 100.
When this first main frame 42 proposes this DNS inquiry instruction, this cloud server 1 is by this DNS
Processing module 105 receives and processes this DNS inquiry instruction.More specifically, this DNS processing module
105 is to inquire this correspondence table of instructions query with this DNS, with obtain this cloud server 1 distribute to this
This Hostname of one main frame 42 use and the information of this appointment IP address, to solve journey according to this DNS is counter
Sequence produces this DNS and replies.Further, this cloud server 1 is again by this information providing module 103
Reply this DNS and reply to this first main frame 42.
This storage module 106 is mainly used to store this setting shelves 1061, and the administrative staff of this high in the clouds machine room can
Before this cloud server 1 starts, i.e. write as these setting shelves 1061 and be stored in this storage module 106
In, this cloud server 1 is set according to these setting shelves 1061.So, take when this high in the clouds
After business device 1 starts, can be automatically according to these setting shelves 1061, by the sub-network switch (example connected
Such as this first sub-network switch 41) on all connectivity ports all distribute a Hostname and a finger
Determine IP address.
This cloud server 1 mainly connects this map data storehouse by this correspondence table access module 107
10, to access this correspondence table 100, but, this correspondence table 100 also can be stored in this cloud server 1
Internal, i.e. to be stored in this storage module 106, and read by this correspondence table access module 107
Take and write.But the foregoing is only the preferred embodiments of the present invention, should be as limit.
Such as earlier figures 1 and the framework shown in Fig. 2, main system is a kind of centralized architecture (Centralized),
This framework only has this cloud server 1 and this start server 3, and by this master network
Switch 2, simultaneously the all-ones subnet network system 4,5 in service cloud end system.The present invention it is also disclosed that separately
Outer a kind of framework, for a kind of decentralized architecture (Distributed), has this cloud server 1 of multiple stage with many
This start server 3 of platform, and the management-control method that disclosed herein can be simultaneously suitable for.
The 4th specific embodiment and the 5th please refer to Fig. 8 and Fig. 9, the respectively present invention are concrete real
Execute the system architecture diagram of example.In the present embodiment, this master network switch 2 is directly connected to this Image Data
Storehouse 10, and it is not connected to this cloud server 1 and this start server 3.In the present embodiment, it is each
In individual sub-network system 4,5, it is respectively provided with a cloud server 11,12 and start server
31,32, as a example by Fig. 9, this cloud server 11 and this start server 31 in order to service this first
Entity host 42 in sub-network system 41, this cloud server 12 and this start server 32 in order to
Service the entity host 52 in this second sub-network system 51.
As a example by this first sub-network system 41, at this first main frame 42 temporary ip address to be asked of multiple stage
Time, it is that this cloud server 11 in this first sub-network system 41 is asked, program to be booted up
Time, also it is to be carried out by this start server 31 in this first sub-network system 41.Further, should
The related data of the plurality of first main frame 42 by upper layer network, (such as should by cloud server 11 again
Corresponding table 100) it is stored in this Image Data storehouse 10.It is to say, this cloud server 11 is opened with this
Machine server 31 need to service this first sub-network system 41, burden (Loading) meeting therefore caused
Come little than this cloud server 1 in previous embodiment.More specifically, in cluster system, often
One sub-network system 4,5 is all an environment separated, therefore by the framework of the present embodiment, and can
To allow the Internet resources (Traffic) of each sub-network system 4,5 each stay Local end, Bu Huiying
Ring the resource to whole network environment.In other words, though this cloud in this first sub-network system 41
End server 11 damage with this start server 31, also do not interfere with other sub-network systems and on
The program of layer network.
As it was noted above, this cloud server 1,11,12 and this start server 3,31,32, main
If being performed a separate procedure by any server, to serve as this role after this program starts.Please
Refering to Figure 10, for the system architecture diagram of the 6th specific embodiment of the present invention.In the present embodiment, this cloud
End server 11,12 is not served as by the server of entity with this start server 31,32, but
The higher sub-network switch of hardware usefulness 41,51 is set in systems, and by the plurality of sub-network
Switch 41,51 performs a program 410,510 respectively.In the present embodiment, this first sub-network
Internal this program 410 that performs of switch 41, and after this program 410 starts, this first subnet cross winding
Change planes 41 can concurrently act as switch, cloud server and start server role, to provide service
To all first main frames 42 in this first sub-network system 4.And in this second sub-network switch 51
Portion then performs this program 510, and after this program 510 starts, this second sub-network switch 51 can
Concurrently act as switch, cloud server and the role of start server, to provide service to this second son
All second main frames 52 in network system 5.Such it is advantageous in that, it is possible to reduce the management and control in rack
The quantity of server, to reduce the construction cost of cloud system.
This cloud server 1,11,12 disclosed in the present invention, more can come with three-layer type (3-tier) framework
Realize, to provide the DNS service in multiple region (zone) and IP address and Hostname simultaneously
Distribution and management and control.Three-layer type framework is the usual knowledge for the art, does not repeats them here.
Refer to Figure 11, for the cloud server configuration diagram of first specific embodiment of the present invention.
One this complete cloud server 1, can be divided mainly into 10, one, this Image Data storehouse high in the clouds clothes
Business device backstage 13 and one or more cloud server foreground 14.This Image Data storehouse 10 mainly as
Data Layer (data tier) in 3-tier framework, in order to the storage of responsible data;This cloud server backstage
13 as the application layer (application tier) in 3-tier framework, in order to be responsible for main logical operation;
This many cloud servers foreground 14, then as the presentation layer (presentation tier) in 3-tier framework, is used
To be arranged on different regions, as the interface of different clients.More specifically, these many cloud service
Device foreground 14 in order to receive the data input of each client, is available to this cloud server backstage respectively
13, and show that the operation result on this cloud server backstage 13 is to client.
By the framework in the present embodiment, this cloud server 1 can the simultaneously multiple region of management and control, and,
Also by the differentiation on foreground Yu backstage, increase the expandability of system.
The foregoing is only the preferred embodiments of the present invention, the non-patent model the most i.e. limiting to the present invention
Enclose, therefore the equivalence change such as using present invention to do, the most all it is contained in the scope of the present invention
In, close and give Chen Ming.