CN111443925B - Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium - Google Patents

Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN111443925B
CN111443925B CN202010294895.XA CN202010294895A CN111443925B CN 111443925 B CN111443925 B CN 111443925B CN 202010294895 A CN202010294895 A CN 202010294895A CN 111443925 B CN111443925 B CN 111443925B
Authority
CN
China
Prior art keywords
mirror image
installation
image installation
model information
updated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010294895.XA
Other languages
Chinese (zh)
Other versions
CN111443925A (en
Inventor
张宝文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yidiantao Network Technology Co ltd
Original Assignee
Beijing Yidiantao Network Technology 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 Beijing Yidiantao Network Technology Co ltd filed Critical Beijing Yidiantao Network Technology Co ltd
Priority to CN202010294895.XA priority Critical patent/CN111443925B/en
Publication of CN111443925A publication Critical patent/CN111443925A/en
Application granted granted Critical
Publication of CN111443925B publication Critical patent/CN111443925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a mirror image installation method, a primary server, a secondary server, a system, electronic equipment and a storage medium, comprising the following steps: acquiring model information of all testing machines which are transmitted by a plurality of secondary servers and are associated with each secondary server; obtaining mirror image installation files corresponding to all machine type information, associating each machine type information with the corresponding mirror image installation files, and generating an association table; and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table, so that each secondary server can send the mirror image installation files and the installation instructions of the corresponding model information to all the associated testers, and the corresponding testers can automatically install the corresponding mirror image installation files through the installation instructions. The invention realizes remote mirror image installation, saves labor and cost, avoids the problem of system version quality caused by file dyssynchrony, and improves the mirror image installation efficiency.

Description

Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a mirror image installation method, a primary server, a secondary server, a system, electronic equipment and a storage medium.
Background
At present, a notebook computer and PC production line adopts a mode of copying a master disc of a local hard disk copying machine to carry out mirror image installation, external equipment (such as a U disc) is used, and after the hard disk copying is completed, the machine is required to be reinstalled for testing.
The existing mirror image installation method has the following problems: the master copy-on-copy installation system is adopted, and the master copy machine copies 20 hard disks at most at a time, so that the efficiency is low and the resource consumption is serious; the machines in all regions of the country can not be synchronized when the system is updated, so that the timeliness is poor; if the master disk is poisoned, the catastrophic machine poisoning is caused, and the recovery processing cost is high; the capacity is increased by increasing the cost of the master disk and manpower.
Therefore, how to efficiently realize mirror image mounting is an important issue to be solved.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a mirror image installation method, a primary server, a secondary server, a system, electronic equipment and a storage medium.
In a first aspect, the present invention provides a mirror image installation method, applied to a primary server, including:
acquiring model information of all testing machines which are transmitted by a plurality of secondary servers and are associated with each secondary server;
obtaining mirror image installation files corresponding to all machine type information, associating each machine type information with the corresponding mirror image installation files, and generating an association table;
and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table, so that each secondary server can send the mirror image installation files and the installation instructions of the corresponding model information to all the associated testers, and the corresponding testers can automatically install the corresponding mirror image installation files through the installation instructions.
The method as above, optionally, further comprising:
updating a mirror image installation file and an association table corresponding to the model information to be updated;
and sending the updated mirror image installation file to the secondary server corresponding to the model information to be updated, so that the secondary server sends the updated mirror image installation file and an updating instruction to all the testers corresponding to the model information to be updated, and the corresponding testers automatically update the corresponding mirror image installation file through the updating instruction.
As in the above method, optionally, the image installation file includes:
one or more of a windows system installation package, a linux system installation package, a Legacy Bios bootstrap, a UEFI Bios bootstrap, and a windows system OEM custom module installation file.
The method above, optionally, the image installation file further includes: mounting position information assigned to a corresponding mounting hard disk based on a mechanical hard disk, SSD, or eMMC of the test machine.
The second aspect of the invention provides a mirror image installation method, which is applied to a secondary server and comprises the steps of obtaining model information of all associated testing machines;
transmitting all the obtained model information to a main server, so that the main server obtains mirror image installation files corresponding to all the model information, associates each model information with the corresponding mirror image installation files, and generates an association table;
receiving a mirror image installation file corresponding to the model information issued by the main server according to the association table;
and sending the mirror image installation file and the installation instruction corresponding to the model information to the testing machine corresponding to the model information, so that each associated testing machine can automatically install the corresponding mirror image installation file through the installation instruction.
The method as above, optionally, further comprising:
receiving an updated mirror image installation file corresponding to the model information to be updated, which is sent by a main server;
sending an updating instruction and the updated mirror image installation file to a tester corresponding to the model information to be updated; so that the tester can automatically update the corresponding mirror image installation file.
In a third aspect, the present invention provides a primary server comprising:
the first acquisition module is used for acquiring model information of all the testers which are associated with each secondary server and are sent by the plurality of secondary servers;
the association module is used for acquiring mirror image installation files corresponding to all the model information, associating each model information with the corresponding mirror image installation file and generating an association table;
and the first sending module is used for respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table so that each secondary server can send the mirror image installation files and the installation instructions of the corresponding model information to all the associated test machines, and the corresponding test machines can automatically install the corresponding mirror image installation files through the installation instructions.
Optionally, a main server as above further includes:
the first updating module is used for updating the mirror image installation file and the association table corresponding to the model information to be updated;
correspondingly, the first sending module is further configured to:
and sending the updated mirror image installation file to the secondary server corresponding to the model information to be updated, so that the secondary server sends the updated mirror image installation file and an updating instruction to all the testers corresponding to the model information to be updated, and the corresponding testers automatically update the corresponding mirror image installation file through the updating instruction.
In a fourth aspect, the present invention provides a secondary server comprising:
the second acquisition module is used for acquiring the model information of all the associated testers;
the second sending module is used for sending all the obtained model information to the main server so that the main server can obtain mirror image installation files corresponding to all the model information, and associating each model information with the corresponding mirror image installation files to generate an association table;
the receiving module is used for receiving the mirror image installation file corresponding to the model information issued by the main server according to the association table;
the control module is used for sending the mirror image installation file and the installation instruction corresponding to the model information to the testing machine corresponding to the model information, so that each associated testing machine can automatically install the corresponding mirror image installation file through the installation instruction.
Optionally, as in the above secondary server, the receiving module is further configured to:
receiving an updated mirror image installation file corresponding to the model information to be updated, which is sent by a main server;
correspondingly, the secondary server further comprises:
the second updating module is used for sending an updating instruction and the updated mirror image installation file to the testing machine corresponding to the model information to be updated; so that the tester can automatically update the corresponding mirror image installation file.
In a fifth aspect, the present invention provides a mirror mounting system comprising: a primary server as described above and at least one secondary server as described above.
In a sixth aspect, the present invention provides an electronic device, comprising:
the device comprises a memory and a processor, wherein the processor and the memory are communicated with each other through a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions capable of performing the method of: acquiring model information of all testing machines which are transmitted by a plurality of secondary servers and are associated with each secondary server; obtaining mirror image installation files corresponding to all machine type information, associating each machine type information with the corresponding mirror image installation files, and generating an association table; and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table, so that each secondary server can send the mirror image installation files and the installation instructions of the corresponding model information to all the associated testers, and the corresponding testers can automatically install the corresponding mirror image installation files through the installation instructions.
In a seventh aspect, the present invention provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the method of: acquiring model information of all testing machines which are transmitted by a plurality of secondary servers and are associated with each secondary server; obtaining mirror image installation files corresponding to all machine type information, associating each machine type information with the corresponding mirror image installation files, and generating an association table; and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table, so that each secondary server can send the mirror image installation files and the installation instructions of the corresponding model information to all the associated testers, and the corresponding testers can automatically install the corresponding mirror image installation files through the installation instructions.
According to the mirror image installation method provided by the invention, the primary server is responsible for synchronization and update of mirror image installation of the secondary server, the secondary server sends the mirror image installation file and the installation instruction to the testing machine, the testing machine installs the mirror image installation file according to the installation instruction, remote mirror image installation is realized, labor and cost are saved, the problem of system version quality caused by file non-synchronization is avoided, and mirror image installation efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a mirror mounting system according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a mirror image installation method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a main server according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a secondary server according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the embodiment of the invention, a Preload mirror image installation system comprising a main server, a secondary server and a testing machine is provided, and the model installation mirror image PXE server mirror image system can be automatically identified according to the model of the testing machine, wherein the main server is only used for storing and updating mirror image installation files and is connected with a plurality of secondary servers, when the mirror image installation files are required to be installed or updated, the mirror image installation files are sent to each secondary server, the secondary servers are respectively connected with the corresponding testing machines, the mirror image installation files and installation instructions sent by the main server are sent to the associated testing machines, and the testing machines automatically install the mirror image installation files according to the installation instructions and the mirror image installation files, so that the problem caused by mirror image installation of the copying mode of the master disk is avoided. In practical applications, the primary server may be located at a production tester, such as a PC manufacturer, and each secondary server may be located on a PC production line, associated with all the testers, i.e., PCs, on the production line. For example, the tester production headquarters are in martial arts, so the main suit is placed in martial arts; beijing/Shanghai/Wuhan simultaneously has notebook & PC production lines, so the Beijing/Shanghai/Wuhan production lines are respectively provided with secondary servers. The main server is connected to each secondary server through an intel network, script checking is automatically executed, and as long as after the mirror image installation files are added or updated on the main server, the secondary servers are automatically synchronized to the main server through FTP, and machines of the notebook computer and PC production line are automatically installed through the mirror image installation files matched with the secondary servers.
The mirror image installation method provided by the embodiment of the invention is described in detail below, as shown in fig. 2, and the method includes:
step S101, a secondary server issues a feedback model information instruction to an associated testing machine;
step S102, the testing machine sends own model information to the corresponding secondary server;
step S101 and step S102, namely a process that the secondary server acquires the model information of all the associated testers, in practical application, the secondary server can also automatically identify the model information according to HW IDs of the associated testers;
step S103, the secondary server sends all collected model information to the main server;
step S104, the main server determines all model information according to the received model information, acquires mirror image installation files corresponding to all the model information, associates the model and the mirror image installation files, and generates an association table; the mirror installation file may be: one or more of a windows system installation package, a linux system installation package, a Legacy Bios bootstrap, a UEFI Bios bootstrap, and a windows system OEM custom module installation file, where the windows system installation package further includes a 32-bit system installation package and a 64-bit system installation package, and the mirror installation file may further include: mounting position information which is assigned to a corresponding mounting hard disk based on a mechanical hard disk, SSD or eMMC of the testing machine, so that the remote mirror image mounting method can support automatic identification mounting of 32-bit Windows systems and 64-bit Windows systems, network mounting Windows systems, linux systems, legacy Bios and UEFI Bios; the automatic identification of a mechanical hard disk, SSD, eMMC and the like is supported, and the system can be freely defined to be installed to any hard disk; supporting automatic identification of all computer products under each large brand to complete different configurations, and having a partial OEM customization function under a windows system;
in practical application, the main server can set a corresponding database for each secondary server, and store all model information and mirror image installation file association tables of the secondary server;
step S105, the main server sends mirror image installation files corresponding to all the contained machine type information to the secondary servers according to the association table and the machine type information sent by each secondary server, in actual application, scripts are automatically executed in the main server, and all the secondary servers can be synchronously updated in real time at one time through the FTP server;
step S106, the secondary server receives the mirror image installation file, generates an installation instruction, wherein the installation instruction comprises information such as an installation position, an installation version and the like, and sends the mirror image installation file and the installation instruction corresponding to the model information of the related testing machine;
step S107, the testing machine automatically installs the mirror image according to the received mirror image installation file and the installation instruction, and the secondary server can ensure that installation can be executed simultaneously for N testing machines by one server, and the time is controlled within 20 minutes; the master disk copying machine copies 20 hard disks at most once, and the hard disks need to be reinstalled to the machine for testing after being copied, so that the mirror image installation system provided by the embodiment of the invention greatly saves the cost of the master disk and the corresponding cost of manpower;
in practical application, after the test machine is installed, an installation result can be fed back to the secondary server, the secondary server obtains mirror image version information from the installation result and sends the mirror image version information to the main server, so that the mirror image installation system is provided with an equipment network installation system tracking mechanism;
step S108, the main server acquires the updated mirror image installation file in real time and updates the association table; the main server network updates the uploaded file without using external equipment (such as a USB flash disk), so that batch poisoning of machines can be avoided, and additional manpower and equipment are not required to be added for capacity expansion;
step S109, the main server sends updated mirror image installation files corresponding to the contained model information to the secondary server;
step S110, the secondary server generates an update instruction and sends an updated mirror image installation file and an update instruction corresponding to the model information of the test machine to be updated;
and step S111, the testing machine updates the mirror image according to the updating instruction.
In practical application, after the test machine is updated, the update result can be fed back to the secondary server, the secondary server obtains the mirror image version information from the update result and sends the mirror image version information to the primary server, so that the mirror image installation system has a device network installation system tracking mechanism.
According to the mirror image installation method provided by the embodiment of the invention, the primary server is responsible for synchronization and update of mirror image installation of the secondary server, the secondary server sends the mirror image installation file and the installation instruction to the testing machine, the testing machine installs the mirror image installation file according to the installation instruction, remote mirror image installation is realized, labor and cost are saved, the problem of system version quality caused by file non-synchronization is avoided, and mirror image installation efficiency is improved.
Based on the same inventive concept, an embodiment of the present invention further provides a main server, as shown in fig. 3, including: a first acquisition module 21, an association module 22 and a first transmission module 23, wherein:
the first obtaining module 21 is configured to obtain model information of all test machines associated with each secondary server, where the model information is sent by a plurality of secondary servers; the association module 22 is configured to obtain mirror image installation files corresponding to all model information, associate each model information with the corresponding mirror image installation file, and generate an association table; the first sending module 23 is configured to send mirror image installation files corresponding to the model information included in each secondary server to the plurality of secondary servers according to the association table, so that each secondary server sends the mirror image installation files and the installation instructions of the corresponding model information to all the associated test machines, and the corresponding test machines automatically install the corresponding mirror image installation files through the installation instructions.
Optionally, a main server as above further includes:
the first updating module is used for updating the mirror image installation file and the association table corresponding to the model information to be updated;
correspondingly, the first sending module is further configured to:
and sending the updated mirror image installation file to the secondary server corresponding to the model information to be updated, so that the secondary server sends the updated mirror image installation file and an updating instruction to all the testers corresponding to the model information to be updated, and the corresponding testers automatically update the corresponding mirror image installation file through the updating instruction.
Based on the same inventive concept, an embodiment of the present invention further provides a secondary server, as shown in fig. 4, including: a second acquisition module 31, a second transmission module 32, a reception module 33, and a control module 34, wherein:
the second obtaining module 31 is configured to obtain model information of all associated testers; the second sending module 32 is configured to send all the obtained model information to the main server, so that the main server obtains mirror image installation files corresponding to all the model information, associates each model information with the corresponding mirror image installation file, and generates an association table; the receiving module 33 is configured to receive a mirror image installation file corresponding to the model information sent by the main server according to the association table; the control module 34 is configured to send an image installation file and an installation instruction corresponding to each model information to a testing machine corresponding to the model information, so that each associated testing machine automatically installs the corresponding image installation file through the installation instruction.
Optionally, as in the above secondary server, the receiving module is further configured to:
receiving an updated mirror image installation file corresponding to the model information to be updated, which is sent by a main server;
correspondingly, the secondary server further comprises:
the second updating module is used for sending an updating instruction and the updated mirror image installation file to the testing machine corresponding to the model information to be updated; so that the tester can automatically update the corresponding mirror image installation file.
The device provided by the embodiment of the present invention is used for implementing the above method, and the functions of the device are specifically referred to the above method embodiment and are not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 5, where the device includes: a processor (processor) 51, a memory (memory) 52, and a bus 53;
wherein the processor 51 and the memory 52 perform communication with each other via said bus 53;
the processor 51 is configured to call program instructions in the memory 52 to perform the methods provided by the above-described method embodiments, for example, including: acquiring model information of all testing machines which are transmitted by a plurality of secondary servers and are associated with each secondary server; obtaining mirror image installation files corresponding to all machine type information, associating each machine type information with the corresponding mirror image installation files, and generating an association table; and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table, so that each secondary server can send the mirror image installation files and the installation instructions of the corresponding model information to all the associated testers, and the corresponding testers can automatically install the corresponding mirror image installation files through the installation instructions.
Embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the methods provided by the method embodiments described above, for example comprising: acquiring model information of all testing machines which are transmitted by a plurality of secondary servers and are associated with each secondary server; obtaining mirror image installation files corresponding to all machine type information, associating each machine type information with the corresponding mirror image installation files, and generating an association table; and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table, so that each secondary server can send the mirror image installation files and the installation instructions of the corresponding model information to all the associated testers, and the corresponding testers can automatically install the corresponding mirror image installation files through the installation instructions.
Embodiments of the present invention provide a non-transitory computer readable storage medium storing computer instructions that cause a computer to perform the methods provided by the above-described method embodiments, for example, including: acquiring model information of all testing machines which are transmitted by a plurality of secondary servers and are associated with each secondary server; obtaining mirror image installation files corresponding to all machine type information, associating each machine type information with the corresponding mirror image installation files, and generating an association table; and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table, so that each secondary server can send the mirror image installation files and the installation instructions of the corresponding model information to all the associated testers, and the corresponding testers can automatically install the corresponding mirror image installation files through the installation instructions.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
The embodiments of the apparatus etc. described above are merely illustrative, wherein the elements described as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the embodiments of the present invention, and are not limited thereto; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.

Claims (6)

1. The mirror image installation method is applied to a main server and is characterized by comprising the following steps of:
acquiring model information of all testing machines which are transmitted by a plurality of secondary servers and are associated with each secondary server;
obtaining mirror image installation files corresponding to all machine type information, associating each machine type information with the corresponding mirror image installation files, and generating an association table;
according to the association table, mirror image installation files corresponding to the model information contained in each secondary server are respectively sent to the plurality of secondary servers, so that each secondary server can send mirror image installation files and installation instructions of the corresponding model information to all the associated testers, and the corresponding testers can automatically install the corresponding mirror image installation files through the installation instructions;
updating a mirror image installation file and an association table corresponding to the model information to be updated;
the updated mirror image installation files are sent to the secondary server corresponding to the model information to be updated, so that the secondary server can send the updated mirror image installation files and update instructions to all the testers corresponding to the model information to be updated, and the corresponding testers can automatically update the corresponding mirror image installation files through the update instructions;
wherein, the mirror image installation file further includes: mounting position information, which is assigned to a corresponding mounting hard disk based on a mechanical hard disk, SSD, or eMMC of the test machine;
the primary server is connected to each secondary server through an intel network, and the secondary servers are automatically synchronized to the primary server through FTP;
after the installation of the testing machine is completed, the method further comprises the following steps:
feeding back an installation result to the secondary server, and obtaining mirror version information from the installation result by the secondary server and sending the mirror version information to the primary server;
acquiring an updated mirror image installation file in real time, and updating an association table;
sending an updated mirror image installation file corresponding to the contained model information to the secondary server;
the secondary server generates an update instruction and sends an updated mirror image installation file and an update instruction corresponding to the model information of the test machine to be updated;
and the testing machine updates the mirror image according to the updating instruction.
2. The method of claim 1, wherein the mirror installation file comprises:
one or more of a windows system installation package, a linux system installation package, a Legacy Bios bootstrap, a UEFI Bios bootstrap, and a windows system OEM custom module installation file.
3. A primary server, comprising:
the first acquisition module is used for acquiring model information of all the testers which are associated with each secondary server and are sent by the plurality of secondary servers;
the association module is used for acquiring mirror image installation files corresponding to all the model information, associating each model information with the corresponding mirror image installation file and generating an association table;
the first sending module is used for respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table so that each secondary server can send the mirror image installation files and the installation instructions of the corresponding model information to all the associated test machines, and the corresponding test machines can automatically install the corresponding mirror image installation files through the installation instructions;
the first updating module is used for updating the mirror image installation file and the association table corresponding to the model information to be updated;
the method comprises the steps that updated mirror image installation files are sent to a secondary server corresponding to the machine type information to be updated, so that the secondary server can send the updated mirror image installation files and update instructions to all the testers corresponding to the machine type information to be updated, and the corresponding testers can automatically update the corresponding mirror image installation files through the update instructions;
wherein, the mirror image installation file further includes: mounting position information, which is assigned to a corresponding mounting hard disk based on a mechanical hard disk, SSD, or eMMC of the test machine;
the primary server is connected to each secondary server through an intel network, and the secondary servers are automatically synchronized to the primary server through FTP;
after the installation of the testing machine is completed, the method further comprises the following steps:
feeding back an installation result to the secondary server, and obtaining mirror version information from the installation result by the secondary server and sending the mirror version information to the primary server;
acquiring an updated mirror image installation file in real time, and updating an association table;
sending an updated mirror image installation file corresponding to the contained model information to the secondary server;
the secondary server generates an update instruction and sends an updated mirror image installation file and an update instruction corresponding to the model information of the test machine to be updated;
and the testing machine updates the mirror image according to the updating instruction.
4. A mirror mounting system, comprising: a host server as claimed in claim 3.
5. An electronic device, comprising:
the device comprises a memory and a processor, wherein the processor and the memory are communicated with each other through a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1-2.
6. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method according to any of claims 1 to 2.
CN202010294895.XA 2020-04-15 2020-04-15 Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium Active CN111443925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010294895.XA CN111443925B (en) 2020-04-15 2020-04-15 Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010294895.XA CN111443925B (en) 2020-04-15 2020-04-15 Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111443925A CN111443925A (en) 2020-07-24
CN111443925B true CN111443925B (en) 2024-03-01

Family

ID=71654348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010294895.XA Active CN111443925B (en) 2020-04-15 2020-04-15 Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111443925B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114003247B (en) * 2021-10-28 2023-11-14 苏州浪潮智能科技有限公司 Installation detection method, system and device of security machine system and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497408A (en) * 2011-12-08 2012-06-13 曙光信息产业(北京)有限公司 Semiautomatic batch deployment method for heterogeneous cluster operating system
CN104412252A (en) * 2012-07-10 2015-03-11 阿沃森特亨茨维尔公司 System and method for accessing remote disk images using a vmedia client and through a remote access appliance
CN105744000A (en) * 2016-04-08 2016-07-06 中国农业银行股份有限公司 Mirror image configuration method and system
CN106201648A (en) * 2016-06-27 2016-12-07 浪潮电子信息产业股份有限公司 A kind of virtual machine creation method and device
CN106681867A (en) * 2015-11-09 2017-05-17 阿里巴巴集团控股有限公司 Testing method and device
CN106776347A (en) * 2017-01-24 2017-05-31 郑州云海信息技术有限公司 A kind of virtualization system mirror image mounting test system and method
CN109358858A (en) * 2018-09-19 2019-02-19 网易(杭州)网络有限公司 Automatically dispose method, apparatus, medium and electronic equipment
CN109683916A (en) * 2018-12-03 2019-04-26 武汉钢铁工程技术集团通信有限责任公司 A kind of method of cloud mirrored host computer of the autonomous creation comprising application software
CN110058867A (en) * 2019-04-29 2019-07-26 深圳市网心科技有限公司 The packing of application program mirror image, installation method and computer installation, storage medium
CN110753088A (en) * 2019-09-18 2020-02-04 平安科技(深圳)有限公司 System deployment method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8924954B2 (en) * 2011-11-22 2014-12-30 Huawei Technologies Co., Ltd. Application software installation method and application software installation apparatus

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497408A (en) * 2011-12-08 2012-06-13 曙光信息产业(北京)有限公司 Semiautomatic batch deployment method for heterogeneous cluster operating system
CN104412252A (en) * 2012-07-10 2015-03-11 阿沃森特亨茨维尔公司 System and method for accessing remote disk images using a vmedia client and through a remote access appliance
CN106681867A (en) * 2015-11-09 2017-05-17 阿里巴巴集团控股有限公司 Testing method and device
CN105744000A (en) * 2016-04-08 2016-07-06 中国农业银行股份有限公司 Mirror image configuration method and system
CN106201648A (en) * 2016-06-27 2016-12-07 浪潮电子信息产业股份有限公司 A kind of virtual machine creation method and device
CN106776347A (en) * 2017-01-24 2017-05-31 郑州云海信息技术有限公司 A kind of virtualization system mirror image mounting test system and method
CN109358858A (en) * 2018-09-19 2019-02-19 网易(杭州)网络有限公司 Automatically dispose method, apparatus, medium and electronic equipment
CN109683916A (en) * 2018-12-03 2019-04-26 武汉钢铁工程技术集团通信有限责任公司 A kind of method of cloud mirrored host computer of the autonomous creation comprising application software
CN110058867A (en) * 2019-04-29 2019-07-26 深圳市网心科技有限公司 The packing of application program mirror image, installation method and computer installation, storage medium
CN110753088A (en) * 2019-09-18 2020-02-04 平安科技(深圳)有限公司 System deployment method and device

Also Published As

Publication number Publication date
CN111443925A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
US8776037B2 (en) Apparatus and method to update multiple devices disposed in a computing system
EP3672199B1 (en) Application deployment method, apparatus and system
EP2456257A1 (en) Method and system for upgrading wireless data card
CN103067445B (en) Method and device of software upgrading of distributed system
US10372463B1 (en) Provisioning a computerized device with an operating system
US20180329862A1 (en) Method and apparatus for updating server firmware in server, and server
CN106027644B (en) Service verification method and system
CN111506358B (en) Method and device for updating container configuration
CN111443925B (en) Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium
CN103067509A (en) System and method of modularized software updating
CN110727575A (en) Information processing method, system, device and storage medium
CN111818145A (en) File transmission method, device, system, equipment and storage medium
JP2006338225A (en) Automatic installation method of computer
US7484125B2 (en) Method and apparatus for providing updated processor polling information
CN113468143A (en) Data migration method, system, computing device and storage medium
CN109032646B (en) Method, device and system for updating application
CN111385613A (en) Television system repairing method, storage medium and application server
CN113434281B (en) Equipment scheduling method and cloud platform
CN111339100B (en) Data checking method and device
WO2016180174A1 (en) Method and apparatus for synchronizing voice files
CN110347609B (en) Method and device for testing blockchain software
CN112734404A (en) Iterative man-hour statistical method and device in research and development process and computer equipment
CN111767075A (en) Method and device for synchronizing application program versions
CN110188021A (en) A kind of automated testing method of server
CN115599410B (en) Large-scale JAVA probe management method and system

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
GR01 Patent grant
GR01 Patent grant