CN103516742B - Cloud server and management-control method thereof - Google Patents

Cloud server and management-control method thereof Download PDF

Info

Publication number
CN103516742B
CN103516742B CN201210209831.0A CN201210209831A CN103516742B CN 103516742 B CN103516742 B CN 103516742B CN 201210209831 A CN201210209831 A CN 201210209831A CN 103516742 B CN103516742 B CN 103516742B
Authority
CN
China
Prior art keywords
main frame
address
management
appointment
cloud server
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.)
Active
Application number
CN201210209831.0A
Other languages
Chinese (zh)
Other versions
CN103516742A (en
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.)
Ingrasys Technology Inc
Original Assignee
HOPE BAY TECHNOLOGIES Inc
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 HOPE BAY TECHNOLOGIES Inc filed Critical HOPE BAY TECHNOLOGIES Inc
Priority to CN201210209831.0A priority Critical patent/CN103516742B/en
Publication of CN103516742A publication Critical patent/CN103516742A/en
Application granted granted Critical
Publication of CN103516742B publication Critical patent/CN103516742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of cloud server and management-control method thereof, IP address, Hostname and the topology network of the main frame being used to management and control high in the clouds be corresponding and tasks synchronization.Cloud server is when a main frame to carry out a system startup with installation procedure, distributes a temporary ip address to main frame to carry out system startup and installation procedure.Further, when the system startup of main frame reaches certain phase with installation procedure, the DNS inquiry instruction that Receiving Host proposes, and specify IP address to reply to main frame a corresponding Hostname and one with a DNS answer.

Description

