CN105791362A - Server operating system deployment method and server - Google Patents

Server operating system deployment method and server Download PDF

Info

Publication number
CN105791362A
CN105791362A CN201410822795.4A CN201410822795A CN105791362A CN 105791362 A CN105791362 A CN 105791362A CN 201410822795 A CN201410822795 A CN 201410822795A CN 105791362 A CN105791362 A CN 105791362A
Authority
CN
China
Prior art keywords
server
operating system
deployment module
configuration file
source file
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
CN201410822795.4A
Other languages
Chinese (zh)
Other versions
CN105791362B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410822795.4A priority Critical patent/CN105791362B/en
Publication of CN105791362A publication Critical patent/CN105791362A/en
Application granted granted Critical
Publication of CN105791362B publication Critical patent/CN105791362B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a server operating system deployment method and a server. The method is applied in a first server. The method comprises that a deployment module judges whether there is an installation source file corresponding to an operating system and a configuration file corresponding to the operating system, thus obtaining a first judging result; when the first judging result is affirmative, the deployment module sends a first request instruction to the BMC (Baseboard Management Controller) of the first server; the BMC mounts the installation source file and the configuration file as a virtual disk driver or a virtual optical disk driver; the deployment module operates the installation source file and the configuration file, thus installing the operating system in the first server. The method provided by the invention is used for solving the technical problem in the prior art that the cluster server only can be installed through special configurations and realizing the technical effect of deploying the operating system of the cluster server conveniently and effectively without depending on special configuration conditions.

Description

