CN105573776B - A kind of software installation method and server in station of server in station - Google Patents

A kind of software installation method and server in station of server in station Download PDF

Info

Publication number
CN105573776B
CN105573776B CN201410620748.1A CN201410620748A CN105573776B CN 105573776 B CN105573776 B CN 105573776B CN 201410620748 A CN201410620748 A CN 201410620748A CN 105573776 B CN105573776 B CN 105573776B
Authority
CN
China
Prior art keywords
server
installation
management system
storage device
station
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
Application number
CN201410620748.1A
Other languages
Chinese (zh)
Other versions
CN105573776A (en
Inventor
方峰
王钦东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410620748.1A priority Critical patent/CN105573776B/en
Publication of CN105573776A publication Critical patent/CN105573776A/en
Application granted granted Critical
Publication of CN105573776B publication Critical patent/CN105573776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of software installation methods of server in station, comprising: outband management system receives the software installation instruction that management server is sent, and the software installation instruction includes the network address of the management server;Outband management system from the installation file for downloading target software in the management server and is sent it in the storage device by first port agreement according to the network address of the management server in software installation instruction;Storage device saves the installation file that the outband management system is sent;In-band management system reads the installation file in the storage device by second port agreement and runs the installation file to install the target software.Correspondingly, the embodiment of the invention also discloses a kind of server in station.Using the present invention, server in station, which may be implemented, only can obtain installation file by the network for outband management and install software, have the advantages that networking is simple and at low cost.

Description

A kind of software installation method and server in station of server in station
Technical field
The present invention relates to the software installation method and website of computer network field more particularly to a kind of server in station clothes Business device.
Background technique
With the continuous development of computer network, the composition of network becomes increasingly complex, centralized network management meet the tendency of and It is raw.The network management of so-called centralization (is such as counted the various network equipments in network by being located at the management server on backstage The equipment such as calculation machine, server, router, interchanger and firewall) is intensively monitored and managed.Further, network pipe Reason is divided into in-band management (in-band) and outband management (out-of-band), and the in-band management, which refers to, will be used to control network The control information of equipment and the data information for service interaction are put into same physical channel and are transmitted, on the contrary, the band The two is then put into different physical channels and transmitted by outer management.
The server in station batch installation software that the network management of centralization can be used for newly to set in network, such as batch are installed Operating system has the advantages that flexibility ratio is high, high-efficient and installation progress is controllable.In the specific implementation, please referring to shown in FIG. 1 one The structural schematic diagram of kind network deployment, first outband management system of the management server in background server to server in station The instruction of starting installation operating system is issued, then DHCP of the in-band management system of server in station into background server (Dynamic Host Configuration Protocol, dynamic host configuration protocol) server request distribution IP (Internet Protocol, network protocol) address, then the in-band management system of server in station is based on IP from TFTP Installation is downloaded in (Trivial File Transfer Protocol, Simple File Transfer Protocol) server and Resource Server File, last server in station complete the installation of operating system according to the installation file of downloading.
As seen from Figure 1, it is disposed to realize, on the one hand, the network interface of the outband management system of server in station need to be inserted Cable is connect, outband management is used for, on the other hand, the network interface of the in-band management system of server in station also needs grafting cable, For in-band management.So, a station point server at least needs two cables of grafting, if there is thousands of station services Device is then easy to the problem of cable misplug occurs, and is difficult to check.In addition, Dynamic Host Configuration Protocol server, tftp server and resource service Device is also required to correspondingly configure, any one configuration error can all cause entirely to dispose failure.
Summary of the invention
The embodiment of the invention provides a kind of software installation method of server in station and server in station, may be implemented to stand Point server only can obtain installation file by the network for outband management and install software, have networking it is simple and at This low advantage.
First aspect of the embodiment of the present invention provides a kind of server in station, including in-band management system, outband management system System and storage device, the in-band management system are that the set of hardware of in-band management function, institute are realized in the server in station It states in-band management and refers to that the control information that will be used to control the network equipment and the data information for being used for service interaction are put into same object The network management that reason channel is transmitted, the outband management system are realization outband management functions in the server in station Set of hardware, the outband management, which refers to, will be used to control the control information of the network equipment and is used for the data information of service interaction It is put into the network management that different physical channels are transmitted, the storage device is set to the outband management system and the band File transmitting function therebetween is realized between interior management system, wherein
The outband management system, is used for:
The software installation instruction that management server is sent is received, the software installation instruction includes the management server Network address;
According to the network address of the management server in software installation instruction, under in the management server It carries the installation file of target software and storage device is sent by first port agreement by it;
The storage device, the installation file sent for saving the outband management system;
The in-band management system, for reading the installation file in the storage device by second port agreement And the installation file is run to install the target software.
In the first possible implementation of first aspect, the storage device includes conversion chip and storage card, In:
The conversion chip, the peace sent for receiving the outband management system by the first port agreement Fill file;
The storage card, for saving the installation file;
The conversion chip is also used to send the band inner tube by the second port agreement for the installation file Reason system.
Possibility implementation with reference to first aspect, in second of possible implementation of first aspect, the target Software is operating system, and the installation file includes WindowsPE PE, installation script and operating system installation kit;
The in-band management system, is specifically used for:
The installation file in the storage device is read by second port agreement;
Start the PE in the installation file to establish pre-installed system;
The operating system installation kit in the installation file is run in the pre-installed system to install the operation system It unites, and configures the parameter of the operating system according to the installation script in the installation file.
Possibility implementation with reference to first aspect, in the third possible implementation, the in-band management system, also Installation progress for being installed the target software is sent to the outband management system;
The outband management system is also used to feed back the installation progress of the target software to the management server.
Possibility implementation with reference to first aspect, in the 4th kind of possible implementation, the in-band management system, also For after determining that the target software has been installed, passing through storage device described in second port protocol access and deleting wherein The installation file.
Possibility implementation with reference to first aspect, in the 5th kind of possible implementation, the outband management system, also For obtaining the management server as the network address of its distribution, and configure the network address.
With reference to first aspect and first, second, third, fourth or the 5th kind of possibility implementation of first aspect, In the 6th kind of possible implementation, the first port agreement includes twin wire universal serial bus I2C Port Profile and multimedia Block MMC Port Profile;
The second port agreement includes general-purpose serial bus USB Port Profile.
Second aspect of the embodiment of the present invention provides a kind of software installation method of server in station, and the method is implemented in Server in station, the server in station include in-band management system, outband management system and storage device, the in-band management System is that the set of hardware of in-band management function is realized in the server in station, and the in-band management, which refers to, will be used to control net The control information of network equipment and the data information for service interaction are put into the network management that same physical channel is transmitted, institute State outband management system be in the server in station realize outband management function set of hardware, the outband management refer to by Data information for controlling the control information of the network equipment and for service interaction is put into what different physical channels were transmitted Network management, the storage device are set between the outband management system and the in-band management system to realize therebetween File transmitting function, which comprises
The outband management system receives the software installation instruction that management server is sent, and the software installation instruction includes The network address of the management server;
The outband management system according to the software installation instruct in the management server network address, from institute It states the installation file for downloading target software in management server and preset storage is sent by first port agreement by it and fill In setting;
The storage device saves the installation file that the outband management system is sent;
The in-band management system reads the installation file in the storage device by second port agreement and transports The row installation file is to install the target software.
In the first possible implementation of second aspect, the target software is operating system, the installation file Including WindowsPE PE, installation script and operating system installation kit;
The in-band management system reads the installation file in the storage device by second port agreement and transports The row installation file is to install the target software, comprising:
The in-band management system reads the installation file in the storage device by second port agreement;
The in-band management system starts the PE in the installation file to establish pre-installed system;
The in-band management system runs the operating system installation kit in the installation file in the pre-installed system To install the operating system, and configure according to the installation script in the installation file parameter of the operating system.
In conjunction with the possibility implementation of second aspect, in second of possible implementation, the in-band management system is logical Second port agreement is crossed to read the installation file in the storage device and run the installation file to install the mesh After mark software, further includes:
The installation progress that the in-band management system is installed the target software is sent to the outband management system;
The outband management system feeds back the installation progress of the target software to the management server.
In conjunction with the possibility implementation of second aspect, in the third possible implementation, the in-band management system is logical Second port agreement is crossed to read the installation file in the storage device and run the installation file to install the mesh After mark software, further includes:
The in-band management system passes through second port protocol access institute after determining that the target software has been installed It states storage device and deletes the installation file therein.
In conjunction with the possibility implementation of second aspect, in the 4th kind of possible implementation, the outband management system is connect Before the software installation instruction for receiving management server transmission, further includes:
The outband management system obtains the network address that the management server is this its distribution, and with configuring the network Location.
With reference to first aspect and first, second, third or the 4th kind of possibility implementation of first aspect, the 5th In the possible implementation of kind, the first port agreement includes twin wire universal serial bus I2C Port Profile and the end multimedia card MMC Mouth agreement;
The second port agreement includes general-purpose serial bus USB Port Profile.
The third aspect of the embodiment of the present invention provides a kind of computer storage medium, and the computer storage medium is stored with Program, the program include a kind of some or all of software installation method of server in station that second aspect provides step when executing Suddenly.
Therefore the outband management system of the server in station in the embodiment of the present invention is sent according to management server Software installation instruction downloads the installation file of target software from management server and sends it to by first port agreement In the storage device of server in station, the in-band management system of server in station passes through in second port agreement read storage device Installation file and run installation file with installation targets software, server in station may be implemented only by for outband management Network can obtain installation file and install software, without configuring the cable at other networks, support other networks without being equipped with Network interface card, thus have the advantages that networking simply and it is at low cost.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of network deployment provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of improved network deployment provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of server in station provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of storage device provided in an embodiment of the present invention;
Fig. 5 is a kind of flow diagram of the software installation method of server in station provided in an embodiment of the present invention;
Fig. 6 is the flow diagram of the software installation method of another server in station provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another server in station provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Network management of the technical solution of the embodiment of the present invention applied to centralization, the network management of so-called centralization, i.e., By being located at the management server on backstage to the various network equipments (such as computer, server, router, the interchanger in network With the equipment such as firewall) is intensively monitored and managed.Particularly, the technical solution of the embodiment of the present invention is applied especially to pipe Server is managed to the scene of multiple server in station installation software (such as installation operating system) in network.
It will be appreciated that the management server referred to can assign control to multiple server in station and refer in the embodiment of the present invention It enables, such as software installation instruction is assigned to specified server in station;The Dynamic Host Configuration Protocol server referred to can distribute for server in station IP address;File, such as the installation file of software, server in station are prestored in the tftp server and Resource Server referred to The file prestored can therefrom be downloaded.
It will also be understood that, in the embodiment of the present invention, the outband management system referred to is that band outer tube is realized in server in station The set of hardware of function is managed, the outband management, which refers to, will be used to control the control information of the network equipment and be used for service interaction Data information is put into the network management that different physical channels are transmitted, and the in-band management system referred to is real in server in station The set of hardware of existing in-band management function, the in-band management, which refers to, will be used to control the control information of the network equipment and is used for industry The data information of business interaction is put into the network management that same physical channel is transmitted, and popular can understand are as follows: outband management system For receiving control instruction that management server is assigned and the operating status of server in station being fed back to management server, band Interior management system is the chief component of server in station, for executing the routine operation of server in station.Further, exist In server in station, the set of hardware for constituting outband management system includes at least baseboard controller BMC (Baseboard Management Controller) and network interface;Constitute in-band management system set of hardware include at least South Bridge chip and Central processor CPU (Central Processing Unit).
Therefore the outband management system and in-band management system of server in station are two moulds that can be worked independently Block, and skilled artisans appreciate that: Signalling exchange can only be carried out between outband management system and in-band management system, it cannot Carry out file transmission.The network deployment structure of the network management of existing centralization is as shown in Figure 1, background server includes at least pipe Server, Dynamic Host Configuration Protocol server, tftp server and Resource Server are managed, because being limited to outband management system and in-band management system Between not can be carried out file transmission, then require management server to connect by the network for outband management with outband management system, Dynamic Host Configuration Protocol server, tftp server and Resource Server are then connect by the network for in-band management with in-band management system. And network deployment structure provided in an embodiment of the present invention is as shown in Fig. 2, background server includes management server, tftp server And Resource Server, in addition to this server in station further includes storage device, management server, tftp server and resource service Device is connect by the network for outband management with outband management system, and storage device is set to outband management system and with inner tube File transmitting function therebetween is realized between reason system, is overcome and is at least needed two nets of grafting in existing network deployment architecture The problem of line, and it is not necessarily to configuration DHCP server, specific implementation process and reason please refer to hereafter.
Fig. 3 is a kind of structural schematic diagram of server in station in the embodiment of the present invention.In the embodiment of the present invention as shown in the figure Server in station at least may include outband management system 310, in-band management system 320 and storage device 330, in which:
The outband management system 310, for receiving the software installation instruction of management server transmission, the software installation Instruction includes the network address of the management server.
Firstly, the management server for being located at backstage searches server in station by the network for outband management, in turn Software installation instruction is assigned to it according to the management strategy pre-set.Such as: assuming that newly having set more in a local area network Server in station, there is no installation operating systems or specified software, management server to pass through for these server in station newly set Network finds to assign it software installation instruction according to the management strategy pre-set after these server in station, notifies its system One downloads the installation file pre-saved at management server.
Particularly, after the management server on backstage searches server in station by the network for outband management, also Network address need to be distributed for the network port of the outband management system 310 of server in station, it will be understood by those skilled in the art that ground, Here network address is the dormant network address extracted from resource pool by management server, therefore is not related to network address It dynamically distributes, so there is no need to save lower deployment cost in the Dynamic Host Configuration Protocol server for being configured to network address dynamic allocation from the background.Accordingly Ground, outband management system 310 receives management server as the network address of its distribution, and the network address is configured to network-side Mouthful, it is instructed so that management server assigns software installation to outband management system 310 according to the network address.
Specifically, outband management system 310 receives the software installation instruction that management server is sent.It should be pointed out that The network address of management server is carried in software installation instruction.
The outband management system 310, for the network according to the management server in software installation instruction The installation file of target software is downloaded and described in sending it to by first port agreement in address from the management server Storage device 330.
Specifically, outband management system 310 according to software installation instruct in the network address of management server that carries, to The installation file of management server request downloading target software, management server from the tftp server for being located on backstage and/or Got in Resource Server the installation file and under reach server in station, the outband management system 310 of server in station connects It sends it in preset storage device 330 by first port agreement after receipts.
Optionally, the target software file is operating system, and the installation file includes WindowsPE PE (Preinstall Environment), installation script and operating system installation kit etc..Wherein PE and operating system installation kit can It is stored in tftp server, installation script can be reserved in Resource Server.It should be pointed out that below in the embodiment of the present invention In description, default objects software document is operating system, but is not limited only to operating system.
Wherein, need to be the reason of sending file by first port agreement: the port of outband management system 310 is The port I2C and/or the port MMC, and storage device 330 is not, to need just to be able to achieve file transmission by Port Profile between the two. Thus optional, the first port agreement is twin wire universal serial bus I2C Port Profile and/or multimedia card MMC (Multimedia Card) Port Profile.
The storage device 330, the installation file sent for saving the outband management system 310.
It should be pointed out that the embodiment of the present invention compared with prior art, increases storage device 330, storage device 330 is only It stands on outband management system 310 and in-band management system 320 exists, be set to outband management system 310 and in-band management system Between 320.By introduction above it is found that can only realize that signaling is handed between outband management system 310 and in-band management system 320 Mutually, it can not achieve file transmission, but increased storage device 330 can carry out file transmission with outband management system 310, and can File transmission is carried out with in-band management system 320, if outband management system can be achieved by both connections of storage device 330 File transmission between 310 and in-band management system 320.
Specifically, referring to Fig. 4, storage device 330 can further comprise conversion chip 331 and storage card 332, wherein Conversion chip 331 is for receiving the installation file that outband management system 310 is sent by first port agreement;Storage card 332 is used In the preservation installation file.
The in-band management system 320, for reading the peace in the storage device 330 by second port agreement Dress file simultaneously runs the installation file to install the target software.
Specifically, in-band management system 320 passes through the installation file and fortune in second port agreement read storage device 330 Row installation file is to install operating system.
Wherein, need to be the reason of reading file by second port agreement: the port of in-band management system 320 is USB port, and storage device 330 is not, to need just to be able to achieve file transmission by Port Profile between the two.It is thus optional, The second port agreement is general-purpose serial bus USB Port Profile.
During specific implementation, in-band management system 320 is specifically used for: passing through second port agreement read storage device Installation file in 330;Start the PE in installation file to establish pre-installed system;Installation file is run in pre-installed system In operating system installation kit to install operating system, and according to the ginseng of the installation script configuration operating system in installation file Number.Wherein, the effect for starting PE is the software platform that a pre-installed system is established on the hardware of server in station, pre-installation System is a very small transition system, for running operating system installation kit above it.In addition, installation script includes system The parameters such as driving, user name, password, time zone and language, to configure the parameter of operating system.
Optionally, the installation progress that in-band management system 320 is also used to be installed the target software is sent to described Outband management system 310;Outband management system 310 is also used to feed back the installation of the target software to the management server Progress.During specific implementation, management server can inquire the installation progress of operating system according to the preset time interval, and band is outer Installation progress from management system 310 to management server feedback operation system so that management server monitor installation situation, in turn Corresponding countermeasure is executed according to installation situation.Such as: management server is in the operating system installation for knowing certain station point server When failure or stagnation, the instruction reinstalled is assigned to the outband management system 310 of the server in station.It is found that the present invention is real Applying example has the advantages that flexibility ratio is high, installation progress is controllable.
Again optional, in-band management system 320 is also used to after determining that the target software has been installed, by the Storage device 330 described in Two-port netwerk protocol access simultaneously deletes the installation file therein.It should be pointed out that timing cleaning is deposited The memory space of storage device, can be convenient for subsequent update operating system or installation application program, and can avoid the case where software accidentally fills.
Therefore the server in station in the embodiment of the present invention includes at least outband management system, in-band management system And storage device, wherein outband management system is instructed according to the software installation that management server is sent, under in management server It carries the installation file of target software and sends it in the storage device of server in station by first port agreement, band inner tube Reason system passes through the installation file in second port agreement read storage device and runs installation file with installation targets software, can To realize that server in station only can obtain installation file by the network for outband management and install software, without configuring it The cable at its network, the network interface card of other networks is supported without outfit, thus has the advantages that networking is simply and at low cost.
Fig. 5 is a kind of flow diagram of the software installation method of server in station in the embodiment of the present invention, and this method is real Now in server in station, the server in station includes outband management system, in-band management system and storage device.As shown in the figure The process of the software installation method of server in station in the present embodiment may include:
S101, the outband management system receive the software installation instruction that management server is sent, and the software installation refers to Enable the network address including the management server.
Firstly, the management server for being located at backstage searches server in station by the network for outband management, in turn Software installation instruction is assigned to it according to the management strategy pre-set.Such as: assuming that newly having set more in a local area network Server in station, there is no installation operating systems or specified software, management server to pass through for these server in station newly set Network finds to assign it software installation instruction according to the management strategy pre-set after these server in station, notifies its system One downloads the installation file pre-saved at management server.
Particularly, after the management server on backstage searches server in station by the network for outband management, also Network address need to be distributed for the network port of the outband management system of server in station, it will be understood by those skilled in the art that ground, this In network address be the dormant network address extracted from resource pool by management server, therefore be not related to the dynamic of network address State distribution, so there is no need to save lower deployment cost in the Dynamic Host Configuration Protocol server for being configured to network address dynamic allocation from the background.Accordingly Ground, outband management system receives management server as the network address of its distribution, and the network address is configured to the network port, It is instructed so that management server assigns software installation to outband management system according to the network address.
Specifically, outband management system receives the software installation instruction that management server is sent.It is pointed out that software The network address of management server is carried in installation instruction.
S102, the outband management system according to the software installation instruct in the management server network Location is downloaded the installation file of target software from the management server and is sent by first port agreement it to preset In storage device.
Specifically, outband management system according to software installation instruct in the network address of management server that carries, Xiang Guan The installation file of server request downloading target software is managed, management server is from the tftp server and/or money for being located on backstage Got in source server the installation file and under reach outband management system, it is passed through first after receiving by outband management system Port Profile is sent in storage device.
Optionally, the target software file is operating system, and the installation file includes WindowsPE PE (Preinstall Environment), installation script and operating system installation kit etc..Wherein PE and operating system installation kit can It is stored in tftp server, installation script can be reserved in Resource Server.It should be pointed out that below in the embodiment of the present invention In description, default objects software document is operating system, but is not limited only to operating system.
Wherein, need to be the reason of sending file by first port agreement: the port of outband management system is the end I2C Mouth and/or the port MMC, and storage device is not, to need just to be able to achieve file transmission by Port Profile between the two.It is thus optional , the first port agreement is twin wire universal serial bus I2C Port Profile and/or multimedia card MMC (Multimedia Card) Port Profile.
S103, the storage device save the installation file that the outband management system is sent.
During specific implementation, storage device can further comprise conversion chip and storage card (such as SD card), wherein conversion Chip is for receiving the installation file that outband management system is sent by first port agreement;Storage card is for saving installation text Part.
S104, the in-band management system read the installation file in the storage device by second port agreement And the installation file is run to install the target software.
Specifically, in-band management system is by the installation file in second port agreement read storage device and runs installation File is to install operating system.
Wherein, need to be the reason of reading file by second port agreement: the port of in-band management system is the end USB Mouthful, and storage device is not, to need just to be able to achieve file transmission by Port Profile between the two.It is thus optional, described second Port Profile is general-purpose serial bus USB Port Profile.
During specific implementation, in-band management system passes through the installation file in second port agreement read storage device simultaneously Operation installation file may is that with installing the concrete operations of operating system through the peace in second port agreement read storage device Fill file;Start the PE in installation file to establish pre-installed system;The operation in installation file is run in pre-installed system System installation kit is to install operating system, and according to the parameter of the installation script configuration operating system in installation file.Wherein, it opens The effect of dynamic PE is the software platform that a pre-installed system is established on the hardware of server in station, and pre-installed system is a non- Often small transition system, for running operating system installation kit above it.In addition, installation script includes system drive, user The parameters such as name, password, time zone and language, to configure the parameter of operating system.
Another optional, for in-band management system during installing operating system, in-band management system is by its installation targets The installation progress of software is sent to outband management system, and outband management system is installed into management server feedback operation system Degree.During specific implementation, management server can inquire the installation progress of operating system, band inner tube according to the preset time interval Reason system obtains the installation progress of installation targets software, and sends it to outband management system, and outband management system is to management The installation progress of server feedback operating system so that management server monitors installation situation, and then is executed according to installation situation Corresponding countermeasure.Such as: management server is in the operating system install failure or stagnation for knowing certain station point server, to it Assign the instruction reinstalled.It is found that the embodiment of the present invention has the advantages that flexibility ratio is high, installation progress is controllable.
Again optional, in-band management system passes through second port protocol access after determining that target software has been installed Storage device simultaneously deletes installation file therein.It should be pointed out that the memory space of storage device is cleared up in timing, after being convenient for It is continuous to update operating system or installation application program, and can avoid the case where software accidentally fills.
Therefore the outband management system of the server in station in the embodiment of the present invention is sent according to management server The installation file of target software is downloaded in software installation instruction by the network for outband management from management server, and will It is sent in the storage device of server in station by first port agreement, and the in-band management system of server in station passes through the Installation file in Two-port netwerk agreement read storage device simultaneously runs installation file with installation targets software, and website clothes may be implemented Business device only can obtain installation file by the network for outband management and install software, without configuring the net at other networks Line, the network interface card of other networks is supported without outfit, thus has the advantages that networking is simply and at low cost.
Fig. 6 is the flow diagram of the software installation method of another server in station in the embodiment of the present invention, this method It is embodied in server in station, the server in station includes outband management system, in-band management system and storage device, is deposited Storage device includes at least conversion chip and storage card, and storage card can be SD card.Station services in the present embodiment as shown in the figure The process of the software installation method of device may include:
S201, outband management system obtains management server and is the network address of this its distribution, and configures the network address.
Firstly, the management server for being located at backstage searches server in station by the network for outband management, and it is The network port of the outband management system of server in station distributes network address, it will be understood by those skilled in the art that ground, here Network address is the dormant network address extracted from resource pool by management server, therefore is not related to the dynamic point of network address Match, so there is no need to save lower deployment cost in the Dynamic Host Configuration Protocol server for being configured to network address dynamic allocation from the background.
Specifically, outband management system receives management server as the network address of its distribution, and the network address is matched The network port is set, is instructed so that management server assigns software installation to outband management system according to the network address.
S202, outband management system receive the software installation instruction that management server is sent, the software installation instruction packet Include the network address of the management server.
Management server is after outband management system distributes concurrent SCN Space Cable Network address, according to the management strategy pre-set Software installation instruction is assigned to it.Such as: assuming that newly having set more station point servers, these websites newly set in a local area network Server is there is no installation operating system or specified software, and management server is according to the management strategy pre-set under it It is instructed up to software installation, it is notified uniformly to arrive the installation file that downloading pre-saves at management server.
Specifically, outband management system receives the software installation instruction that management server is sent.It is pointed out that software The network address of management server is carried in installation instruction.
S203, outband management system according to the software installation instruct in the management server network address, from The installation file of target software is downloaded in the management server and preset storage is sent by first port agreement by it In device.
Specifically, outband management system according to software installation instruct in the network address of management server that carries, Xiang Guan The installation file of server request downloading target software is managed, management server is from the tftp server and/or money for being located on backstage Got in source server the installation file and under reach outband management system, it is passed through first after receiving by outband management system Port Profile is sent in preset storage device.
Optionally, the target software file is operating system, and the installation file includes WindowsPE PE (Preinstall Environment), installation script and operating system installation kit etc..Wherein PE and operating system installation kit can It is stored in tftp server, installation script can be reserved in Resource Server.It should be pointed out that below in the embodiment of the present invention In description, default objects software document is operating system, but is not limited only to operating system.
Wherein, need to be the reason of sending file by first port agreement: the port of outband management system is the end I2C Mouth and/or the port MMC, and storage device is not, to need just to be able to achieve file transmission by Port Profile between the two.It is thus optional , the first port agreement is twin wire universal serial bus I2C Port Profile and/or multimedia card MMC (Multimedia Card) Port Profile.
S204, in-band management system read the installation file in the storage device by second port agreement.
Wherein, need to be the reason of reading file by second port agreement: the port of in-band management system is the end USB Mouthful, and storage device is not, to need just to be able to achieve file transmission by Port Profile between the two.It is thus optional, described second Port Profile is general-purpose serial bus USB Port Profile.
Storage device provided in an embodiment of the present invention is pointed out that, independently of outband management system and in-band management System exists, and is set between outband management system and in-band management system.By introduction above it is found that outband management system Signalling exchange can only be realized between in-band management system, can not achieve file transmission, but increased storage device can be with band Both outer management system carries out file transmission, and can carry out file transmission with in-band management system, if connected by storage device, The file transmission between outband management system and in-band management system then can be achieved.
S205, in-band management system start the PE in the installation file to establish pre-installed system.
Wherein, the effect for starting PE is the software platform that a pre-installed system is established on the hardware of server in station, Pre-installed system is a very small transition system, for running operating system installation kit above it.
S206, in-band management system run the operating system installation kit in the installation file in the pre-installed system To install the operating system, and configure according to the installation script in the installation file parameter of the operating system.
Wherein, installation script includes the parameters such as system drive, user name, password, time zone and language, to configure operation system The parameter of system.
S207, the installation progress that in-band management system is installed the target software are sent to the outband management system System.
S208, outband management system feed back the installation progress of the target software to the management server.
Specifically, management server can inquire the installation progress of operating system, outband management according to the preset time interval Installation progress from system to management server feedback operation system so that management server monitors installation situation, and then according to peace It fills situation and executes corresponding countermeasure.Such as: management server in the operating system install failure for knowing certain station point server or When stagnation, the instruction reinstalled is assigned to the outband management system of the server in station.It is found that the embodiment of the present invention has spirit The advantage that activity is high, installation progress is controllable.
S209, in-band management system pass through second port protocol access after determining that the target software has been installed The storage device simultaneously deletes the installation file therein.
It should be pointed out that the memory space of storage device is cleared up in timing, subsequent update operating system or installation can be convenient for Application program, and can avoid the case where software accidentally fills.
Therefore the outband management system of the server in station in the embodiment of the present invention is sent according to management server Software installation instruction downloads the installation file of target software from management server and sends it to by first port agreement In the storage device of server in station, the in-band management system of server in station passes through in second port agreement read storage device Installation file and run installation file with installation targets software, server in station may be implemented only by for outband management Network can obtain installation file and install software, without configuring the cable at other networks, support other networks without being equipped with Network interface card, thus have the advantages that networking simply and it is at low cost.
Fig. 7 is the structural schematic diagram of another server in station in the embodiment of the present invention, as shown in fig. 7, the website takes Business device 400 may include: a baseboard controller 401, such as BMC, at least one processor 402, such as CPU, at least one Network interface 404, memory 405 and storage device 406, at least one communication bus 403.Wherein, communication bus 403 is for real Connection communication between these existing components.Wherein, the network interface 404 of server in station is used for and management in the embodiment of the present invention Server carries out the communication of signaling or data.Memory 405 can be high speed RAM memory, and storage device 406 can be easy with right and wrong The memory (non-volatile memory) of mistake, for example, at least a magnetic disk storage are used for storage file.Memory 405 Middle storage batch processing code, and baseboard controller 401 and processor 402 are for calling the program code stored in memory to hold The following operation of row:
Baseboard controller 401 receives the software installation instruction that management server is sent, and the software installation instruction includes institute State the network address of management server;According to the network address of the management server in software installation instruction, from institute It states the installation file for downloading target software in management server and storage device is sent by first port agreement by it 406;Storage device 406 saves the installation file;Processor 402 reads the storage device 406 by second port agreement In the installation file and run the installation file to install the target software.
Optionally, the target software be operating system, the installation file include WindowsPE PE, installation script and Operating system installation kit, processor 402 read the installation file in the storage device 406 simultaneously by second port agreement The installation file is run to install the concrete operations of the target software are as follows:
The installation file in the storage device 406 is read by second port agreement;
Start the PE in the installation file to establish pre-installed system;
The operating system installation kit in the installation file is run in the pre-installed system to install the operation system It unites, and configures the parameter of the operating system according to the installation script in the installation file.
Optionally, processor 402, which also executes, is installed the installation progress of the target software and is sent to the band outer tube The operation of reason system, correspondingly, baseboard controller 401 also executes the installation for feeding back the target software to the management server The operation of progress.
Another optional, processor 402 also executes after determining that the target software has been installed, and is assisted by second port View accesses the storage device 406 and deletes the operation of the installation file therein.
Again optional, baseboard controller 401, which also executes, obtains the management server as the network address of its distribution, and matches Set the operation of the network address.
The embodiment of the present invention also proposed a kind of computer storage medium, and the computer storage medium is stored with program, Described program includes software installation of some instructions to execute server in station described in Fig. 5~Fig. 6 of the embodiment of the present invention The step of some or all of in method.
Therefore the outband management system of the server in station in the embodiment of the present invention is sent according to management server Software installation instruction downloads the installation file of target software from management server and sends it to by first port agreement In the storage device of server in station, the in-band management system of server in station passes through in second port agreement read storage device Installation file and run installation file with installation targets software, server in station may be implemented only by for outband management Network can obtain installation file and install software, without configuring the cable at other networks, support other networks without being equipped with Network interface card, thus have the advantages that networking simply and it is at low cost.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (15)

1. a kind of server in station, which is characterized in that the server in station include in-band management system, outband management system and Storage device, the in-band management system are that the set of hardware of in-band management function, the band are realized in the server in station Interior management refers to that the control information that will be used to control the network equipment and the data information for being used for service interaction are put into same physics and lead to The network management that road is transmitted, the outband management system are that the hardware of outband management function is realized in the server in station Set, the outband management refer to that the control information that will be used to control the network equipment and the data information for being used for service interaction are put into The network management that different physical channels are transmitted, the storage device are set to the outband management system and the band inner tube File transmitting function therebetween is realized between reason system, wherein
The outband management system, is used for:
The software installation instruction that management server is sent is received, the software installation instruction includes the network of the management server Address;
According to the network address of the management server in software installation instruction, mesh is downloaded from the management server It marks the installation file of software and storage device is sent by first port agreement by it;
The storage device, the installation file sent for saving the outband management system;
The in-band management system, for reading the installation file in the storage device by second port agreement and transporting The row installation file is to install the target software.
2. server in station as described in claim 1, which is characterized in that the storage device includes conversion chip and storage Card, in which:
The conversion chip, the installation text sent for receiving the outband management system by the first port agreement Part;
The storage card, for saving the installation file;
The conversion chip is also used to send the in-band management system by the second port agreement for the installation file System.
3. server in station as described in claim 1, which is characterized in that the target software is operating system, the installation File includes WindowsPE PE, installation script and operating system installation kit;
The in-band management system, is specifically used for:
The installation file in the storage device is read by second port agreement;
Start the PE in the installation file to establish pre-installed system;
The operating system installation kit in the installation file is run in the pre-installed system to install the operating system, and The parameter of the operating system is configured according to the installation script in the installation file.
4. server in station as described in claim 1, which is characterized in that the in-band management system is also used to be installed The installation progress of the target software is sent to the outband management system;
The outband management system is also used to feed back the installation progress of the target software to the management server.
5. server in station as described in claim 1, which is characterized in that the in-band management system is also used to determining It states after target software has been installed, passes through storage device described in second port protocol access and delete the installation text therein Part.
6. server in station as described in claim 1, which is characterized in that the outband management system is also used to obtain the pipe Server is managed as the network address of its distribution, and configures the network address.
7. server in station as claimed in any one of claims 1 to 6, which is characterized in that the first port agreement includes two Wire type universal serial bus I2C Port Profile and multimedia card MMC Port Profile;
The second port agreement includes general-purpose serial bus USB Port Profile.
8. a kind of software installation method of server in station, which is characterized in that the method is implemented in server in station, the station Point server includes in-band management system, outband management system and storage device, and the in-band management system is the website clothes It is engaged in realizing the set of hardware of in-band management function in device, the in-band management, which refers to, will be used to control the control information of the network equipment It is put into the network management that same physical channel is transmitted with the data information for service interaction, the outband management system is The set of hardware of outband management function is realized in the server in station, the outband management, which refers to, will be used to control the network equipment Control information and data information for service interaction be put into the network management that different physical channels are transmitted, the storage Device is set to the file transmitting function realized between the outband management system and the in-band management system therebetween, described Method includes:
The outband management system receives the software installation instruction that management server is sent, and the software installation instruction includes described The network address of management server;
The outband management system according to the software installation instruct in the management server network address, from the pipe The installation file of target software is downloaded in reason server and sends it in the storage device by first port agreement;
The storage device saves the installation file that the outband management system is sent;
The in-band management system reads the installation file in the storage device by second port agreement and runs institute Installation file is stated to install the target software.
9. method according to claim 8, which is characterized in that the target software is operating system, the installation file packet Include WindowsPE PE, installation script and operating system installation kit;
The in-band management system reads the installation file in the storage device by second port agreement and runs institute Installation file is stated to install the target software, comprising:
The in-band management system reads the installation file in the storage device by second port agreement;
The in-band management system starts the PE in the installation file to establish pre-installed system;
The in-band management system runs the operating system installation kit in the installation file in the pre-installed system to pacify The operating system is filled, and configures the parameter of the operating system according to the installation script in the installation file.
10. method according to claim 8, which is characterized in that the in-band management system is read by second port agreement The installation file in the storage device and after running the installation file to install the target software, further includes:
The installation progress that the in-band management system is installed the target software is sent to the outband management system;
The outband management system feeds back the installation progress of the target software to the management server.
11. method according to claim 8, which is characterized in that the in-band management system is read by second port agreement The installation file in the storage device and after running the installation file to install the target software, further includes:
The in-band management system is after determining that the target software has been installed, by depositing described in second port protocol access Storage device simultaneously deletes the installation file therein.
12. method according to claim 8, which is characterized in that the outband management system receives what management server was sent Before software installation instruction, further includes:
The outband management system obtains the management server as the network address of its distribution, and configures the network address.
13. the method as described in claim 8-12 any one, which is characterized in that the first port agreement includes twin wire Universal serial bus I2C Port Profile and multimedia card MMC Port Profile;
The second port agreement includes general-purpose serial bus USB Port Profile.
14. a kind of computer-readable storage medium, which is characterized in that the computer-readable storage medium is stored with calculating Machine program, the computer program is for instructing relevant hardware, to complete side described in claim 8 to 13 any one Method.
15. a kind of server in station, which is characterized in that
The server in station include: a baseboard controller, at least one processor, at least one network interface, memory, Storage device and at least one communication bus;
Wherein, communication bus is for realizing a baseboard controller, at least one processor, at least one network interface, storage Connection communication between device and storage device;
Wherein, the network interface is used to carry out the communication of signaling or data with management server;
Batch processing code is stored in memory, and baseboard controller and processor are for calling the program generation stored in memory Code executes following operation:
Baseboard controller receives the software installation instruction that management server is sent, and the software installation instruction includes that the management takes The network address of business device;According to the network address of the management server in software installation instruction, taken from the management The installation file of target software is downloaded in business device and storage device is sent by first port agreement by it;
Storage device saves the installation file;
Processor reads the installation file in the storage device by second port agreement and runs the installation file To install the target software.
CN201410620748.1A 2014-11-06 2014-11-06 A kind of software installation method and server in station of server in station Active CN105573776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410620748.1A CN105573776B (en) 2014-11-06 2014-11-06 A kind of software installation method and server in station of server in station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410620748.1A CN105573776B (en) 2014-11-06 2014-11-06 A kind of software installation method and server in station of server in station

Publications (2)

Publication Number Publication Date
CN105573776A CN105573776A (en) 2016-05-11
CN105573776B true CN105573776B (en) 2019-04-12

Family

ID=55883951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410620748.1A Active CN105573776B (en) 2014-11-06 2014-11-06 A kind of software installation method and server in station of server in station

Country Status (1)

Country Link
CN (1) CN105573776B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196802A (en) * 2017-05-27 2017-09-22 全球能源互联网研究院 A kind of Outband network management system
DE102017216849A1 (en) * 2017-09-22 2019-03-28 Siemens Mobility GmbH Software distribution method and software distribution system for a tracked vehicle, configuration server unit and tracked vehicle
US11762644B2 (en) * 2021-05-10 2023-09-19 International Business Machines Corporation Agentless installation for building deployments

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540694A (en) * 2008-03-17 2009-09-23 联想(北京)有限公司 Method for monitoring server and server adopting same
CN102368783A (en) * 2011-10-14 2012-03-07 深圳市京华科讯科技有限公司 Cloud equipment macro control method and system thereof
CN103607299A (en) * 2013-11-08 2014-02-26 安徽康海时代科技有限公司 Network management system
CN103905253A (en) * 2014-04-04 2014-07-02 浪潮电子信息产业股份有限公司 Server monitoring and management method based on Nagios and BMC

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540694A (en) * 2008-03-17 2009-09-23 联想(北京)有限公司 Method for monitoring server and server adopting same
CN102368783A (en) * 2011-10-14 2012-03-07 深圳市京华科讯科技有限公司 Cloud equipment macro control method and system thereof
CN103607299A (en) * 2013-11-08 2014-02-26 安徽康海时代科技有限公司 Network management system
CN103905253A (en) * 2014-04-04 2014-07-02 浪潮电子信息产业股份有限公司 Server monitoring and management method based on Nagios and BMC

Also Published As

Publication number Publication date
CN105573776A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN101674303B (en) Embedded network product programming equipment and method thereof
CN112291079B (en) Network service configuration method and network management equipment
WO2016034074A1 (en) Method, apparatus and system for implementing software-defined networking (sdn)
CN104993947B (en) The method of batch upgrade firmware
US20100287262A1 (en) Method and system for guaranteed end-to-end data flows in a local networking domain
US20100058329A1 (en) Method and apparatus for dynamically instantiating services using a service insertion architecture
CN111865736B (en) Equipment control method and device
CN104580475A (en) Remote control method, terminal equipment, management server and remote control system
EP3493483A1 (en) Virtual broadband access method, controller, and system
CN105573776B (en) A kind of software installation method and server in station of server in station
JP5866083B1 (en) Control method, control apparatus and processor in software definition network
GB2462160A (en) A distributed server system includes a table indicating communication relationships between various service programs
CN105827496B (en) Manage the method and device of PE equipment
CN112202877A (en) Gateway linkage method, gateway, cloud server and user terminal
CN104104749B (en) The distribution method and device of a kind of tunnel IP address
CN112671914B (en) IOT (Internet of things) equipment communication method and system based on actor model
CN104065656B (en) A kind of media stream data recognition methods
CN103873294A (en) Keep-alive method and device for PPP (Point-to-Point Protocol) link during ISSU (In Service Software Upgrade) process
CN112667293B (en) Method, device and storage medium for deploying operating system
EP3629559B1 (en) Method for configuring forwarding table for user equipment and apparatus
CN107769973B (en) Message forwarding method and device
CN105208072B (en) The long-range control method and device of virtual switch
CN110809045A (en) Data communication method and related equipment thereof
CN115550764A (en) Network element configuration method, system, equipment and medium based on automatic opening system
CN111404708B (en) Route configuration method, router and home gateway

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
TR01 Transfer of patent right

Effective date of registration: 20220118

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: xFusion Digital Technologies Co., Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right