CN105791362B - A kind of server operating system dispositions method and server - Google Patents
A kind of server operating system dispositions method and server Download PDFInfo
- Publication number
- CN105791362B CN105791362B CN201410822795.4A CN201410822795A CN105791362B CN 105791362 B CN105791362 B CN 105791362B CN 201410822795 A CN201410822795 A CN 201410822795A CN 105791362 B CN105791362 B CN 105791362B
- Authority
- CN
- China
- Prior art keywords
- server
- operating system
- source file
- deployment module
- configuration 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of server operating system dispositions method and servers, using in first server, the described method includes: deployment module judges whether there is and the corresponding installation source file of operating system and configuration file corresponding with the operating system, the first judging result is obtained;When first judging result, which is, is, the deployment module sends the first request instruction to the BMC of the first server;The installation source file and the configuration file carry are a virtual disk drive or a virtual optical disk driver by the BMC;The deployment module runs the installation source file and the configuration file, and the operating system is mounted in the first server.The application provides the above method and the technical issues of cluster server needs particular arrangement just and can be carried out installation exists in the prior art for solving, and realizes the technical effect that still can be conveniently and effectively disposed to cluster server operating system under the conditions of not depending on particular arrangement.
Description
Technical field
The present invention relates to network technique field, in particular to a kind of server disposition method and server.
Background technique
With the extensive development of internet, large-scale operator is also increasing to server count purpose demand, every update
The new server of a batch, it is necessary to relevant rapid deployment and management are carried out to new server, such as newly purchase server system
The operating system of system is installed, however since number of servers is huge, it is impossible to a tableland is gone to install by hand, then unattended
Quick large scale system deployment come into being.
It in the prior art, is to utilize PXE (preboot to the mode of most mainstream in the deployment techniques of aggregated server system
Execute environment, Pre-boot Execution Environment) technology, that is, it works under the network mode of Client/Server, props up
It holds server and image file is downloaded from remote server by network, and thus support to come the starting of the operating system of automatic network
Journey.Specifically, all cluster servers to be installed require to configure corresponding PXE network interface card, and need to be equipped with one specially
PXE server guides the installation of cluster server, and needs the professional to OS's (Operating System)
Mirror image is particularly configured and modified and the manual configuration configuration file in the form of script, can just make to install source file and configuration
The installation of file support PXE mode.
Present inventor during technical solution, has found the above-mentioned prior art at least in invention the embodiment of the present application
It has the following technical problems:
Due in the prior art, each server in cluster server will be by installation PXE network interface card and necessary
PXE is started as the first boot sequence, under the guidance of PXE server, server to be installed could be obtained in network
Installation source file and configuration file are installed, so, in the prior art, there are server to be installed presence to configure
PXE network interface card and the technical issues of need particular server to be installed come the server for guiding other to be installed.
Since the configuration file of operating system is matched by hand in the form of script by professional in the prior art
It sets, the mirror image of OS needs to carry out special modification by professional to support PXE mode for the installation requirements of different clients
Starting, so, requiring user that must have certain professional knowledge just in the prior art can be carried out installation, and then influence user's
Experience effect.
Summary of the invention
The embodiment of the present application provides a kind of server operating system dispositions method and server, for solving in the prior art
PXE network interface card must be configured there are cluster server to be installed and needs particular server to guide cluster server to be pacified
The technical issues of dress, realizing still can be easily to cluster server operating system under conditions of not depending on PXE network interface card
The technical effect installed.
According to the first aspect of the invention, a kind of server operating system dispositions method is provided, is applied to be located at same net
In first server in network N platform server, wherein further include N-1 platform second server in the N platform server, N be greater than
Integer equal to 2, which comprises the deployment module being embedded in the BIOS of the first server judge whether there is with
The corresponding installation source file of operating system and configuration file corresponding with the operating system obtain the first judging result;Institute
Stating the first judging result is when being, the deployment module sends the first request instruction to the BMC of the first server;It is described
It is a virtual disk drive that BMC, which is based on first request instruction for the installation source file and the configuration file carry,
An or virtual optical disk driver;The deployment module runs the installation source file and the configuration file, by the behaviour
It is mounted in the first server as system.
Optionally, described before or after the deployment module runs the installation source file and the configuration file
Method further include: the deployment module by it is described installation source file first network address and the configuration file the second network
Address is sent to the N-1 platform second server by the network interface card in the BMC.
Optionally, the deployment module in the BIOS for being embedded in the first server judges whether there is and operating system
Corresponding installation source file and configuration file corresponding with the operating system, before obtaining the first judging result, the method
Further include: the BIOS detection of the first server obtains the first starting for starting the deployment module that user carries out and refers to
It enables;The BIOS executes first enabled instruction, into the deployment module;The CPU of first server is obtained from removable
The display command of the operation interface for showing the deployment module data in dynamic storage equipment, wherein the operation interface
Upper at least one icon comprising characterization operating system parameter;The CPU handles the display command, so that described
The display unit of one server shows the configuration interface of the installation operating system.
Optionally, after the configuration interface that the display unit of the first server shows the installation operating system,
The method also includes: the CPU obtains user's matching to the M parameter progress of the operating system on the display interface
Set operation, wherein M is the integer more than or equal to 1;The CPU responds the configuration operation, generates corresponding with the configuration operation
The configuration file.
Optionally, the deployment module in the BIOS for being embedded in the first server is judged whether there is is with operation
It unites corresponding installation source file and configuration file corresponding with the operating system, obtains the first judging result, specifically include: institute
It states deployment module and obtains the Disposition Instructions for being used to dispose the operating system from user in the operation interface;The deployment module
The Disposition Instructions are executed, to judge whether the first server obtains the installation source file and the configuration file, are obtained
Obtain the first judging result.
Optionally, the BMC is based on first request instruction for the installation source file and the configuration file carry
For a virtual disk drive or a virtual optical disk driver, specifically: the BMC executes first request instruction,
It is by the installation source file positioned at first network address and the configuration file carry positioned at the second network address
The disc driver or the virtual optical disk driver, wherein the first network address is in the first server
Network share address or local disc drives address provide the ground of the server for installing source file in the network
Location, second network address are address that user specifies in the hard disk or that operating system is defaulted.
Optionally, first request instruction is based in the BMC to hang the installation source file and the configuration file
After load is a virtual disk drive or a virtual optical disk driver, the method also includes: it is anti-that the BMC generates one
Feedforward information is simultaneously sent to the deployment module, wherein the feedback information shows the installation source file and the configuration file
Be used as virtual optical disk driver and virtual disk drive carry so that the deployment module load the installation source file with
The configuration file.
On the other hand, the embodiment of the present application also provides a kind of server operating system dispositions method, is applied to be located at same
In N-1 platform second server in network N platform server, wherein further include a first server, N in the N platform server
For the integer more than or equal to 2, which comprises
After the second server powers on, it is embedded in described in the deployment module judgement in the BIOS of the second server
With the presence or absence of the first network of the installation source file corresponding with the operating system sent by the first server in network
Second network address of address and configuration file corresponding with the operating system obtains the first judging result;Described first
Judging result is when being, the deployment module sends the first request instruction to the BMC of the second server;The BMC is based on
The installation source file and the configuration file carry are a virtual disk drive or one by first request instruction
Virtual optical disk driver;Deployment module operation virtual optical disk driver and installation source file in virtual disk drive and
The configuration file, the operating system is mounted in the second server.
On the other hand, the embodiment of the present application also provides a kind of server operating system dispositions method, is applied to be located at same
It include a first server and N-1 platform second server in the server cluster, wherein N in the server cluster of network
For the integer more than or equal to 2, which comprises the first deployment module judgement being embedded in the BIOS of the first server
With the presence or absence of a corresponding installation source file of operating system and the corresponding configuration file of the operating system, obtains first and sentence
Disconnected result;When first judging result, which is, is, the deployment module sends the first request to the BMC of the first server
Instruction;The BMC of the first server is based on first request instruction and hangs the installation source file and the configuration file
Carry is a virtual disk drive or a virtual optical disk driver;The deployment module runs the installation source file and institute
Configuration file is stated, the operating system is mounted in the first server;Network interface card in the BMC of the first server
Second network address of the first network address of the installation source file and the configuration file is sent to the N-1 platform second
Server;The second deployment module being embedded in the BIOS of the N-1 platform second server judges to whether there is in the network
The first network address and second network address obtain the second judging result;When second judging result, which is, is,
The deployment module sends N-1 the second request instructions to the BMC of the N-1 platform second server;The N-1 platform second service
It is a virtual magnetic that device BMC, which is based on the N-1 the second request instructions for the installation source file and the configuration file carry,
Disk drive or a virtual optical disk driver;By second deployment module operation virtual optical disk driver and virtually
The operating system is mounted on the N-1 platform second and taken by installation source file and the configuration file in disc driver
It is engaged in device.
On the other hand, the embodiment of the present application also provides a kind of server, comprising: deployment module is embedded in the server
BIOS in, for judging whether there is and the corresponding installation source file of operating system and configuration corresponding with the operating system
File obtains the first judging result;BMC;When first judging result, which is, is, the deployment module is also used to described
BMC sends the first request instruction;The BMC is also used to the installation source file based on first request instruction and described matches
Setting file mount is a virtual disk drive or a virtual optical disk driver;The deployment module is also used to run described
Source file and the configuration file are installed, the operating system is mounted in the server.
Optionally, the deployment module is also used to: by the first network address of the installation source file and configuration text
Second network address of part is sent to server described in the N platform in network by the network interface card in the BMC, wherein N be greater than etc.
In 1 integer.
Optionally, the BIOS is also used to: detection obtains opening for starting the first of the deployment module for user's progress
Dynamic instruction;First enabled instruction is executed, into the deployment module.
Optionally, the server further include: CPU, the deployment module in the BIOS for being embedded in the first server
And the corresponding installation source file of operating system and configuration file corresponding with the operating system is judged whether there is, obtains first
Before judging result, for obtaining the operation interface for being used to show the deployment module data in movable memory equipment
Display command, wherein in the operation interface comprising characterization operating system parameter at least one icon;The display is ordered
Order is handled, so that the display unit of server shows the configuration interface of the installation operating system.In the first service
It is right on the display interface for obtaining user after the display unit of device shows the configuration interface of the installation operating system
The configuration operation that M parameter of the operating system carries out, wherein M is the integer more than or equal to 1;The configuration operation is responded,
Generate the configuration file corresponding with the configuration operation.
Optionally, the deployment module is also used to: being obtained from user in the operation interface for disposing the operation system
The Disposition Instructions of system;The Disposition Instructions are executed, to judge whether the first server obtains the installation source file and institute
Configuration file is stated, the first judging result is obtained.
Optionally, the BMC is also used to: first request instruction is executed, by the institute positioned at first network address
State installation source file and positioned at the second network address the configuration file carry be the disc driver or the virtual optical
Disk drive, wherein the first network address is network share address or local disc drives in the first server
Address provides the address of the server for installing source file in the network, and second network address is positioned at institute
State the address of user in hard disk specifies or operating system default.
Optionally, the BMC is also used to: the BMC be based on first request instruction by the installation source file and
After the configuration file carry is a virtual disk drive or a virtual optical disk driver, a feedback information is generated simultaneously
It is sent to the deployment module, wherein the feedback information shows that the installation source file and the configuration file have been used as void
Quasi- CD drive and virtual disk drive carry, so that the deployment module loads the installation source file and the configuration
File.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
Due to using the built-in deployment mould in the BIOS of first server in the technical solution in the embodiment of the present application
Installation source file and the configuration file carry are one by sending the first request instruction to the BMC of first server by block
Virtual disk drive or a virtual optical disk driver, and first server realize operating system installation before or it
Afterwards, deployment module passes through the second network address of the first network address of the installation source file and the configuration file described
Network interface card in BMC is sent to the technological means of the N-1 platform second server, it may be assumed that the technical solution in the embodiment of the present application,
After first server in cluster server obtains installation source file and configuration file, by installation source file and configuration file
Address be sent to the second server in network segment, in turn, all second servers can listen to network by deployment module and obtain
The network address of operating system installation source file and configuration file is obtained, after obtaining installation source file and configuration file, automatically
Carry out the installation of all second server operating systems.And in the prior art, each server in cluster server all needs
PXE network interface card is configured, and PXE must be started as the first boot sequence, under the guidance of PXE server, needs to be pacified
The server of dress could obtain installation source file in network and configuration file is installed, so, in the embodiment of the present application
Technical solution, which can efficiently solve, exists in the prior art server to be installed in the presence of must configure PXE network interface card and needs
The technical issues of particular server is installed come the server for guiding other to be installed realizes and is not depending on PXE network interface card
Under the conditions of technical effect that still conveniently and effectively cluster server operating system can be disposed.
The installation source file of first network address will be located at since the technical solution in the embodiment of the present application uses
Be located at the second network address the configuration file carry be the disc driver or the virtual optical disk driver,
In, first network address can be local disc drives address, and match in graphical operation interface to operating system
The technological means set, and the mirror image of operating system needs different installation requirements to carry out spy by professional in the prior art
Other modification could support ad hoc fashion to start, and the configuration file of operating system is also required to by professional the hand in the form of script
Work configuration, so, the technical solution in the embodiment of the present application does not need additional configuration and customization, and can be realized general user can
With the original image or CD that are directly provided using operating system manufacturer and operating system is configured, and can according to
The desired configuration in family carries out the effect of the configuration of system to be installed, further enhances the experience of user.
It is set since the CPU that the technical solution in the embodiment of the present application uses first server is obtained from removable Storage
The technological means of the display command of the operation interface for showing the deployment module data in standby, and then user can be obtained
The configuration that M parameter of the operating system carries out is operated on the display interface, and is generated and configuration operation pair
The configuration file answered, it may be assumed that the technical solution in the embodiment of the present application, will provide the necessary configuration of installation system for user can
Depending on change graphical interfaces order in being stored in movable memory equipment, so, the technical solution in the embodiment of the present application, no
It needs each in cluster server to require to provide an operation interface for user, realizes and effectively save server B IOS
The effect of the memory space of chip.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram of server operating system dispositions method in the embodiment of the present application one;
Fig. 2 is the method flow diagram executed before step S101 in the embodiment of the present application one;
Fig. 3 is the method flow diagram that step S101 is executed in the embodiment of the present application one;
Fig. 4 is the configuration that the display unit in the embodiment of the present application one in first server shows the installation operating system
Method flow diagram after interface;
Fig. 5 is a kind of method flow diagram of server operating system dispositions method in the embodiment of the present application two;
Fig. 6 is a kind of method flow diagram of server operating system dispositions method in the embodiment of the present application three;
Fig. 7 is a kind of structural schematic diagram of server in the embodiment of the present application four.
Specific embodiment
The embodiment of the present application provides a kind of server operating system dispositions method and server, for solving in the prior art
PXE network interface card must be configured there are cluster server to be installed and needs particular server to guide cluster server to be pacified
The technical issues of dress, realizing still can conveniently and effectively not operate cluster server under conditions of depending on PXE network interface card
The technical effect that system is disposed.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present application:
A kind of server operating system dispositions method, applied to the first server being located in consolidated network N platform server
In, wherein it further include N-1 platform second server in the N platform server, N is the integer more than or equal to 2, which comprises
The deployment module being embedded in the BIOS of the first server judges whether there is installation source file corresponding with operating system
With configuration file corresponding with the operating system, the first judging result is obtained;It is described when first judging result, which is, is
Deployment module sends the first request instruction to the BMC of the first server;The BMC is based on first request instruction for institute
It states installation source file and the configuration file carry is a virtual disk drive or a virtual optical disk driver;The portion
It affixes one's name to module and runs the installation source file and the configuration file, the operating system is mounted on the first server
In.
Due to using the built-in deployment mould in the BIOS of first server in the technical solution in the embodiment of the present application
Installation source file and the configuration file carry are one by sending the first request instruction to the BMC of first server by block
Virtual disk drive or a virtual optical disk driver, and first server realize operating system installation before or it
Afterwards, deployment module passes through the second network address of the first network address of the installation source file and the configuration file described
Network interface card in BMC is sent to the technological means of the N-1 platform second server, it may be assumed that the technical solution in the embodiment of the present application,
After first server in cluster server obtains installation source file and configuration file, by installation source file and configuration file
Address be sent to the second server in network segment, in turn, all second servers can listen to network by deployment module and obtain
The network address of operating system installation source file and configuration file is obtained, after obtaining installation source file and configuration file, automatically
Carry out the installation of all second server operating systems.And in the prior art, each server in cluster server all needs
PXE network interface card is configured, and PXE must be started as the first boot sequence, under the guidance of PXE server, needs to be pacified
The server of dress could obtain installation source file in network and configuration file is installed, so, in the embodiment of the present application
Technical solution, which can efficiently solve, exists in the prior art server to be installed in the presence of must configure PXE network interface card and needs
The technical issues of particular server is installed come the server for guiding other to be installed realizes and is not depending on PXE network interface card
Under the conditions of technical effect that still easily cluster server operating system can be installed.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper
Technical solution is stated to be described in detail.
Embodiment one
The embodiment of the present application provides a kind of server operating system dispositions method and is applied to be located at consolidated network N platform server
In first server in, wherein further include N-1 platform second server in the N platform server, N is whole more than or equal to 2
Number.In the description of the embodiment of the present application, " first " and " second " in first server and second server is for describing mesh
, indication or suggestion relative importance can not be interpreted as, for the ordinary skill in the art, first server and
Second server can be all identical servers of configuration, and being also possible to configuration, there are some Differentiated services devices.
Referring to FIG. 1, the embodiment of the present application provides a kind of server operating system dispositions method, in the embodiment of the present application
Operating system can be Linux, Unix, Windows, can also be other operating system certainly, herein with regard to different an example
It lifts.The server operating system dispositions method is applied in the first server being located in consolidated network N platform server,
In, it further include N-1 platform second server in the N platform server, N is the integer more than or equal to 2.For example, if cluster service
It include 100 servers in device, by Dynamic Host Configuration Protocol server, for the management network ports of this 100 servers, (network interface is under the jurisdiction of first
BMC system on server) network address is distributed, this 100 servers can be carried out data transmission by management network port, wherein
Any one server in 100 servers can be considered first server, remaining 99 server can be considered second service
Device.It in the following embodiments, will be to dispose (SuSE) Linux OS in the cluster server comprising 100 servers, wherein
Assuming that the IP address that first server is assigned to is illustrated for being 193.323.1.2.
In the embodiment of the present application, specific dispositions method includes:
S101: be embedded in the first server BIOS (Basic Input and Output system, it is substantially defeated
Enter output system) in deployment module judge whether there is installation source file corresponding with operating system and with the operating system
Corresponding configuration file obtains the first judging result;
S102: when first judging result, which is, is, BMC of the deployment module to the first server
(Baseboard Management Controller, baseboard management controller) sends the first request instruction;
The installation source file and the configuration file carry are by S103: the BMC based on first request instruction
One virtual disk drive or a virtual optical disk driver;
S104: the deployment module runs the installation source file and the configuration file, and the operating system is pacified
In the first server.
Referring to FIG. 2, in the embodiment of the present application, before executing step S101, further comprising the steps of:
S201: what the BIOS detection acquisition user of the first server carried out is used to start the first of the deployment module
Enabled instruction;
S202: the BIOS executes first enabled instruction, into the deployment module;
S203: the CPU acquisition of first server is used to show the deployment module number in movable memory equipment
According to operation interface display command, wherein in the operation interface comprising characterization operating system parameter at least one icon;
S204: the CPU handles the display command, so that the display unit of the first server shows institute
State the configuration interface of installation operating system.
Referring to FIG. 3, in the embodiment of the present application, the specific implementation process of step S101 are as follows:
S301: the deployment module is obtained to be referred to from the deployment that user in the operation interface is used to dispose the operating system
It enables;
S302: the deployment module executes the Disposition Instructions, to judge whether the first server obtains the peace
Loading of source file and the configuration file obtain the first judging result.
For continuing the example above, in the specific implementation process, before executing step S101, step S201~S204
Specific implementation process are as follows: user to first server carry out (SuSE) Linux OS installation before, firstly, user can issue tune
It in the embodiment of the present application include two kinds of situations with the order of deployment module, the first situation calls the order of deployment module can
To be stored in moveable storage medium, such as USB, mobile hard disk, memory stick, SD card, it just different one schematically illustrates herein.
Certainly, those skilled in the art can according to need, and will movably store equipment replacement is such as storage chip storage unit,
Storage chip is built on server master board and is started by the way that corresponding quickly starting mode is arranged, in turn, first service
Device CPU can be obtained for show the display command for disposing the operation interface of module data in the storage chip, and can be with
Deployment program is called directly by quickly starting mode individually to dispose first server.
By accessing mobile memory medium in first server, user can star first server BIOS, into the
The BIOS of one server, then BIOS obtains the instruction that user starts deployment module in BIOS, calls deployment mould by operation
The order of block starts deployment module.Second case, call deployment module order can by being specifically arranged, for example,
One flag bit is set in CMOS in the server production last test stage, BIOS is detected during electrifying startup next time
Deployment module will be loaded automatically after the completion of POST to the flag bit, and configures master by the mark bit clear or by BMC
As soon as the IO pin, BIOS on plate detect that the pin is high level load deployment module automatically during startup, and send
It orders and pin foot is set low into level to BMC, can thus be opened automatically after the BIOS of first server powers on POST completion
Dynamic deployment module, certainly, those skilled in the art can also carry out other starting settings as needed, herein with regard to different one action
Example.
In embodiments herein, for the first situation, first server CPU acquisition is set from removable Storage
It is standby, such as the display command of the operation interface for showing deployment module data in USB, mobile hard disk, in CPU to the order
After being handled, deployment module data are shown in a patterned operation interface, can in the patterned operation interface
System relevant parameter to be installed is carried out to provide, the path in source, disk partition, area, language, user name password, net are such as installed
The setting of parameter etc. is arranged in network.
Referring to FIG. 4, after the display unit of first server shows the configuration interface of the installation operating system,
In specific implementation process, further comprise the steps of:
S401: the CPU obtains the configuration that user carries out M parameter of the operating system on the display interface
Operation, wherein M is the integer more than or equal to 1;
S402: the CPU responds the configuration operation, generates the configuration file corresponding with the configuration operation.
Next, the first step, the CPU of first server obtains user's display interface user to the multiple parameters of operating system
The configuration of progress operates, and the effect for carrying out configuration operation is to provide the information needed when server starting, for example is designated mounting
The path in source, language, password and the network parameter that the area where subregion, setting user is carried out to the disk of server, is used
Setting etc., just do not enumerate herein.Servers-all in cluster server is intended to obtain same configuration
In the case of, only the operating system of a server can be configured, be configured with area in first server and other servers
Under the conditions of other, those skilled in the art be can according to need, and is adjusted to the parameter in other servers.Second step, CPU
The configuration operation of user is responded, first server generates configuration file corresponding with configuration operation, can be stored in the first clothes
In the data source file of business device or other positions.
Next, deployment module obtains the instruction that user carries out Linux deployment in operation interface to first server, portion
It affixes one's name to module and executes the Disposition Instructions, to judge whether the first server obtains installation source file and configuration file, obtain
First judging result.Specifically, deployment module installs the IP address of source file and configuration file by detection linux system,
To judge the installation source file and configuration file that whether obtain linux system in server.
After executing step S101, when the first judging result, which is, is, step S102 is executed, deployment module takes to first
The BMC being engaged in device sends the instruction of the installation source file and configuration file of a request (SuSE) Linux OS, and the application is real
The firmware BMC applied in example supports media to redirect, can be by the mirror image of the (SuSE) Linux OS of distal end or Linux operation system
Disk file carry of uniting is that local CD-ROM drive or local USB disk unit use.
After executing step S102, executes step S103: the BMC and be based on first request instruction for the installation
Source file and the configuration file carry are a virtual disk drive or a virtual optical disk driver, are implemented in the application
In example, the specific implementation process of step S103 are as follows:
The BMC executes first request instruction, by the installation source file positioned at first network address with
The configuration file carry positioned at the second network address is the disc driver or the virtual optical disk driver, wherein
The network share address or local disc drives address in the first server is in the first network address or are located at described
The address of the server of the installation source file is provided in network, second network address is that user refers in the hard disk
The address of fixed or operating system default.
In the embodiment of the present application, the address of first network address, that is, (SuSE) Linux OS installation source file can be the
The address of fie share directory in one server or the address of local CD-ROM drive, in turn, the scheme energy in the embodiment of the present application
Enough original images or CD directly provided using (SuSE) Linux OS manufacturer.Certainly it can also be and the peace be provided in network
The address of the file server of loading of source file.Second network address, that is, (SuSE) Linux OS configuration file address can be use
Family is when carrying out configuration operation, the given network address that (SuSE) Linux OS configuration file is saved, in the not specified configuration of user
It is also possible to the storage address of Server Default when the storage address of file.Certainly, first network address here and the second net
Network address can be identical network address or be different network address, be not specifically limited in this application.In this Shen
It please be in embodiment, it is assumed that user is C by the network address that source file and configuration file save is installed :/.../path/ installs source document
Part & configuration file .iso@193.323.1.2.It is had sent in deployment module to BMC and obtains (SuSE) Linux OS installation source file
After instruction with (SuSE) Linux OS configuration file, BMC executes the instruction, will be located at the (SuSE) Linux OS of the first address
Install source file and two address (SuSE) Linux OS configuration file carry be a local virtual disk drive or
Virtual optical disk driver uses.
In the specific implementation process, after executing step S103, further includes: it is concurrent that the BMC generates a feedback information
Give the deployment module, wherein the feedback information shows that the installation source file and the configuration file have been used as virtually
CD drive and virtual disk drive carry, so that the deployment module loads the installation source file and configuration text
Part.And execute step S104: the deployment module runs the installation source file and the configuration file, by the operation
System is mounted in the first server.
In the embodiment of the present application, in the (SuSE) Linux OS installation source file that will be located at the first address and the second address
(SuSE) Linux OS configuration file carry be a local virtual disk drive after, BMC generates a feedback information simultaneously
Be sent to deployment module, feedback information show the installation source file and the configuration file be used as virtual optical disk driver and
Virtual disk drive carry, after deployment module obtains feedback information, so that it may which loading Linux operating system installs source
File and configuration file.
Before or after executing step S104, further includes:
The deployment module is by the second network of the first network address of the installation source file and the configuration file
Location is sent to the N-1 platform second server by the network interface card in the BMC.In the specific implementation process, in first server
After obtaining installation (SuSE) Linux OS installation source file and configuration file, appointing before completing (SuSE) Linux OS installation
It anticipates the moment, or after first server installs (SuSE) Linux OS, the deployment module of first server operates Linux
System installs source file and profile address C :/... it is logical that/path/ installs source file & configuration file .iso@193.323.1.2
The management network port crossed in BMC is sent to other 99 second servers, certainly, it will be apparent to those skilled in the art that this
Apply for that in the management network port insertion BMC in embodiment be a preferred embodiment in the application, in actual application, this
Field those of ordinary skill can according to the inner mold of network interface card and other need be arranged the shared network interface card used in system of BMC as
Management network port.
Embodiment two
Based on inventive concept same as server operating system dispositions method a kind of in the embodiment of the present application one, Fig. 5 is mentioned
A kind of server operating system dispositions method for having supplied the embodiment of the present application, applied to the server cluster for being located at consolidated network
In, similarly, operating system in the embodiment of the present application can be Linux, Unix, Windows, can also be other certainly
Operating system does not just enumerate herein.Applied to the N-1 platform second server being located in consolidated network N platform server
In, wherein it further include a first server in the N platform server, N is the integer more than or equal to 2, for example, if cluster
Include 100 servers in server, is that this 100 servers distribute network address by Dynamic Host Configuration Protocol server, this 100 servers are just
It can be carried out data transmission by network interface card, wherein any one server in 100 servers can be considered first server,
Remaining 99 server can be considered second server.It in the following embodiments, will be with visual to remaining 99 server
It disposes for (SuSE) Linux OS and is illustrated for second server.
During specific implementation, any one server in 100 servers is configured in user, this clothes
Business device is first server, after first server obtains the installation source file and configuration file of (SuSE) Linux OS,
Second network of the first network address and configuration file of source file will will be installed by the deployment module of first server
Location is broadcast in network, it is assumed that the install source file and the IP address of configuration file of (SuSE) Linux OS are C :/.../path/ peace
Loading of source file & configuration file .iso@193.323.1.2, the dispositions method for 99 second servers, in the present embodiment
Step includes:
S501: after the second server powers on, the deployment module being embedded in the BIOS of the second server is sentenced
Break in the network with the presence or absence of the of the installation source file corresponding with the operating system sent by the first server
Second network address of one network address and configuration file corresponding with the operating system obtains the first judging result;
S502: when first judging result, which is, is, the deployment module sends the to the BMC of the second server
One request instruction;
The installation source file and the configuration file carry are by S503: the BMC based on first request instruction
One virtual disk drive or a virtual optical disk driver;
S504: the deployment module operation virtual optical disk driver and installation source file and institute in virtual disk drive
Configuration file is stated, the operating system is mounted in the second server.
In the embodiment of the present application, the Starting mode of deployment module can be by specifically setting in 99 second servers
It sets, for example, a flag bit is arranged in CMOS in the server production last test stage, BIOS is in electrifying startup mistake next time
It detects that the flag bit will load automatically deployment module after the completion of POST in journey, and by the mark bit clear or passes through
As soon as the IO pin, BIOS on BMC configuration mainboard detect that the pin is high level load deployment mould automatically during startup
Block, and send commands to BMC and pin foot is set low into level, thus POST can be powered in the BIOS of first server complete it
Afterwards, start deployment module automatically.Those skilled in the art can also be as needed, will be built in storage chip in second server
Start on server master board and by the way that corresponding quickly starting mode is arranged, in turn, second server CPU can be come
From in the storage chip for showing the display command of the operation interface of deployment module data, and quickly starting mode can be passed through
Deployment program is called directly individually to dispose separate unit second server.
After starting deployment module in second server, deployment module installs source document by detection (SuSE) Linux OS
The IP address of part and configuration file, come in the network where judging with the presence or absence of (SuSE) Linux OS installation source file and configuration
File.There is (SuSE) Linux OS installation source file in a network and when configuration file, deployment module is to second server
BMC sends the instruction of request of loading (SuSE) Linux OS installation source file and configuration file, will be located at C :/.../path/ installation
The (SuSE) Linux OS installation source file and configuration file carry of source file & configuration file .iso@193.323.1.2 is one
Virtual disk drive or a virtual optical disk driver, and then automatic running virtual optical disk driver or virtual disk drive
In installation source file and the configuration file, (SuSE) Linux OS is just mounted in 99 second servers.In turn, 99
Second server may be implemented to obtain and install (SuSE) Linux OS installation source file automatically and configuration file realizes Linux behaviour
Make the installation of system.
Embodiment three
Based on inventive concept same as server operating system dispositions method a kind of in the embodiment of the present application one, Fig. 6 is mentioned
Having supplied Fig. 5 of the embodiment of the present application is a kind of method flow of server operating system dispositions method in the embodiment of the present application two
Figure;The embodiment of the present application provides a kind of server operating system dispositions method, and operating system in the embodiment of the present application can be with
It is Linux, Unix, Windows, can also be other operating system certainly, just do not enumerate herein.Applied to being located at
In the server cluster of consolidated network, in the server cluster include a first server and N-1 platform second server,
In, N is the integer more than or equal to 2, for example, passing through Dynamic Host Configuration Protocol server first if including 100 servers in cluster server
Network address is distributed for this 100 servers, this 100 servers can be carried out data transmission by network interface card, wherein 100 clothes
Any one server in business device can be considered first server, remaining 99 server can be considered second server.Under
In the embodiment in face, it will be illustrated by for comprising the cluster server of 100 servers deployment (SuSE) Linux OS.
In the embodiment of the present application, specific dispositions method includes:
S601: the first deployment module being embedded in the BIOS of the first server judges whether there is an operation
The corresponding installation source file of system and the corresponding configuration file of the operating system obtain the first judging result;
S602: when first judging result, which is, is, the deployment module sends the to the BMC of the first server
One request instruction;
S603: the BMC of the first server by the installation source file and described is matched based on first request instruction
Setting file mount is a virtual disk drive or a virtual optical disk driver;
S604: the deployment module runs the installation source file and the configuration file, and the operating system is pacified
In the first server;
S605: network interface card in the BMC of the first server is by the first network address of the installation source file and described
Second network address of configuration file is sent to the N-1 platform second server;
S606: the second deployment module being embedded in the BIOS of the N-1 platform second server judge be in the network
No there are the first network addresses and second network address, obtain the second judging result;
S607: when second judging result, which is, is, BMC of the deployment module to the N-1 platform second server
Send N-1 the second request instructions;
S608: the N-1 platform second server BMC is based on the N-1 the second request instructions for the installation source file
And the configuration file carry is a virtual disk drive or a virtual optical disk driver;
S609: the peace in the virtual optical disk driver and virtual disk drive is run by second deployment module
Loading of source file and the configuration file, the operating system is mounted in the N-1 platform second server.
Specifically, first server deployment module installs the IP of source file and configuration file by detection linux system
Address, to judge the installation source file and configuration file that whether obtain linux system in first server.Assuming that user will pacify
The network address that loading of source file and configuration file save is C :/.../path/ installs source file & configuration file .iso@
193.323.1.2, first server IP are as follows: 193.323.1.2, then first server deployment module judges first service
There is installation source file and configuration file in device.When the first judging result, which is, is, the deployment module of first server is to first
BMC in server sends the instruction of the installation source file and configuration file of a request (SuSE) Linux OS, the application
Firmware BMC in embodiment supports media to redirect, and the mirror image of the (SuSE) Linux OS of distal end or Linux can be operated
System disc file carry is that local CD-ROM drive or local USB disk unit use, naturally it is also possible to directly by local Linux
The mirror image or (SuSE) Linux OS disk file of operating system carry out carry.Acquisition is had sent to BMC in deployment module
After (SuSE) Linux OS installs the instruction of source file and (SuSE) Linux OS configuration file, BMC executes the instruction, will be located at
C :/... it is a local virtual disk drive that/path/, which installs source file & configuration file .iso@193.323.1.2 carry,
Or virtual optical disk driver uses.Deployment module runs the installation source file and the configuration file, and Linux is operated
System is mounted in first server.First server deployment module obtain (SuSE) Linux OS installation source file and
After configuration file, will be by the network address for installing source file and configuration file by the deployment module of first server
C :/.../path/ installation source file & configuration file .iso@193.323.1.2 is broadcast in network, and 99 in network second take
Business device is after BIOS powers on POST completion, the automatic deployment module for starting second server.Next, in second server
After starting deployment module, the deployment module of second server installs source file and configuration text by detection (SuSE) Linux OS
The IP address of part, come in the network where judging with the presence or absence of (SuSE) Linux OS installation source file and configuration file.In network
In there are (SuSE) Linux OS installation source file and when configuration file, the deployment module of second server is to second server
BMC sends the instruction of request of loading (SuSE) Linux OS installation source file and configuration file, will be located at C :/.../path/ installation
The (SuSE) Linux OS installation source file and configuration file carry of source file & configuration file .iso@193.323.1.2 is one
Virtual disk drive or a virtual optical disk driver, and then driven by automatic running virtual optical disk driver or virtual disk
Installation source file and the configuration file in dynamic device, (SuSE) Linux OS are just mounted in 99 second servers.So
After any one in 100 servers of user configures and install, remaining 99 server may be implemented to obtain automatically
And (SuSE) Linux OS installation source file and configuration file is installed, i.e., user only need to carry out First server configuration and
The process of the installation of operating system, the deployment of subsequent 99 server operating systems does not need the intervention of user, can realize pair
The installation of operating system in all cluster servers.
Certain those skilled in the art can according to need, and the graphics display command of deployment module can be passed through storage core
During piece is stored on the cluster server mainboard, and started by the way that corresponding quickly starting mode is arranged, in turn, cluster service
Every server can call directly deployment program by shortcut and individually be disposed in device.
Example IV
Based on inventive concept same as information processing method a kind of in the embodiment of the present application one, it is illustrated in figure 7 this Shen
Please embodiment provide a kind of server, comprising:
Deployment module 101, be embedded in the server BIOS (Basic Input and Output system, substantially
Input-output system) in, for judge whether there is installation source file corresponding with operating system and with the operating system pair
The configuration file answered obtains the first judging result;
BMC (Baseboard Management Controller, baseboard management controller);
When first judging result, which is, is, deployment module 101 is also used to send the first request instruction to BMC;
The BMC is also used to
One virtual disk drive or a virtual optical disk driver 103;
Deployment module 101 is also used to run the installation source file and the configuration file, and the operating system is pacified
In the server.
Optionally, deployment module 101 is also used to:
Second network address of the first network address of the installation source file and the configuration file is passed through into the BMC
In network interface card be sent to the N-1 platform second server 20 in network, wherein N is integer more than or equal to 2.
Optionally, the BIOS is also used to: detection obtains the first starting for starting deployment module 101 that user carries out
Instruction;First enabled instruction is executed, into the deployment module 101.
Optionally, server 10 further include:
CPU, the deployment module 101 in the BIOS for being embedded in the first server judges whether there is and operating system
Corresponding installation source file and configuration file corresponding with the operating system, before obtaining the first judging result, for obtaining
The operation interface for showing 101 data of deployment module in movable memory equipment or built-in storage chip 102 it is aobvious
Show order, wherein at least one icon comprising characterization operating system parameter in the operation interface;
The display command is handled, so that the display unit of server shows the configuration of the installation operating system
Interface.
After the display unit of the first server shows the configuration interface of the installation operating system, for obtaining
User operates the configuration that M parameter of the operating system carries out on the display interface, wherein M is more than or equal to 1
Integer;
The configuration operation is responded, the configuration file corresponding with the configuration operation is generated.
Optionally, deployment module 101 is also used to:
Obtain the Disposition Instructions for being used to dispose the operating system from user in the operation interface;
The Disposition Instructions are executed, to judge whether the first server obtains the installation source file and the configuration
File obtains the first judging result.
Optionally, the BMC is also used to: first request instruction is executed, by the institute positioned at first network address
State installation source file and positioned at the second network address the configuration file carry be disc driver or virtual optical disk driver
103, wherein the first network address be network share address in the first server or local disc drives address or
The address of the server of the installation source file is provided in the network, second network address is positioned at the hard disk
The address of middle user specifies or operating system default.
Optionally, the BMC is also used to: the BMC be based on first request instruction by the installation source file and
The configuration file carry is one feedback letter of generation after a virtual disk drive or a virtual optical disk driver 103
It ceases and is sent to deployment module 101, wherein the feedback information shows the installation source file and configuration file conduct
103 carry of virtual optical disk driver and virtual disk drive, so that deployment module 101 loads the installation source file and described
Configuration file.
By one or more technical solutions in the embodiment of the present application, following one or more technology effects may be implemented
Fruit:
Due to using the built-in deployment mould in the BIOS of first server in the technical solution in the embodiment of the present application
Installation source file and the configuration file carry are one by sending the first request instruction to the BMC of first server by block
Virtual disk drive or a virtual optical disk driver, and first server realize operating system installation before or it
Afterwards, deployment module passes through the second network address of the first network address of the installation source file and the configuration file described
Network interface card in BMC is sent to the technological means of the N-1 platform second server, it may be assumed that the technical solution in the embodiment of the present application,
After first server in cluster server obtains installation source file and configuration file, by installation source file and configuration file
Address be sent to the second server in network segment, in turn, all second servers can listen to network by deployment module and obtain
The network address of operating system installation source file and configuration file is obtained, after obtaining installation source file and configuration file, automatically
Carry out the installation of all second server operating systems.And in the prior art, each server in cluster server all needs
PXE network interface card is configured, and PXE must be started as the first boot sequence, under the guidance of PXE server, needs to be pacified
The server of dress could obtain installation source file in network and configuration file is installed, so, in the embodiment of the present application
Technical solution, which can efficiently solve, exists in the prior art server to be installed in the presence of must configure PXE network interface card and needs
The technical issues of particular server is installed come the server for guiding other to be installed realizes and is not depending on PXE network interface card
Under the conditions of technical effect that still conveniently and effectively cluster server operating system can be disposed.
The installation source file of first network address will be located at since the technical solution in the embodiment of the present application uses
Be located at the second network address the configuration file carry be the disc driver or the virtual optical disk driver,
In, first network address can be local disc drives address, and match in graphical operation interface to operating system
The technological means set, and the mirror image of operating system needs different installation requirements to carry out spy by professional in the prior art
Other modification could support ad hoc fashion to start, and the configuration file of operating system is also required to by professional the hand in the form of script
Work configuration, so, the technical solution in the embodiment of the present application does not need additional configuration and customization, and can be realized general user can
With the original image or CD that are directly provided using operating system manufacturer and operating system is configured, and can according to
The desired configuration in family carries out the effect of the configuration of system to be installed, further enhances the experience of user.
It is set since the CPU that the technical solution in the embodiment of the present application uses first server is obtained from removable Storage
The technological means of the display command of the operation interface for showing the deployment module data in standby, and then user can be obtained
The configuration that M parameter of the operating system carries out is operated on the display interface, and is generated and configuration operation pair
The configuration file answered, it may be assumed that the technical solution in the embodiment of the present application, will provide the necessary configuration of installation system for user can
Depending on change graphical interfaces order in being stored in movable memory equipment, so, the technical solution in the embodiment of the present application, no
It needs each in cluster server to require to provide an operation interface for user, realizes and effectively save server B IOS
The effect of the memory space of chip.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program of one of the embodiment of the present application server operating system dispositions method refers to
Order can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when in storage medium with a kind of server operating system portion
The corresponding computer program instructions of arranging method are read or are performed by an electronic equipment, include the following steps:
The deployment module being embedded in the BIOS of the first server judges whether there is peace corresponding with operating system
Loading of source file and configuration file corresponding with the operating system obtain the first judging result;
When first judging result, which is, is, the deployment module sends first to the BMC of the first server and asks
Ask instruction;
It is a void that the BMC, which is based on first request instruction for the installation source file and the configuration file carry,
Quasi- disc driver or a virtual optical disk driver;
The deployment module runs the installation source file and the configuration file, and the operating system is mounted on institute
It states in first server.
Optionally, stored in the storage medium and step: the deployment module run the installation source file and
Before or after the configuration file, corresponding computer instruction further includes following steps: described during being specifically performed
Second network address of the first network address of the installation source file and the configuration file is passed through the BMC by deployment module
In network interface card be sent to the N-1 platform second server.
Optionally, stored in the storage medium and step: the portion in the BIOS for being embedded in the first server
Administration's module judges whether there is and the corresponding installation source file of operating system and configuration file corresponding with the operating system, obtains
Before obtaining the first judging result, corresponding computer instruction further includes following steps: described first during being specifically performed
The BIOS detection of server obtains the first enabled instruction for being used to start the deployment module that user carries out;The BIOS is executed
First enabled instruction, into the deployment module;The CPU of first server obtains the use in movable memory equipment
In the display command for the operation interface for showing the deployment module data, wherein include characterization operation system in the operation interface
At least one icon for parameter of uniting;The CPU handles the display command, so that the display list of the first server
The configuration interface of the member display installation operating system.
Optionally, stored in the storage medium and step: described in being shown in the display unit of the first server
Further include following steps after the configuration interface for installing operating system: the CPU obtains user on the display interface to institute
State the configuration operation that M parameter of operating system carries out, wherein M is the integer more than or equal to 1;The CPU responds the configuration
Operation generates the configuration file corresponding with the configuration operation.
Optionally, stored in the storage medium and step: in the BIOS for being embedded in the first server
Deployment module judges whether there is and the corresponding installation source file of operating system and configuration file corresponding with the operating system,
The first judging result is obtained, corresponding computer instruction specifically comprises the following steps: the deployment during being specifically performed
Module obtains the Disposition Instructions for being used to dispose the operating system from user in the operation interface;The deployment module executes institute
Disposition Instructions are stated, to judge whether the first server obtains the installation source file and the configuration file, obtain first
Judging result.
Optionally, store in the storage medium and step: the BMC is based on first request instruction for the peace
Loading of source file and the configuration file carry are a virtual disk drive or a virtual optical disk driver, corresponding calculating
Machine instruction specifically comprises the following steps: that the BMC executes first request instruction during being specifically performed, will be described
The installation source file positioned at first network address and the configuration file carry positioned at the second network address are the magnetic
Disk drive or the virtual optical disk driver, wherein the first network address is that the network in the first server is total
It enjoys address or local disc drives address or the address of the server of the installation source file is provided in the network, it is described
Second network address is address that user specifies in the hard disk or that operating system is defaulted.
Optionally, store in the storage medium and step: being based on first request instruction in the BMC will be described
It is corresponding after source file and the configuration file carry are installed for a virtual disk drive or a virtual optical disk driver
Computer instruction during being specifically performed, specifically comprise the following steps: that the BMC generates a feedback information and is sent to
The deployment module, wherein the feedback information shows that the installation source file and the configuration file have been used as virtual optical disk
Driver and virtual disk drive carry, so that the deployment module loads the installation source file and the configuration file.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (14)
1. a kind of server operating system dispositions method, applied in the first server being located in consolidated network N platform server,
It wherein, further include N-1 platform second server in the N platform server, N is the integer more than or equal to 2, which comprises
The deployment module being embedded in the basic input-output system BIOS of the first server is judged whether there is and is operated
The corresponding installation source file of system and configuration file corresponding with the operating system obtain the first judging result;
When first judging result, which is, is, baseboard management controller BMC of the deployment module to the first server
Send the first request instruction;
It is a virtual magnetic that the BMC, which is based on first request instruction for the installation source file and the configuration file carry,
Disk drive or a virtual optical disk driver;
The deployment module runs the installation source file and the configuration file, and the operating system is mounted on described the
In one server,
Before or after the deployment module runs the installation source file and the configuration file, the method also includes:
The deployment module leads to the second network address of the first network address of the installation source file and the configuration file
The network interface card crossed in the BMC is sent to the N-1 platform second server.
2. the method as described in claim 1, which is characterized in that the deployment mould in the BIOS for being embedded in the first server
Block judges whether there is and the corresponding installation source file of operating system and configuration file corresponding with the operating system, obtains the
Before one judging result, the method also includes:
The BIOS detection of the first server obtains the first enabled instruction for being used to start the deployment module that user carries out;
The BIOS executes first enabled instruction, into the deployment module;
The CPU of first server obtains operation circle for being used to show the deployment module data in movable memory equipment
The display command in face, wherein at least one icon comprising characterization operating system parameter in the operation interface;
The CPU handles the display command, so that the display unit of the first server shows the operation system
The configuration interface of system.
3. method according to claim 2, which is characterized in that show the operation in the display unit of the first server
After the configuration interface of system, the method also includes:
The CPU obtains user and operates on the configuration interface to the configuration that M parameter of the operating system carries out,
In, M is the integer more than or equal to 1;
The CPU responds the configuration operation, generates the configuration file corresponding with the configuration operation.
4. method as claimed in claim 3, which is characterized in that the deployment in the BIOS for being embedded in the first server
Module judges whether there is and the corresponding installation source file of operating system and configuration file corresponding with the operating system, obtains
First judging result, specifically includes:
The deployment module obtains the Disposition Instructions for being used to dispose the operating system from user in the operation interface;
The deployment module executes the Disposition Instructions, with judge the first server whether obtain the installation source file with
The configuration file obtains the first judging result.
5. the method as described in any claim of claim 1-4, which is characterized in that the BMC is based on first request instruction
It is a virtual disk drive or a virtual optical disk driver, tool by the installation source file and the configuration file carry
Body are as follows:
The BMC executes first request instruction, will be located at the installation source file of first network address and positioned at second
The configuration file carry of network address is the disc driver or the virtual optical disk driver, wherein described first
Network address mentions for the network share address or local disc drives address in the first server or in the network
For it is described installation source file server address, second network address be in hard disk user specify or operation system
The address for default of uniting.
6. method as claimed in claim 5, which is characterized in that be based on first request instruction for the peace in the BMC
Loading of source file and the configuration file carry are the side after a virtual disk drive or a virtual optical disk driver
Method further include:
The BMC generates a feedback information and is sent to the deployment module, wherein the feedback information shows the installation source
File and the configuration file have been used as virtual optical disk driver and virtual disk drive carry, so that the deployment module adds
Carry the installation source file and the configuration file.
7. a kind of server operating system dispositions method, applied to the N-1 platform second service being located in consolidated network N platform server
In device, wherein further include a first server in the N platform server, N is the integer more than or equal to 2, the method packet
It includes:
After the second server powers on, the deployment module being embedded in the BIOS of the second server judges the network
In with the presence or absence of sent by the first server it is corresponding with the operating system installation source file first network address
With the second network address of configuration file corresponding with the operating system, the first judging result is obtained;
When first judging result, which is, is, the deployment module sends the first request to the BMC of the second server and refers to
It enables;
It is a virtual magnetic that the BMC, which is based on first request instruction for the installation source file and the configuration file carry,
Disk drive or a virtual optical disk driver;
The deployment module operation virtual optical disk driver and installation source file and configuration text in virtual disk drive
The operating system is mounted in the second server by part.
8. a kind of server operating system dispositions method, applied to being located in the server cluster of consolidated network, the server
It include a first server and N-1 platform second server in cluster, wherein N is the integer more than or equal to 2, the method packet
It includes:
It is corresponding that the first deployment module being embedded in the BIOS of the first server judges whether there is the operating system
Installation source file and the corresponding configuration file of the operating system, obtain the first judging result;
When first judging result, which is, is, first deployment module sends first to the BMC of the first server and asks
Ask instruction;
The BMC of the first server is based on first request instruction for the installation source file and the configuration file carry
For a virtual disk drive or a virtual optical disk driver;
First deployment module runs the installation source file and the configuration file, and the operating system is mounted on institute
It states in first server;
Network interface card in the BMC of the first server is by the first network address of the installation source file and the configuration file
Second network address is sent to the N-1 platform second server;
The second deployment module being embedded in the BIOS of the N-1 platform second server judges in the network with the presence or absence of described
First network address and second network address obtain the second judging result;
When second judging result, which is, is, second deployment module sends N- to the BMC of the N-1 platform second server
1 the second request instruction;
The N-1 platform second server BMC is based on the N-1 the second request instructions for the installation source file and the configuration
File mount is a virtual disk drive or a virtual optical disk driver;
The installation source file in the virtual optical disk driver and virtual disk drive is run by second deployment module
With the configuration file, the operating system is mounted in the N-1 platform second server.
9. a kind of server, as the first server being located in consolidated network N platform server, wherein in the N platform server
It further include N-1 platform second server, N is the integer more than or equal to 2, comprising:
Deployment module is embedded in the basic input-output system BIOS of the first server, for judge whether there is with
The corresponding installation source file of operating system and configuration file corresponding with the operating system obtain the first judging result;
Baseboard management controller BMC;
When first judging result, which is, is, the deployment module is also used to send the first request instruction to the BMC;
The BMC is also used to based on first request instruction be one by the installation source file and the configuration file carry
Virtual disk drive or a virtual optical disk driver;
The deployment module is also used to run the installation source file and the configuration file, and the operating system is mounted on
In the first server,
The deployment module is also used to:
Second network address of the first network address of the installation source file and the configuration file is passed through in the BMC
Network interface card is sent to the N-1 platform second server in network.
10. server as claimed in claim 9, which is characterized in that the BIOS is also used to:
Detection obtains the first enabled instruction for being used to start the deployment module that user carries out;
First enabled instruction is executed, into the deployment module.
11. server as claimed in claim 10, which is characterized in that the server further include:
CPU, the deployment module in the BIOS for being embedded in the first server judge whether there is corresponding with operating system
Source file and configuration file corresponding with the operating system are installed, before obtaining the first judging result, coming from for acquisition can
The display command of the operation interface for showing the deployment module data in movable storage device, wherein operation circle
At least one icon comprising characterization operating system parameter on face;
The display command is handled, so that the display unit of the first server shows the configuration of the operating system
Interface;
After the display unit of the first server shows the configuration interface of the operating system, for obtaining user in institute
It states and the configuration that M parameter of the operating system carries out is operated on configuration interface, wherein M is the integer more than or equal to 1;
The configuration operation is responded, the configuration file corresponding with the configuration operation is generated.
12. server as claimed in claim 11, which is characterized in that the deployment module is also used to:
Obtain the Disposition Instructions for being used to dispose the operating system from user in the operation interface;
The Disposition Instructions are executed, to judge whether the first server obtains the installation source file and configuration text
Part obtains the first judging result.
13. server as claimed in claim 12, which is characterized in that the BMC is also used to:
First request instruction is executed, by the installation source file for being located at first network address and is located at the second network address
The configuration file carry be the disc driver or the virtual optical disk driver, wherein the first network address
The peace is provided for the network share address or local disc drives address in the first server or in the network
The address of the server of loading of source file, second network address are that user specifies in hard disk or that operating system is defaulted
Address.
14. server as claimed in claim 13, which is characterized in that the BMC is also used to:
Being based on first request instruction for the installation source file and the configuration file carry in the BMC is one virtual
After disc driver or a virtual optical disk driver, generates a feedback information and be sent to the deployment module, wherein institute
It states feedback information and shows that the installation source file and the configuration file have been used as virtual optical disk driver and virtual disk driver
Device carry, so that the deployment module loads the installation source file and the configuration file.
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 CN105791362A (en) | 2016-07-20 |
CN105791362B true 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) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528226B (en) * | 2016-10-31 | 2020-09-08 | 新华三信息技术有限公司 | Installation method and device of operating system |
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 |
CN110392080B (en) * | 2018-04-20 | 2023-06-06 | 杭州海康威视系统技术有限公司 | Deployment method and device based on distributed system and distributed system |
CN110633086B (en) * | 2018-06-25 | 2024-03-29 | 联想企业解决方案(新加坡)有限公司 | 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) |
CN110737444A (en) * | 2019-10-18 | 2020-01-31 | 中电科技(北京)有限公司 | Remote self-adaptive dynamic deployment method and system for operating system based on firmware |
CN110971689B (en) * | 2019-11-29 | 2022-10-11 | 广州市百果园信息技术有限公司 | System installation method, device, system, equipment and storage medium |
CN111935116B (en) * | 2020-07-30 | 2023-04-14 | 安徽华速达电子科技有限公司 | Method for loading files of intelligent optical network unit |
CN113064877B (en) * | 2021-03-26 | 2023-02-28 | 山东英信计算机技术有限公司 | Big data interaction method and system for multi-level management unit of server |
CN113076113B (en) * | 2021-04-12 | 2024-05-14 | 武汉深之度科技有限公司 | Method, host and system for installing operating system |
US11762644B2 (en) * | 2021-05-10 | 2023-09-19 | International Business Machines Corporation | Agentless installation for building deployments |
Citations (5)
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 |
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7856630B2 (en) * | 2006-01-05 | 2010-12-21 | International Business Machines Corporation | System, method and program to manage program updates |
US9052916B2 (en) * | 2006-09-21 | 2015-06-09 | Hewlett-Packard Development Company, L.P. | System ROM with an embedded disk image |
-
2014
- 2014-12-24 CN CN201410822795.4A patent/CN105791362B/en active Active
Patent Citations (5)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105791362A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105791362B (en) | A kind of server operating system dispositions method and server | |
US11533311B2 (en) | Automatically deployed information technology (IT) system and method | |
US20210216360A1 (en) | Virtual machine migration method and apparatus | |
EP2043320B1 (en) | Method and system for automatic and remote server provisioning using virtual machine appliances | |
CN106445576B (en) | Motherboard and its computer implemented method and the readable storage device of non-transient computer | |
CN103458002B (en) | One key dispositions method and device of cloud system | |
CN101989212B (en) | Method and device for providing virtual machine management program for starting blade server | |
CN105814541B (en) | The method of computer equipment and computer equipment internal storage starting | |
JP2021506044A5 (en) | ||
US8171276B2 (en) | Minimal startup mode for performing multiple-reboot configuration | |
US10333785B2 (en) | Server information handling system configuration by peer-to-peer networking | |
US8321617B1 (en) | Method and apparatus of server I/O migration management | |
US9965288B2 (en) | Preconfiguring hardware and speeding up server discovery prior to bios boot | |
US10142181B2 (en) | Method and apparatus for template based platform and infrastructure provisioning | |
CN102662727A (en) | Virtual machine creating method and virtual machine creating device | |
US9690612B2 (en) | Dynamically managing a serial port interface of virtualization software on host device wherein execution is performed not during boot sequence | |
US8626880B2 (en) | Embedded configuration variance detector | |
EP3637252A1 (en) | Virtual machine deployment method and omm virtual machine | |
CN104113430A (en) | Cloud computing data center automatic deployment software framework design | |
JP2016207184A (en) | Methods of updating firmware components, computer systems, and memory device | |
US20200389366A1 (en) | Method for managing multiple servers and device employing method | |
CN111694604A (en) | Method, device and equipment for installing drivers in batches and machine-readable storage medium | |
CN106325859B (en) | Method and server for installing driver | |
US20170199733A1 (en) | Method for terminal to update operating system, terminal and system | |
CN103246544B (en) | virtual hardware driving method |
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 |