A kind of server OS dispositions method and server
Technical field
The present invention relates to networking technology area, particularly to a kind of server disposition method and server.
Background technology
Extensive development along with the Internet, large-scale operator is also increasing to server count purpose demand, often update a collection of new server, it is accomplished by rapid deployment and management that new server is correlated with, such as the operating system newly purchasing server system is installed, huge yet with number of servers, it is impossible to a manual tableland is gone to install, then unattended quick large scale system is disposed and is arisen at the historic moment.
In prior art, mode to main flow most in the deployment techniques of aggregated server system is to utilize PXE (prebootexecuteenvironment, Pre-boot Execution Environment) technology, namely work under the network schemer of Client/Server, back-level server downloads image file by network from far-end server, and thus supports the start-up course of the operating system of automatic network.Specifically, all cluster servers to be installed are required for configuring corresponding PXE network interface card, and need to be equipped with a special PXE server to guide the installation of cluster server, and need professional that the mirror image of OS (OperatingSystem) carries out configuration especially and amendment and the form manual configuration configuration file with script, installation source file and configuration file just can be made to support the installation of PXE mode.
Present inventor is in invention the embodiment of the present application in the process of technical scheme, it has been found that above-mentioned prior art at least exists following technical problem:
Due in prior art, each station server in cluster server will pass through install PXE network interface card and PXE must be started as the first boot sequence, under the guiding of PXE server, server to be installed could obtain the installation source file in network and configuration file is installed, so, in prior art, there is server existence to be installed and must configure PXE network interface card and need particular server to carry out the technical problem installed to the server guiding other to be installed.
Owing in prior art, the configuration file of operating system is generally all by professional's form manual configuration with script, the mirror image of OS needs to be undertaken revising especially supporting that PXE mode starts by professional for the installation requirements of different clients, so, prior art requiring, user must possess certain Professional knowledge and just can install, and then affects the experience effect of user.
Summary of the invention
The embodiment of the present application provides a kind of server OS dispositions method and server, PXE network interface card and the technical problem needing particular server to install must be configured to guide cluster server to carry out, it is achieved that the technique effect still can easily cluster server operating system installed when being independent of PXE network interface card for solving prior art exists cluster server to be installed.
According to the first aspect of the invention, a kind of server OS dispositions method is provided, it is applied to be arranged in the first server of consolidated network N station server, wherein, described N station server also includes N-1 platform second server, N is the integer be more than or equal to 2, and described method includes: the deployment module being embedded in the BIOS of described first server judges whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, it is thus achieved that the first judged result;When described first judged result is for being, described deployment module sends the first request instruction to the BMC of described first server;Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC;Described deployment module runs described installation source file and described configuration file, described operating system to be arranged in described first server.
Optionally, run described installation source file and described configuration file in described deployment module before or after, described method also includes: the first network address of described installation source file and second network address of described configuration file are sent to described N-1 platform second server by the network interface card in described BMC by described deployment module.
Optionally, deployment module in the BIOS being embedded in described first server judges whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, before obtaining the first judged result, described method also includes: the BIOS detection of described first server obtains the first enabled instruction for starting described deployment module that user carries out;Described BIOS performs described first enabled instruction, enters described deployment module;The CPU of first server obtains the display command from the operation interface for showing described deployment module data in movable memory equipment, wherein, described operation interface comprises at least one icon characterizing operating system parameter;Described display command is processed by described CPU, so that the display unit of described first server shows the configuration interface of described installation operating system.
Optionally, after the display unit of described first server shows the configuration interface of described installation operating system, described method also includes: described CPU obtains the configuration operation that M parameter of described operating system is carried out by user on described display interface, and wherein, M is the integer be more than or equal to 1;The described configuration operation of described CPU response, generates the described configuration file corresponding with described configuration operation.
Optionally, deployment module in the described BIOS being embedded in described first server judges whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, obtain the first judged result, specifically include: described deployment module obtains from user described operation interface for disposing the Disposition Instructions of described operating system;Described deployment module performs described Disposition Instructions, to judge whether described first server obtains described installation source file and described configuration file, it is thus achieved that the first judged result.
Optionally, described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC, particularly as follows: described BMC performs described first request instruction, by the described described installation source file being positioned at first network address with to be positioned at the described configuration file carry of second network address be described disc driver or described virtual optical disk driver, wherein, described first network address is shared address or local disc drives address for the network in described first server or is arranged in the address that described network provides the server of described installation source file, described second network address is be arranged in that described hard disk user specifies or operating system acquiescence address.
Optionally, after described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC, described method also includes: described BMC generates a feedback information and is sent to described deployment module, wherein, described feedback information shows that described installation source file and described configuration file are as virtual optical disk driver and virtual disk drive carry, so that described deployment module loads described installation source file and described configuration file.
On the other hand, the embodiment of the present application also provides for a kind of server OS dispositions method, is applied to be arranged in the N-1 platform second server of consolidated network N station server, wherein, also including a first server in described N station server, N is the integer be more than or equal to 2, and described method includes:
After described second server powers on, the deployment module being embedded in the BIOS of described second server judges second network address that whether there is the first network address of installing source file corresponding with described operating system and the configuration file corresponding with described operating system sent by described first server in described network, it is thus achieved that the first judged result;When described first judged result is for being, described deployment module sends the first request instruction to the BMC of described second server;Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC;Described deployment module runs the installation source file in virtual optical disk driver and virtual disk drive and described configuration file, described operating system to be arranged in described second server.
On the other hand, the embodiment of the present application also provides for a kind of server OS dispositions method, it is applied to be arranged in the server cluster of consolidated network, described server cluster comprises a first server and N-1 platform second server, wherein, N is the integer be more than or equal to 2, described method includes: the first deployment module being embedded in the BIOS of described first server judge whether operating system described in one corresponding the source file configuration file corresponding with described operating system is installed, it is thus achieved that the first judged result;When described first judged result is for being, described deployment module sends the first request instruction to the BMC of described first server;Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by the BMC of described first server;Described deployment module runs described installation source file and described configuration file, described operating system to be arranged in described first server;The first network address of described installation source file and second network address of described configuration file are sent to described N-1 platform second server by the network interface card in the BMC of described first server;The second deployment module being embedded in the BIOS of described N-1 platform second server judges whether there is described first network address and described second network address in described network, it is thus achieved that the second judged result;When described second judged result is for being, described deployment module sends N-1 the second request instruction to the BMC of described N-1 platform second server;Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described N-1 the second request instruction by described N-1 platform second server BMC;The installation source file in described virtual optical disk driver and virtual disk drive and described configuration file is run, described operating system to be arranged in described N-1 platform second server by described second deployment module.
On the other hand, the embodiment of the present application also provides for a kind of server, including: deployment module, it is embedded in the BIOS of described server, for judging whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, it is thus achieved that the first judged result;BMC;When described first judged result is for being, described deployment module is additionally operable to send the first request instruction to described BMC;It is a virtual disk drive or a virtual optical disk driver that described BMC is additionally operable to described installation source file and described configuration file carry based on described first request instruction;Described deployment module is additionally operable to run described installation source file and described configuration file, described operating system to be arranged in described server.
Optionally, described deployment module is additionally operable to: second network address of the first network address of described installation source file and described configuration file is sent to server described in the N platform in network by the network interface card in described BMC, and wherein, N is the integer be more than or equal to 1.
Optionally, described BIOS is additionally operable to: detection obtains the first enabled instruction for starting described deployment module that user carries out;Perform described first enabled instruction, enter described deployment module.
Optionally, described server also includes: CPU, deployment module in the BIOS being embedded in described first server judges whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, before obtaining the first judged result, for obtaining the display command from the operation interface for showing described deployment module data in movable memory equipment, wherein, described operation interface comprises at least one icon characterizing operating system parameter;Described display command is processed, so that the display unit of server shows the configuration interface of described installation operating system.After the display unit of described first server shows the configuration interface of described installation operating system, for obtaining the configuration operation that M parameter of described operating system is carried out by user on described display interface, wherein, M is the integer be more than or equal to 1;Respond described configuration operation, generate the described configuration file corresponding with described configuration operation.
Optionally, described deployment module is additionally operable to: obtain from user described operation interface for disposing the Disposition Instructions of described operating system;Perform described Disposition Instructions, to judge whether described first server obtains described installation source file and described configuration file, it is thus achieved that the first judged result.
Optionally, described BMC is additionally operable to: perform described first request instruction, by the described described installation source file being positioned at first network address with to be positioned at the described configuration file carry of second network address be described disc driver or described virtual optical disk driver, wherein, described first network address is shared address or local disc drives address for the network in described first server or is arranged in the address that described network provides the server of described installation source file, and described second network address is be arranged in that described hard disk user specifies or operating system acquiescence address.
Optionally, described BMC is additionally operable to: after described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC, generate a feedback information and be sent to described deployment module, wherein, described feedback information shows that described installation source file and described configuration file are as virtual optical disk driver and virtual disk drive carry, so that described deployment module loads described installation source file and described configuration file.
Said one in the embodiment of the present application or multiple technical scheme, at least have one or more technique effects following:
nullOwing to the technical scheme in the embodiment of the present application have employed built-in deployment module in the BIOS of first server,By sending the first request instruction to the BMC of first server,It is a virtual disk drive or a virtual optical disk driver by installation source file and described configuration file carry,And before or after first server achieves operating system installation,The first network address of described installation source file and second network address of described configuration file are sent to the technological means of described N-1 platform second server by the network interface card in described BMC by deployment module,That is: the technical scheme in the embodiment of the present application,After first server in cluster server obtains installation source file and configuration file,The address installing source file and configuration file is sent to the second server in the network segment,And then,All second servers can be intercepted network by deployment module and be obtained the network address of operating system installation source file and configuration file,After obtaining installation source file and configuration file,Automatically the installation of all second server operating system is carried out.And in prior art, each station server in cluster server is required for configuration PXE network interface card, and PXE must be started as the first boot sequence, under the guiding of PXE server, all servers to be installed could obtain the installation source file in network and configuration file is installed, so, technical scheme in the embodiment of the present application can efficiently solve in prior art to be existed server to be installed and exists and must configure PXE network interface card and need particular server to carry out the technical problem installed to the server guiding other to be installed, achieve the technique effect still can conveniently and effectively cluster server operating system disposed when being independent of PXE network interface card.
nullHave employed, due to the technical scheme in the embodiment of the present application, the described installation source file that will be located in first network address and the described configuration file carry being positioned at second network address is described disc driver or described virtual optical disk driver,Wherein,First network address can be local disc drives address,And the technological means in graphical operation interface, operating system configured,And the mirror image of operating system needs to be undertaken revising especially supporting that ad hoc fashion starts by professional for different installation requirements in prior art,The configuration file of operating system is also required to by professional's form manual configuration with script,So,Technical scheme in the embodiment of the present application need not extra configuration and customization,It is capable of original image that general user can directly use operating system manufacturer to provide or CD and operating system is configured,And the effect of the configuration of system to be installed can be carried out according to the desired configuration of user,Further enhancing the experience of user.
Owing to the technical scheme in the embodiment of the present application have employed the CPU acquisition technological means from the display command at the operation interface for showing described deployment module data in movable memory equipment of first server, and then the configuration operation that M parameter of described operating system is carried out by user on described display interface can be obtained, and generate the configuration file corresponding with described configuration operation, that is: the technical scheme in the embodiment of the present application, the order of the visual graphical interfaces necessity having provided the user installation system configured is in being stored in movable memory equipment, so, technical scheme in the embodiment of the present application, do not need each in cluster server to be required for providing the user an operation interface, achieve the effect of the memory space effectively saving server B IOS chip.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of a kind of server OS dispositions method in the embodiment of the present application one;
Fig. 2 performs the method flow diagram before step S101 in the embodiment of the present application one;
Fig. 3 is the method flow diagram performing step S101 in the embodiment of the present application one;
Fig. 4 be in the embodiment of the present application one after the display unit of first server shows the configuration interface of described installation operating system method flow diagram;
Fig. 5 is the method flow diagram of a kind of server OS dispositions method in the embodiment of the present application two;
Fig. 6 is the method flow diagram of a kind of server OS dispositions method in the embodiment of the present application three;
Fig. 7 is the structural representation of a kind of server in the embodiment of the present application four.
Detailed description of the invention
The embodiment of the present application provides a kind of server OS dispositions method and server, PXE network interface card and the technical problem needing particular server to install must be configured to guide cluster server to carry out, it is achieved that the technique effect still can conveniently and effectively cluster server operating system disposed when being independent of PXE network interface card for solving prior art exists cluster server to be installed.
Technical scheme in the embodiment of the present application is solve above-mentioned technical problem, and general thought is as follows:
A kind of server OS dispositions method, it is applied to be arranged in the first server of consolidated network N station server, wherein, described N station server also includes N-1 platform second server, N is the integer be more than or equal to 2, described method includes: the deployment module being embedded in the BIOS of described first server judges whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, it is thus achieved that the first judged result;When described first judged result is for being, described deployment module sends the first request instruction to the BMC of described first server;Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC;Described deployment module runs described installation source file and described configuration file, described operating system to be arranged in described first server.
nullOwing to the technical scheme in the embodiment of the present application have employed built-in deployment module in the BIOS of first server,By sending the first request instruction to the BMC of first server,It is a virtual disk drive or a virtual optical disk driver by installation source file and described configuration file carry,And before or after first server achieves operating system installation,The first network address of described installation source file and second network address of described configuration file are sent to the technological means of described N-1 platform second server by the network interface card in described BMC by deployment module,That is: the technical scheme in the embodiment of the present application,After first server in cluster server obtains installation source file and configuration file,The address installing source file and configuration file is sent to the second server in the network segment,And then,All second servers can be intercepted network by deployment module and be obtained the network address of operating system installation source file and configuration file,After obtaining installation source file and configuration file,Automatically the installation of all second server operating system is carried out.And in prior art, each station server in cluster server is required for configuration PXE network interface card, and PXE must be started as the first boot sequence, under the guiding of PXE server, all servers to be installed could obtain the installation source file in network and configuration file is installed, so, technical scheme in the embodiment of the present application can efficiently solve in prior art to be existed server to be installed and exists and must configure PXE network interface card and need particular server to carry out the technical problem installed to the server guiding other to be installed, achieve the technique effect still can easily cluster server operating system installed when being independent of PXE network interface card.
In order to be better understood from technique scheme, below in conjunction with Figure of description and specific embodiment, technique scheme is described in detail.
Embodiment one
The embodiment of the present application provides a kind of server OS dispositions method to be applied to be arranged in the first server of consolidated network N station server, wherein, also includes N-1 platform second server in described N station server, and N is the integer be more than or equal to 2.In the description of the embodiment of the present application, " first " and " second " in first server and second server for descriptive purposes, instruction or hint relative importance can not be interpreted as, for the ordinary skill in the art, first server and second server can be the identical servers of all configurations, it is also possible to be that configuration exists some Differentiated services devices.
Refer to Fig. 1, the embodiment of the present application provides a kind of server OS dispositions method, and operating system in the embodiment of the present application can be Linux, Unix, Windows, certainly can also is that other operating system, does not here just illustrate one by one.Described server OS dispositions method is applied to be arranged in the first server of consolidated network N station server, wherein, also includes N-1 platform second server in described N station server, and N is the integer be more than or equal to 2.Such as, if cluster server comprises 100 station servers, first pass through the management network port (this network interface is under the jurisdiction of the BMC system on server) that Dynamic Host Configuration Protocol server is this 100 station server and distribute network address, this 100 station server just can be carried out data transmission by management network port, wherein, any one station server in 100 station servers can be considered first server, and remaining 99 station server can be considered second server.In the following embodiments, by dispose (SuSE) Linux OS at the cluster server comprising 100 station servers, where it is assumed that the IP address that first server is assigned to is 193.323.1.2 is that example illustrates.
In the embodiment of the present application, concrete dispositions method includes:
S101: be embedded in the BIOS (BasicInputandOutputsystem of described first server, basic input output system) in deployment module judge whether corresponding with operating system source file and the configuration file corresponding with described operating system to be installed, it is thus achieved that the first judged result;
S102: when described first judged result is for being, described deployment module sends the first request instruction to the BMC (BaseboardManagementController, baseboard management controller) of described first server;
Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by S103: described BMC;
S104: described deployment module runs described installation source file and described configuration file, described operating system to be arranged in described first server.
Refer to Fig. 2, in the embodiment of the present application, before performing step S101, further comprise the steps of:
S201: the BIOS detection of described first server obtains the first enabled instruction for starting described deployment module that user carries out;
S202: described BIOS performs described first enabled instruction, enters described deployment module;
S203: the CPU of first server obtains the display command from the operation interface for showing described deployment module data in movable memory equipment, wherein, described operation interface comprises at least one icon characterizing operating system parameter;
S204: described display command is processed by described CPU, so that the display unit of described first server shows the configuration interface of described installation operating system.
Refer to Fig. 3, in the embodiment of the present application, the process that implements of step S101 is:
S301: described deployment module obtains from user described operation interface for disposing the Disposition Instructions of described operating system;
S302: described deployment module performs described Disposition Instructions, to judge whether described first server obtains described installation source file and described configuration file, it is thus achieved that the first judged result.
Continue the example above, in specific implementation process, before performing step S101, the process that implements of step S201~S204 is: first server is carried out before (SuSE) Linux OS installation by user, first, user can send the order calling deployment module, comprise two kinds of situations in the embodiment of the present application, the first situation, the order calling deployment module can be stored in moveable storage medium, such as USB, portable hard drive, memory stick, SD card etc., here just differing one schematically illustrates.Certainly, those skilled in the art can be as required, moveable storage device is replaced by such as memory element such as storage chips, storage chip is built on server master board and starts by arranging corresponding quickly starting mode, and then, first server CPU can obtain in this storage chip for showing the display command at the operation interface disposing module data, it is possible to directly invoke deployment program by quickly starting mode and first server is individually disposed.
By mobile memory medium is accessed in first server, user can start first server BIOS, entering the BIOS of first server, then BIOS acquisition user starts the instruction of deployment module in BIOS, starts deployment module by running the order calling deployment module.Second case, the order calling deployment module can pass through specific setting, such as, in the server production last test stage, one flag bit is set in CMOS, BIOS detects that in upper once electrifying startup process this flag bit will automatically load deployment module after POST completes, and this flag bit is removed or by an IOpin on BMC configuration mainboard, BIOS detects that in start-up course this pin is that high level just loads deployment module automatically, and send commands to BMC pin foot is set low level, thus can power on after POST completes at the BIOS of first server, automatically deployment module is started, certainly, those skilled in the art can also as desired to carry out other to start setting, just differ at this and one schematically illustrate.
In embodiments herein, for the first situation, first server CPU obtains from movable memory equipment, the display command for showing the operation interface disposing module data in USB, portable hard drive etc., after this order is processed by CPU, namely deployment module data are shown on a patterned operation interface, this patterned operation interface can provide and carry out system relevant parameter to be installed, path such as the source of installing, disk partition, area, language, user name password, the setting of network settings parameter etc..
Refer to Fig. 4, after the display unit of first server shows the configuration interface of described installation operating system, in specific implementation process, further comprise the steps of:
S401: described CPU obtains the configuration operation that M parameter of described operating system is carried out by user on described display interface, and wherein, M is the integer be more than or equal to 1;
S402: the described CPU described configuration operation of response, generates the described configuration file corresponding with described configuration operation.
Next, the first step, the CPU of first server obtains the configuration operation that multiple parameters of operating system are carried out by user display interface user, the effect carrying out configuration operation is to provide the information of needs during startup of server, it it is such as the path in designated mounting source, the disk of server is carried out subregion, the area at user place is set, the arranging of the language of use, password and network parameter, just do not illustrate one by one at this.It is intended to obtain under the in the case of of similarly configuring for the Servers-all in cluster server, only the operating system of a station server can be configured, under first server and the distinguishing condition of other server configures, parameter in other servers can as required, be adjusted by those skilled in the art.Second step, CPU responds the configuration operation of user, and first server generates and operates corresponding configuration file with configuration, it is possible to be saved in the data source file of first server or other position.
It follows that deployment module obtains user, and first server carries out the instruction of Linux deployment on operation interface, deployment module performs described Disposition Instructions, to judge whether described first server obtains installation source file and configuration file, it is thus achieved that the first judged result.Specifically, deployment module installs the IP address of source file and configuration file by detecting linux system, judges the installation source file and the configuration file that whether obtain linux system in server.
After performing step S101, when the first judged result is for being, perform step S102, deployment module sends the instruction installing source file and configuration file of an acquisition request (SuSE) Linux OS to the BMC in first server, firmware BMC in the embodiment of the present application supports that media redirect, it is possible to be local CD-ROM drive or local USB disk unit use by the mirror image of the (SuSE) Linux OS of far-end or (SuSE) Linux OS disk file carry.
After performing step S102, performing step S103: described BMC is a virtual disk drive or a virtual optical disk driver based on described first request instruction by described installation source file and described configuration file carry, in the embodiment of the present application, the process that implements of step S103 is:
Described BMC performs described first request instruction, by the described described installation source file being positioned at first network address with to be positioned at the described configuration file carry of second network address be described disc driver or described virtual optical disk driver, wherein, described first network address is shared address or local disc drives address for the network in described first server or is arranged in the address that described network provides the server of described installation source file, and described second network address is be arranged in that described hard disk user specifies or operating system acquiescence address.
In the embodiment of the present application, first network address and (SuSE) Linux OS install the address of address that the address of source file can be fie share directory in first server or local CD-ROM drive, and then, the scheme in the embodiment of the present application can directly use the original image or CD that (SuSE) Linux OS manufacturer provides.Certainly can also is that in network the address of the file server that described installation source file is provided.The address of second network address and (SuSE) Linux OS configuration file, can be that user is when carrying out configuration operation, the given network address preserved by (SuSE) Linux OS configuration file, can also be the storage address of Server Default when the storage address of the not specified configuration file of user.Certainly, first network address here and second network address can be the identical network address or for the different network address, are not specifically limited in this application.In the embodiment of the present application, it is assumed that the network address that installation source file and configuration file are preserved by user is C :/.../path/ installs source file & configuration file .iso193.323.1.2.After deployment module have sent the instruction obtaining (SuSE) Linux OS installation source file and (SuSE) Linux OS configuration file to BMC, BMC performs this instruction, will be located in the (SuSE) Linux OS of the first address installation source file and two address (SuSE) Linux OS configuration file carry is a local virtual disk drive or the use of virtual optical disk driver.
In specific implementation process, after performing step S103, also include: described BMC generates a feedback information and is sent to described deployment module, wherein, described feedback information shows that described installation source file and described configuration file are as virtual optical disk driver and virtual disk drive carry, so that described deployment module loads described installation source file and described configuration file.And performing step S104: described deployment module runs described installation source file and described configuration file, described operating system to be arranged in described first server.
In the embodiment of the present application, install after source file and two address (SuSE) Linux OS configuration file carry be a local virtual disk drive at the (SuSE) Linux OS that will be located in the first address, BMC generates a feedback information and is sent to deployment module, feedback information shows that described installation source file and described configuration file are as virtual optical disk driver and virtual disk drive carry, after deployment module obtains feedback information, it is possible to loading Linux operating system installs source file and configuration file.
Before or after performing step S104, also include:
The first network address of described installation source file and second network address of described configuration file are sent to described N-1 platform second server by the network interface card in described BMC by described deployment module.nullIn specific implementation process,After first server obtains and installs (SuSE) Linux OS installation source file and configuration file,Complete any time before (SuSE) Linux OS is installed,Or after first server installs (SuSE) Linux OS,(SuSE) Linux OS is installed source file and profile address C by the deployment module of first server :/.../path/ installs source file & configuration file .iso193.323.1.2 and is sent to other 99 second servers by the management network port in BMC,Certainly,Those of ordinary skill in the art are understood that,It is a preferred embodiment in the application that management network port in the embodiment of the present application embeds in BMC,In actual application,Those of ordinary skill in the art can arrange BMC share the network interface card in use system as management network port according to the inner mold of network interface card and other needs.
Embodiment two
Based on the inventive concept that server OS dispositions method a kind of with the embodiment of the present application one is same, Fig. 5 provides a kind of server OS dispositions method of the embodiment of the present application, it is applied to be arranged in the server cluster of consolidated network, similarly, operating system in the embodiment of the present application can be Linux, Unix, Windows, certainly can also is that other operating system, here just do not illustrate one by one.It is applied to be arranged in the N-1 platform second server of consolidated network N station server, wherein, described N station server also includes a first server, N is the integer be more than or equal to 2, such as, if cluster server comprises 100 station servers, it is this 100 station server distribution network address by Dynamic Host Configuration Protocol server, this 100 station server just can be carried out data transmission by network interface card, wherein, any one station server in 100 station servers can be considered first server, and remaining 99 station server can be considered second server.In the following embodiments, will remaining 99 station server be can be considered second server is disposed (SuSE) Linux OS and illustrated.
In implementing process, user, any one station server in 100 station servers is configured, this station server is first server, after first server obtains installation source file and the configuration file of (SuSE) Linux OS, second network address of the first network address and configuration file of installing source file will be broadcast in network by the deployment module of first server, assume that the installation source file of (SuSE) Linux OS and the IP address of configuration file are C :/.../path/ installs source file & configuration file .iso193.323.1.2, for 99 second servers, dispositions method step in the present embodiment includes:
S501: after described second server powers on, the deployment module being embedded in the BIOS of described second server judges second network address that whether there is the first network address of installing source file corresponding with described operating system and the configuration file corresponding with described operating system sent by described first server in described network, it is thus achieved that the first judged result;
S502: when described first judged result is for being, described deployment module sends the first request instruction to the BMC of described second server;
Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by S503: described BMC;
S504: described deployment module runs the installation source file in virtual optical disk driver and virtual disk drive and described configuration file, described operating system to be arranged in described second server.
In the embodiment of the present application, in 99 second servers, the Starting mode of deployment module can pass through specific setting, such as, in the server production last test stage, one flag bit is set in CMOS, BIOS detects that in upper once electrifying startup process this flag bit will automatically load deployment module after POST completes, and this flag bit is removed or by an IOpin on BMC configuration mainboard, BIOS detects that in start-up course this pin is that high level just loads deployment module automatically, and send commands to BMC pin foot is set low level, thus can power on after POST completes at the BIOS of first server, automatically deployment module is started.Those skilled in the art can also be as required, storage chip is built on server master board by second server and starts by arranging corresponding quickly starting mode, and then, second server CPU can obtain in this storage chip for showing the display command at the operation interface disposing module data, it is possible to directly invoke deployment program by quickly starting mode and separate unit second server is individually disposed.
Starting in second server after deployment module, deployment module installs the IP address of source file and configuration file by detecting (SuSE) Linux OS, judges that whether there is (SuSE) Linux OS in the network at place installs source file and configuration file.When there is (SuSE) Linux OS installation source file and configuration file in a network, deployment module sends request of loading (SuSE) Linux OS to the BMC of second server and installs the instruction of source file and configuration file, will be located in C :/... the (SuSE) Linux OS of/path/ installation source file & configuration file .iso193.323.1.2 installs source file and configuration file carry is a virtual disk drive or a virtual optical disk driver, and then automatically run the installation source file in virtual optical disk driver or virtual disk drive and described configuration file, (SuSE) Linux OS is just arranged in 99 second servers.And then, 99 second servers can realize automatically obtaining and install (SuSE) Linux OS and install source file and configuration file realizes the installation of (SuSE) Linux OS.
Embodiment three
Based on the inventive concept that server OS dispositions method a kind of with the embodiment of the present application one is same, it is the method flow diagram of a kind of server OS dispositions method in the embodiment of the present application two that Fig. 6 provides Fig. 5 of the embodiment of the present application;The embodiment of the present application provides a kind of server OS dispositions method, and operating system in the embodiment of the present application can be Linux, Unix, Windows, certainly can also is that other operating system, does not here just illustrate one by one.It is applied to be arranged in the server cluster of consolidated network, described server cluster comprises a first server and N-1 platform second server, wherein, N is the integer be more than or equal to 2, such as, if cluster server comprises 100 station servers, first pass through Dynamic Host Configuration Protocol server for this 100 station server distribution network address, this 100 station server just can be carried out data transmission by network interface card, wherein, any one station server in 100 station servers can be considered first server, and remaining 99 station server can be considered second server.In the following embodiments, by illustrate at the cluster server deployment (SuSE) Linux OS comprising 100 station servers.
In the embodiment of the present application, concrete dispositions method includes:
S601: the first deployment module being embedded in the BIOS of described first server judge whether operating system described in one corresponding the source file configuration file corresponding with described operating system is installed, it is thus achieved that the first judged result;
S602: when described first judged result is for being, described deployment module sends the first request instruction to the BMC of described first server;
Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by S603: the BMC of described first server;
S604: described deployment module runs described installation source file and described configuration file, described operating system to be arranged in described first server;
S605: the first network address of described installation source file and second network address of described configuration file are sent to described N-1 platform second server by the network interface card in the BMC of described first server;
S606: the second deployment module being embedded in the BIOS of described N-1 platform second server judges whether there is described first network address and described second network address in described network, it is thus achieved that the second judged result;
S607: when described second judged result is for being, described deployment module sends N-1 the second request instruction to the BMC of described N-1 platform second server;
Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described N-1 the second request instruction by S608: described N-1 platform second server BMC;
S609: run the installation source file in described virtual optical disk driver and virtual disk drive and described configuration file by described second deployment module, described operating system to be arranged in described N-1 platform second server.
Specifically, first server deployment module installs the IP address of source file and configuration file by detecting linux system, judges the installation source file and the configuration file that whether obtain linux system in first server.Assume that the network address that installation source file and configuration file are preserved by user is C :/.../path/ installs source file & configuration file .iso193.323.1.2, and first server IP is: 193.323.1.2, then first server deployment module judges to exist in first server to install source file and configuration file.When the first judged result is for being, the deployment module of first server sends the instruction installing source file and configuration file of an acquisition request (SuSE) Linux OS to the BMC in first server, firmware BMC in the embodiment of the present application supports that media redirect, can be local CD-ROM drive or local USB disk unit use by the mirror image of the (SuSE) Linux OS of far-end or (SuSE) Linux OS disk file carry, naturally it is also possible to directly the mirror image of local (SuSE) Linux OS or (SuSE) Linux OS disk file are carried out carry.After deployment module have sent the instruction obtaining (SuSE) Linux OS installation source file and (SuSE) Linux OS configuration file to BMC, BMC performs this instruction, will be located in C :/... it is a local virtual disk drive or the use of virtual optical disk driver that/path/ installs source file & configuration file .iso193.323.1.2 carry.Deployment module runs described installation source file and described configuration file, to be arranged in first server by (SuSE) Linux OS.After first server deployment module obtains installation source file and the configuration file of (SuSE) Linux OS, the deployment module that will pass through first server will install the network address and the C of source file and configuration file :/.../path/ installs source file & configuration file .iso193.323.1.2 and is broadcast in network, 99 second servers in network power on after POST completes at BIOS, automatically start the deployment module of second server.Next, second server starts after deployment module, the deployment module of second server installs the IP address of source file and configuration file by detecting (SuSE) Linux OS, judges that whether there is (SuSE) Linux OS in the network at place installs source file and configuration file.When there is (SuSE) Linux OS installation source file and configuration file in a network, the deployment module of second server sends request of loading (SuSE) Linux OS to the BMC of second server and installs the instruction of source file and configuration file, will be located in C :/... the (SuSE) Linux OS of/path/ installation source file & configuration file .iso193.323.1.2 installs source file and configuration file carry is a virtual disk drive or a virtual optical disk driver, and then by the installation source file in operation virtual optical disk driver automatically or virtual disk drive and described configuration file, (SuSE) Linux OS is just arranged in 99 second servers.So, after in 100 station servers any one of user carries out configuring and install, all the other 99 station servers can realize automatically obtaining and install (SuSE) Linux OS and install source file and configuration file, namely user has only to First server is configured and the installation of operating system, the process of follow-up 99 station server allocating operating systems does not need the intervention of user, just can realize the installation to the operating system in all cluster servers.
Certain those skilled in the art can be as required, the graphics display command of deployment module can be stored in this cluster server mainboard by storage chip upper, and start by arranging corresponding quickly starting mode, and then, in cluster server, every station server directly invokes deployment program such as through shortcut and individually disposes.
Embodiment four
Based on the inventive concept same with a kind of information processing method in the embodiment of the present application one, it is illustrated in figure 7 a kind of server that the embodiment of the present application provides, including:
Deployment module 101, it is embedded in the BIOS (BasicInputandOutputsystem of described server, basic input output system) in, for judging whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, it is thus achieved that the first judged result;
BMC (BaseboardManagementController, baseboard management controller);
When described first judged result is for being, deployment module 101 is additionally operable to send the first request instruction to BMC;
It is a virtual disk drive or a virtual optical disk driver 103 that described BMC is additionally operable to described installation source file and described configuration file carry based on described first request instruction;
Deployment module 101 is additionally operable to run described installation source file and described configuration file, described operating system to be arranged in described server.
Optionally, deployment module 101 is additionally operable to:
Second network address of the first network address of described installation source file and described configuration file is sent to the N-1 platform second server 20 in network by the network interface card in described BMC, and wherein, N is the integer be more than or equal to 2.
Optionally, described BIOS is additionally operable to: detection obtains the first enabled instruction for starting deployment module 101 that user carries out;Perform described first enabled instruction, enter described deployment module 101.
Optionally, server 10 also includes:
CPU, deployment module 101 in the BIOS being embedded in described first server judges whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, before obtaining the first judged result, for obtaining the display command from the operation interface for showing deployment module 101 data in movable memory equipment or built-in storage chip 102, wherein, described operation interface comprises at least one icon characterizing operating system parameter;
Described display command is processed, so that the display unit of server shows the configuration interface of described installation operating system.
After the display unit of described first server shows the configuration interface of described installation operating system, for obtaining the configuration operation that M parameter of described operating system is carried out by user on described display interface, wherein, M is the integer be more than or equal to 1;
Respond described configuration operation, generate the described configuration file corresponding with described configuration operation.
Optionally, deployment module 101 is additionally operable to:
Obtain from user described operation interface for disposing the Disposition Instructions of described operating system;
Perform described Disposition Instructions, to judge whether described first server obtains described installation source file and described configuration file, it is thus achieved that the first judged result.
Optionally, described BMC is additionally operable to: perform described first request instruction, by the described described installation source file being positioned at first network address with to be positioned at the described configuration file carry of second network address be disc driver or virtual optical disk driver 103, wherein, described first network address is shared address or local disc drives address for the network in described first server or is arranged in the address that described network provides the server of described installation source file, and described second network address is be arranged in that described hard disk user specifies or operating system acquiescence address.
Optionally, described BMC is additionally operable to: after described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver 103 based on described first request instruction by described BMC, generate a feedback information and be sent to deployment module 101, wherein, described feedback information shows that described installation source file and described configuration file are as virtual optical disk driver and virtual disk drive 103 carry, so that deployment module 101 loads described installation source file and described configuration file.
By the one or more technical schemes in the embodiment of the present application, it is possible to achieve following one or more technique effects:
nullOwing to the technical scheme in the embodiment of the present application have employed built-in deployment module in the BIOS of first server,By sending the first request instruction to the BMC of first server,It is a virtual disk drive or a virtual optical disk driver by installation source file and described configuration file carry,And before or after first server achieves operating system installation,The first network address of described installation source file and second network address of described configuration file are sent to the technological means of described N-1 platform second server by the network interface card in described BMC by deployment module,That is: the technical scheme in the embodiment of the present application,After first server in cluster server obtains installation source file and configuration file,The address installing source file and configuration file is sent to the second server in the network segment,And then,All second servers can be intercepted network by deployment module and be obtained the network address of operating system installation source file and configuration file,After obtaining installation source file and configuration file,Automatically the installation of all second server operating system is carried out.And in prior art, each station server in cluster server is required for configuration PXE network interface card, and PXE must be started as the first boot sequence, under the guiding of PXE server, all servers to be installed could obtain the installation source file in network and configuration file is installed, so, technical scheme in the embodiment of the present application can efficiently solve in prior art to be existed server to be installed and exists and must configure PXE network interface card and need particular server to carry out the technical problem installed to the server guiding other to be installed, achieve the technique effect still can conveniently and effectively cluster server operating system disposed when being independent of PXE network interface card.
nullHave employed, due to the technical scheme in the embodiment of the present application, the described installation source file that will be located in first network address and the described configuration file carry being positioned at second network address is described disc driver or described virtual optical disk driver,Wherein,First network address can be local disc drives address,And the technological means in graphical operation interface, operating system configured,And the mirror image of operating system needs to be undertaken revising especially supporting that ad hoc fashion starts by professional for different installation requirements in prior art,The configuration file of operating system is also required to by professional's form manual configuration with script,So,Technical scheme in the embodiment of the present application need not extra configuration and customization,It is capable of original image that general user can directly use operating system manufacturer to provide or CD and operating system is configured,And the effect of the configuration of system to be installed can be carried out according to the desired configuration of user,Further enhancing the experience of user.
Owing to the technical scheme in the embodiment of the present application have employed the CPU acquisition technological means from the display command at the operation interface for showing described deployment module data in movable memory equipment of first server, and then the configuration operation that M parameter of described operating system is carried out by user on described display interface can be obtained, and generate the configuration file corresponding with described configuration operation, that is: the technical scheme in the embodiment of the present application, the order of the visual graphical interfaces necessity having provided the user installation system configured is in being stored in movable memory equipment, so, technical scheme in the embodiment of the present application, do not need each in cluster server to be required for providing the user an operation interface, achieve the effect of the memory space effectively saving server B IOS chip.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Specifically, the computer program instructions that a kind of server OS dispositions method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with a kind of server OS dispositions method in storage medium is read by an electronic equipment or be performed, comprise the steps:
The deployment module being embedded in the BIOS of described first server judges whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, it is thus achieved that the first judged result;
When described first judged result is for being, described deployment module sends the first request instruction to the BMC of described first server;
Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC;
Described deployment module runs described installation source file and described configuration file, described operating system to be arranged in described first server.
Optionally, in described storage medium storage and step: before or after described deployment module runs described installation source file and described configuration file, corresponding computer instruction is specifically being performed in process, also comprises the steps: that the first network address of described installation source file and second network address of described configuration file are sent to described N-1 platform second server by the network interface card in described BMC by described deployment module.
Optionally, in described storage medium storage with step: the deployment module in the BIOS being embedded in described first server judges whether corresponding with operating system to install source file and the configuration file corresponding with described operating system, before obtaining the first judged result, corresponding computer instruction is specifically being performed in process, also comprises the steps: that the BIOS detection of described first server obtains the first enabled instruction for starting described deployment module that user carries out;Described BIOS performs described first enabled instruction, enters described deployment module;The CPU of first server obtains the display command from the operation interface for showing described deployment module data in movable memory equipment, wherein, described operation interface comprises at least one icon characterizing operating system parameter;Described display command is processed by described CPU, so that the display unit of described first server shows the configuration interface of described installation operating system.
Optionally, in described storage medium storage and step: after the display unit of described first server shows the configuration interface of described installation operating system, also comprise the steps: that described CPU obtains the configuration operation that M parameter of described operating system is carried out by user on described display interface, wherein, M is the integer be more than or equal to 1;The described configuration operation of described CPU response, generates the described configuration file corresponding with described configuration operation.
Optionally, in described storage medium storage with step: described in be embedded in the BIOS of described first server deployment module judge whether corresponding with operating system source file and the configuration file corresponding with described operating system to be installed, obtain the first judged result, corresponding computer instruction is specifically being performed in process, specifically includes following steps: described deployment module obtains from user described operation interface for disposing the Disposition Instructions of described operating system;Described deployment module performs described Disposition Instructions, to judge whether described first server obtains described installation source file and described configuration file, it is thus achieved that the first judged result.
nullOptionally,In described storage medium storage and step: described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC,Corresponding computer instruction is specifically being performed in process,Specifically include following steps: described BMC performs described first request instruction,By the described described installation source file being positioned at first network address with to be positioned at the described configuration file carry of second network address be described disc driver or described virtual optical disk driver,Wherein,Described first network address is shared address or local disc drives address for the network in described first server or is arranged in the address that described network provides the server of described installation source file,Described second network address is be arranged in that described hard disk user specifies or operating system acquiescence address.
Optionally, in described storage medium storage and step: after described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC, corresponding computer instruction is specifically being performed in process, specifically include following steps: described BMC generates a feedback information and is sent to described deployment module, wherein, described feedback information shows that described installation source file and described configuration file are as virtual optical disk driver and virtual disk drive carry, so that described deployment module loads described installation source file and described configuration file.
Although preferred embodiments of the present invention have been described, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art.So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (16)

