Summary of the invention
The embodiment of the invention provides a kind of method, device and system that starts server, to improve the efficient that differentiation starts server.
For realizing above goal of the invention, the embodiment of the invention provides a kind of method that starts server, be used to start the server in the server group, described server group is provided with public boot partition, server is provided with proprietary boot partition in the group, wherein, described public boot partition has the required common data of Servers-all startup in the group, the required proprietary data of startup of server in described proprietary boot partition has described group, described method comprises: load described common data from described public boot partition; Load described proprietary data from described proprietary boot partition; Adopt described common data and described proprietary data to start described group of interior server.
For realizing above goal of the invention, the embodiment of the invention also provides a kind of startup of server device, be used to start the server in the server group, described device comprises: public boot partition is set up the unit, be used to described server to set up upright public boot partition, described public boot partition has the required common data of Servers-all startup in the group; Proprietary boot partition is set up the unit, is used to the interior server of group to set up proprietary boot partition, the required proprietary data of startup of server in described proprietary boot partition has described group; The common data loading unit is used for loading described common data from described public boot partition; The proprietary data loading unit is used for loading described proprietary data from described proprietary boot partition; The startup of server unit is used to adopt described common data and described proprietary data to start described group of interior server.
For realizing above goal of the invention, the embodiment of the invention also provides a kind of startup of server system, it is characterized in that described system comprises: server links to each other by network in startup of server device and the server group, described startup of server device and group; Described startup of server device is used to described server to set up upright public boot partition, and described public boot partition has the required common data of Servers-all startup in the group; Set up proprietary boot partition for server in described group, the required proprietary data of startup of server in described proprietary boot partition has described group; Load described common data from described public boot partition, load described proprietary data, adopt described common data and described proprietary data to start described group of interior server from described proprietary boot partition.
Method, device and the system of the startup server of embodiment of the invention Servers-all in the public boot partition loading group starts required common data, the required proprietary data of startup of server in the proprietary boot partition loading group, and adopting described common data and described proprietary data to start described group of interior server, the differentiation of server starts in the realization group.Method, device and the system of the startup server of the embodiment of the invention is convenient to carry out Data Update, improved system effectiveness on the basis of realizing the startup of server differentiation.
Embodiment
Specific embodiments of the present invention is described in detail below in conjunction with accompanying drawing.
Fig. 1 is the annexation schematic diagram of embodiment of the invention startup of server system.As shown in Figure 1, this system comprises a plurality of servers 10 and startup of server device 20, and the difference of required vectoring information is divided into a plurality of server groups with server 10 during according to startup, links to each other by network between server 10 and the server starting drive 20.
Fig. 2 is the corresponding relation schematic diagram of the boot partition of foundation in embodiment of the invention server 10 and the startup of server device 20.As shown in Figure 2, startup of server device 20 is set up a server boot section for every group of server, public boot partition that each server boot section is included as that Servers-all is set up in the group and a plurality of proprietary boot partition of setting up respectively for each server in the group.Described public boot partition has been stored the required common data of Servers-all startup in the group, and described proprietary boot partition has been stored the required proprietary data of each startup of server in the group.
The startup of server device of the embodiment of the invention is stored every group of public vectoring information and the interior required proprietary vectoring information of each startup of server of group that startup of server is required, can not influence other server work in the group when the proprietary data of certain server in the group upgrades; When common data upgrades in the group, only need carry out once-through operation and do not need organizing interior common data of each server update; Vectoring information is not on the same group upgraded and more can not influenced each other.Can realize the non-disk startup of differentiation, and greatly reduce the failure rate of system, improve the service efficiency of system.
Fig. 3 is one of theory diagram of embodiment of the invention startup of server device 20.As shown in Figure 3, startup of server device 20 comprises: public boot partition is set up unit 201, is used to described server to set up upright public boot partition, and described public boot partition has the required common data of Servers-all startup in the group; Proprietary boot partition is set up unit 202, is used to the interior server of group to set up proprietary boot partition respectively, the required proprietary data of startup of server in described proprietary boot partition has described group; Common data loading unit 203 is used for loading described common data from described public boot partition; Proprietary data loading unit 204 is used for loading described proprietary data from described proprietary boot partition; Startup of server unit 205 is used to adopt described common data and described proprietary data to start described group of interior server.
In an optional execution mode, this startup of server device 20 also comprises: public boot partition updating block 206 is used for upgrading the described common data of described public boot partition; Proprietary boot partition updating block 207 is used for upgrading the described proprietary data of described proprietary boot partition.
Fig. 4 be embodiment of the invention startup of server device 20 theory diagram two.In an optional execution mode, this startup of server device 20 also comprises: boot request receiving element 208, the boot request of server in being used to receive described group; Boot partition determining unit 209, the public boot partition and the proprietary boot partition of server in being used for determining described group; Proprietary boot partition judging unit 210 is used for when the proprietary boot partition of server in described group does not exist, and notifies described proprietary boot partition to set up unit 202 and sets up proprietary boot partition for described group of interior server.
It will be understood by those skilled in the art that the unit among the said apparatus embodiment both can be that hardware also can be software; Both can be unit independently mutually, and also can split mutually or merge and realize each separate unit identical functions.
The storage device of the embodiment of the invention is stored every group of public vectoring information and the interior required proprietary vectoring information of each startup of server of group that startup of server is required respectively, come server in the start-up system by described public vectoring information and described proprietary vectoring information, not only can realize the non-disk startup of differentiation, and greatly reduce the failure rate of system, improved the service efficiency of system.
Fig. 5 sets up the overall flow figure of boot section method for the embodiment of the invention.As shown in Figure 5:
Step S501, be that described server is set up upright public boot partition, described public boot partition has that Servers-all starts required common data in the group;
Step S502, set up proprietary boot partition respectively for server in the group, described proprietary boot partition has the required proprietary data of startup of server in described group;
Step S503, load described common data from described public boot partition;
Step S504, load described proprietary data from described proprietary boot partition;
Server in step S505, the described common data of employing and described proprietary data start described group.
In addition, can also comprise in the flow process of Fig. 5 the common data in the public boot partition is upgraded and the proprietary data in the proprietary boot partition is carried out the updating steps (not shown).It is pointed out that said method does not limit for the precedence relationship of step, as long as other schemes that are equal to replacement that can realize the object of the invention are all within this case claim protection range.
Fig. 6 sets up a kind of detail flowchart of boot section method for the embodiment of the invention.As shown in Figure 6:
Step S601, set up the server boot section.The server that will have public vectoring information is divided into one group, and for this group server is set up the server boot section, this server boot section comprises public boot partition and a plurality of proprietary boot partition.Stored in the public boot partition and started the required common data of this group server, as the operating system data; Proprietary boot partition has wherein been stored the required proprietary data of different server in the startup group, the application program required as different server according to different servers and difference.
Step S602, reception server boot request can be carried the identification information of server in this request.
Step S603, search the boot section at this server place according to boot request.
Does the lookup result that step S604, analytical procedure S603 obtain judge that the boot section of this server exists?
If the boot section of this server of step S605 does not exist, then prompting and guiding failure.
If the boot section of this server of step S606 exists, the further common data of Boot Server from the public boot partition of this boot section then, as carry out booting operating system.
Do you step S607, judge the proprietary boot partition that has this server in this boot section?
If there is the proprietary boot partition of this server in step S608, then from proprietary boot partition loading application programs.
Step S609, the if there is no proprietary boot partition of this server are then set up proprietary boot partition for this server, i.e. storage is used to start some proprietary datas of this server.
The proprietary boot partition that step S610, employing are set up starts this server, as loading corresponding application.
The method of setting up the boot section of the embodiment of the invention is divided into groups server, and store the required common data of every group of startup of server and the proprietary data of each server, come server in the start-up system by described public vectoring information and described proprietary vectoring information, this method not only can realize the non-disk startup of differentiation, and greatly reduce the failure rate of system, improved the service efficiency of system.
One of ordinary skill in the art will appreciate that all or part of flow process among the said method embodiment, can instruct related hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Method, device and the system of the startup server of embodiment of the invention Servers-all in the public boot partition loading group starts required common data, the required proprietary data of startup of server in the proprietary boot partition loading group, and adopt described common data and described proprietary data start described group in server.When upgrading, the proprietary data of server in the group can not influence other server work in the group; When the common data of Servers-all in the group upgrades, only need carry out once-through operation and do not need organizing interior common data of each server update; Vectoring information is not on the same group upgraded and can not influenced each other.Method, device and the system of the startup server of the embodiment of the invention is convenient to carry out Data Update, improved system effectiveness on the basis of realizing the startup of server differentiation.
Above embodiment only is used to illustrate the present invention, but not is used to limit the present invention.