CN108958742A - A kind of method of batch installing operating system, relevant device and system - Google Patents

A kind of method of batch installing operating system, relevant device and system Download PDF

Info

Publication number
CN108958742A
CN108958742A CN201710383750.5A CN201710383750A CN108958742A CN 108958742 A CN108958742 A CN 108958742A CN 201710383750 A CN201710383750 A CN 201710383750A CN 108958742 A CN108958742 A CN 108958742A
Authority
CN
China
Prior art keywords
host
operating system
main frame
image file
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.)
Pending
Application number
CN201710383750.5A
Other languages
Chinese (zh)
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.)
Huawei 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 CN201710383750.5A priority Critical patent/CN108958742A/en
Publication of CN108958742A publication Critical patent/CN108958742A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The application discloses method, relevant device and the system of a kind of batch installing operating system, method includes: the first image file that managing main frame receives the transmission of the first host by presetting the network transmission protocol, first image file is that the first host generates under target start mode by the second os starting, and according to the first operating system;First image file is divided into multiple fragments according to Predistribution Algorithm, and generates Peer-to-Peer Network P2P seed file, P2P seed file includes the storage path of the fragment of the title of the first image file, fragment quantity and size and the first image file;Managing main frame sends instruction information to multiple second hosts, is used to indicate the multiple second host according to P2P seed file while downloading the fragment of first image file, and carries out the installation of the first operating system.Solve the problems, such as that time-consuming, low efficiency for batch installation server operating system in the prior art with this.

Description