Cloud server and management-control method thereof
Technical field
The present invention is related to the management-control method of cloud server, and more particularly in for management and control cloud host machine Hostname and IP address, install with the system making multiple host can realize automatically and to synchronize, start And the management-control method of arrangement action.
Background technology
Recently, the concept of high in the clouds computing develops rapidly, has also driven the prosperity of high in the clouds industry.In general, High in the clouds computing is to arrange plurality of entity host and/or fictitious host computer in machine room beyond the clouds, and these are main Machine connects network by the network switch respectively, thinks that user provides the service of high in the clouds computing.
Cloud host machine in one high in the clouds machine room, may have hundreds, Shuo Qiantai, the most tens thousand of, its Middle include simultaneously entity host (Physical Machine, PM) and fictitious host computer (Virtual Machine, VM), therefore install and arrangement (deploy) is upper real the most fairly cumbersome in system at the beginning, if administrative staff by Main frame is installed and arrangement by platform, need to expend appreciable time cost, and probably due to number in fact Amount is too many and produces unnecessary artificial careless mistake.
For solving problem as above, miscellaneous automation installation method is i.e. proposed, main In the machine room of high in the clouds, to set up the start server of at least, this start server stores these main Various data needed for machine installation and arrangement, the such as file such as operating system, application program.When one is blank Main frame connect the upper network switch and start shooting after, can automatically by this start server perform from Dynamicization is installed, and is not required to administrative staff and manually performs.
But, the plurality of main frame can only carry out existing start server single installation and arrangement is moved Make, say, that be only responsible for being installed in these main frames the file such as operating system, application program, And set, it is impossible to the role that in the future will serve as each main frame, carried out different installations.Therefore When the installation procedure of these main frames proceeds to network installation step, it is still desirable to administrative staff's manual queries Hostname that these main frames are allocated and IP address, and according to Query Result, manually to these main frames Carry out the set-mounted of network, and manually make a copy of the medium plan (Media of the plurality of main frame Access Control, MAC) address.Thus, the host name of each main frame in the machine room of high in the clouds could clearly be recorded Title, IP address and the corresponding relation of MAC Address, to facilitate management in the future to safeguard.
As it has been described above, the existing automation installation method reality imperfection for cloud host machine, to administrative staff For still inconvenient.Therefore the real technology needing a kind of novelty on market, can be at the installation of main frame and cloth During administration, the Hostname of directly inquiry self and IP address, and set installation, to exempt The manpower intervention of administrative staff.
Summary of the invention
The main object of the present invention, is to provide a kind of management and control Hostname and the cloud service of IP address Device, and the management-control method of cloud server, can effectively distribute and the main frame of main frame in the machine room of management and control high in the clouds Title and IP address, and make the system of the main frame in the machine room of high in the clouds install, start, arrangement and other phases The execution of pass task can reach automation and synchronize.
For reaching above-mentioned purpose, the cloud server of the present invention to carry out a system in a main frame and starts and install During program, distribute a temporary ip address to main frame to carry out system startup and installation procedure.Further, in master When the system of machine starts and installation procedure reaches certain phase, the DNS inquiry instruction that Receiving Host proposes, Replying with a DNS specifies IP address to reply to main frame a corresponding Hostname and one again.
The present invention compares effect that prior art can reach and is, can be come by the cloud server of the present invention The Hostname of the All hosts being responsible in the machine room of management and control whole high in the clouds and IP address, and by cloud service Device provides the inquiry service of the plurality of Hostname and IP address.Each main frame is in performing every program During, when needing the setting carrying out Hostname and network, cloud can be inquired according to DNS method End server, and according to cloud server reply DNS reply obtain self Hostname and IP address.
As it has been described above, by the present invention, as long as the manager of cloud system is according to the topological frame of high in the clouds machine room Cloud server is set by structure (topology) and IP address range, the cloud service set Device just can carry out Hostname and the setting of IP address and distribution automatically to All hosts in the machine room of high in the clouds.And And this cloud server can be when each main frame proposes inquiry, the Hostname of reply correspondence and IP address, with The automation that profit system is installed.Thus can reduce manager and main frame is carried out the burden of default.
Furthermore, when the system of each main frame starts and installation procedure goes to a certain degree, can first temporarily be locked , and wait that this cloud server completes to specify the distribution of IP address.Further, this cloud server can tire out Count by the main frame of keyed to some, or set a time limit, treat that accumulated quantity reaches a threshold value, or When being to wait for overtime, more a number of main frame is allowed to continue executing with the step continued.Consequently, it is possible to can The system synchronizing each main frame starts and installation procedure, effective mortality automatically installed that reduces, and reduces same Time the quantity of main frame to start server access.
Accompanying drawing explanation
Fig. 1 is the system architecture diagram of first specific embodiment of the present invention.
Fig. 2 is the system architecture diagram of second specific embodiment of the present invention.
Fig. 3 is the flow chart of first specific embodiment of the present invention.
Fig. 4 is the flow chart of second specific embodiment of the present invention.
Fig. 5 is the system architecture diagram of the 3rd specific embodiment of the present invention.
Fig. 6 is the flow chart of the 3rd specific embodiment of the present invention.
Fig. 7 is the cloud server Organization Chart of first specific embodiment of the present invention.
Fig. 8 is the system architecture diagram of the 4th specific embodiment of the present invention.
Fig. 9 is the system architecture diagram of the 5th specific embodiment of the present invention.
Figure 10 is the system architecture diagram of the 6th specific embodiment of the present invention.
Figure 11 is the CDNS server architecture schematic diagram of first specific embodiment of the present invention.
Wherein, description of reference numerals is as follows:
1,11,12: cloud server
10: Image Data storehouse
100: corresponding table
101: receiver module
102:IP address processing module
103: information providing module
104: Registering modules
105:DNS processing module
106: store module
1061: set shelves
107: corresponding table access module
2: master network switch
3,31,32: start server
4: the first sub-network systems
41: the first sub-network switches
410: program
42: the first main frames
5: the second sub-network systems
51: the second sub-network switches
510: program
52: the second main frames
6:DHCP server
S10 ~ S20, S22 ~ S30: step
S40 ~ S66: step
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.

Claims (20)