1. a server OS dispositions method, is applied to be arranged in the first server of consolidated network N station server, wherein, also includes N-1 platform second server in described N station server, and N is the integer be more than or equal to 2, and described method includes:
It is embedded in the BIOS (BasicInputandOutputsystem of described first server, basic input output system) in deployment module judge whether corresponding with operating system source file and the configuration file corresponding with described operating system to be installed, it is thus achieved that the first judged result;
When described first judged result is for being, described deployment module sends the first request instruction to the BMC (BaseboardManagementController, baseboard management controller) of described first server;
Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC;
Described deployment module runs described installation source file and described configuration file, described operating system to be arranged in described first server.
2. the method for claim 1, it is characterised in that run described installation source file and described configuration file in described deployment module before or after, described method also includes:
The first network address of described installation source file and second network address of described configuration file are sent to described N-1 platform second server by the network interface card in described BMC by described deployment module.
3. method as claimed in claim 2, it is characterized in that, deployment module in the BIOS being embedded in described first server judges whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, before obtaining the first judged result, described method also includes:
The BIOS detection of described first server obtains the first enabled instruction for starting described deployment module that user carries out;
Described BIOS performs described first enabled instruction, enters described deployment module;
The CPU of first server obtains the display command from the operation interface for showing described deployment module data in movable memory equipment, wherein, described operation interface comprises at least one icon characterizing operating system parameter;
Described display command is processed by described CPU, so that the display unit of described first server shows the configuration interface of described installation operating system.
4. method as claimed in claim 3, it is characterised in that after the display unit of described first server shows the configuration interface of described installation operating system, described method also includes:
Described CPU obtains the configuration operation that M parameter of described operating system is carried out by user on described display interface, and wherein, M is the integer be more than or equal to 1;
The described configuration operation of described CPU response, generates the described configuration file corresponding with described configuration operation.
5. method as claimed in claim 4, it is characterized in that, deployment module in the described BIOS being embedded in described first server judges whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, it is thus achieved that the first judged result, specifically includes:
Described deployment module obtains from user described operation interface for disposing the Disposition Instructions of described operating system;
Described deployment module performs described Disposition Instructions, to judge whether described first server obtains described installation source file and described configuration file, it is thus achieved that the first judged result.
6. the method as described in claim as arbitrary in claim 1-5, it is characterised in that described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC, particularly as follows:
Described BMC performs described first request instruction, by the described described installation source file being positioned at first network address with to be positioned at the described configuration file carry of second network address be described disc driver or described virtual optical disk driver, wherein, described first network address is shared address or local disc drives address for the network in described first server or is arranged in the address that described network provides the server of described installation source file, and described second network address is be arranged in that described hard disk user specifies or operating system acquiescence address.
7. method as claimed in claim 6, it is characterised in that after described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC, described method also includes:
Described BMC generates a feedback information and is sent to described deployment module, wherein, described feedback information shows that described installation source file and described configuration file are as virtual optical disk driver and virtual disk drive carry, so that described deployment module loads described installation source file and described configuration file.
8. a server OS dispositions method, is applied to be arranged in the N-1 platform second server of consolidated network N station server, wherein, also includes a first server in described N station server, and N is the integer be more than or equal to 2, and described method includes:
After described second server powers on, the deployment module being embedded in the BIOS of described second server judges second network address that whether there is the first network address of installing source file corresponding with described operating system and the configuration file corresponding with described operating system sent by described first server in described network, it is thus achieved that the first judged result;
When described first judged result is for being, described deployment module sends the first request instruction to the BMC of described second server;
Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC;
Described deployment module runs the installation source file in virtual optical disk driver and virtual disk drive and described configuration file, described operating system to be arranged in described second server.
9. a server OS dispositions method, is applied to be arranged in the server cluster of consolidated network, comprises a first server and N-1 platform second server in described server cluster, and wherein, N is the integer be more than or equal to 2, and described method includes:
The first deployment module being embedded in the BIOS of described first server judge whether operating system described in one corresponding the source file configuration file corresponding with described operating system is installed, it is thus achieved that the first judged result;
When described first judged result is for being, described deployment module sends the first request instruction to the BMC of described first server;
Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by the BMC of described first server;
Described deployment module runs described installation source file and described configuration file, described operating system to be arranged in described first server;
The first network address of described installation source file and second network address of described configuration file are sent to described N-1 platform second server by the network interface card in the BMC of described first server;
The second deployment module being embedded in the BIOS of described N-1 platform second server judges whether there is described first network address and described second network address in described network, it is thus achieved that the second judged result;
When described second judged result is for being, described deployment module sends N-1 the second request instruction to the BMC of described N-1 platform second server;
Described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described N-1 the second request instruction by described N-1 platform second server BMC;
The installation source file in described virtual optical disk driver and virtual disk drive and described configuration file is run, described operating system to be arranged in described N-1 platform second server by described second deployment module.
10. a server, including:
Deployment module, it is embedded in the BIOS (BasicInputandOutputsystem of described server, basic input output system) in, for judging whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, it is thus achieved that the first judged result;
BMC (BaseboardManagementController, baseboard management controller);
When described first judged result is for being, described deployment module is additionally operable to send the first request instruction to described BMC;
It is a virtual disk drive or a virtual optical disk driver that described BMC is additionally operable to described installation source file and described configuration file carry based on described first request instruction;
Described deployment module is additionally operable to run described installation source file and described configuration file, described operating system to be arranged in described server.
11. server as claimed in claim 10, it is characterised in that described deployment module is additionally operable to:
Second network address of the first network address of described installation source file and described configuration file is sent to the N-1 platform second server in network by the network interface card in described BMC, and wherein, N is the integer be more than or equal to 2.
12. server as claimed in claim 10, it is characterised in that described BIOS is additionally operable to:
Detection obtains the first enabled instruction for starting described deployment module that user carries out;
Perform described first enabled instruction, enter described deployment module.
13. server as claimed in claim 12, it is characterised in that described server also includes:
CPU, deployment module in the BIOS being embedded in described first server judges whether the installation source file corresponding with operating system and the configuration file corresponding with described operating system, before obtaining the first judged result, for obtaining the display command from the operation interface for showing described deployment module data in movable memory equipment, wherein, described operation interface comprises at least one icon characterizing operating system parameter;
Described display command is processed, so that the display unit of server shows the configuration interface of described installation operating system;
After the display unit of described first server shows the configuration interface of described installation operating system, for obtaining the configuration operation that M parameter of described operating system is carried out by user on described display interface, wherein, M is the integer be more than or equal to 1;
Respond described configuration operation, generate the described configuration file corresponding with described configuration operation.
14. server as claimed in claim 13, it is characterised in that described deployment module is additionally operable to:
Obtain from user described operation interface for disposing the Disposition Instructions of described operating system;
Perform described Disposition Instructions, to judge whether described first server obtains described installation source file and described configuration file, it is thus achieved that the first judged result.
15. server as claimed in claim 14, it is characterised in that described BMC is additionally operable to:
Perform described first request instruction, by the described described installation source file being positioned at first network address with to be positioned at the described configuration file carry of second network address be described disc driver or described virtual optical disk driver, wherein, described first network address is shared address or local disc drives address for the network in described first server or is arranged in the address that described network provides the server of described installation source file, and described second network address is be arranged in that described hard disk user specifies or operating system acquiescence address.
16. server as claimed in claim 15, it is characterised in that described BMC is additionally operable to:
After described installation source file and described configuration file carry are a virtual disk drive or a virtual optical disk driver based on described first request instruction by described BMC, generate a feedback information and be sent to described deployment module, wherein, described feedback information shows that described installation source file and described configuration file are as virtual optical disk driver and virtual disk drive carry, so that described deployment module loads described installation source file and described configuration file.
CN201410822795.4A 2014-12-24 2014-12-24 A kind of server operating system dispositions method and server Active CN105791362B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410822795.4A CN105791362B (en) 2014-12-24 2014-12-24 A kind of server operating system dispositions method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410822795.4A CN105791362B (en) 2014-12-24 2014-12-24 A kind of server operating system dispositions method and server