A kind of method of batch installing operating system, relevant device and system
Technical field
The present invention relates to field of computer technology more particularly to a kind of methods of batch installing operating system, relevant device And system.
Background technique
It with the development of cloud computing technology and applies, disposes the quantity of server needed for the system of cloud computing also from initial Separate unit gradually develops to more.Server apparatus does not install the bare machine of operating system generally when leaving the factory, needs when in use Corresponding operation system is installed by hand by platform according to user's physical planning.Normally, operating system installation file is larger, completes one The installation of platform server operating system takes around 40 minutes to 1 hour time-consuming.When the system of deployment cloud computing is by largely servicing When device forms, installation process will be taken considerable time.
In view of the above technical problems, Pre-boot Execution Environment (preboot execute is mainly used in the prior art Environment, PXE) network installation mode, the long-range installation that operating system is carried out for server batch.The network installation side PXE Formula uses the operating mode of client-side/server-side (client/server, C/S).There are a PXE servers in system, i.e., The end Server, the PXE server are deployed with dynamic host configuration protocol (dynamic host configuration Protocol, DHCP) service, Simple File Transfer Protocol (trivial file transfer protocol, TFTP) service Or File Transfer Protocol (file transfer protocol, FTP) service, and be stored with operating system to be installed file and Configuration script.The server of operating system to be installed, i.e. client, in operating system installation process, operating system to be installed Server can by DHCP from PXE server obtain IP address, and using TFTP/FTP by network from PXE server Operating system file and configuration script are obtained, and completes the automation installation of operating system.
Above-mentioned technical proposal eliminates the complicated processes installed by hand by platform, it is possible to reduce the whole set-up time.But Due between PXE server and the server of operating system to be installed network bandwidth limitation and PXE server itself it is hard When the server of the limitation of disk processing capacity, Dang Duotai operating system to be installed is mounted in parallel operating system, it not can guarantee simultaneously The degree of parallelism of operating system is installed.The service of the operating system to be installed of operating system can be installed simultaneously in the i.e. same period Device limited amount causes the set-up time linearly to increase with the quantity of the server of operating system to be installed.Therefore, above-mentioned skill For art scheme when batch installs server operating system, still there may be the problems that time-consuming, efficiency is lower.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing a kind of method of batch installing operating system, phase Equipment and system are closed, solves the problems, such as that time-consuming, low efficiency for batch installation server operating system in the prior art.
In a first aspect, the embodiment of the invention provides a kind of method of batch installing operating system, this method comprises: first First, managing main frame receives the first image file that the first host is sent, the first mirror image text by presetting the network transmission protocol Part passes through the second os starting for first host under target start mode, and raw according to first operating system At, wherein target start mode includes Pre-boot Execution Environment PXE or enhanced Pre-boot Execution Environment iPXE, works as target Starting mode is PXE, and managing main frame is PXE host, and when target start mode is iPXE, managing main frame is iPXE host.Then, First image file is divided into multiple fragments according to Predistribution Algorithm by managing main frame, and generates Peer-to-Peer Network P2P seed file, In, the P2P seed file includes the address of the managing main frame, the title of first image file, fragment quantity and big It is small.Finally, managing main frame to multiple second hosts send instruction information, the instruction information be used to indicate multiple second hosts according to P2P seed file downloads the fragment of the first image file simultaneously, and the peace of the first operating system is carried out according to the first image file Dress.
By implementing the embodiment of the present invention, can efficiently be transmitted between multiple second hosts wait pacify by P2P mode The fragment of the first image file of the first operating system is filled, and allows multiple second hosts finally according to point of first image file Piece completes the installation of the first operating system, to promote the efficiency of batch installing operating system.On the other hand, pass through the first mirror It as file restores the mode of the first operating system to multiple second hosts, avoids installing by platform time-consuming in the second host process, subtracts Few second host installation is time-consuming, further increases the efficiency that batch disposes the second operating system.
In one possible implementation, the managing main frame can also determine described more according to the preset configuration table The differentiation configuration file of a second host, wherein include each the in the multiple second host in the preset configuration table At least one of network setup information, Hostname and authorization sequence number of two hosts, the differentiation configuration file are used for Each second host is indicated in the installation process for carrying out first operating system according to first image file, to described At least one of network setup information, Hostname and authorization sequence number are modified.
It, can be to avoid multiple second hosts due to being used in conjunction with the same first mirror image text by implementing the embodiment of the present invention Part carry out the first operating system installation, it is caused because relevant configuration information it is consistent caused by network conflict the problem of, into one The effect for having walked batch installing operating system perfect.
In one possible implementation, first operating system is the operation to be installed of the multiple second host System, second operating system include clone's application and P2P application.By implementing the embodiment of the present invention, second can be passed through Clone's application and P2P in operating system is logical using the clone and the second host for carrying out the first operating system for the first host The downloading for crossing the fragment that P2P mode carries out the first image file provides related service.
In one possible implementation, the default network transmission protocol includes that internet minicomputer system connects Mouthful iSCSI protocol, any one in Network File System NFS protocol and secure file transportation protocol SFTP.By implementing this Inventive embodiments can provide more between the first host and managing main frame and between managing main frame and multiple second hosts The different transport protocol of kind carries out the transmission of the fragment of the first image file and the first image file.
Second aspect, the embodiment of the invention provides a kind of methods of batch installing operating system, this method comprises: second Host passes through the second os starting under target start mode, and receives the instruction information of managing main frame transmission, the finger Show that information is used to indicate the second host and downloads the first image file according to P2P seed file, wherein first image file is First host generates under target start mode by second os starting, and according to the first operating system, described First image file is divided into multiple fragments according to Predistribution Algorithm for the managing main frame by P2P seed file, and is generated First image file seed file, the P2P seed file includes the address of the managing main frame, first mirror As the title, fragment quantity and size of file, the target start mode includes Pre-boot Execution Environment PXE or enhanced pre- Start performing environment iPXE, when the target start mode is PXE, the managing main frame is PXE host, when the target start Mode is iPXE, and the managing main frame is iPXE host, and second host is identical as the Starting mode of the first host.Later, Second host downloads first mirror image according to the P2P seed file by the default network transmission protocol in a manner of P2P All fragments of file.Finally, second host is according to all fragments of first image file reduction first behaviour Make system.By implementing the embodiment of the present invention, can efficiently be transmitted between multiple second hosts wait pacify by P2P mode The fragment of the first image file of the first operating system is filled, and allows multiple second hosts finally according to point of first image file Piece completes the installation of the first operating system, to promote the efficiency of batch installing operating system.
In one possible implementation, second host can obtain second operation from the managing main frame System, second operating system include P2P application.Then, second host is using the target start mode in memory Middle starting second operating system.Finally, P2P described in second host computer is applied, and passes through default network transmission association View, all fragments of first image file are downloaded according to the P2P seed file in a manner of P2P.By implementing the present invention Embodiment can allow the second host to be started by the second operating system provided in managing main frame, and utilize second behaviour Make the P2P in system and applies the fragment for downloading the first image file in a manner of P2P.
In one possible implementation, second operating system further includes clone's application;The second host benefit All fragment solutions of first image file are depressed into described the from the memory of second host with clone application On the hard disk of two hosts.By implementing the embodiment of the present invention, the clone in second the second operating system of host computer can be allowed to answer Be restored in hard disk with by the fragment of downloading the first image file in memory, in order to the first operating system after restoring from Hard disk startup.
In one possible implementation, it is main can also to obtain described second from the managing main frame for second host The differentiation configuration file of machine.Then, second host is just according to the differentiation configuration file to second host At least one of network setup information, Hostname and authorization sequence number are modified.It, can by implementing the embodiment of the present invention The installation of the first operating system, Ke Nengyin are carried out due to being used in conjunction with same first image file to avoid multiple second hosts Rise because relevant configuration information it is consistent caused by network conflict the problem of, the further perfect effect of batch installing operating system Fruit.
In one possible implementation, the default network transmission protocol includes that internet minicomputer system connects Mouthful iSCSI protocol, any one in secure file transportation protocol SFTP and Network File System NFS protocol.By implementing this Inventive embodiments can provide more between the first host and managing main frame and between managing main frame and multiple second hosts The different transport protocol of kind carries out the transmission of the fragment of the first image file and the first image file.
The third aspect, the embodiment of the invention provides a kind of methods of batch installing operating system, this method comprises: first Host installs the first operating system, and the first operating system is multiple second hosts operating system to be installed;First host By the second os starting under target start mode, the target start mode include Pre-boot Execution Environment PXE or The enhanced Pre-boot Execution Environment iPXE of person;First host is sent the first image file by the default network transmission protocol To managing main frame, so that the managing main frame stores first image file for the multiple second host according to described the One image file installs first operating system, and first image file is the first host according to first operating system The image file of first operating system generated, wherein when target start mode is PXE, managing main frame is PXE host, When target start mode is iPXE, managing main frame is iPXE host.By implementing the embodiment of the present invention, the first host can be pacified First image file of the first operating system of dress, is sent to managing main frame, so that managing main frame generates first mirror image text The fragment of part, and by P2P transmission mode high efficiency of transmission between multiple second hosts, finally allow multiple second hosts according to this The fragment of first image file completes the installation of the first operating system, to promote the efficiency of batch installing operating system.
In one possible implementation, first host can also obtain second operation from managing main frame System, and the second operating system is run using the target start mode in memory, finally in the guidance of the second operating system Lower starting.The first host can be allowed to pass through the second os starting in managing main frame by implementing the embodiment of the present invention, with Convenient for carrying out the operations such as subsequent first image file generation and transmission using the related application in second operating system.
In one possible implementation, the default network transmission protocol includes secure file transportation protocol SFTP, Second operating system includes P2P application and clone's application;Described in second operating system described in first host computer Clone's application generates the first image file of the first operating system, also, first host by the SFTP by described the One image file copies on the hard disk of the managing main frame from the memory of first host.Implemented by implementing the present invention Example can allow the first host that the first image file generated on the first host memory is sent to managing main frame by SFTP On hard disk, the fragment of first image file is divided according to first image file convenient for follow-up management host, and generate correspondence P2P seed file.
In one possible implementation, the default network transmission protocol includes that internet minicomputer system connects Mouth iSCSI protocol or Network File System NFS protocol;Second operating system includes P2P application and clone's application;It is described First host passes through the iSCSI protocol or the NFS protocol and utilizes clone application from the hard of first host Disk is by the hard disk of the data clone of first operating system to the managing main frame, on the hard disk of the managing main frame Generate first image file of first operating system.By implementing the embodiment of the present invention, the first host can be allowed logical It crosses shared agreement iSCSI protocol or NFS protocol directly reads the significant figure of first operating system from the hard disk of the first host According to, and be compressed on the hard disk of managing main frame, to generate the first image file on the hard disk of managing main frame.
Fourth aspect, the embodiment of the invention provides a kind of systems of batch installing operating system, it may include: management master Machine, the first host and multiple second hosts, wherein
Managing main frame, for executing any possibility implementation the method in above-mentioned first aspect and first aspect Operating procedure;
First host, for executing any possibility implementation the method in the above-mentioned third aspect and the third aspect Operating procedure;
Each second host in multiple second hosts, for executing any possibility in above-mentioned second aspect and second aspect Implementation the method operating procedure.
5th aspect, the embodiment of the invention provides a kind of managing main frames, it may include processor, memory, communication interface, Bus is connected and is completed by bus mutual communication, is used to deposit in memory between processor, memory and communication interface Computer executed instructions are stored up, when managing main frame is run, processor executes the computer executed instructions in memory to utilize management Hardware resource in host executes the operation of any possibility implementation the method in above-mentioned first aspect and first aspect Step.
6th aspect, the embodiment of the invention provides a kind of first hosts, it may include processor, memory, communication interface, Bus is connected and is completed by bus mutual communication, is used to deposit in memory between processor, memory and communication interface Computer executed instructions are stored up, when the first host is run, processor executes the computer executed instructions in memory to utilize first Hardware resource in host executes the operation of any possibility implementation the method in the above-mentioned third aspect and the third aspect Step.
7th aspect, the embodiment of the invention provides a kind of second hosts, it may include processor, memory, communication interface, Bus is connected and is completed by bus mutual communication, is used to deposit in memory between processor, memory and communication interface Computer executed instructions are stored up, when the second host is run, processor executes the computer executed instructions in memory to utilize second Hardware resource in host executes the behaviour of any possible implementation the method in above-mentioned second aspect and second aspect Make step.
Eighth aspect, the application provide a kind of managing main frame, which, which has, realizes above-mentioned first aspect and first Corresponding function in the method for the batch installing operating system that any possible implementation provides in aspect.The function can be with By hardware realization, corresponding software realization can also be executed by hardware.The hardware or software include it is one or more with it is upper State the corresponding module of function.
9th aspect, the application provide a kind of first host, which, which has, realizes the above-mentioned third aspect and third Corresponding function in the method for the batch installing operating system that any possible implementation provides in aspect.The function can be with By hardware realization, corresponding software realization can also be executed by hardware.The hardware or software include it is one or more with it is upper State the corresponding module of function.
Tenth aspect, the application provide a kind of second host, which, which has, realizes above-mentioned second aspect and second Corresponding function in the method for the batch installing operating system that any possible implementation provides in aspect.The function can be with By hardware realization, corresponding software realization can also be executed by hardware.The hardware or software include it is one or more with it is upper State the corresponding module of function.
Tenth on the one hand, and the application provides a kind of computer readable storage medium, mentions for being stored as above-mentioned eighth aspect Computer software instructions used in the managing main frame of confession, it includes for executing program designed by above-mentioned aspect.
12nd aspect, the application provide a kind of computer readable storage medium, mention for being stored as above-mentioned 9th aspect Computer software instructions used in the first host supplied, it includes for executing program designed by above-mentioned aspect.
13rd aspect, the application provide a kind of computer readable storage medium, mention for being stored as above-mentioned tenth aspect Computer software instructions used in the second host supplied, it includes for executing program designed by above-mentioned aspect.
The application can also be further combined on the basis of the implementation that above-mentioned various aspects provide to provide more More implementations.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly or in background technique below will be implemented the present invention Attached drawing needed in example or background technique is illustrated.
Fig. 1 is a kind of system architecture schematic diagram of batch installing operating system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the method for batch installing operating system provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of managing main frame provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of second host provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of first host provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of equipment provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of the system of batch installing operating system 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 the embodiment of the present invention is described.
Firstly, the part term in the application is explained, in order to those skilled in the art understand that.
(1) internet small computer system interface (internet small computer system interface, ISCSI) it is one to use for hardware device, the small computer system interface (small that can be run on the upper layer of IP agreement Computer system interface, SCSI) instruction set, this instruction set may be implemented to run SCSI association on ip networks View, by existing scsi interface in conjunction with Ethernet (ethernet) technology, fill server can with the storage of IP network is used Set carry out data interaction.
(2) Simple File Transfer Protocol (TFTP) is transmission control protocol/Internet Protocol (transmission Control protocol/internet protocol, TCP/IP) one in protocol suite be used in client and server Between carry out simple files transmission agreement, file transfer services uncomplicated, that expense is little are provided.
(3) dynamic host configuration protocol (DHCP) is the network protocol of a local area network, uses User Datagram Protocol (user datagram protocol, UDP) work, is mainly used for the server or network according to presetting rule for internal network Service provider equipment automatic IP address allocation.
(4) Pre-boot Execution Environment (PXE) is the technology developed by Intel Company, using C/S operating mode, supports visitor Family end passes through network from remote server down operation system file and configuration file, and thus carries out network startup and installation.
(5) enhanced PXE (a full PXE implementation enhanced, iPXE) is an open source of PXE It realizes, compared to PXE loading procedure, iPXE loading procedure can be embedded in custom script.For example, PXE can only by TFTP into Row transmission, iPXE support more transport protocols, as hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP), iSCSI and ATA over Ethernet (AoE) etc., therefore transmission rate greatly promotes.
(6) boot protocol (bootstrap protocol, BOOTP) is a kind of BOOT strapping Protocol.Pass through BOOTP agreement Non-disk workstation can be allowed to obtain IP address from a central server, i.e. central server can be in local area network without disk Work station distributes dynamic IP addressing, and avoiding administrator is that static ip address is arranged in each member in non-disk workstation.Wherein, one Hard disk is not installed at all working station in a network, and is all started by central server, and such network is exactly nothing Disk Network, these work stations are referred to as non-disk workstation.Non-disk workstation can be understood as passing through PXE/iPXE in this application The first host and multiple second hosts of starting, central server can be understood as providing for the first host and multiple second hosts The managing main frame of network startup service, local area network are then understood that as by the first host, more the second hosts and managing main frame Pass through the network of interchanger interconnection composition.
(7) image file of operating system: being the file obtained to all data clones of operating system.Normally, it grasps The file suffixes for making the image file of system is " .ISO ", can use the softwares such as ULtraISO, PowerISO and carries out Editorial Services Reason.Include system file, guidance file, partition table information etc., the mirror image of such operating system in the image file of operating system File can include all information of even one piece hard disk of a subregion.
(8) peer-to-peer network (peer-to-peer networking, P2P networking) is a kind of point-to-point transmission side Formula.It include multiple client and central server (tracker) in P2P network, central server is used for file to be transmitted Multiple fragments are divided into according to Predistribution Algorithm, include a part of data of file to be transmitted in each fragment, and generate P2P kind Subfile.Record has the address of central server, the mark of file to be transmitted, fragment quantity and each divides in P2P seed file Piece size, wherein the mark of file to be transmitted can be file name.Central server is also used to record each in P2P network Client downloads record.Each client can pass through fragment needed for managing main frame or other client downloads according to the record. Further, in data transmission procedure, each client receive instruction information after, according to the address of central server to Central server obtains the record of P2P network each client downloads, i.e. which client downloads fragment, and according to the record To each client downloads fragment.Each client can also will succeed while downloading (download) fragment The fragment of downloading uploads (upload) and supplies other client downloads into P2P network.In this way, the fragment of file is in each client Between transmit mutually, speed of download can't be reduced with the increase of client terminal quantity.On the contrary, the client of downloading is more, The speed of each client downloads will be faster, because the fragment that is had on the other clients can provide the file of downloading is got over It is more.
It is worth noting that when in P2P network first client know to central server the downloading of file to be transmitted When fragment records, each client does not start to download the fragment of file to be transmitted in P2P network, which needs from center Server downloads the fragment of file to be transmitted.
Next, showing in conjunction with Fig. 1 system architecture for introducing a kind of batch installing operating system provided in an embodiment of the present invention It is intended to, which uses C/S operating mode.As shown, having included at least a PXE/iPXE host, in the system architecture One host and multiple second hosts.Wherein, PXE/iPXE host is server-side in C/S operating mode, the first host and multiple Second host is the client in C/S operating mode.For convenient for subsequent descriptions, by PXE/iPXE host it is unified with managing main frame into Row description.In the system architecture, the first host and the second host are communicated with managing main frame respectively by interchanger.
Optionally, the first host, the second host and managing main frame can guarantee that first is main in the same network segment Configuration is in the same local area network between machine, the second host and managing main frame.It is understood that the first host is that batch is pacified Any one host in the system of operating system is filled, can only need one.Involved in the detailed description below embodiment of the present invention The first host, managing main frame and the second host arrived.
First host, the first host in the embodiment of the present invention needs network interface card to support PXE/iPXE starting, and net is arranged Card preferentially starts from PXE/iPXE, wherein set-up mode can be through baseboard management controller (baseboard Management controller, BMC) manual setting, it is also possible to through related tool batch setting.The work of first host With the image file for mainly making operating system to be installed.For convenient for subsequent descriptions, by the mirror image text of operating system to be installed Part is known as the first image file.Specifically, firstly, installing the first operating system on the first host;Then, pass through PXE/iPXE Start and be connected to managing main frame, from the memory of managing main frame downloading the second operating system to the first host, and in the first host Memory in start the second operating system.Second operating system is an interim operating system, for the first host production the One image file and the second host download the first image file fragment, and are according to the first operation of the first image file reduction System.Second operating system is the operating system file that specified application is cut and added to standard operation system file.For example, Inessential file is deleted on the basis of 12 standard edition operating system file of SUSE Linux Enterprise, and adds clone and answers It is applied with P2P.Wherein, inessential file includes GNU compiler external member (GNU compiler collection, GCC), beats The associated documents such as print machine, office software, the driving of ARM server.Normally, the second operating system size can be cut to the left side 100M It is right.Because iPXE downloading be download by TFTP, if therefore the second operating system is smaller, download get up it is faster.It is worth saying Bright, the size of the second operating system can be configured according to business demand, the application for the second operating system size simultaneously With no restrictions.
It should be noted that it is in order to by the second operation that the first host, which loads the purpose of the second operating system, in the application Application is cloned in system to complete the clone to the first operating system of itself installation.Clone in the application, which refers to, passes through reading It takes to clone file institute valid data in a hard disk, valid data is compressed, and by the storage of compressed file to specified Position.Accordingly, the first image file in the application, which then refers to, to be installed on the operating system on the first host in a hard disk Valid data read, and carry out compression generation image file.Such as hard disk has 30G, but the significant figure of the first operating system According to 5G has been only taken up, then then there was only 5G by cloning the first image file that application clones.Current more mature mirror image is soft Part has fsarchiver and partclone, can choose one, and the application is not especially limited this.
It should also be noted that, the original that the first host can not clone oneself using the first operating system of itself installation Because being: firstly, the first operating system may not include clone's application.Further, even if the first operating system includes clone Using can not be cloned by it to itself.As it is assumed that the first operating system clones itself, then cloning During, new data may be generated, data dynamic of first operating system on hard disk in cloning procedure is caused to become Change, original image file can not be obtained.
Managing main frame, the managing main frame in the application is the equipment for being equipped with complete operating system.Wherein, managing main frame is pacified The operating system of dress can be Windows operating system, be also possible to (SuSE) Linux OS, the present invention is with no restrictions.For example, Managing main frame installs Windows 2003, Windows 2000, Windows XP, linux, SuSe 12.1 or CentOS 7.1 Deng.In addition, managing main frame is in providing service process, it is also necessary to dispose DHCP, TFTP and iscsi target end (Target) clothes Business, P2P service.Wherein,
DHCP service: for distributing IP automatically to multiple second hosts;
TFTP service: it is passed for managing main frame to the first host and multiple second hosts of the first operating system to be installed Defeated file, including the second operating system;
The service of iscsi target end: it is divided into target side and originating end (initiator), this Shen in iSCSI protocol treatment process Please in, target end is deployed in managing main frame, and iSCSI originating end is deployed on the first host and the second host.Correspondingly, in pipe It is deployed with iSCIS target side service on reason host, iSCIS originating end service is deployed on the first host and the second host.Pipe The transmission of the first image file can be carried out by iSCIS agreement between reason host and the first host, and managing main frame and multiple The transmission of the fragment of the first image file can be carried out between second host by iSCIS agreement.
P2P service: being deployed with P2P application in managing main frame, correspondingly, in managing main frame has P2P service.It is worth saying Bright, central server is responsible for carrying out fragment to image file to be transmitted in P2P network, and generates seed file.It should Central server can be any one client in P2P network, in being described below of the embodiment of the present invention, with managing main frame To be described for the server of center.
It is understood that the first host, the second host in the system architecture that Fig. 1 is provided and the net between managing main frame Network transmission mode is mainly shared transmission mode with iSCSI and is illustrated.Above-mentioned iSCSI service may be secure file Transportation protocol (secure file transfer protocol, SFTP) service or Network File System (network File system, NFS) service.According to other transport services, then corresponding service is disposed.It is managed in the application The network of relation transmission service that host provides is not limited to above-mentioned specific example, as long as the service of corresponding function can be completed With.The application is not especially limited this.
Second host, the second host in the application is substantially identical with the first host, and the role only undertaken is different. Difference is that the first host needs take the lead in installing the first operating system, and generate the first image file and be sent to managing main frame, And the second host is then to obtain the first image file from managing main frame in the way of P2P to restore the first operating system, with This completes the operating system installation of multiple second hosts in system shown in Figure 1 framework.In addition, the second host is obtaining the first mirror image Before file, it is also desirable to network interface card is set and is preferentially started from PXE/iPXE, then from managing main frame the second operating system of downloading, and The second operating system is run in the memory of second host, is applied eventually by P2P in the second operating system and is transmitted in P2P network The fragment of first image file.
It should be noted that the Starting mode that the first host or the second host are supported include hard disk, CD-ROM drive, PXE or iPXE.In all embodiments of the application, the first host or the second host need to start by PXE or iPXE mode, ability The second operating system is downloaded from managing main frame, and the first image file is transferred to managing main frame, or from managing main frame downloading the The fragment of one image file.In the subsequent descriptions of the application, PXE or iPXE are referred to as target start mode.Correspondingly, it manages Reason host can also have differences, and when target start mode is PXE, managing main frame is PXE host.When target start mode is When iPXE, managing main frame is iPXE host.
It will also be appreciated that each in the system architecture and system architecture of the batch installing operating system that Fig. 1 is provided Service provided by main body is the illustrative embodiment of one of the embodiment of the present invention, the system in the embodiment of the present invention Service provided by framework and each main body includes but are not limited to above description.
Referring to fig. 2, Fig. 2 is a kind of process signal of the method for batch installing operating system provided in an embodiment of the present invention Figure, below in conjunction with attached drawing 2, from the interaction angle of managing main frame, the first host and the second host in the embodiment of the present invention The method of batch installing operating system be described in detail.
S201: the first host installs the first operating system.
Specifically, the first host installs the first operating system in local hard drive, and mounting means can be by being stored with behaviour The CD for making system is installed manually, is also possible to carry out network installation by PXE/iPXE mode, how the application is to first First operating system is installed to be not especially limited on host, i.e., manual or PXE/iPXE installation is ok.
It should be noted that in this step the first host by when PXE/iPXE mode carries out network installation, firstly, from Managing main frame downloads interim operating system, and starts the operating system, then, then the installation to the first operating system.Herein, face When operating system and the second operating system in subsequent step S202 be distinguishing.Specifically difference is, interim operating system master It is used to guide the first host that the first operating system is installed.And the second operating system in the application is mainly used for the first host pair Already installed first operating system is cloned and is transmitted, i.e. the second operating system includes clone's application and P2P application.
Optionally, interim operating system can also be identical as the second operating system in step S202.
S202: the first host passes through the second os starting under target start mode.
Specifically, target start mode includes Pre-boot Execution Environment PXE or enhanced Pre-boot Execution Environment iPXE. Specifically any Starting mode, the type of Starting mode provided by the managing main frame connected depending on the first host.
In one possible implementation, the first host obtains the second operating system from managing main frame, and uses mesh Mark Starting mode runs the second operating system in memory, starts under the guidance of the second operating system.
Optionally, managing main frame can store the second operating system in the case where TFTP services corresponding storage catalogue, in order to First host and the second host pass through TFTP service search the second operating system of acquisition in managing main frame.
Further, a kind of managing main frame presented below guides the specific method process of the first host-initiated.To manage master Machine is described for using iPXE mode, it is to be understood that through PXE Starting mode, and in such a way that iPXE starts Corresponding method flow is similar, is only illustrated by taking iPXE Starting mode as an example below, about the corresponding method of PXE Starting mode Process can be also referring to below to the explanation of iPXE.
According to iPXE agreement, the first host can first broadcast sending boot protocol BOOTP in the system shown in figure 1 and ask It asks, the Dynamic Host Configuration Protocol server application IP into network, i.e., to the managing main frame broadcast BOOTP request of deployment DHCP service, and according to The position of BOOTP protocol search guidance bootstrap file;Managing main frame to the first host send DHCP service distribute IP with And the placement position information of bootstrap file, bootstrap file are placed on the TFTP of managing main frame deployment in this application It services under corresponding catalogue.First host from TFTP service acquisition bootstrap file in a network;Then the first host Ipxe.linux and ipxe.cfg is downloaded from managing main frame, wherein ipxe.linux is can to run program, be can parse ipxe.cfg;After the completion of downloading, the first host can first start from ipxe.linux, and ipxe.linux then can be according to ipxe.cfg Recorded in configuration kernel and file system files name to download corresponding document, and be booted up from this document.This document is To have carried out cutting and improved second operating system in the application.
First host generates the after loading the second operating system, through the clone that provides in second operating system application First image file of one operating system.The effect of the first image file is that the second host is allowed to obtain the first mirror image text in the application After part, the first operating system directly is restored using the first image file, it is possible to reduce the installation process of operating system saves peace ETL estimated time of loading, especially in the case where the second host of high-volume needs to install the first operating system, then when can save more Between.
First image file is sent to managing main frame by the default network transmission protocol by the S203: the first host, so that Managing main frame stores the first image file and installs the first operating system according to the first image file for multiple second hosts.
Specifically, since the purpose of the application is to realize that multiple second hosts can efficiently install the first operation system in batches System, so also needing to store the first image file to managing main frame, in order to which other second hosts can be allowed to pass through P2P mode Download the first image file.Wherein, the effect for presetting the network transmission protocol is the first operating system by the first host in hard disk Middle valid data are stored by the default network transmission protocol to the hard disk of managing main frame.
In one possible implementation, when the default network transmission protocol is iSCSI protocol or Network File System When (network file system, NFS) agreement, the first host is sent out the first image file by the default network transmission protocol It send to managing main frame specifically: the first host utilizes clone's application from the hard of the first host by iSCSI protocol or NFS protocol Disk on the hard disk of the data clone of the first operating system to managing main frame, will generate the first operation system on the hard disk of managing main frame First image file of system.Since iSCSI and NFS are shared agreement, the first host sends the first mirror to managing main frame As the process of file is essentially shared procedure.For example, when the default network transmission protocol is iSCSI protocol, the first host fortune The second operating system of row starts the service of iSCSI originating end, logs on managing main frame, and establish iSCSI originating end and iSCSI mesh The connection at end is marked, then, reads valid data of first operating system on the first host hard drive by cloning application, and will have It imitates in data compression to the hard disk of the second host.
In one possible implementation, the default network transmission protocol includes secure file transportation protocol SFTP.Second Operating system includes P2P application and clone's application.First host is sent the first image file by the default network transmission protocol To managing main frame specifically: clone's application in first the second operating system of host computer generates the first mirror of the first operating system As file, and the first image file is copied to by SFTP the hard disk of managing main frame from the memory of the first host.Due to SFTP The unshared agreement for File Transfer Protocol, therefore in embodiments of the present invention, the first host needs in the second operating system The generation for first completing the first image file, then replicates again and is sent to managing main frame.Unlike iSCSI and NFS protocol, on It states and does not generate complete first image file in inventive embodiments on the first host.And in embodiments of the present invention, the second behaviour In the memory that system operates in the first host, the first image file that clone's application in the second operating system generates also is stored In the memory of the first host, therefore, the first image file is the hard disk that managing main frame is copied to from the memory of the first host.Letter For list, the first host is the operation clone application in the second operating system, and by the data compression of the first operating system and is deposited It stores up to the memory of the first host, generates the first image file, then the first image file is sent to by management master by Secure File Transfer Protocol Machine.
Optionally, the first host, can be by Starting mode more after the first image file is sent to managing main frame It is newly hard disk startup mode.Specifically, the first host is executing the above-mentioned behaviour that first image file is sent to managing main frame After work, its task in this batch installing operating system scheme is just completed, therefore can be by the Starting mode of network It is updated to conventional hard disk Starting mode in the prior art, in order to subsequent normal starting.
S204: managing main frame receives the first image file that the first host is sent by presetting the network transmission protocol.
Specifically, managing main frame is by the network transmission protocol appointed with the first host, such as iSCSI protocol, NFS protocol Or SFTP etc., carry out the reception and preservation of the first image file.Wherein, preservation, which refers to, stores to the hard disk of managing main frame.
It should be noted that the second operating system is the performing environment of entire deployment process, stores and operate in first In the memory of host.After its starting, iSCSI originating end can be run to find available iscsi target end, and realize that first is main Machine logs in managing main frame.If logging in success, the first host is scanned by hard disk, can be scanned hard in addition to local disk Disk, the i.e. hard disk of managing main frame.Due to iSCSI inherent characteristic, if directly used, iSCSI originating end and iSCSI may cause Target side cannot achieve data sharing.The reason is that, iSCSI originating end and iscsi target end may use different file systems System, so they may in different ways access to hard disk, the hard disk areas that causes iSCSI originating end to be written with The hard disk areas that iscsi target end itself accesses is inconsistent, i.e., shared failure.Therefore iSCSI need to be configured to shared or network Trunking mode, just can guarantee iSCSI originating end and iscsi target end it is specified be the same hard disk areas, it is shared to realize.
S205: the first image file is divided into multiple fragments according to Predistribution Algorithm by managing main frame, and generates peer-to-peer network P2P seed file.
Specifically, Predistribution Algorithm, which can be, is divided into more fragments for the first image file according to size, can also according to point First image file is divided into multiple fragments by the total number of piece, and the application is not especially limited this.
P2P seed file includes the address of managing main frame, the title of the first image file, fragment quantity and size.At this time Managing main frame is also responsible for recording the history letter of each second host downloading slicing as the central server in P2P transmission process Breath, the historical information include which the second host has been downloaded with just in downloading slicing, and historical information can use managing main frame Middle specified file or database purchase.The effect that the first image file is stored above managing main frame is to allow multiple to be installed Second host of one operating system can be downloaded by the managing main frame.If each second host by managing main frame come The first image file is downloaded, then is likely to the disk bottleneck of the bottleneck and managing main frame due to network bandwidth, multiple second Host can not be downloaded simultaneously, i.e., host needs in part wait in line downloading installation, eventually lead to All hosts and successfully install the The time of one operating system greatly increases.Therefore, P2P network transmission mode is used in the application, allows managing main frame and multiple the Between two hosts, the relationship of peer-to-peer network is formed mutually.For any one fragment of the first image file, as long as there is the second master Machine downloaded the fragment of the first image file, and other second hosts can be by downloading the fragment of first image file Second host obtains the fragment, avoids multiple second hosts while managing main frame downloading slicing being gone to lead to the bandwidth pressure of managing main frame Power and disk pressure increase, and promote speed of download.
Optionally, further include verification data in P2P seed file, the fragment downloaded for the second host verification it is complete Property, that is, verify fragment that the second host is downloaded whether include the first image file all fragments.
S206: managing main frame sends instruction information to multiple second hosts.
Specifically, the instruction information is used to indicate the multiple second host according to the P2P seed file at present The fragment of first image file is carried, and carries out the installation of first operating system according to first image file.Refer to Show and contains the storage of all fragments in the storage path and the first image file of P2P seed file in managing main frame in information Path, with indicate the second host according to P2P seed file storage path carry out P2P seed file downloading, and according to point Know the source address of the fragment of each first image file in the storage path of piece.
S207: the second host passes through the second os starting under target start mode, and receives managing main frame transmission Instruction information.
Specifically, the first host in the process and step S202 that the target start mode of the second host in the application starts The process that starts of target start mode it is identical, details are not described herein.
In one possible implementation, the second host obtains the second operating system from managing main frame, then uses mesh Mark Starting mode starts the second operating system in memory, and receives the instruction information of managing main frame transmission.
It, can be by after each second host receives instruction information it is worth noting that in system architecture shown in Fig. 1 Operating system is installed in operating process according to step S207 to step S209, and the process of multiple second host installation operating systems is simultaneously What row executed, so as to improve the efficiency for installing multiple second host operating systems in batches.
S208: the second host downloads the first mirror image according to P2P seed file by the default network transmission protocol in a manner of P2P All fragments of file.
Specifically, the second host have received managing main frame transmission file instruction information after, by with managing main frame The network transmission protocol appointed, such as iSCSI protocol, NFS protocol or SFTP, and according to P2P seed file in a manner of P2P Carry out the downloading of the fragment of the first image file.Wherein, P2P seed file includes the address of the managing main frame, described first Title, fragment quantity and the size of image file.Multiple second hosts can download the first mirror image text simultaneously in this application The fragment of part, and all fragments for the first image file finally completed according to downloading carry out the reduction of the first operating system.
In one possible implementation, the second host computer P2P is applied, and shares agreement by default network data, All fragments of the first image file are downloaded in a manner of P2P according to P2P seed file.Specifically, the second host can distinguish root P2P seed file is obtained according to the storage path of the P2P seed file in instruction information, further according to the management in P2P seed file Which the second host the address of host determines from the historical information for all second host downloading slicings that managing main frame is recorded On downloaded the fragment of the first image file, and initiate downloading request to it, and obtain the fragment of the first image file.Most Eventually, the second host downloads oneself currently also according to the title, fragment quantity and size of the first image file in P2P seed file The fragment that do not download, and find corresponding second host and be downloaded required fragment.It is understood that for same In the case that its downloading is completed in fragment, only the second host, it is likely to provide upload function to the fragment, it is main for other second Machine downloading.
It optionally, can also include verification data in P2P seed file, which obtains for the second host acknowledgement Fragment integrality.
It is worth noting that since managing main frame as the central server in P2P network is stored with the first image file All fragments, therefore the fragment of any one the first image file initially requires the second host and passes through default network transmission association View is downloaded from managing main frame, and after subsequent some fragment for thering is the second host to download the first image file, then Other second hosts can be just downloaded from corresponding host by P2P transmission mode.Wherein, the second host initially how By presetting fragment of the network transmission protocol from managing main frame the first image file of downloading, the first host is referred to by presetting The network transmission protocol transmits the process of the first image file to managing main frame, and details are not described herein.
S209: the second host restores the first operating system according to all fragments of the first image file.
Specifically, the second host is applied using clone from the second host after all fragments for obtaining the first image file Memory in all fragments of the first image file are restored on the hard disk of the second host.
Further, clone's application executes decompression behaviour to complete first image file stored in the second host memory Make, and the file after decompression is stored to the hard disk of the second host.So far, the second host completes going back for the second operating system It is former.
It, can be using the default network transmission protocol when the negligible amounts of the second host as a kind of possible embodiment First image file is copied directly to more by (such as the service of iSCSI service, SFTP or NFS service mode) from managing main frame A second host.
It should be noted that method and step performed between different executing subjects is directed in the embodiment of the present invention, in addition to There is a method and step of obvious causality or obvious precedence relationship, it is not absolute successive suitable between other method and steps Sequence, Part Methods step can also carry out simultaneously, and the application is not especially limited this.Description through the above, this Shen The method for the batch installing operating system that please be provide, allowed by way of P2P multiple second hosts in P2P network respectively from Managing main frame and other second hosts obtain the fragment of image file, solve in the prior art due to managing main frame with it is to be installed The bottle of the hard disk processing ability of network bandwidth bottleneck and managing main frame itself between multiple second hosts of operating system Neck, caused client cannot efficient batch installing operating system, and the problem for needing the installation effectiveness of waiting list low, Promote installation effectiveness.On the other hand, it is by first installing the first operation to be installed on first host in the application System regenerates corresponding first image file, other second hosts are by downloading the fragment of first image file and being gone back Operating system is originally installed, each second host can be saved, the time spent by the first operating system is gradually installed, and then subtracted The time of batch installing operating system is lacked, and quantity is more, has promoted installation effectiveness and be more obvious.
Optionally, when all the first image files of second host computer are reduced directly the first operating system, due to multiple Second host uses same first image file, therefore all second hosts are all with the configuration parameter of the first host It is consistent, for example, IP address, host name and configuration parameter etc. are consistent.It is therefore desirable to carry out difference for each second host Change file configuration, uses the first image file bring without differences problem due to unified to eliminate.Therefore, the application can be with It comprises the following methods:
S210: managing main frame determines the differentiation configuration file of multiple second hosts according to preset configuration table.
It specifically, include the network setup information of each second host, host in multiple second hosts in preset configuration table At least one of title and authorization sequence number, differentiation configuration file are used to indicate each second host according to the first mirror image File carry out the first operating system installation process in, in network setup information, Hostname and authorization sequence number at least One kind is modified.Wherein, if the IP address in the first image file is distributed using static allocation mode, then network at this time Setting information is then IP address, subnet mask and the gateway of corresponding distribution;If the IP address in the first image file is using dynamic The method of salary distribution distribution, then at this time network setup information be then DHCP service distributed automatically according to Predistribution Algorithm IP address, son Net mask and gateway.Hostname can be used for the second host and be easier to distinguish each other in a network.Authorization sequence number then can be with Authorization activation is carried out according to first operating system of the corresponding authorization sequence number to reduction for each second host.
Optionally, managing main frame determines that the time of the differentiation configuration file of multiple second hosts can be any time, As long as the application is not especially limited this before the differentiation configuration file that the second host obtains the second host.
Illustratively, preset configuration table can be arranged in maintenance personnel according to business demand, include each in the preset configuration table Title, IP address, authorization sequence number and the corresponding host identification of each second host of second host.Host identification can be only One one the second host of mark, managing main frame can determine every according to the host identification of the second host each in the preset configuration table The differentiation configuration file of a second host, and the differentiation configuration file is transferred to corresponding second host, in order to Two hosts change IP address, Hostname when restoring the first operating system using the first mirror image, according to differentiation configuration file Or authorization sequence number etc..
For example, the differentiation configuration file in the application is the file finished writing according to certain format, usually field+ The mode of value is presented.This document is usually by deployment task executor come according to set planning, (IP address of such as certain host must Must be XXX), information is filled into deployment task template, entire deployment task is cooperated to complete.If user will dispose 200 Host, after user it is expected this collection of host deployments, plan they host name can and they host identification (host it is unique hard Part identifier, such as the host electronic label media access control address (media access control, MAC) or IPv6 Location etc.) it binds one by one, and named according to h1, h2 ..., h200, IP is according to 192.138.100.1 to 192.138.100.200 To be arranged.Therefore the embodiment of the present invention can provide a template, the host identification and host name model for allowing user's filling this time to dispose It encloses, the information such as IP address range, and this document is placed on PXE/iPXE host.It is understood that if above-mentioned process by Manual configuration takes time and effort user one by one, can further save setup time by the above method, promotes batch installation effectiveness.
S211: the second host obtains the differentiation configuration file of the second host from managing main frame.
Specifically, the second host is after the step of having executed above-mentioned the first operating system of reduction, all second hosts it is hard Data on disk are consistent, i.e., are a machines for being cloned out.Their IP, host name, authorization sequence number etc. all one It causes.After such second host is restarted, the problem of IP conflicts will lead in same local area network.So needing by specified Configuration file, which obtains, customizes information, reconfigures corresponding file, such as change IP operation.
S212: according to differentiation configuration file to the network setup information of the second host, Hostname and authorization sequence number At least one of be modified.
Specifically, the second host from managing main frame according to differentiation configuration file corresponding with itself is obtained, according to fixed Inhibition and generation configuration, change the corresponding configuration file of hard disk, complete customize configuration information change, such as to network setup information, At least one of Hostname and authorization sequence number are modified.
Optionally, the second host can obtain differentiation to managing main frame before or after restoring the first operating system Configuration file, but be ensured that after having executed the first operating system of reduction, it is just main to second according to differentiation configuration file The relevant information of machine is modified.
For example, after the second host completes the reduction of the first image file, it is poor that the second host is obtained to managing main frame Alienation configuration file, managing main frame inform the path of the differentiation configuration file to the second host.Assuming that differentiation configuration file In differentiation information be host name HOSTNAME and IP address, then after the second host downloads to this document, need with correspond to Program goes to parse this file, and inquires the host identification of itself, for matching and selecting corresponding IP information.Next, Second host will change HOSTNAME and IP in current second host according to the information being resolved to, i.e. differentiation is processed Journey.
It is held it should be noted that both differentiation configuration file and parsing and processing difference information programme must cooperate Row, and the processing of various scenes is carried out, for example, if client does not specify specific HOSTNAME, it would be possible that be randomly assigned The treatment mechanism etc. of IP.It is uniformly processed automatically with ensuring that the mutual difference of the second host of batch can be carried out, guarantee portion Administration's work can smoothly complete.
Optionally, the second host is in the network setup information according to differentiation configuration file to the second host, Hostname After being modified at least one of authorization sequence number, Starting mode is updated to hard disk startup mode.Specifically, it is arranged The BIOS startup item of all the second hosts for having installed the first operating system, is changed to hard disk startup by PXE/iPXE.It The operating system of all second hosts will be configured and be completed from hard disk startup afterwards.Although the reason is that batch installing operating system It has been completed that, but the second host current system also runs the second operating system in memory, therefore needed to exit the second operation system System, and change BIOS option and operating system is guided to load from hard disk, the operating system portion of so far entire second host in batches Administration completes.
It should also be noted that, for method and step performed between different executing subjects in the application, it is bright in addition to having The method and step of aobvious causality or obvious precedence relationship, not absolute sequencing, portion between other method and steps Divide method and step that can also carry out simultaneously, the application is not especially limited this.
It is worth noting that the application is the method for batch installing operating system, batch installing operating system therein is Refer to that batch installs the operating system of multiple second hosts.Although foregoing description is illustrated with one of them second host, It will be understood by, installing the operating process of each second host when the operating system of multiple second hosts in batches can be by Performed method and process according to the second host of foregoing description carry out the installation of the first operating system.In addition, being criticized in the application Measuring, which can be, is divided into a batch progress all batch installations to all second hosts, is also possible to part and successively installs in batches, this Shen Please this is not especially limited.For example, it is assumed that there is second host of 1000 operating systems to be installed, it can refer to this in batches 1000 the second hosts are performed simultaneously method flow involved in above-described embodiment, are also possible to for 1000 being divided into several Secondary such as four times, every batch, which is 250, to carry out while installing, and successively carries out.
It is, of course, understood that being carried out under the first image file due to the P2P mode used in the application It carries, therefore the quantity that the second host in batch is installed simultaneously is more, each second host completes the fragment of the first image file Downloading it is faster.Therefore specifically how in batches, the setting of the installation number of units of batch can also be carried out according to demand, the application is to this It is not especially limited.
The embodiment of the present invention not only remains the beneficial effect of the corresponding embodiment of Fig. 2, is also configured by configuration variance File allows multiple second hosts to carry out differentiation configuration according to the differentiation configuration file, avoids multiple second hosts because with the The problem of network conflict caused by the configuration identical parameters of one host, the batch in further perfect the application install operation The technical solution of system.
It is above-mentioned to illustrate the method for the embodiment of the present invention, the relevant apparatus of the embodiment of the present invention is provided below.
Fig. 3 is referred to, Fig. 3 is a kind of structural schematic diagram of managing main frame provided in an embodiment of the present invention.The managing main frame PXE/iPXE host in 10 corresponding diagrams 1.The managing main frame 10 may include receiving unit 101, processing unit 102 and transmission unit 103, wherein each unit is described in detail as follows.
Receiving unit 101, for receiving the first image file that the first host is sent, institute by presetting the network transmission protocol State the first image file be first host under target start mode by the second os starting, and according to described the One operating system generates, and the target start mode includes Pre-boot Execution Environment PXE or enhanced Pre-boot Execution Environment IPXE, wherein when the target start mode is PXE, the managing main frame is PXE host, when the target start mode is IPXE, the managing main frame are iPXE host;
Processing unit 102, for first image file to be divided into multiple fragments, and generation pair according to Predistribution Algorithm Equal network P 2 Ps seed file, the P2P seed file includes the name of the address of the managing main frame, first image file Title, fragment quantity and size;
Transmission unit 103 is also used to send instruction information to multiple second hosts, and the instruction information is used to indicate described Multiple second hosts download the fragment of first image file according to the P2P seed file simultaneously, and according to described first Image file carries out the installation of first operating system.
Optionally, as shown in the dashed rectangle in Fig. 3, managing device 10 can also include:
Configuration unit 104, for determining the differentiation configuration file of the multiple second host, institute according to preset configuration table State network setup information, Hostname and the authorization including each second host in the multiple second host in preset configuration table At least one of sequence number, the differentiation configuration file are used to indicate each second host described according to described One image file carries out in the installation process of first operating system, to the network setup information, Hostname and authorization At least one of sequence number is modified.
Optionally, first operating system is the multiple second host operating system to be installed, second behaviour Making system includes clone's application and P2P application.
Optionally, the default network transmission protocol includes internet small computer system interface iSCSI agreement, network Any one in file system NFS protocol and secure file transportation protocol SFTP.
It is described in the embodiment of the present invention it should be understood that managing main frame 10 according to an embodiment of the present invention can correspond to execute Method, and above and other operation and/or function of each unit in device management host 10 is respectively in order to realize Fig. 2 The corresponding process for each method that middle managing main frame executes, for sake of simplicity, details are not described herein.
Managing main frame in the embodiment of the present invention, by receive the first host generate the first image file after, benefit With the P2P application in the second operating system, the P2P seed file of the first image file is generated, so that the second host can lead to P2P mode is crossed, the fragment of the first image file of the first operating system to be installed is efficiently transmitted between multiple second hosts, And multiple second hosts is allowed finally according to the fragment of first image file, the installation of the first operating system to be completed, to be promoted The efficiency of batch installing operating system.
Fig. 4 is referred to, Fig. 4 is a kind of structural schematic diagram of second host provided in an embodiment of the present invention, second host 20 may include start unit 201, receiving unit 202, download unit 20/3 and reduction unit 204, wherein each unit it is detailed Carefully it is described as follows.
Start unit 201, for passing through the second os starting under target start mode;
Receiving unit 202, for receiving the instruction information of managing main frame transmission, the instruction information is used to indicate described the Two hosts download the first image file according to P2P seed file, wherein first image file is that the first host is opened in target It by second os starting under flowing mode, and is generated according to first operating system, the P2P seed file is First image file is divided into multiple fragments, and first mirror image generated according to Predistribution Algorithm by the managing main frame The seed file of file, the P2P seed file include the address of the managing main frame, first image file title, Fragment quantity and size, the target start mode include Pre-boot Execution Environment PXE or enhanced Pre-boot Execution Environment IPXE, wherein when the target start mode is PXE, the managing main frame is PXE host, when the target start mode is IPXE, the managing main frame are iPXE host, and second host is identical as the Starting mode of first host;
Download unit 203 is used for through the default network transmission protocol according to the P2P seed file in a manner of P2P Download all fragments of first image file;
Reduction unit 204, for restoring first operating system according to all fragments of first image file.
Optionally, start unit 201 is used to start by target start mode, specifically:
Second operating system is obtained from the managing main frame, second operating system includes P2P application;Using institute It states target start mode and starts second operating system in memory;
Download unit 203 be used for by the default network transmission protocol according to the P2P seed file in a manner of P2P under All fragments of first image file are carried, specifically:
It is applied using the P2P, through the default network transmission protocol, according to the P2P seed file in a manner of P2P Download all fragments of first image file.
Optionally, second operating system further includes clone's application;
Reduction unit 204 is used to restore first operating system, tool according to all fragments of first image file Body are as follows:
Using clone application by all fragment solutions of first image file from the memory of second host It is depressed on the hard disk of second host.
Optionally, as shown in the dashed rectangle in Fig. 4, the second host 20 can also include:
Acquiring unit 205, for obtaining the differentiation configuration file of second host from the managing main frame;
Changing unit 206, for the network setup information, Hostname and being awarded according to the differentiation configuration file At least one of Weight train number is modified.
Optionally, the default network transmission protocol includes internet small computer system interface iSCSI agreement, safety Any one in File Transfer Protocol SFTP and Network File System NFS protocol.
It is described in the embodiment of the present invention it should be understood that the second host 20 according to an embodiment of the present invention can correspond to execute Method, and above and other operation and/or function of each unit in the second host of device 20 is respectively in order to realize Fig. 2 In the second host execute each method corresponding process, for sake of simplicity, details are not described herein.
The second host in the embodiment of the present invention can efficiently be transmitted between multiple second hosts by P2P mode The fragment of first image file of the first operating system to be installed, and finally according to the fragment of first image file completes the The installation of one operating system, to promote the efficiency of batch installing operating system.
Fig. 5 is referred to, Fig. 5 is a kind of structural schematic diagram of first host provided in an embodiment of the present invention, first host 30 may include installation unit 301, start unit 302, transmission unit 303, wherein each unit is described in detail as follows.
Installation unit 301, for installing the first operating system, first operating system is that multiple second hosts are to be installed Operating system;
Start unit 302, for passing through the second os starting, the target start mode under target start mode Including Pre-boot Execution Environment PXE or enhanced Pre-boot Execution Environment iPXE;
Transmission unit 303, for the first image file to be sent to managing main frame by the default network transmission protocol, so that The managing main frame storage first image file is obtained to be installed for the multiple second host according to first image file First operating system, first image file are described first that first host is generated according to first operating system The image file of operating system, wherein when the target start mode is PXE, the managing main frame is PXE host, when described Target start mode is iPXE, and the managing main frame is iPXE host.
Optionally, start unit 302 is used under target start mode through the second os starting, specifically:
The second operating system is obtained from the managing main frame;Described in being run in memory using the target start mode Second operating system, and start under the guidance of second operating system.
Optionally, the default network transmission protocol includes secure file transportation protocol SFTP;Second operating system Application is applied and cloned including P2P;
Transmission unit 303 is used to that the first image file to be sent to managing main frame by the default network transmission protocol, specifically Are as follows:
The first image file of first operating system is generated using clone's application described in second operating system; First image file is copied to the hard disk of the managing main frame by the SFTP from the memory of first host On.
Optionally, the default network transmission protocol include internet small computer system interface iSCSI agreement or Network File System NFS protocol;Second operating system includes P2P application and clone's application;
Transmission unit 303 is used to that the first image file to be sent to managing main frame by the default network transmission protocol, specifically Are as follows:
By iSCSI protocol or NFS protocol using clone's application from the hard disk of first host by described the On the data clone of one operating system to the hard disk of the managing main frame, to generate described on the hard disk of the managing main frame First image file of one operating system.
It is described in the embodiment of the present invention it should be understood that the first host 30 according to an embodiment of the present invention can correspond to execute Method, and above and other operation and/or function of each unit in the first host of device 30 is respectively in order to realize Fig. 2 In the first host execute each method corresponding process, for sake of simplicity, details are not described herein.
The first host in the embodiment of the present invention can be operated by installing the first operating system, and by the first of generation First image file of system is sent to managing main frame, so that managing main frame generates the P2P seed file of the first image file, To allow the fragment of the first image file by P2P transmission mode high efficiency of transmission between multiple second hosts, finally allow multiple Second host completes the installation of the first operating system according to the fragment of first image file, improves batch installation operation system The efficiency of system.
As shown in fig. 6, Fig. 6 is a kind of structural schematic diagram of equipment provided in an embodiment of the present invention.Managing main frame 10, second Host 20 and the first host 30 can realize that the equipment 40 includes at least one processor 401 with the structure in Fig. 6, until Few a memory 402, at least one communication interface 403.In addition, the equipment can also including antenna etc. universal components, herein No longer it is described in detail.
Processor 401 can be general central processor (CPU), microprocessor, application-specific integrated circuit (application-specific integrated circuit, ASIC), or it is one or more for controlling above scheme journey The integrated circuit that sequence executes.
Communication interface 403 is used for and other equipment or communication, such as Ethernet, wireless access network (RAN), nothing Line local area network (wireless local area networks, WLAN) etc..
Memory 402 can be read-only memory (read-only memory, ROM) or can store static information and instruction Other kinds of static storage device, random access memory (random access memory, RAM) or letter can be stored The other kinds of dynamic memory of breath and instruction, is also possible to Electrically Erasable Programmable Read-Only Memory (electrically Erasable programmable read-only memory, EEPROM), CD-ROM (compact disc read- Only memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, optical disc, digital universal Optical disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store to have referring to Enable or data structure form desired program code and can by any other medium of computer access, but not limited to this. Memory, which can be, to be individually present, and is connected by bus with processor.Memory can also be integrated with processor.
Wherein, the memory 402 be used for store execution above scheme application code, and by processor 401 Control executes.The processor 401 is for executing the application code stored in the memory 402.
When equipment shown in fig. 6 is managing main frame, coordinator provided above is can be performed in the code that memory 402 stores The method of the batch installing operating system of execution, for example the first mirror that the first host is sent is received by presetting the network transmission protocol As file;First image file is divided into multiple fragments according to Predistribution Algorithm, and generates Peer-to-Peer Network P2P kind Ziwen Part;Instruction information is sent to multiple second hosts.
When equipment shown in fig. 6 is the first host 30, information provided above is can be performed in the code that memory 402 stores Sending method, such as by the second os starting under target start mode, and receive the instruction letter of managing main frame transmission Breath;First image file is downloaded in a manner of P2P according to the P2P seed file by the default network transmission protocol All fragments;First operating system is restored according to all fragments of first image file.
When equipment shown in fig. 6 is the second host 30, information provided above is can be performed in the code that memory 402 stores Sending method, for example the first operating system is installed;Pass through the second os starting under target start mode;By presetting net First image file is sent to managing main frame by network transport protocol, so that the managing main frame stores first image file The first operating system is installed according to first image file for the multiple second host.
It should be noted that managing main frame 10 described in the embodiment of the present invention, the second host 20 and the first host The function of each functional unit can be found in the associated description of embodiment of the method described in above-mentioned Fig. 1-Fig. 2 in 30, and details are not described herein again.
A kind of system of batch installing operating system provided by the invention as shown in Figure 7, which includes, including pipe Host 501, the first host 502 and multiple second hosts 503 are managed, wherein
The entity structure of the second host 503 of each of managing main frame 501, the first host 502 and multiple second hosts can With correspondence equipment 40 shown in fig. 6.It will be appreciated that the system 50 in the embodiment of the present invention can also include providing related service Equipment such as interchanger, routing etc..Managing main frame 501, the first host 502 and multiple second hosts 503 in the system 50 Function can be corresponded to reference to the specific implementation in embodiment of the method in above-mentioned Fig. 2, and which is not described herein again.
Above-described embodiment can be realized wholly or partly by software, hardware, firmware or any other combination.When When using software realization, above-described embodiment can be realized entirely or partly in the form of a computer program product.The calculating Machine program product includes one or more computer instructions.When loading on computers or executing the computer program instructions, It entirely or partly generates according to process or function described in the embodiment of the present invention.The computer can for general purpose computer, Special purpose computer, computer network or other programmable devices.The computer instruction can store to be deposited computer-readable In storage media, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, described Computer instruction can pass through wired (such as coaxial cable, light from a web-site, computer, server or data center Fine, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, clothes Business device or data center are transmitted.The computer readable storage medium can be any available Jie that computer can access Matter includes either the data storage devices such as server, the data center of one or more usable medium set.Described use is situated between Matter can be magnetic medium (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium.Semiconductor Medium can be solid state hard disk (solid state drive, SSD).
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.

Claims (17)

1. a kind of method of batch installing operating system characterized by comprising
Managing main frame receives the first image file that the first host is sent, the first mirror image text by presetting the network transmission protocol Part passes through the second os starting for first host under target start mode, and raw according to first operating system At the target start mode includes Pre-boot Execution Environment PXE or enhanced Pre-boot Execution Environment iPXE, wherein when The target start mode is PXE, and the managing main frame is PXE host, when the target start mode is iPXE, the management Host is iPXE host;
First image file is divided into multiple fragments according to Predistribution Algorithm by the managing main frame, and generates peer-to-peer network P2P seed file, the P2P seed file include the address of the managing main frame, the title of first image file, fragment Quantity and size;
The managing main frame sends instruction information to multiple second hosts, and it is main that the instruction information is used to indicate the multiple second Machine downloads the fragment of first image file according to the P2P seed file simultaneously, and according to first image file into The installation of row first operating system.
2. the method as described in claim 1, which is characterized in that the method also includes:
The managing main frame determines the differentiation configuration file of the multiple second host, the pre- establishing according to preset configuration table Set in table includes in the multiple second host in the network setup information of each second host, Hostname and authorization sequence number At least one, the differentiation configuration file is used to indicate each second host described according to first mirror image text Part carries out in the installation process of first operating system, in the network setup information, Hostname and authorization sequence number At least one be modified.
3. method according to claim 1 or 2, which is characterized in that first operating system is the multiple second host Operating system to be installed, second operating system include clone's application and P2P application.
4. method as claimed in any one of claims 1-3, which is characterized in that the default network transmission protocol includes English spy Net small computer system interface iSCSI agreement, appointing in Network File System NFS protocol and secure file transportation protocol SFTP It anticipates one kind.
5. a kind of method of batch installing operating system characterized by comprising
Second host passes through the second os starting under target start mode, and receives the instruction letter of managing main frame transmission Breath, the instruction information are used to indicate second host and download the first image file according to P2P seed file, wherein described First image file passes through second os starting for the first host under target start mode, and according to described first Operating system generates, and the P2P seed file is that the managing main frame divides first image file according to Predistribution Algorithm At multiple fragments, and the seed file of first image file generated, the P2P seed file includes the managing main frame Address, first image file title, fragment quantity and size, the target start mode include pretrigger execute ring Border PXE or enhanced Pre-boot Execution Environment iPXE, wherein when the target start mode is PXE, the managing main frame is PXE host, when the target start mode is iPXE, the managing main frame is iPXE host, second host and described the The Starting mode of one host is identical;
Second host is downloaded in a manner of P2P by the default network transmission protocol according to the P2P seed file described All fragments of first image file;
Second host restores first operating system according to all fragments of first image file.
6. the method as described in claim 1, which is characterized in that second host is started by target start mode, comprising:
Second host obtains second operating system from the managing main frame, and second operating system includes that P2P is answered With;
Second host starts second operating system using the target start mode in memory;
Second host is downloaded in a manner of P2P by the default network transmission protocol according to the P2P seed file described All fragments of first image file, comprising:
The application of P2P described in second host computer, by the default network transmission protocol, according to the P2P seed file All fragments of first image file are downloaded in a manner of P2P.
7. method as claimed in claim 6, which is characterized in that second operating system further includes clone's application;
Then second host restores first operating system according to all fragments of first image file, comprising:
Clone's application is from the memory of second host by the institute of first image file described in second host computer There is fragment solution to be depressed on the hard disk of second host.
8. the method as described in any one of claim 6, which is characterized in that the method also includes:
Second host obtains the differentiation configuration file of second host from the managing main frame;
Second host according to the differentiation configuration file to the network setup information of second host, Hostname and At least one of authorization sequence number is modified.
9. the method as described in any one of claim 5-8, which is characterized in that the default network transmission protocol includes English Special net small computer system interface iSCSI agreement, in secure file transportation protocol SFTP and Network File System NFS protocol Any one.
10. a kind of method of batch installing operating system characterized by comprising
First host installs the first operating system, and first operating system is multiple second hosts operating system to be installed;
For first host by the second os starting under target start mode, the target start mode includes opening in advance Dynamic performing environment PXE or enhanced Pre-boot Execution Environment iPXE;
First image file is sent to managing main frame by the default network transmission protocol by first host, so that the pipe It manages host and stores first image file for the multiple second host according to the first operation of first image file installation System, first image file are first operating system that first host is generated according to first operating system Image file, wherein when the target start mode be PXE, the managing main frame be PXE host, when the target start Mode is iPXE, and the managing main frame is iPXE host.
11. method as claimed in claim 10, which is characterized in that first host passes through second under target start mode Os starting, comprising:
First host obtains the second operating system from the managing main frame;
First host runs second operating system using the target start mode in memory, and described second Start under the guidance of operating system.
12. method as described in claim 10 or 11, which is characterized in that the default network transmission protocol includes secure file Transportation protocol SFTP;Second operating system includes P2P application and clone's application;
First image file is sent to managing main frame by the default network transmission protocol by first host, comprising:
Clone's application described in second operating system described in first host computer generates the first of first operating system Image file;
First image file is copied to institute from the memory of first host by the SFTP by first host It states on the hard disk of managing main frame.
13. method as described in claim 10 or 11, which is characterized in that the default network transmission protocol includes that internet is small Type computer system interface iSCSI agreement or Network File System NFS protocol;Second operating system includes P2P application It is applied with clone;
First image file is sent to managing main frame by the default network transmission protocol by first host, comprising:
First host is by iSCSI protocol or NFS protocol using the clone using the hard disk from first host By on the hard disk of the data clone of first operating system to the managing main frame, with raw on the hard disk of the managing main frame At first image file of first operating system.
14. a kind of system of batch installing operating system, which is characterized in that including managing main frame, the first host and multiple second Host, wherein
The managing main frame requires the operating procedure of any one of 1 to 4 the method for perform claim;
First host requires the operating procedure of any one of 10 to 13 the methods for perform claim;
Each second host in the multiple second host requires the operation of any one of 5 to 9 the methods for perform claim Step.
15. a kind of managing main frame, which is characterized in that the managing main frame includes processor, memory, communication interface, bus, institute It states and connects and complete mutual communication between processor, memory and communication interface by bus, be used in the memory Computer executed instructions are stored, when the managing main frame is run, the processor executes the execution of the computer in the memory Instruction is to utilize the operating procedure of any the method in the hardware resource perform claim requirement 1 to 4 in the managing main frame.
16. a kind of first host, which is characterized in that first host includes processor, memory, communication interface, bus, institute It states and connects and complete mutual communication between processor, memory and communication interface by bus, be used in the memory Computer executed instructions are stored, when first host is run, the processor executes the execution of the computer in the memory Instruction is to utilize the operating procedure of any the method in the hardware resource perform claim requirement 10 to 13 in first host.
17. a kind of second host, which is characterized in that second host includes processor, memory, communication interface, bus, institute It states and connects and complete mutual communication between processor, memory and communication interface by bus, be used in the memory Computer executed instructions are stored, when second host is run, the processor executes the execution of the computer in the memory Instruction is to utilize the operating procedure of any the method in the hardware resource perform claim requirement 5 to 9 in second host.
CN201710383750.5A 2017-05-26 2017-05-26 A kind of method of batch installing operating system, relevant device and system Pending CN108958742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710383750.5A CN108958742A (en) 2017-05-26 2017-05-26 A kind of method of batch installing operating system, relevant device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710383750.5A CN108958742A (en) 2017-05-26 2017-05-26 A kind of method of batch installing operating system, relevant device and system

Publications (1)

Publication Number Publication Date
CN108958742A true CN108958742A (en) 2018-12-07

Family

ID=64494695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710383750.5A Pending CN108958742A (en) 2017-05-26 2017-05-26 A kind of method of batch installing operating system, relevant device and system

Country Status (1)

Country Link
CN (1) CN108958742A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819027A (en) * 2019-01-21 2019-05-28 郑州云海信息技术有限公司 A kind of server system remote start-up method, device, equipment and storage medium
CN109885398A (en) * 2019-01-16 2019-06-14 上海云轴信息科技有限公司 The distribution method and equipment of distributed PXE server
CN110213334A (en) * 2019-04-30 2019-09-06 视联动力信息技术股份有限公司 A kind of transmission method and device of shared file
CN110618819A (en) * 2019-09-20 2019-12-27 深圳忆联信息系统有限公司 Method and device for automatically deploying WINPE system in batches and computer equipment
CN110753088A (en) * 2019-09-18 2020-02-04 平安科技(深圳)有限公司 System deployment method and device
CN111008043A (en) * 2019-10-18 2020-04-14 烽火通信科技股份有限公司 Server starting method of cloud platform and terminal
CN112328312A (en) * 2020-11-06 2021-02-05 上海云轴信息科技有限公司 Method and equipment for realizing diskless startup of bare computer equipment
US20210182042A1 (en) * 2019-12-13 2021-06-17 Sap Se Unified Installer
CN113377398A (en) * 2021-06-09 2021-09-10 南宁市研祥特种计算机软件有限公司 Operating system upgrading method
CN113900720A (en) * 2021-10-15 2022-01-07 北京字节跳动网络技术有限公司 Operating system starting method and device and electronic equipment
CN114338645A (en) * 2021-11-26 2022-04-12 北京金山云网络技术有限公司 Whole machine mirror image manufacturing method, mirror image installation method and device and electronic equipment
US11360755B2 (en) * 2020-05-06 2022-06-14 EMC IP Holding Company LLC Method, electronic device, and computer program product for installing application
CN115348255A (en) * 2022-07-27 2022-11-15 广州市金其利信息科技有限公司 Mirror image installation method and device of operating system and storage medium
CN116032975A (en) * 2023-02-17 2023-04-28 广东柯内特环境科技有限公司 Water quality information acquisition and transmission method and system using unmanned ship
WO2024036889A1 (en) * 2022-08-18 2024-02-22 网易(杭州)网络有限公司 Mirror image distribution method, system, and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080127172A1 (en) * 2006-10-31 2008-05-29 Dawson Christopher J Method for viral installation of operating systems in a network
CN101778132A (en) * 2010-01-22 2010-07-14 杭州华三通信技术有限公司 Method, system and device for network installation based on load balance
CN102520997A (en) * 2011-12-08 2012-06-27 曙光信息产业(北京)有限公司 Semi-automatic batch deploying method of homogenous cluster operating system
CN103491131A (en) * 2013-08-09 2014-01-01 浪潮电子信息产业股份有限公司 Network operating system fast batch installing method based on P2P
CN106547583A (en) * 2015-09-22 2017-03-29 杭州华为数字技术有限公司 A kind of installation method of operating system and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080127172A1 (en) * 2006-10-31 2008-05-29 Dawson Christopher J Method for viral installation of operating systems in a network
CN101778132A (en) * 2010-01-22 2010-07-14 杭州华三通信技术有限公司 Method, system and device for network installation based on load balance
CN102520997A (en) * 2011-12-08 2012-06-27 曙光信息产业(北京)有限公司 Semi-automatic batch deploying method of homogenous cluster operating system
CN103491131A (en) * 2013-08-09 2014-01-01 浪潮电子信息产业股份有限公司 Network operating system fast batch installing method based on P2P
CN106547583A (en) * 2015-09-22 2017-03-29 杭州华为数字技术有限公司 A kind of installation method of operating system and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
北京洪恩教育科技有限公司: "《开天辟地:网上冲浪篇》", 28 February 2005, 吉林电子出版社 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885398A (en) * 2019-01-16 2019-06-14 上海云轴信息科技有限公司 The distribution method and equipment of distributed PXE server
CN109885398B (en) * 2019-01-16 2020-10-13 上海云轴信息科技有限公司 Distribution method and device of distributed PXE server
CN109819027A (en) * 2019-01-21 2019-05-28 郑州云海信息技术有限公司 A kind of server system remote start-up method, device, equipment and storage medium
CN110213334B (en) * 2019-04-30 2021-08-20 视联动力信息技术股份有限公司 Method and device for transmitting shared file
CN110213334A (en) * 2019-04-30 2019-09-06 视联动力信息技术股份有限公司 A kind of transmission method and device of shared file
CN110753088A (en) * 2019-09-18 2020-02-04 平安科技(深圳)有限公司 System deployment method and device
CN110753088B (en) * 2019-09-18 2022-10-18 平安科技(深圳)有限公司 System deployment method and device
CN110618819A (en) * 2019-09-20 2019-12-27 深圳忆联信息系统有限公司 Method and device for automatically deploying WINPE system in batches and computer equipment
CN111008043A (en) * 2019-10-18 2020-04-14 烽火通信科技股份有限公司 Server starting method of cloud platform and terminal
US20210182042A1 (en) * 2019-12-13 2021-06-17 Sap Se Unified Installer
US11275571B2 (en) * 2019-12-13 2022-03-15 Sap Se Unified installer
US11360755B2 (en) * 2020-05-06 2022-06-14 EMC IP Holding Company LLC Method, electronic device, and computer program product for installing application
CN112328312A (en) * 2020-11-06 2021-02-05 上海云轴信息科技有限公司 Method and equipment for realizing diskless startup of bare computer equipment
CN112328312B (en) * 2020-11-06 2023-06-13 上海云轴信息科技有限公司 Method and device for realizing diskless starting of bare computer equipment
CN113377398A (en) * 2021-06-09 2021-09-10 南宁市研祥特种计算机软件有限公司 Operating system upgrading method
CN113900720A (en) * 2021-10-15 2022-01-07 北京字节跳动网络技术有限公司 Operating system starting method and device and electronic equipment
CN113900720B (en) * 2021-10-15 2023-08-08 抖音视界有限公司 Operating system starting method and device and electronic equipment
CN114338645A (en) * 2021-11-26 2022-04-12 北京金山云网络技术有限公司 Whole machine mirror image manufacturing method, mirror image installation method and device and electronic equipment
CN115348255A (en) * 2022-07-27 2022-11-15 广州市金其利信息科技有限公司 Mirror image installation method and device of operating system and storage medium
WO2024036889A1 (en) * 2022-08-18 2024-02-22 网易(杭州)网络有限公司 Mirror image distribution method, system, and device
CN116032975A (en) * 2023-02-17 2023-04-28 广东柯内特环境科技有限公司 Water quality information acquisition and transmission method and system using unmanned ship

Similar Documents

Publication Publication Date Title
CN108958742A (en) A kind of method of batch installing operating system, relevant device and system
WO2021108103A1 (en) Dynamic resource movement in heterogeneous computing environments including cloud edge locations
US11640315B2 (en) Multi-site virtual infrastructure orchestration of network service in hybrid cloud environments
CN110149409B (en) Cloud host metadata service management method, system, equipment and storage medium
CN107534647A (en) Safely and reliably transmission starts script
CN108737463A (en) A kind of software deployment method, server and system
CN111198696B (en) OpenStack large-scale deployment method and system based on bare computer server
CN110990026B (en) Automatic deployment method and system for PaaS platform
CN106911729A (en) A kind of operating system remote installation method suitable for domestic processor
CN109040150A (en) Cloud desktop services method, client platform and system
CN112230942A (en) Automatic deployment method and system supporting various domestic operating systems
TW201434300A (en) Service migration across cluster boundaries
CN106549789B (en) Method and system for realizing server installation
CN107911467B (en) Service operation management system and method for scripted operation
US11755383B2 (en) Hybrid inventory data summarization using various input schema across hybrid cloud infrastructure
CN112328262A (en) Deployment method, system and device of operating system and electronic equipment
CN109067599A (en) A kind of method and device for disposing cluster
KR20080060927A (en) Server, client and method for supporting/performing update thereof
CN111786810A (en) Automatic deployment method and system for large-scale test bed nodes
CN111273924A (en) Software updating method and device
US20220159062A1 (en) Setting apparatus, communication system, setting method, and program
CN110706426A (en) Method and system for managing USB tax control disk
CN108881504A (en) A kind of hardware information automatic acquiring method and device
US11689415B2 (en) Creating a highly-available private cloud gateway based on a two-node hyperconverged infrastructure cluster with a self-hosted hypervisor management system
CN107659621B (en) RAID control card configuration method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181207