1. a management-control method for cloud server, connects and to this for this cloud server and a main frame Main frame carries out management and control, and this management-control method includes:
A) request to IP address of this main frame is received;
B) temporary ip address is distributed to this main frame according to this request;
C) registration action that this main frame uses this temporary IP to carry out is accepted;
D) the domain name system inquiry instruction that this main frame proposes after this registration action is received;Wherein, this territory Name system interrogation instruction includes this temporary ip address;
E) the inquiry instruction of this domain name system is processed according to a domain name system anti-solution program, and according to this temporary IP ground Location determines that this cloud server distributes to a Hostname and the letter of an appointment IP address that this main frame uses Breath, replies and replys this main frame producing a domain name system, and wherein the answer of this domain name system includes this cloud The Hostname and one that end server-assignment uses to this main frame specifies the information of IP address.
2. management-control method as claimed in claim 1, wherein this domain name system inquiry instruction is Gethostbyaddr () instructs.
3. management-control method as claimed in claim 1, wherein this cloud server is by a high in the clouds machine room A sub-network switch connect this main frame, and this main frame connects a company on this sub-network switch Connect port, also comprise the following steps: before this step a
A01) setting up setting shelves, these setting shelves include a topology framework of this high in the clouds machine room, and can quilt The appointment IP address range used;
A02) according to this topology framework and this appointment IP address range, for owning on this sub-network switch A Hostname and an appointment IP address are all distributed in connectivity port;And
A03) produce a corresponding table, and the plurality of Hostname and the plurality of appointment IP address are write In this correspondence table;
Wherein, this temporary ip address is write in this correspondence table by this step c, and the acceptance of this step d The inquiry instruction of this domain name system includes this temporary ip address, and this step e is with the inquiry instruction of this domain name system Inquire about this correspondence table, refer to obtaining this allocated Hostname of this connectivity port that this main frame connects and this Determine the information of IP address.
4. management-control method as claimed in claim 3, wherein these setting shelves also include that can be used one faces Time IP address range, this step b is by this temporary ip address scope, to a Dynamic Host Control Protocol Server requirement distributes this temporary ip address to this main frame.
5. management-control method as claimed in claim 3, the most also comprises the following steps:
F) periodically this sub-network switch is scanned;And
G) obtain a MAC addresses of this main frame, and this MAC addresses is write In this correspondence table.
6. management-control method as claimed in claim 5, wherein this step f is assisted by a simple network management View, periodically inquires this sub-network switch.
7. management-control method as claimed in claim 1, wherein this step a is intended to by a start in this main frame When server carries out a system startup with installation procedure, receive this request to IP address of this main frame.
8. management-control method as claimed in claim 7, wherein this main frame starts and installation procedure in this system Proceed to first by keyed, and also to comprise the following steps: after this step e during a network installation step
H) according to the information of this appointment IP address, one dynamic host control protocol server is carried out a renewal Action;
I) whether judge by the quantity of this main frame of keyed more than a threshold value, or stand-by period whether overtime;
If j) being judged as YES in this step i, unlock by this main frame of keyed to continue executing with this network installation Step;
K) this main frame requires more to this dynamic host control protocol server according to the information of this appointment IP address New address;And
L) this dynamic host control protocol server is according to this update action of this cloud server, and should The requirement of main frame, distributes this appointment IP address and uses to this main frame.
9. management-control method as claimed in claim 8, wherein this step j is by multiple broadcasting mode once Unlock multiple stage by this main frame of keyed.
10. the management-control method that cloud server uses, this cloud server is exchanged by a sub-network Machine and a main frame connect, and this main frame connects the connectivity port on this sub-network switch, this management and control Method includes:
A) it is that a Hostname and an appointment are all distributed in all connectivity ports on this sub-network switch IP address, and write in a corresponding table;
B) when this main frame carries out a system startup with installation procedure by a start server, this master is received A machine request to IP address;
C) according to this request, a dynamic host control protocol server is required a temporary ip address;
D) this temporary ip address is distributed to this main frame for carrying out this system startup and installation procedure;
E) registration action that this main frame uses this temporary ip address to carry out is accepted;
F) MAC addresses of this main frame is obtained;
G) after accepting this registration action, this temporary ip address and this MAC addresses are write this right Answer in table;
H) the domain name system inquiry instruction that this main frame proposes is received, wherein in this domain name system inquiry instruction Including this temporary ip address;
I) inquire about this correspondence table according to a domain name system anti-solution program, reply and return producing a domain name system This main frame multiple, wherein this domain name system replies and includes allocated being somebody's turn to do in this connectivity port that this main frame connects Hostname and the information of this appointment IP address.
11. management-control methods as claimed in claim 10, wherein this domain name system inquiry instruction is Gethostbyaddr () instructs.
12. management-control methods as claimed in claim 10, wherein this sub-network switch configuration is in a high in the clouds In machine room, this step a also comprises the following steps:
A1) setting up setting shelves, wherein these setting shelves include a topology framework of this high in the clouds machine room, and can quilt The appointment IP address range used;
A2) according to this topology framework and this appointment IP address range, each on this sub-network switch This Hostname and this appointment IP address are all distributed in individual connectivity port;And
A3) the plurality of Hostname and the plurality of appointment IP address are write in this correspondence table.
13. management-control methods as claimed in claim 12, wherein this step f comprises the following steps:
F1) periodically this sub-network switch is inquired by a simple network management protocol;And
F2) according to inquiry result, this MAC addresses of this main frame is obtained.
14. management-control methods as claimed in claim 12, wherein this system of this main frame starts and installs journey Will be first by keyed when sequence proceeds to a network installation step, and the rear of this step i also includes following step Rapid:
J) according to the information of this appointment IP address, this dynamic host control protocol server is carried out a renewal to move Make;
If k) this update action completes, unlock by this main frame of keyed to continue executing with this network installation step;
If l) by the quantity of this main frame of keyed more than a threshold value, unlock by this main frame of keyed to continue Perform this network installation step;And
If m) the stand-by period overtime of this main frame, unlock and pacified to continue executing with this network by this main frame of keyed Dress step.
15. management-control methods as claimed in claim 14, wherein this step k, step l and step m are logical Too much replaying send mode once to unlock multiple stage by this main frame of keyed.
16. management-control methods as claimed in claim 14, the most also comprise the following steps:
N) this main frame requires more to this dynamic host control protocol server according to the information of this appointment IP address New address;And
O) this dynamic host control protocol server is according to this update action of this cloud server, and should The requirement of main frame, distributes this appointment IP address and uses to this main frame.
17. 1 kinds of management and control Hostnames and the cloud server of IP address, in order to connect and management and control one main frame, This cloud server includes:
One receiver module, receives the request to IP address that this main frame proposes;
One IP address processing module, obtains a temporary ip address according to this request;
One information providing module, distributes this temporary ip address and temporarily uses to this main frame;
One Registering modules, accepts the registration action that this main frame uses this temporary ip address to be carried out;And
One domain name system processing module, receives the domain name system inquiry that this main frame proposes after this registration action Asking instruction, wherein, the inquiry instruction of this domain name system includes this temporary ip address;And according to a domain name system System anti-solution program processes the inquiry instruction of this domain name system, and determines this cloud service according to this temporary ip address A Hostname and the information of an appointment IP address that this main frame uses distributed to by device, to produce a domain name system System replies;
Wherein, this cloud server is replied this domain name system by this information providing module and is replied to this master Machine, and this domain name system to reply include that this cloud server distributes to that this main frame forever uses one main Machine title and one specifies the information of IP address.
18. cloud servers as claimed in claim 17, wherein this cloud server passes through a high in the clouds machine A sub-network switch in room connects this main frame, and this cloud server also includes a storage module, Store setting shelves, these setting shelves include a topology framework of this high in the clouds machine room, and one can be used Specify IP address range, this cloud server by this topology framework and this appointment IP address range, for A Hostname and an appointment IP address are all distributed in all connectivity ports on this sub-network switch.
19. cloud servers as claimed in claim 18, the most also include a corresponding table access module, In order to access a corresponding table, this correspondence table record has this temporary ip address of this main frame, a medium access control This Hostname that this connectivity port that address processed and this main frame connect is allocated and this appointment IP ground Location, the inquiry instruction of this domain name system includes this temporary ip address, and this domain name system processing module is with this Domain name system inquiry this correspondence table of instructions query, to obtain this corresponding Hostname and this appointment IP address Information and produce this domain name system reply.
20. cloud servers as claimed in claim 17, wherein this IP address processing module is according to being somebody's turn to do Specify the information of IP address, this dynamic host control protocol server is carried out a update action, to require This dynamic host control protocol server allows this main frame to use this appointment IP address.
CN201210209831.0A 2012-06-25 2012-06-25 Cloud server and management-control method thereof Active CN103516742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210209831.0A CN103516742B (en) 2012-06-25 2012-06-25 Cloud server and management-control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210209831.0A CN103516742B (en) 2012-06-25 2012-06-25 Cloud server and management-control method thereof

Publications (2)

Publication Number Publication Date
CN103516742A CN103516742A (en) 2014-01-15
CN103516742B true CN103516742B (en) 2016-09-07

Family

ID=49898772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210209831.0A Active CN103516742B (en) 2012-06-25 2012-06-25 Cloud server and management-control method thereof

Country Status (1)

Country Link
CN (1) CN103516742B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076025B (en) * 2016-11-15 2021-06-15 华为技术有限公司 Registration method and device of network equipment
CN113037882B (en) * 2016-11-22 2022-12-27 华为数字技术(苏州)有限公司 Method for acquiring additional information of host and proxy equipment
CN113242323B (en) * 2021-07-13 2021-09-14 云宏信息科技股份有限公司 Method, storage medium, and system for automatically installing system for physical server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5790548A (en) * 1996-04-18 1998-08-04 Bell Atlantic Network Services, Inc. Universal access multimedia data network
CN101778136A (en) * 2010-01-15 2010-07-14 山东高效能服务器和存储研究院 Method for installing operating systems for client through remote real-time monitoring of network
CN101888313A (en) * 2009-05-15 2010-11-17 中联绿盟信息技术(北京)有限公司 Main machine detection system and method
CN102510394A (en) * 2011-10-20 2012-06-20 浪潮电子信息产业股份有限公司 Method for installing Linux system in cluster under unattended and optical-disk-medium-free conditions

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120158806A1 (en) * 2010-12-20 2012-06-21 Verizon Patent And Licensing Inc. Provisioning network-attached storage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5790548A (en) * 1996-04-18 1998-08-04 Bell Atlantic Network Services, Inc. Universal access multimedia data network
CN101888313A (en) * 2009-05-15 2010-11-17 中联绿盟信息技术(北京)有限公司 Main machine detection system and method
CN101778136A (en) * 2010-01-15 2010-07-14 山东高效能服务器和存储研究院 Method for installing operating systems for client through remote real-time monitoring of network
CN102510394A (en) * 2011-10-20 2012-06-20 浪潮电子信息产业股份有限公司 Method for installing Linux system in cluster under unattended and optical-disk-medium-free conditions