Publications (2)

Publication Number Publication Date
CN105791362A true CN105791362A (en) 2016-07-20
CN105791362B CN105791362B (en) 2019-07-26

Family

ID=56388573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410822795.4A Active CN105791362B (en) 2014-12-24 2014-12-24 A kind of server operating system dispositions method and server

Country Status (1)

Country Link
CN (1) CN105791362B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528226A (en) * 2016-10-31 2017-03-22 紫光华山信息技术有限公司 Operation system installation method and apparatus
CN106603316A (en) * 2017-02-08 2017-04-26 北京启明星辰信息安全技术有限公司 Cluster deploying method, first server, and second server
CN107341036A (en) * 2017-07-14 2017-11-10 郑州云海信息技术有限公司 A kind of method and apparatus of Remote Installation node operating system
CN109213453A (en) * 2018-09-25 2019-01-15 郑州云海信息技术有限公司 A kind of disk management method and relevant apparatus
CN110034952A (en) * 2019-03-11 2019-07-19 联想企业解决方案(新加坡)有限公司 Server and method for replacing server in network
CN110392080A (en) * 2018-04-20 2019-10-29 杭州海康威视系统技术有限公司 A kind of dispositions method based on distributed system, device and distributed system
CN110427196A (en) * 2019-07-26 2019-11-08 新华三技术有限公司成都分公司 The installation method and device of operating system OS
CN110633086A (en) * 2018-06-25 2019-12-31 联想企业解决方案(新加坡)有限公司 Blade server
CN110737444A (en) * 2019-10-18 2020-01-31 中电科技(北京)有限公司 Remote self-adaptive dynamic deployment method and system for operating system based on firmware
CN110971689A (en) * 2019-11-29 2020-04-07 广州市百果园信息技术有限公司 System installation method, device, system, equipment and storage medium
CN111935116A (en) * 2020-07-30 2020-11-13 安徽华速达电子科技有限公司 Intelligent optical network unit file loading method
CN113064877A (en) * 2021-03-26 2021-07-02 山东英信计算机技术有限公司 Big data interaction method and system for multi-level management unit of server
CN113076113A (en) * 2021-04-12 2021-07-06 武汉深之度科技有限公司 Method, client, server application and system for installing operating system
WO2022237361A1 (en) * 2021-05-10 2022-11-17 International Business Machines Corporation Agentless installation for building deployments

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1497439A (en) * 2002-10-15 2004-05-19 国际商业机器公司 Self-copy installation method and system for operation system schooling
US20070157196A1 (en) * 2006-01-05 2007-07-05 International Buisiness Machines Corporation System, method and program to manage program updates
US20080077711A1 (en) * 2006-09-21 2008-03-27 Darren Cepulis System ROM with an embedded disk image
CN102073513A (en) * 2009-11-25 2011-05-25 中兴通讯股份有限公司 Method, device and system for installing operating system
CN102710788A (en) * 2012-06-18 2012-10-03 苏州超集信息科技有限公司 Rapid and unattended operation system
CN102726025A (en) * 2011-11-29 2012-10-10 华为技术有限公司 Installation method and relative devices of business packet
CN103365667A (en) * 2012-03-26 2013-10-23 国际商业机器公司 Method and device for installing operating system in host system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1497439A (en) * 2002-10-15 2004-05-19 国际商业机器公司 Self-copy installation method and system for operation system schooling
US20070157196A1 (en) * 2006-01-05 2007-07-05 International Buisiness Machines Corporation System, method and program to manage program updates
US20080077711A1 (en) * 2006-09-21 2008-03-27 Darren Cepulis System ROM with an embedded disk image
CN102073513A (en) * 2009-11-25 2011-05-25 中兴通讯股份有限公司 Method, device and system for installing operating system
CN102726025A (en) * 2011-11-29 2012-10-10 华为技术有限公司 Installation method and relative devices of business packet
CN103365667A (en) * 2012-03-26 2013-10-23 国际商业机器公司 Method and device for installing operating system in host system
CN102710788A (en) * 2012-06-18 2012-10-03 苏州超集信息科技有限公司 Rapid and unattended operation system

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528226B (en) * 2016-10-31 2020-09-08 新华三信息技术有限公司 Installation method and device of operating system
CN106528226A (en) * 2016-10-31 2017-03-22 紫光华山信息技术有限公司 Operation system installation method and apparatus
CN106603316A (en) * 2017-02-08 2017-04-26 北京启明星辰信息安全技术有限公司 Cluster deploying method, first server, and second server
CN106603316B (en) * 2017-02-08 2019-05-14 北京启明星辰信息安全技术有限公司 A kind of dispositions method of cluster, first server and second server
CN107341036A (en) * 2017-07-14 2017-11-10 郑州云海信息技术有限公司 A kind of method and apparatus of Remote Installation node operating system
CN110392080A (en) * 2018-04-20 2019-10-29 杭州海康威视系统技术有限公司 A kind of dispositions method based on distributed system, device and distributed system
CN110633086B (en) * 2018-06-25 2024-03-29 联想企业解决方案(新加坡)有限公司 Blade server
CN110633086A (en) * 2018-06-25 2019-12-31 联想企业解决方案(新加坡)有限公司 Blade server
CN109213453A (en) * 2018-09-25 2019-01-15 郑州云海信息技术有限公司 A kind of disk management method and relevant apparatus
CN110034952A (en) * 2019-03-11 2019-07-19 联想企业解决方案(新加坡)有限公司 Server and method for replacing server in network
CN110427196B (en) * 2019-07-26 2022-03-25 新华三技术有限公司成都分公司 Installation method and device of Operating System (OS)
CN110427196A (en) * 2019-07-26 2019-11-08 新华三技术有限公司成都分公司 The installation method and device of operating system OS
CN110737444A (en) * 2019-10-18 2020-01-31 中电科技(北京)有限公司 Remote self-adaptive dynamic deployment method and system for operating system based on firmware
CN110971689A (en) * 2019-11-29 2020-04-07 广州市百果园信息技术有限公司 System installation method, device, system, equipment and storage medium
CN111935116A (en) * 2020-07-30 2020-11-13 安徽华速达电子科技有限公司 Intelligent optical network unit file loading method
CN113064877A (en) * 2021-03-26 2021-07-02 山东英信计算机技术有限公司 Big data interaction method and system for multi-level management unit of server
CN113076113A (en) * 2021-04-12 2021-07-06 武汉深之度科技有限公司 Method, client, server application and system for installing operating system
WO2022237361A1 (en) * 2021-05-10 2022-11-17 International Business Machines Corporation Agentless installation for building deployments
US11762644B2 (en) 2021-05-10 2023-09-19 International Business Machines Corporation Agentless installation for building deployments
GB2621802A (en) * 2021-05-10 2024-02-21 Ibm Agentless installation for building deployments

