The method that the semi-automatic batch of a kind of isomeric group operating system is disposed
Technical field
The present invention relates to cluster operating system backup recovery field, more specifically, the automation that relates to operating system is installed.
Background technology
Frequent today that occurs, cluster is more and more at the cloud computing center, and scale is increasing, and the isomerism between cluster inside and the cluster is more and more stronger, to the maintenance management of many isomeric groups, becomes the problem that must face.
Cluster generally is divided into two kinds to the operating system maintenance management, a kind ofly is based on local CD mirroring mounting means, with operating system installation to node to be installed; Another kind is based on network optical disk mirror image mode, with mirror-image copies to a special mirror image server, and through network mode, installing operating system.All there is certain problem in this dual mode, can not fully satisfy the deployment requirements of isomeric group, the isomorphism node in the isomeric group; If use the CD mirroring network mode; Can exist installation effectiveness low, the repeated configuration complicated problems, and after this mode installs; The application software of moving in the cluster must be reinstalled deployment, causes the interruption of service that cluster provides.
Summary of the invention
Installation Network Based and file system that this paper proposes are duplicated the semi-automatic batch dispositions method of the isomeric group operating system that combines; Can be with combining based on CD mirroring deployment way and file system copy mode; Using CD mirroring network installation mode for heterogeneous nodes disposes; Dispose for the isomorphism node uses the file system copy mode, can fully satisfy many clusters of isomery allocating operating system demand like this.
The method that the semi-automatic batch of a kind of isomeric group operating system is disposed, said method comprises the steps:
S102, the branch center in isomeric group is provided with a template processing machine, is used for mirror image server and obtains mirror image;
S104, the branch center in isomeric group is provided with a CD server, is used to provide the CD mirroring build-in services;
S106, the branch center in isomeric group is provided with a mirror image server, is used to provide the build-in services of file system mirror image;
S108, the mirror image server of branch center obtains the file system mirror image from template processing machine, and node to be installed is downloaded the file system mirror image that gets access to from mirror image server automatically, and installs automatically;
S110 is provided with the center mirror image server at the center, be used for being responsible for the registration of operating system mirror image, inquiry, the indexing service of each isomery branch center cluster.
Preferably, said CD server is used for to the heterogeneous nodes in the isomeric group deployment services being provided.
Preferably, said mirror image server is used for to the isomorphism node in the isomeric group deployment services being provided.
Preferably, the server of the branch center in the said heterogeneous cluster adopts network to connect, and switch is opened the function that allows broadcasting.
Preferably, said node to be installed can adopt the P2P mode to download mirror image.
Preferably, said center mirror image server is after the registration of accepting the branch center server, and when disposing later on, the mirror image that centre mirror needs as whois lookup can directly be arrived in branch center to be disposed.
In technical scheme of the present invention, except the user is beginning to need the artificial selection server that image listing is installed, the whole automations of other process realize.Greatly improved the speed that server OS is disposed.
Description of drawings
Fig. 1 is that the isomeric group mirror image server that illustrates according to the embodiment of the invention obtains operating system image feature flow chart;
Fig. 2 illustrates isomeric group deployment server process in embodiments of the present invention.
Embodiment
According to embodiments of the invention, a kind of cluster installation method of operating system is provided, comprise S102, (branch center) is provided with a template processing machine in isomeric group, supplies mirror image server to obtain mirror image; S104, (branch center) is provided with a CD server in isomeric group, and this mirror image server provides the CD mirroring build-in services; S106, (branch center) is provided with a mirror image server in isomeric group, and this mirror image server provides the build-in services of file system mirror image; S108, the branch center mirror image server obtains the file system mirror image from template processing machine, and node to be installed is downloaded the file system mirror image that gets access to from mirror image server automatically, and installs automatically; S110 is provided with the center mirror image server at the center, this mirror image server is responsible for work such as the registration of operating system mirror image, inquiry, index of each isomery branch center cluster.
Particularly, need a station server, as branch center cluster template processing machine node, the operating system of this node has the Typical Disposition and the application of isomorphism node in the branch center, can be used as template processing machine, recovers other operating system.
The branch center needs a mirror image server, as the mirror image server of file system copy mode, provides mirror image to obtain and distribution services; This server provides the build-in services of network optical disk mirror image also as the server of CD mirroring network installation mode.
Need build a cover network in the branch center, this network connection mirror image server and template processing machine node, the deployment server that remains, and switch is opened the function that allows broadcasting.
Need the mirror image server of each isomeric group (branch center) and the mirroring service at center be coupled together through network mode; Be convenient to the branch center and the center communicates; Registration branch center Mirror Info, the branch center mirror image server also can obtain the mirror image index information of center mirror image server.
After certain branch center network was ready to, mirror image server was from template processing machine grasping manipulation system image, and stored this locality into; After treating that other all isomorphisms treat that deployment server puts in place; Isomorphism is treated the deployment server start, goes forward side by side that isomorphism treats that deployment server can get into the allocating operating system process automatically into the network installment state; This process is downloaded operating system get off from management node, installs automatically.In installation process, only need the artificial selection server that image listing is installed and get final product.For heterogeneous nodes, can accomplish installation with the mode of network installation through the CD mirroring of mirror image server.
Fig. 1 is that the mirror image server that illustrates according to the embodiment of the invention obtains operating system image feature flow chart.
With reference to Fig. 1, may further comprise the steps according to the method for the embodiment of the invention: be included in the branch center mirror image template processing machine is set, this template processing machine provides the operating system mirror image of isomorphism cluster; A mirror image server is set, and this mirror image server obtains the template processing machine mirror image and to isomorphism node to be disposed the build-in services of file system mirror image is provided, also carry CD mirroring simultaneously, and can the network installation mode, heterogeneous nodes is installed.
After the branch center mirroring service was sent the request of obtaining mirror image to template processing machine, template processing machine can allow mirror image server to be attached thereto, and the All Files under the root is sent to mirror image server.
After the branch center mirror image server gets access to mirror image, can Mirror Info be sent to the center mirror image server, and mirror image server forms the mirror image index at the center, through this index, can satisfy mirror image inquiry and share service between many isomeric groups.
Fig. 2 be the embodiment of the invention wait dispose the detailed process of node when network installation operating system, concrete steps are following:
1, center 1 mirror image 1 ... The n registration;
2, branch center n type n mirror image search;
3, branch center n 1 obtains type n mirror image from the branch center;
4, branch center n adopts P2P mechanism to dispose type n fast;
5, branch center 1 adopts P2P mechanism to utilize local mirror image to dispose type 1 fast.