Also Published As

Publication number Publication date
CN103516742A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
TWI469607B (en) Cloud server for managing hostnames and ip addresses, and management method for the cloud server
US9930007B2 (en) IP address and domain name automation of virtual infrastructure
CN108632338B (en) Storage system and method for providing automatic storage discovery
US9973439B2 (en) Internet protocol address management (IPAM) integration with a plurality of virtualization tiers in the virtual cloud using infrastructure metadata
CN109067827B (en) Kubernetes and OpenStack container cloud platform-based multi-tenant construction method, medium and equipment
US20170034071A1 (en) System and method for traffic director support in a multitenant application server environment
CN103744719B (en) Lock management method and system, the collocation method and device of lock administration system
CN103607430A (en) Network processing method and system, and network control center
CN103167041A (en) System and method for supporting cloud environment application cluster automation deployment
CN106021370A (en) Memory database instance management method and device
CN103516742B (en) Cloud server and management-control method thereof
CN102307247B (en) Dynamic address allocation method for dynamic host configuration protocol (DHCP) and system
CN105635311A (en) Method for synchronizing resource pool information in cloud management platform
CN110719209A (en) Cluster network configuration method, system, equipment and readable storage medium
JP2012191493A (en) Thin client environment provision system, server, thin client environment management method, and thin client environment management program
CN102394948B (en) DHCP (dynamic host configuration protocol) address distribution method and DHCP server
CN106445585A (en) Application deployment method and system based on container technology
CN108183971A (en) A kind of node electoral machinery in distributed system
DE102020114272A1 (en) Use of virtual node clusters in a multi-media environment
CN110798507B (en) Method and system for DHCP address allocation memory
CN111404978B (en) Data storage method and cloud storage system
CN107249050A (en) The management method and device of resource in cloud platform
JP5664441B2 (en) Resource management system, data update method and program
CN108259639A (en) IP address distribution method and device
Keller et al. Best practices for deploying a CMDB in large-scale environments

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: HOPE BAY TECHNOLOGIES, INC.

Free format text: FORMER OWNER: TAIDA ELECTRONIC INDUSTRY CO. LTD.

Effective date: 20150114

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150114

Address after: Chau Street China Neihu district of Taipei city Taiwan 48 Building No. 2

Applicant after: HOPE BAY TECHNOLOGIES, INC.

Address before: China Taiwan Taoyuan County

Applicant before: Delta Optoelectronics Inc.

C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171116

Address after: No. 207, No. 207, Fuxing Road, Taoyuan District, Taoyuan, China

Patentee after: Ingrasys Technology Inc.

Address before: Chau Street China Neihu district of Taipei city Taiwan 48 Building No. 2

Patentee before: HOPE BAY TECHNOLOGIES, INC.