Also Published As

Publication number Publication date
CN105791362B (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN105791362A (en) Server operating system deployment method and server
CN103458002B (en) One key dispositions method and device of cloud system
US20210216360A1 (en) Virtual machine migration method and apparatus
CN103984575A (en) Rapid deployment method of cluster Linux operation system in cloud-computing environment
CN106911729B (en) Remote installation method of operating system suitable for domestic processor
CN105159704A (en) Method and apparatus for batch deployment of operation systems
US10917291B2 (en) RAID configuration
CN108089913B (en) Virtual machine deployment method of super-fusion system
CN104932919A (en) Implementation method of Linux unattended setup
EP3442203B1 (en) Method for migrating a virtual machine, and system
CN105045614A (en) Operating system installation method and system
CN108616384B (en) Centralized service management deployment tool and method
US20150326437A1 (en) Server Information Handling System Configuration by Peer-to-Peer Networking
CN103049295A (en) Network installation method for Linux operating systems with godson platforms
EP3637252A1 (en) Virtual machine deployment method and omm virtual machine
CN104113430A (en) Cloud computing data center automatic deployment software framework design
CN109002346B (en) Conversion method of Windows virtual machine bootstrap program
WO2015062217A1 (en) Connection processing method and device for peripheral in virtual desktop system
CN105119732A (en) Device and method for distributing hosts in cluster environment
CN106209445B (en) A kind of Visualized data centre disposed by network
CN110971689A (en) System installation method, device, system, equipment and storage medium
CN104156270A (en) Method and system for single machine running multiple operating systems at the same time
CN102929662A (en) Network-based method for partitioning in batch
US20170199733A1 (en) Method for terminal to update operating system, terminal and system
CN102609280A (en) Network operation system deploying method and network operation system deploying device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant