CN103516742A - A cloud server and a method of managing and controlling the same - Google Patents

A cloud server and a method of managing and controlling the same Download PDF

Info

Publication number
CN103516742A
CN103516742A CN201210209831.0A CN201210209831A CN103516742A CN 103516742 A CN103516742 A CN 103516742A CN 201210209831 A CN201210209831 A CN 201210209831A CN 103516742 A CN103516742 A CN 103516742A
Authority
CN
China
Prior art keywords
address
main frame
assigned
cloud server
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210209831.0A
Other languages
Chinese (zh)
Other versions
CN103516742B (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
Delta Optoelectronics 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 Delta Optoelectronics Inc filed Critical Delta Optoelectronics 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

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a cloud server and a method of managing and controlling the same. The method is used for managing and controlling corresponding and task synchronization of IP addresses of cloud hosts, hostnames and network topologies. The cloud server assigns a temporary IP address to a host for a system boot up and installation task when the host needs to carry out the system boot up and installation task. Moreover, when the system boot up and installation task of the host reaches a certain stage, the cloud server receives a DNS instruction brought forward by the host and returns a corresponding hostname and a fixed IP address to the host through a DNS answer.

Description

Cloud server and management-control method thereof
Technical field
The present invention is relevant for the management-control method of cloud server, and especially relevant for being used for the Hostname YuIP address of management and control high in the clouds main frame, to make multiple host can realize the management-control method of automatic and synchronous system installation, startup and 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 in machine room, numerous entity main frame and/or fictitious host computer to be set beyond the clouds, and these main frames carry out interconnection network by the network switch respectively, think that user provides the service of high in the clouds computing.
Machine room Zhong high in the clouds, Yi Ge high in the clouds main frame, may there be hundreds of, thousands of, even tens thousand of, wherein comprised entity main frame (Physical Machine simultaneously, PM) and fictitious host computer (Virtual Machine, VM), therefore at system installation and the upper reality of arrangement (deploy) at the beginning, work as trouble, if administrative staff install and arrangement main frame by platform, appreciable time cost need be expended in fact, and unnecessary artificial careless mistake may be produced because quantity is too many.
For solving problem as above, someone has proposed automation installation method miscellaneous, mainly in the machine room of high in the clouds, set up the start server of at least one, in this start server, store these main frames and install and the required various data of arrangement, files such as operating system, application program.After the upper network switch of main frame connection and start of a blank, can automatically by this start server, carry out automation and install, do not need administrative staff manually to carry out.
Yet, existing start server can only carry out single installation and arrangement action to described a plurality of main frames, that is to say, only be responsible for by the files such as operating system, application program be installed to these main frames in, and set, cannot, for each main frame in the future by the role who serves as, carry out different installations.Be with, when the installation procedure of these main frames proceeds to network installation step, still the Hostname JiIP address that needs these main frames of administrative staff's manual queries to be assigned with, and according to Query Result, manually these main frames are carried out the installation setting of network, and the medium access of manually making a copy of described a plurality of main frames is controlled (Media Access Control, MAC) address.Thus, could clearly record the Hostname ,IP address of each main frame in the machine room of high in the clouds and the corresponding relation of MAC Address, to facilitate management maintenance in the future.
As mentioned above, the real imperfection of the existing automation installation method for high in the clouds main frame, still inconvenient concerning administrative staff.Therefore the real technology that needs a kind of novelty on market can, in the installation and deployment process of main frame, directly be inquired about the Hostname JiIP address of self, and be set installation, to exempt administrative staff's manpower intervention.
Summary of the invention
Main purpose of the present invention, be to provide a kind of management and control Hostname JiIP cloud server of address, and the management-control method of cloud server, can effectively distribute and management and control high in the clouds machine room in ,Bing Ling high in the clouds, the Hostname YuIP address machine room of main frame in the execution of system installation, startup, arrangement and other inter-related tasks of main frame can reach automation and synchronization.
For reaching above-mentioned purpose, cloud server of the present invention will carry out a system while starting with installation procedure in a main frame, distribute a temporary ip address to main frame to carry out system startup and installation procedure.And, when the system startup of main frame reaches certain phase with installation procedure, the DNS inquiry instruction that Receiving Host proposes, then answer a Hostname of correspondence and an assigned ip address are replied to main frame with a DNS.
The present invention contrasts the effect that prior art can reach and is, can be responsible for by cloud server of the present invention the Hostname JiIP address of the All hosts in the machine room of the whole high in the clouds of management and control, and provide described a plurality of Hostname JiIP inquiry service of address by cloud server.Each main frame, in carrying out the process of every program, in the time need to carrying out the setting of Hostname and network, can be inquired cloud server according to DNS method, and the DNS replying according to cloud server answers to obtain the Hostname JiIP address of self.
As mentioned above, by the present invention, as long as the manager of high in the clouds system sets cloud server according to topological structure (topology) and the IP address range of high in the clouds machine room, the cloud server of having set just can carry out setting and the distribution of Hostname YuIP address automatically to All hosts in the machine room of high in the clouds.And this cloud server can be replied corresponding Hostname YuIP address, the automation of installing in order to system when each main frame proposes inquiry.Can reduce thus manager and main frame be carried out to the burden of default.
Moreover the system of each main frame starts while carrying out to a certain extent with installation procedure, can be first temporarily by keyed, and wait for that this cloud server completes the distribution of assigned ip address.And, this cloud server can be totally by the main frame of keyed to some, or set a time limit, treat that accumulated quantity reaches a threshold value, or while waiting for overtime, then allow the main frame of some to continue to carry out the step continuing.Thus, synchronously the system of each main frame starts and installation procedure, effectively reduces the mortality of Auto-mounting, and reduces the quantity to the main frame of start server access simultaneously.
Accompanying drawing explanation
Fig. 1 is the system architecture diagram of the first specific embodiment of the present invention.
Fig. 2 is the system architecture diagram of the second specific embodiment of the present invention.
Fig. 3 is the flow chart of the first specific embodiment of the present invention.
Fig. 4 is the flow chart of the 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 the 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 the 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 provides module
104: Registering modules
105:DNS processing module
106: storage 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
Embodiment
Hereby with regard to a preferred embodiment of the present invention, coordinate graphicly, be described in detail as follows.
First please refer to Fig. 1 and Fig. 2, be respectively the system architecture diagram of the first preferred embodiment of the present invention and the second preferred embodiment.Person shown in figure, for the system architecture in the machine room of high in the clouds, mainly comprise high in the clouds domain name service (Cloud Domain Name Service, CDNS) server 1 of the present invention (below will in specification in literary composition referred to as this cloud server 1), a master network switch (main switch) 2, one start server (boot server) 3 and a plurality of sub-network (subnet) system 4,5.In the present embodiment, the plurality of sub-network system 4,5 is connected with this cloud server 1 and this start server 3 by this master network switch 2, and quantity take two as example, but is not limited.
In the present embodiment, each sub-network system 4,5 can be considered as to a rack (Rack), so in each high in the clouds machine room, can there is the quite huge sub-network system of quantity in fact.This first sub-network system 4 mainly has a first sub-network switch 41, on this first sub-network switch 41, has a plurality of connectivity ports, in order to connect many first main frames 42 (main frame (Cloud Host) that is called high in the clouds).Wherein, described a plurality of main frame mainly can be entity main frame (Physical Machine, PM) or fictitious host computer (Virtual Machine, VM), no matter be PM or VM, all can carry out by this cloud server 1 of the present invention the management and control (holding detailed description) of Hostname and procotol (Internet Protocol, IP) address.
Described a plurality of the first main frame 42 connects this master network switch 2 on upper strata by this first sub-network switch 41, by this master network switch 2, connect this cloud server 1 and this start server 3 again, to accept the service of this cloud server 1 and this start server 3.
This second sub-network system 5 has one second sub-network switch 51, and this second sub-network switch 51 has a plurality of connectivity ports equally, in order to connect many second main frames 52 (can comprise PM and VM equally).Described a plurality of the second main frame 52 connects this master network switch 2 on upper strata by this second sub-network switch 51, and connects this cloud server 1 and this start server 3 by this master network switch 2.For convenience of description, will, in specification in literary composition, only with described a plurality of the first main frames 42 under this first sub-network system 4, illustrate below.
It is worth mentioning that, in the present invention, main arbitrary server in the machine room of high in the clouds is carried out a separate procedure (process), to serve as this cloud server 1 in the present invention and the role of this start server 3.Therefore this cloud server 1 can be the arbitrary server in the machine room of high in the clouds, or this cloud server 1 can be realized by same station server with this start server 3, should not be limited.
This cloud server 1 is mainly for being responsible for the Hostname JiIP address of All hosts in the machine room of the whole high in the clouds of management and control, at arbitrary blank main frame, newly add (for example connection of new PM in this high in the clouds machine room, or the generation of new VM), and while carrying out a system startup with installation procedure (boot up and installation task), can directly by this cloud server 1, obtain the Hostname JiIP address of self.Thus, do not need the administrative staff of high in the clouds machine room manually main frame to be carried out the setting of Hostname JiIP address, can effectively reach the automation of arrangement and installation procedure.
And, this cloud server 1 of the present invention, being mainly a kind of system beyond the clouds uses, and according to the server of Domain Name System DNS (Domain Name System) normalization, this cloud server 1 can be supported the normal solution (forward resolution) of DNS, anti-function (holding detailed description) of separating (reverse resolution) and agency (DNS proxy).Therefore any main frame all can come to Hostname corresponding to this cloud server 1 inquiry by IP address, also can come to this cloud server 1 IP address corresponding to inquiry by Hostname.So, can effectively reach IP address, Hostname (hostname), with topology network effect in correspondence with each other, for the administrative staff of high in the clouds machine room, cloud server 1 is real that management and control function quite easily can be provided for this.More specifically, this cloud server 1 can an external or built-in Image Data storehouse (Mapping Database) 10, this Image Data storehouse 10 is mainly used to store the relevant informations such as All hosts title JiIP address in this high in the clouds machine room, and for this cloud server 1 reference.
Continuing and refer to Fig. 3, is the flow chart of the first specific embodiment of the present invention.Arbitrary main frame in the machine room of Dang Gai high in the clouds (take below this first main frame 42 describe for example) wants to carry out this system while for example starting, with installation procedure (startup of operating system and installation procedure), need possess and have a GeIP address, can install smoothly, therefore this cloud server 1 will receive a request (step S10) of the DuiIP address that this first main frame 42 sends.Then, this cloud server 1 is according to this request, first distribute (assign) temporary ip address to use (step S12) to this first main frame 42, thus, this first main frame 42 can be according to this temporary ip address interconnection network, to carry out this system startup and installation procedure by this start server 3.
It is worth mentioning that, this temporary ip address is mainly to distribute to the use that this first main frame 42 is used for carrying out startup, installation, the assigned ip address (fixed IP address) that not allows this first main frame 42 forever use.Therefore, different main frames is when different time points carries out this system startup with installation procedure, may use this temporary ip address of same group, but described a plurality of main frame is after completing this system startup and installation procedure, is bound to carry out interconnection network with different assigned ip addresses.Therefore want to distribute smoothly temporary ip address and assigned ip address, this cloud server 1 must will be known all temporary ip address scopes that are used, and an assigned ip address realm that can be used.
Then, this cloud server 1 is accepted a registration action (step S14) of this first main frame 42, and more specifically, this first main frame 42, according to this temporary ip address using, carries out registration action to this cloud server 1.After having registered, this cloud server 1 is obtained this temporary ip address that this first main frame 42 uses, and a medium access of this first main frame 42 is controlled (Media Access Control, MAC) address, and write in a corresponding table (this correspondence table 100 as shown in Figure 7) (step S16).This correspondence table 100 can be referred to as in the host name of inquiring about this first main frame 42 in the future for this cloud server 1 and, this correspondence table 100 is to be mainly stored in this Image Data storehouse 10, or is directly 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 the relevant information of each main frame in this high in the clouds machine room, for inquiry in the future.Wherein, the content of described a plurality of Hostnames, assigned ip address, MAC Address and the temporary ip address described in table one is all only in order to illustrate, not as limit.
Hostname Assigned 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, at this cloud server 1, start (run) front, the topological structure (topology) of administrative staff Xu Jianggai high in the clouds machine room, and above-mentioned this temporary ip address scope being used and this assigned ip address realm write as setting shelves (configuration file) (these setting shelves 1061 as shown in Figure 7), and set according to this settings grade 1061 pairs of these cloud servers 1.Thus, after this cloud server 1 starts, automatically according to this, set shelves 1061, a corresponding Hostname and a corresponding assigned ip address are all distributed in for example, all connectivity ports on connected sub-network switch (this first sub-network switch 41), and the main frame connecting for this connectivity port uses.And this cloud server 1 can produce the as above correspondence of this shown in table one table 100, and described a plurality of Hostnames and described a plurality of assigned ips address are write in this correspondence table 100.
It is worth mentioning that, in the present embodiment, this cloud server 1 is mainly the information such as connectivity port of country, machine room, rack and the network switch according to place, calculates the Hostname of each main frame by algorithm.Therefore, each main frame all can be assigned with a Hostname with identification, is beneficial to administrative staff's management maintenance.
After above-mentioned this step S16, in this correspondence table 100, be Hostname, assigned ip address, temporary ip address and the MAC Address of the All hosts in the machine room of complete documentation Liao Gai high in the clouds.This cloud server 1 can be obtained this MAC Address when this first main frame 42 carries out this registration action, and writes in this correspondence table 100; Moreover this cloud server 1 more can periodically be changed planes and inquire all-ones subnet cross winding, to obtain this MAC Address of the main frame that each connectivity port was connected on each estrade network switch.More specifically, this cloud server 1 is main by simple network management protocol (SimpleNetwork Management Protocol, SNMP), periodically described a plurality of sub-network switches are inquired, and the MAC Address of gained is updated in this correspondence table 100.Yet which kind of mode this cloud server 1 adopts obtain the MAC Address of described a plurality of main frames, and when obtains, and is determined by practice, should not be limited.
When this first main frame 42 proceeds to a network installation step, need this cloud server 1 of inquiry, with this assigned ip address that obtains forever using.This cloud server 1 receives the DNS inquiry instruction (step S18) that this first main frame 42 proposes, and answer at the DNS that has inquired about rear generation one correspondence in this Image Data storehouse 10, and reply to this first main frame 42 (step S20), wherein this DNS answers and has comprised that this cloud server 1 distributes to this Hostname that this first main frame 42 uses and the information of this assigned ip address.More specifically, this DNS answers system and comprises that this cloud server 1 distributes to the Hostname of a connectivity port and the information of assigned ip address on this first sub-network switch 41, wherein this connectivity port connects this first main frame 42, therefore, this first main frame 42 can use this Hostname and this assigned ip address that this connectivity port is assigned with.
In this step S18, this first main frame 42 is mainly, by gethostbyaddr () instruction, this cloud server 1 is proposed to inquiry, and in this step S20, this cloud server 1 is processed this DNS inquiry instruction according to the anti-program (DNS reverse resolution) of separating of a DNS, and produces this DNS answer (DNS answer).
More specifically, general gethostbyaddr () instruction, mainly to send YiIP address (for example 192.168.1.1) to dns server, through this dns server carry out this DNS anti-solution program be converted to corresponding domain name (for example www.delta.com.tw), then the mode that this domain name is answered with this DNS is replied.That is to say, by the present invention, can directly use the service call of operating system just can use this cloud server, and needn't reach by special software.In this step S18, by this first main frame 42, send this DNS inquiry instruction to this cloud server 1 (wherein this DNS inquiry instruction comprises this temporary ip address that this first main frame 42 uses).This cloud server 1 is inquired about this correspondence table 100 with this DNS inquiry instruction, to obtain after the information of this Hostname that this connectivity port that this first main frame 42 connected is assigned with and this assigned ip address, then produces this DNS that meets DNS standard and answers.As mentioned above, this DNS answer must comprise will distribute to this Hostname of this first main frame 42 and the information of this assigned ip address, and must meet DNS standard, for instance, this DNS answer and can be for example " Hostname. assigned ip address .delta.com.tw " form, but be not limited.This first main frame 42 receives after this DNS answer, can, from this DNS answers, obtain this corresponding Hostname and the information of this assigned ip address.
When having multiple host to carry out this system startup with installation procedure simultaneously, this cloud server 1 will receive simultaneously the DNS inquiry that proposes of multiple host, and need reply DNS simultaneously and answer to multiple host, it is above-mentioned that only to take single this first main frame 42 be example, convenient explanation, but not as limit.
Then please refer to Fig. 4 and Fig. 5, be respectively the flow chart of the second specific embodiment of the present invention and the system architecture diagram of the 3rd specific embodiment.As mentioned above, when the system startup of this first main frame 42 proceeds to this network installation step with installation procedure, will be first by keyed (Block), this first main frame 42 must wait for that this cloud server 1 distributes this assigned ip address, and by 1 pair of this cloud server DynamicHost, set agreement (Dynamic Host Configuration Protocol, DHCP) server 6 and carry out a new element (step S22) more.In the machine room of ,Gai high in the clouds, have as shown in Figure 5 this Dynamic Host Configuration Protocol server 6, this Dynamic Host Configuration Protocol server 6 is connected with this cloud server 1 and this first main frame 42 by network system.DHCP is common knowledge in the art, does not repeat them here.And, if there are other main frames to carry out this system startup and installation procedure simultaneously, when proceeding to this network installation step, also can be 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, whether this cloud server 1 judgement is surpassed a threshold value by the quantity of the main frame of keyed, or the stand-by period of described a plurality of main frames overtime (step S24) whether, if not, this cloud server 1 continues to carry out this step S22, to continue that this Dynamic Host Configuration Protocol server 6 is carried out to this more new element.If this cloud server 1 judgement is surpassed this threshold value by the quantity of the main frame of keyed, or the stand-by period exceedes, or this is when more new element completes, this cloud server 1 is given notice, and allows described a plurality of main frame to continue to carry out this network installation step (step S26) continuing.Wherein, this cloud server 1 mainly can be by multiple broadcasting (multicasting) technology, and many of releases (unlocking) are by the main frame of keyed, and then, described in can synchronization, the system of a plurality of main frames starts and installation procedure, with this, reduces the mortality of Auto-mounting.
After this step S26, described a plurality of main frame (for example this first main frame 42) can be according to the information of this assigned ip address obtaining from this DNS answers, to this Dynamic Host Configuration Protocol server 6, require scheduler (renew IP) (step S28), that is, this assigned ip address is used in request.Finally, this first main frame 42 is in this assigned ip address after more new settings completes, then by remaining program be finished (step S30).
It is worth mentioning that, in embodiments of the invention, described a plurality of main frames are mainly when this system startup is carried out this network installation step with installation procedure, are pinned, to maintain the synchronism of installation by this cloud server 1.Yet this cloud server 1 mainly also can solve beyond the clouds in cluster system (Cluster), the stationary problem of distributing software when starting.That is to say, when each self-starting one distributing software of described a plurality of main frames, can be subject to the control of this cloud server 1, when proceeding to certain specific program by keyed, and, when a unlocking condition is satisfied, then by this cloud server 1 with a plurality of main frames described in the release simultaneously of the technology of multicasting.Thus, can effectively maintain the synchronization of this distributing software on carrying out.
Referring to Fig. 6, is the flow chart of the 3rd specific embodiment of the present invention, in Fig. 6 complete description the action of this cloud server 1, this first main frame 41 and this Dynamic Host Configuration Protocol server 6, and execution sequence of each action.
First, when this first main frame 41 will carry out system startup with installation procedure, this request (step S40) of IP address can be proposed this cloud server 1, when this cloud server 1 receives after this request, can require a GeIP address to come as this temporary ip address (step S42) to this Dynamic Host Configuration Protocol server 6.This Dynamic Host Configuration Protocol server 6 is according to spendable this temporary ip address scope, choose a temporary ip address and reply to this cloud server 1 (step S44), this cloud server 1 is distributed to this temporary ip address this first main frame 42 again and is used (step S46).
This first main frame 42 is obtained after this temporary ip address in this step S46, and the system that can carry out smoothly operating system starts and installation procedure (step S48).Until this system, start with installation procedure and carry out after certain phase, this first main frame 42 can be registered (step S50) to this cloud server 1 with this temporary ip address being used, 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, by this DNS inquiry instruction (being gethostbyaddr () instruction in the present embodiment), to this CDNS server 1, propose this DNS inquiry (step S52), and this DNS inquiry instruction comprises this temporary ip address that this first main frame 42 uses.This cloud server 1 receives after this DNS inquiry instruction, and this temporary ip address using according to this first main frame 42 is inquired about this correspondence table 100, and to carry out, this DNS is counter to be separated program and produce this DNS answer, then replies to this first main frame 42 (step S54).Now, this first main frame 42 will be first by keyed, and Break-Up System starts and installation procedure.
Then, 1 pair of this cloud server distributes (step S56) will to this this assigned ip address that the first main frame 42 uses, and, according to the information of this assigned ip address, this Dynamic Host Configuration Protocol server 6 is carried out to this more new element (step S58).The stand-by period that completes or surpassed this threshold value or main frame by the quantity of the main frame of keyed to be updated is during overtime, this cloud server 1 is by multiple broadcasting mode, a release multiple host (step S60), comprising this first main frame 42 of the present embodiment illustrated.
After this step S60, this first main frame 42 is obtained the information of this Hostname and this assigned ip address in this DNS answers, and is allowed to continue to carry out network installation step.Now, this first main frame 42 is according to the information of this assigned ip address, to this Dynamic Host Configuration Protocol server 6, require scheduler (step S62), 6 of this Dynamic Host Configuration Protocol server are according to this new element more of this cloud server 1, and the information of this assigned ip address of these first main frame, 42 propositions, distribute this assigned ip address to use (step S64) to this first main frame 42.And after step S64, this first main frame 42 can complete with this Hostname and this assigned ip address the installation steps of network, and by remaining program be all finished (step S66).
After step S66, this first main frame 42 is a complete high in the clouds main frame being used, and administrative staff can, according to this Hostname and this assigned ip address of these the first main frame 42 uses, carry out various management and control to this first main frame 42.
Continuing and refer to Fig. 7, is the cloud server Organization Chart of the first specific embodiment of the present invention.Aforesaid this separate procedure mainly comprises the different procedure code of many groups, by the operation of described a plurality of procedure codes, a plurality of modules can be distinguished and comprise to this cloud server 1, mainly comprises: a receiver module 101, an IP address processing module 102, an information provide module 103, a Registering modules 104, a DNS processing module 105, a storage module 106 and a corresponding table access module 107.
This receiver module 101 is this request that receives the DuiIP address that this first main frame 42 sends, this IP address processing module 102 can be asked according to this, this Dynamic Host Configuration Protocol server 6 is required to distribute this temporary ip address, and, this cloud server 1 provides module 103 by this information again, this temporary ip address is distributed to this first main frame 42 and use.When this first main frame 42 is carried out these system startups and installation procedure and proceeded to this network installation step, this cloud server 1 is to accept by this Registering modules 104 this registration action that this first main frame 42 carries out.With this temporary ip address and this MAC Address that this first main frame 42 is used, write in this correspondence table 100.
When this first main frame 42 proposes this DNS inquiry instruction, this cloud server 1 is to receive and process this DNS inquiry instruction by this DNS processing module 105.More specifically, this DNS processing module 105 is to inquire about this correspondence table with this DNS inquiry instruction, to obtain this cloud server 1, distribute to this Hostname that this first main frame 42 uses and the information of this assigned ip address, with according to this DNS anti-solution program produce this DNS and answer.And this cloud server 1 provides module 103 to reply this DNS by this information again and answers to this first main frame 42.
This storage module 106 is mainly used to store this setting shelves 1061, the administrative staff of this high in the clouds machine room can be before this cloud server 1 starts, write as these setting shelves 1061 and be stored in this storage module 106, to set according to 1061 pairs of these cloud servers 1 of these setting shelves.So, after this cloud server 1 starts, can automatically according to this, set shelves 1061, for example, for all distributing a Hostname and an assigned ip address in all connectivity ports on connected sub-network switch (this first sub-network switch 41).
This cloud server 1 is mainly to connect this map data storehouse 10 by this correspondence table access module 107, with this correspondence table 100 of access, yet, this correspondence table 100 also can be stored in this cloud server 1 inside,, be stored in this storage module 106, and read and write by this correspondence table access module 107.Yet the foregoing is only preferred embodiments of the present invention, should be as limit.
As earlier figures 1 and the framework as shown in Fig. 2, be mainly a kind of centralized architecture (Centralized), in this framework, only have this cloud server 1 and this start server 3, and by this master network switch 2, serve the all-ones subnet network system 4,5 in the system of high in the clouds simultaneously.The present invention has also disclosed another framework, is a kind of decentralized architecture (Distributed), has many these cloud servers 1 and this start server 3 of many, and can be applicable to the disclosed management-control method of the present invention simultaneously.
Please refer to Fig. 8 and Fig. 9, be respectively the system architecture diagram of the 4th specific embodiment of the present invention and the 5th specific embodiment.In the present embodiment, this master network switch 2 directly connects this Image Data storehouse 10, and does not connect this cloud server 1 and this start server 3.In the present embodiment, in each sub-network system 4,5,11,12 and start servers 31,32 of a cloud server are set respectively, take Fig. 9 as example, and this cloud server 11 and this start server 31 are in order to serve entity main frame 42, this cloud server 12 and this start server 32 in this first sub-network system 41 in order to serve the entity main frame 52 in this second sub-network system 51.
Take this first sub-network system 41 is example, when many these the first main frames 42 will be asked temporary ip address, being to these cloud server 11 requests in this first sub-network system 41, in the time of carrying out boot program, is also to be undertaken by this start server 31 in this first sub-network system 41.For example, and this cloud server 11 by upper layer network, is stored in the related data of described a plurality of the first main frames 42 (this correspondence table 100) in this Image Data storehouse 10 again.That is to say, this cloud server 11 needs this first sub-network system 41 of service with this 31 of start server, and the burden (Loading) therefore causing can be come littlely than this cloud server 1 in previous embodiment.More specifically, in cluster system, each sub-network system 4,5 is separated environment, therefore by the framework of the present embodiment, can allow the Internet resources (Traffic) of each sub-network system 4,5 stay separately Local end, can not have influence on the resource of whole network environment.In other words, even if this cloud server 11 in this first sub-network system 41 damages with this start server 31, also can not have influence on the program of other sub-network systems and upper layer network.
As mentioned before, this cloud server 1,11,12 and this start server 3,31,32, be mainly to carry out a separate procedure by arbitrary server, after starting in this program, serves as this role.Referring to Figure 10, is the system architecture diagram of the 6th specific embodiment of the present invention.In the present embodiment, this cloud server 11,12 and this start server 31,32 are not served as by the server of entity, but the sub-network switch 41,51 that hardware usefulness is higher is set in system, and carry out respectively a program 410,510 by described a plurality of sub-network switches 41,51.In the present embodiment, this program 410 has been carried out in these the first sub-network switch 41 inside, and after this program 410 starts, this the first sub-network switch 41 can be served as the role of switch, cloud server and start server simultaneously, to provide service to all the first main frames 42 in this first sub-network system 4.This program 510 has been carried out in these the second sub-network switch 51 inside, and after this program 510 starts, this the second sub-network switch 51 can be served as the role of switch, cloud server and start server simultaneously, to provide service to all the second main frames 52 in this second sub-network system 5.Such benefit is, can reduce the quantity of the management and control server in rack, to reduce the construction cost of high in the clouds system.
This cloud server 1,11,12 disclosing in the present invention, more can realize by three-layer type (3-tier) framework, so that the DNS service in a plurality of regions (zone) and distribution and the management and control of IP address and Hostname to be provided simultaneously.Three-layer type framework is the common knowledge for the art, does not repeat them here.
Referring to Figure 11, is the cloud server configuration diagram of the first specific embodiment of the present invention.This complete cloud server 1, mainly can be divided into this Image Data storehouse 10, cloud server backstage 13 and one or more cloud server foreground 14.This Image Data storehouse 10 is main as the data Layer in 3-tier framework (data tier), in order to be responsible for the storage of data; This cloud server backstage 13 is as the application layer in 3-tier framework (application tier), in order to be responsible for main logical operation; This many cloud servers foreground 14 is as the presentation layer in 3-tier framework (presentation tier), in order to be arranged on different regions, as the interface of different clients.More specifically, this many cloud servers foreground 14 is inputted in order to receive the data of each client respectively, then offers this cloud server backstage 13, and the operation result that shows this cloud server backstage 13 is to client.
By the framework in the present embodiment, this cloud server 1 is a plurality of regions of management and control simultaneously, and, also can, by the differentiation on foreground and backstage, increase the expandability of system.
The foregoing is only preferred embodiments of the present invention, non-so limit to the scope of the claims of the present invention, therefore such as use the equivalence that content of the present invention is done to change, be all in like manner all contained in scope of the present invention, close and give Chen Ming.

Claims (20)

1. a management-control method for cloud server, is connected with a main frame for this cloud server and this main frame is carried out to management and control, and this management-control method comprises:
A) receive a request of this main frame DuiIP address;
B) according to this request, distribute a temporary ip address to this main frame;
C) accept the registration action that this main frame uses this temporary IP to carry out;
D) receive the domain name system inquiry instruction that this main frame proposes after this registration action;
E) according to counter this domain name system of routine processes of separating of a domain name system, inquire instruction, to produce a domain name system, answer and reply this main frame, wherein this domain name system is answered and has been comprised that this cloud server distributes to a Hostname that this main frame uses and the information of an assigned ip address.
2. management-control method as claimed in claim 1, wherein this domain name system inquiry instruction is gethostbyaddr () instruction.
3. management-control method as claimed in claim 1, wherein this cloud server connects this main frame by the sub-network switch in a high in the clouds machine room, and this main frame connects this sub-network switch Shang Yige connectivity port, before this step a, also comprises the following steps:
A01) set up setting shelves, these setting shelves comprise a topology framework of this high in the clouds machine room, and an assigned ip address realm that can be used;
A02) according to this topology framework and this assigned ip address realm, for all distributing a Hostname and an assigned ip address in all connectivity ports on this sub-network switch; And
A03) produce a corresponding table, and described a plurality of Hostnames and described a plurality of assigned ips address are write in this correspondence table;
Wherein, this step c writes this temporary ip address in this correspondence table, and this domain name system inquiry instruction that this steps d is accepted comprises this temporary ip address, this step e inquires about this correspondence table with this domain name system inquiry instruction, to obtain this Hostname that this connectivity port that this main frame connects is assigned with and the information of this assigned ip address.
4. management-control method as claimed in claim 3, wherein these setting shelves also comprise a temporary ip address scope that can be used, this step b, by this temporary ip address scope, requires to distribute this temporary ip address to this main frame to a dynamic host control protocol server.
5. management-control method as claimed in claim 3, wherein also comprises the following steps:
F) periodically this sub-network switch is scanned; And
G) medium access of obtaining this main frame is controlled address, and this medium access control address is write in this correspondence table.
6. management-control method as claimed in claim 5, wherein this step f, by a simple network management protocol, periodically inquires this sub-network switch.
7. management-control method as claimed in claim 1, wherein this step a carries out a system while starting with installation procedure in this main frame wish by a start server, receives this request of this main frame DuiIP address.
8. management-control method as claimed in claim 7, wherein in this system, start while proceeding to a network installation step with installation procedure will be first by keyed for this main frame, and also comprises the following steps: after this step e
H) according to the information of this assigned ip address, one dynamic host control protocol server is carried out to a new element more;
I) whether judgement is surpassed a threshold value by the quantity of this main frame of keyed, or stand-by period overtime whether;
J), if be judged as YES in this step I, release is carried out this network installation step by this main frame of keyed with continuation;
K) this main frame requires scheduler according to the information of this assigned ip address to this dynamic host control protocol server; And
L) this dynamic host control protocol server is according to this new element more of this cloud server, and the requirement of this main frame, distributes this assigned ip address to use to this main frame.
9. management-control method as claimed in claim 8, wherein this step j by many of releases of multiple broadcasting mode by this main frame of keyed.
10. the management-control method that cloud server is used, this cloud server is connected with a main frame by a sub-network switch, and this main frame connects the connectivity port on this sub-network switch, and this management-control method comprises:
A) for a Hostname and an assigned ip address are all distributed in all connectivity ports on this sub-network switch, and write in a corresponding table;
B) when this main frame is undertaken a system startup with installation procedure by a start server, receive a request of this main frame DuiIP address;
C) according to this request, a dynamic host control protocol server is required to a temporary ip address;
D) this temporary ip address is distributed to this main frame and be used for carrying out this system startup and installation procedure;
E) accept the registration action that this main frame uses this temporary ip address to carry out;
F) medium access of obtaining this main frame is controlled address;
G) after accepting this registration action, this temporary ip address and this medium access control address are write in this correspondence table;
H) receive the domain name system inquiry instruction that this main frame proposes, wherein this domain name system inquiry instruction comprises this temporary ip address;
I) according to counter this correspondence table of program inquiring of separating of a domain name system, to produce a domain name system, answer and reply this main frame, wherein this domain name system is answered and has been comprised this Hostname that this connectivity port that this main frame connects is assigned with and the information of this assigned ip address.
11. management-control methods as claimed in claim 10, wherein this domain name system inquiry instruction is gethostbyaddr () instruction.
12. management-control methods as claimed in claim 10, wherein, in this sub-network switch configuration Yu Yi high in the clouds machine room, this step a also comprises the following steps:
A1) set up setting shelves, wherein these setting shelves comprise a topology framework of this high in the clouds machine room, and an assigned ip address realm that can be used;
A2) according to this topology framework and this assigned ip address realm, for all distributing this Hostname and this assigned ip address in each connectivity port on this sub-network switch; And
A3) described a plurality of Hostnames and described a plurality of assigned ips 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) by a simple network management protocol, periodically this sub-network switch is inquired; And
F2), according to inquiry result, obtain this medium access of this main frame and control address.
14. management-control methods as claimed in claim 12, wherein start while proceeding to a network installation step with installation procedure will be first by keyed for this system of this main frame, and the rear of this step I also comprises the following steps:
J) according to the information of this assigned ip address, this dynamic host control protocol server is carried out to a new element more;
K) if this more new element complete, release by this main frame of keyed continue to carry out this network installation step;
L) if surpassed a threshold value by the quantity of this main frame of keyed, release is carried out this network installation step by this main frame of keyed with continuation; And
M) if the stand-by period overtime of this main frame, release by this main frame of keyed continue to carry out this network installation step.
15. management-control methods as claimed in claim 14, wherein this step k, step l and step m by many of releases of multiple broadcasting mode by this main frame of keyed.
16. management-control methods as claimed in claim 14, wherein also comprise the following steps:
N) this main frame requires scheduler according to the information of this assigned ip address to this dynamic host control protocol server; And
O) this dynamic host control protocol server is according to this new element more of this cloud server, and the requirement of this main frame, distributes this assigned ip address to use to this main frame.
The cloud server of 17. 1 kinds of management and control Hostname JiIP addresses, in order to connect and management and control one main frame, this cloud server comprises:
One receiver module, receives a request of the DuiIP address of this main frame proposition;
One IP address processing module, obtains a temporary ip address according to this request;
One information provides module, distributes this temporary ip address temporarily to use to this main frame;
One Registering modules, accepts the registration action that this main frame uses this temporary ip address to carry out; And
One domain name system processing module, receives the domain name system inquiry instruction that this main frame proposes after this registration action, and inquires instruction according to counter this domain name system of routine processes of separating of a domain name system, to produce a domain name system, answers;
Wherein, this cloud server provides module to reply this domain name system by this information and answers to this main frame, and this domain name system is answered and comprised that this cloud server distributes to the permanent Hostname using of this main frame and the information of an assigned ip address.
18. cloud servers as claimed in claim 17, wherein this cloud server connects this main frame by the sub-network switch in a high in the clouds machine room, and this cloud server also comprises a storage module, store setting shelves, these setting shelves comprise a topology framework of this high in the clouds machine room, and the assigned ip address realm that can be used, this cloud server is by this topology framework and this assigned ip address realm, for all distributing a Hostname and an assigned ip address in all connectivity ports on this sub-network switch.
19. cloud servers as claimed in claim 18, wherein also comprise a corresponding table access module, in order to the corresponding table of access one, this correspondence table record has this temporary ip address of this main frame, one medium access is controlled address, and this connectivity port of connecting of this main frame this Hostname and this assigned ip address that are assigned with, this domain name system inquiry instruction comprises this temporary ip address, this domain name system processing module is to inquire about this correspondence table with this domain name system inquiry instruction, to obtain the information of this corresponding Hostname and this assigned ip address and to produce this domain name system, answer.
20. cloud servers as claimed in claim 17, wherein this IP address processing module is according to the information of this assigned ip address, this dynamic host control protocol server is carried out to a new element more, to require this dynamic host control protocol server to allow this main frame to use this assigned 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 true CN103516742A (en) 2014-01-15
CN103516742B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018090865A1 (en) * 2016-11-15 2018-05-24 华为技术有限公司 Method and apparatus for registering network device
CN108093091A (en) * 2016-11-22 2018-05-29 华为数字技术(苏州)有限公司 A kind of method and agent equipment for obtaining host additional information
CN113242323A (en) * 2021-07-13 2021-08-10 云宏信息科技股份有限公司 Method, storage medium, and system for automatically installing system for physical server

Citations (5)

* 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
US20120158806A1 (en) * 2010-12-20 2012-06-21 Verizon Patent And Licensing Inc. Provisioning network-attached storage

Patent Citations (5)

* 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
US20120158806A1 (en) * 2010-12-20 2012-06-21 Verizon Patent And Licensing Inc. Provisioning network-attached storage
CN102510394A (en) * 2011-10-20 2012-06-20 浪潮电子信息产业股份有限公司 Method for installing Linux system in cluster under unattended and optical-disk-medium-free conditions

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018090865A1 (en) * 2016-11-15 2018-05-24 华为技术有限公司 Method and apparatus for registering network device
CN108076025A (en) * 2016-11-15 2018-05-25 华为技术有限公司 The register method and device of the network equipment
CN108076025B (en) * 2016-11-15 2021-06-15 华为技术有限公司 Registration method and device of network equipment
CN108093091A (en) * 2016-11-22 2018-05-29 华为数字技术(苏州)有限公司 A kind of method and agent equipment for obtaining host additional information
CN108093091B (en) * 2016-11-22 2021-06-08 华为数字技术(苏州)有限公司 Method for acquiring additional information of host and proxy equipment
CN113242323A (en) * 2021-07-13 2021-08-10 云宏信息科技股份有限公司 Method, storage medium, and system for automatically installing system for physical server
CN113242323B (en) * 2021-07-13 2021-09-14 云宏信息科技股份有限公司 Method, storage medium, and system for automatically installing system for physical server

Also Published As

Publication number Publication date
CN103516742B (en) 2016-09-07

Similar Documents

Publication Publication Date Title
TWI469607B (en) Cloud server for managing hostnames and ip addresses, and management method for the cloud server
CN101330531B (en) Method for processing DHCP address allocation and DHCP relay
CN101159758B (en) Classification associated dynamic host machine configuring protocol option distribution method and device
CN102299932B (en) Backup method for DHCP (Dynamic Host Configuration Protocol) server and DHCP server
CN102394948B (en) DHCP (dynamic host configuration protocol) address distribution method and DHCP server
CN101188514A (en) Method, device and system for automatically discovering network element device
CN107896257A (en) Method, apparatus, equipment and the medium of deploying client subsystem function
CN109213584B (en) Task execution method, device, electronic equipment and computer readable storage medium
CN104113602A (en) Object name based Internet of Things device access management system and method
CN103516742A (en) A cloud server and a method of managing and controlling the same
US10243920B1 (en) Internet protocol address reassignment between virtual machine instances
WO2016202016A1 (en) Device management method, apparatus and system
CN110798507B (en) Method and system for DHCP address allocation memory
CN111404978B (en) Data storage method and cloud storage system
CN1845524A (en) Peer-to-peer network system realization process using cell dynamic division technology
US20090094599A1 (en) System and method for optimized targeting in a large scale system
CN111131529B (en) Method, device and storage medium for centralized management of address pools
CN111935334A (en) Method, system, server and readable storage medium for intelligently allocating network addresses
CN103780434A (en) Unattended operation automatic networking method of large-type distribution type system
CN110248262B (en) Automatic registration method of ONU (optical network Unit) equipment
CN112615944B (en) Method and system for master-slave synchronization of distributed DNS (Domain name System)
CN109819059A (en) Manage method, apparatus, equipment and the storage medium of the network equipment
CN109327529B (en) Distributed scanning method and system
CN105959427A (en) DNS server automatic expansion method
CN102694771A (en) A method for binding IP-MAC to gateway DHCP server side and gateway DHCP server side

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.