CN106911500A - The collocation method of physical machine, device and physical machine - Google Patents
The collocation method of physical machine, device and physical machine Download PDFInfo
- Publication number
- CN106911500A CN106911500A CN201710090666.4A CN201710090666A CN106911500A CN 106911500 A CN106911500 A CN 106911500A CN 201710090666 A CN201710090666 A CN 201710090666A CN 106911500 A CN106911500 A CN 106911500A
- Authority
- CN
- China
- Prior art keywords
- physical machine
- user
- mirror image
- server
- basic environment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0846—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The application proposes a kind of collocation method of physical machine, device and physical machine, and the collocation method of above-mentioned physical machine includes:Standard mirror image is downloaded and installed from the mirrored storage server of public cloud;Obtain the basic environment initial configuration parameter for using the user of physical machine to the physical machine;Interacted with the first server that server operation is automated is realized in the public cloud, the basic environment initial configuration parameter according to the physical machine generates the corresponding self-defined mirror image of the user;The corresponding self-defined mirror image of the user is uploaded to the mirrored storage server, so that other physical machines in addition to the physical machine of the user are downloaded from the mirrored storage server and install the corresponding self-defined mirror image of the user, configured with the basic environment for completing all physical machines of the user.The application simplifies the operation of the basic environment of user's initialization physical machine, improves Consumer's Experience.
Description
Technical field
The application is related to Internet technical field, more particularly to a kind of collocation method of physical machine, device and physical machine.
Background technology
Public cloud is often referred to the cloud that can be used that third party provider provides the user, and public cloud typically can be by because of spy
Net (Internet) is used, and the core attribute of public cloud is shared resource service.Under normal circumstances, in the physical machine of public cloud just
The system of dress is native system of increasing income, therefore, it is necessary to be based on the custom of oneself and need after the physical machine of user's purchase public cloud
The above-mentioned native system of adjustment, and installation foundation software are asked, finally can just be disposed on line and be applied.
So, before being applied on deployment line, user needs to repeat each physical machine bought adjustment original
The operation of raw system and installation foundation software, could complete each initial configuration of physical machine to user's purchase, operation
Very cumbersome, Consumer's Experience is poor.
Application content
The purpose of the application is intended at least solve to a certain extent one of technical problem in correlation technique.
Therefore, first purpose of the application is to propose a kind of collocation method of physical machine.The method can be by user
The operation of basic environment initialization is carried out on deployment line using a series of preceding physical machines to the user, above-mentioned user is integrated into
In corresponding self-defined mirror image, then other physical machines of the user just only need to install the corresponding self-defined mirror image of above-mentioned user i.e.
Initialized good operating system is can obtain, so as to simplify the operation of the basic environment of user's initialization physical machine, is improved
Consumer's Experience.
Second purpose of the application is to propose a kind of configuration device of physical machine.
3rd purpose of the application is to propose a kind of physical machine.
4th purpose of the application is to propose a kind of computer-readable medium.
To achieve these goals, the collocation method of the physical machine of the application first aspect embodiment, including:From public cloud
Mirrored storage server download and standard mirror image be installed;Obtain the basic environment for using the user of physical machine to the physical machine
Initial configuration parameter;Interacted with the first server that server operation is automated is realized in the public cloud, according to institute
The basic environment initial configuration parameter for stating physical machine generates the corresponding self-defined mirror image of the user;The user is corresponding
Self-defined mirror image is uploaded to the mirrored storage server, so as to other physical machines in addition to the physical machine of the user
The corresponding self-defined mirror image of the user is downloaded and installed from the mirrored storage server, to complete user's property
The basic environment configuration of reason machine.
In the collocation method of the physical machine of the embodiment of the present application, physical machine is downloaded simultaneously from the mirrored storage server of public cloud
After installation standard mirror image, obtain the basic environment initial configuration of above-mentioned physical machine is joined using the user of above-mentioned physical machine
Number, then realizes that the first server that server operation is automated is interacted, according to above-mentioned physical machine with above-mentioned public cloud
Basic environment initial configuration parameter generate the corresponding self-defined mirror image of above-mentioned user, the above-mentioned user correspondence that will finally generate
Self-defined mirror image be uploaded to above-mentioned image storage server, other physics in addition to above-mentioned physical machine of so above-mentioned user
Machine can just be downloaded from above-mentioned image storage server and install the corresponding self-defined mirror image of above-mentioned user, to complete above-mentioned use
The basic environment configuration of all physical machines in family, so as to simplify the operation of the basic environment of user's initialization physical machine, improves
Consumer's Experience.
To achieve these goals, the configuration device of the physical machine of the application second aspect embodiment, including:Download mould
Block, for downloading standard mirror image from the mirrored storage server of public cloud;Module is installed, is downloaded for installing the download module
Standard mirror image;Module is obtained, for obtaining basic environment initial configuration of the user for using physical machine to the physical machine
Parameter;Generation module, for the public cloud in realize server operation automate first server interact, according to
It is corresponding self-defined that the basic environment initial configuration parameter for obtaining the physical machine that module is obtained generates the user
Mirror image;Uploading module, the corresponding self-defined mirror image of the user for the generation module to be generated is uploaded to the mirror image
Storage server, so as to the user other physical machines in addition to the physical machine from the mirrored storage server under
The corresponding self-defined mirror image of the user is carried and installed, is configured with the basic environment for completing all physical machines of the user.
In the configuration device of the physical machine of the embodiment of the present application, download module is downloaded from the mirrored storage server of public cloud
After standard mirror image, module is installed above-mentioned standard mirror image is installed, then obtain module and obtain the user couple for using above-mentioned physical machine
The basic environment initial configuration parameter of above-mentioned physical machine, then realizes server operation certainly in generation module and above-mentioned public cloud
The first server of dynamicization is interacted, and the basic environment initial configuration parameter according to above-mentioned physical machine generates above-mentioned user couple
The corresponding self-defined mirror image of above-mentioned user for generating is uploaded to above-mentioned image storage by the self-defined mirror image answered, last uploading module
Server, other physical machines in addition to above-mentioned physical machine of so above-mentioned user just can be from above-mentioned image storage server
The corresponding self-defined mirror image of above-mentioned user is downloaded and installed, is configured with the basic environment for completing all physical machines of above-mentioned user, from
And the operation that user initializes the basic environment of physical machine is simplified, improve Consumer's Experience.
To achieve these goals, the physical machine of the application third aspect embodiment, including:One or more treatment
Device;Memory;Input/output unit, for downloading standard mirror image from the mirrored storage server of public cloud;One or more
Program, one or more of program storages in the memory, when by one or more of computing devices
Proceed as follows:The standard mirror image that the input unit is downloaded is installed;The user using physical machine is obtained to the physical machine
Basic environment initial configuration parameter;By realizing that server operation is automatic in the input/output unit and the public cloud
The first server of change is interacted, and the basic environment initial configuration parameter according to the physical machine generates user's correspondence
Self-defined mirror image;The input/output unit, is additionally operable to for the corresponding self-defined mirror image of the user to be uploaded to the mirror image
Storage server, so as to the user other physical machines in addition to the physical machine from the mirrored storage server under
The corresponding self-defined mirror image of the user is carried and installed, is configured with the basic environment for completing all physical machines of the user.
In the physical machine of the embodiment of the present application, input/output unit downloads standard mirror from the mirrored storage server of public cloud
As after, processor installs standard mirror image, and obtains user using above-mentioned physical machine at the beginning of the basic environment of above-mentioned physical machine
Beginningization configuration parameter, then realizes that the first server that server operation is automated is interacted with above-mentioned public cloud, according to
The basic environment initial configuration parameter of above-mentioned physical machine generates the corresponding self-defined mirror image of above-mentioned user, recently enters output dress
Put and the corresponding self-defined mirror image of above-mentioned user for generating be uploaded to above-mentioned image storage server, so above-mentioned user except upper
State that other physical machines outside physical machine can just be downloaded from above-mentioned image storage server and to install above-mentioned user corresponding
Self-defined mirror image, is configured with the basic environment for completing all physical machines of above-mentioned user, so as to simplify user's initialization physical machine
Basic environment operation, improve Consumer's Experience.
To achieve these goals, the computer-readable medium of the application fourth aspect embodiment, is stored thereon with calculating
Machine program, it is characterised in that the computer program is when executed by realizing method as described above.
The aspect and advantage that the application is added will be set forth in part in the description, and will partly become from the following description
Substantially, or recognized by the practice of the application.
Brief description of the drawings
The above-mentioned and/or additional aspect of the application and advantage will become from the following description of the accompanying drawings of embodiments
Substantially and be readily appreciated that, wherein:
Fig. 1 is the flow chart of collocation method one embodiment of the application physical machine;
Fig. 2 is the flow chart of another embodiment of the collocation method of the application physical machine;
Fig. 3 is the flow chart of the collocation method further embodiment of the application physical machine;
Fig. 4 is the schematic diagram of application scenarios one embodiment of the collocation method of the application physical machine;
Fig. 5 is the structural representation of configuration device one embodiment of the application physical machine;
Fig. 6 is the structural representation of another embodiment of the configuration device of the application physical machine;
Fig. 7 is the structural representation of the application physical machine one embodiment.
Specific embodiment
Embodiments herein is described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
It is exemplary to scheme the embodiment of description, is only used for explaining the application, and it is not intended that limitation to the application.Conversely, this
The embodiment of application includes all changes fallen into the range of the spiritual and intension of attached claims, modification and is equal to
Thing.
Fig. 1 is the flow chart of collocation method one embodiment of the application physical machine, as shown in figure 1, above-mentioned physical machine
Collocation method can include:
Step 101, downloads and installs standard mirror image from the mirrored storage server of public cloud.
Wherein, above-mentioned image storage server can be Glance servers, and Glance servers are OpenStack mirror images
Serviced component, OpenStack here is a cloud computing management platform project increased income;Certain the present embodiment is not limited in
This, the mirrored storage server of above-mentioned public cloud can also be other servers, and the present embodiment is not limited this.
Step 102, obtains the basic environment initial configuration parameter for using the user of physical machine to above-mentioned physical machine.
In the present embodiment, after standard mirror image is installed, just can be according to the business need of oneself using the user of physical machine
Ask carries out initial configuration to the basic environment of above-mentioned physical machine.
Realize that the first server of server operation automation is interacted in step 103, with above-mentioned public cloud, according to upper
The basic environment initial configuration parameter for stating physical machine generates the corresponding self-defined mirror image of above-mentioned user.
Wherein, the first server that server operation automation is realized in above-mentioned public cloud can be server operation system
Structure (Server Operation Architecture;Hereinafter referred to as:SOA) server, certain the present embodiment is not limited in
This, the first server that server operation automation is realized in above-mentioned public cloud can also be other servers, the present embodiment
This is not limited.
Step 104, is uploaded to above-mentioned image storage server, so as to above-mentioned use by the corresponding self-defined mirror image of above-mentioned user
Other physical machines in addition to above-mentioned physical machine at family are downloaded from above-mentioned image storage server and install above-mentioned user's correspondence
Self-defined mirror image, with complete all physical machines of above-mentioned user basic environment configure.
Fig. 2 is the flow chart of another embodiment of the collocation method of the application physical machine, as shown in Fig. 2 implementing shown in Fig. 1
In example, step 103 can include:
Step 201, to the first server transmission call request for realizing that server operation is automated in above-mentioned public cloud.
Specifically, after user carries out initial configuration completion to the basic environment of above-mentioned physical machine, user can lead to
The button of " the self-defined mirror image " clicked in above-mentioned physical machine is crossed, the request of above-mentioned first server is called in triggering.Certainly this only
It is that the physical machine of user calls a kind of mode of above-mentioned first server, physical machine can also to be called using other modes above-mentioned
First server, the present embodiment is not construed as limiting to this.
Step 202, receives Pre-boot Execution Environment (the Preboot Execute that above-mentioned first server is issued
Environment;Hereinafter referred to as:PXE task) is restarted.
In the present embodiment, receive after the trigger request of above-mentioned physical machine, above-mentioned first server will be organized certainly
Image parameter is defined, physical machine is stated then up is issued PXE and restart task.
Step 203, performs above-mentioned PXE and restarts task, and self-defined image parameter is downloaded from above-mentioned first server.
Step 204, after determining to need to the above-mentioned physical machine self-defined mirror image of generation according to above-mentioned self-defined image parameter,
Mirror image is called to make script, the basic environment initial configuration parameter above-mentioned user of generation according to above-mentioned physical machine is corresponding to be made by oneself
Adopted mirror image.
Fig. 3 for the application physical machine collocation method further embodiment flow chart, as shown in figure 3, step 104 it
Afterwards, can also include:
Step 301, reboot operation is carried out to above-mentioned physical machine, to recover the basic environment of above-mentioned physical machine.
In the collocation method of above-mentioned physical machine, physical machine is downloaded from the mirrored storage server of public cloud and installs standard mirror
As after, obtain user using above-mentioned physical machine to the basic environment initial configuration parameter of above-mentioned physical machine, then with it is upper
State and realize that the first server of server operation automation is interacted in public cloud, at the beginning of the basic environment according to above-mentioned physical machine
Beginningization configuration parameter generates the corresponding self-defined mirror image of above-mentioned user, the corresponding self-defined mirror image of above-mentioned user that will finally generate
It is uploaded to above-mentioned image storage server, other physical machines in addition to above-mentioned physical machine of so above-mentioned user just can be from upper
State and download in mirrored storage server and the corresponding self-defined mirror image of above-mentioned user is installed, to complete all physical machines of above-mentioned user
Basic environment configuration, so as to simplify user initialization physical machine basic environment operation, improve Consumer's Experience.
The collocation method of the physical machine that the application Fig. 1~embodiment illustrated in fig. 3 is provided can apply to the scene shown in Fig. 4
In, Fig. 4 is the schematic diagram of application scenarios one embodiment of the collocation method of the application physical machine.
In Fig. 4, C1, C2 ..., the n platform physical machines that Cn buys for the user of public cloud, SOA servers are real in public cloud
The server of existing server operation automation, Glance servers are the mirrored storage server in above-mentioned public cloud.
First, user can be downloaded from Glance servers with physical machine C1 and install standard mirror image, and then user can be with
The initial configuration of basic environment is carried out to C1, after being completed to C1 initial configurations, user can be by clicking on C1
The request of SOA servers is called in the button of " self-defined mirror image ", triggering.Then self-defined mirror can be woven by SOA server groups
As parameter, then issue PXE to C1 and restart task, the above-mentioned PXE of C1 execution is restarted after task, starts to be downloaded from SOA servers
Self-defined image parameter, C1 according to above-mentioned self-defined image parameter determine to need to generate above-mentioned physical machine C1 self-defined mirror image it
Afterwards, start to call mirror image to make script, the basic environment initial configuration parameter above-mentioned user of generation according to C1 is corresponding to be made by oneself
Adopted mirror image, is then uploaded to Glance servers by the self-defined mirror image for generating, and restarts C1 to recover C1 basic environments afterwards.
So far self-defined mirror image generation is finished, and other physical machines such as C2 ... Cn need to only be downloaded from Glance servers
State self-defined mirror image to be installed, you can complete the deployment of basic environment.
By the collocation method of above-mentioned physical machine, user only needs one physical machine of initial configuration, is then based on this thing
Reason machine generates self-defined mirror image, follow-up only to allow other physical machines to install above-mentioned self-defined mirror image, you can to complete all physical machines
Basic environment configuration, so as to simplify user initialization physical machine basic environment operation, improve Consumer's Experience.
Fig. 5 is the structural representation of configuration device one embodiment of the application physical machine, the physical machine in the present embodiment
Configuration device can realize the flow of Fig. 1~embodiment illustrated in fig. 3 of the present invention, as shown in figure 5, the configuration dress of above-mentioned physical machine
Putting to include:Download module 51, installation module 52, acquisition module 53, generation module 54 and uploading module 55;
Wherein, download module 51, for downloading standard mirror image from the mirrored storage server of public cloud;Wherein, above-mentioned mirror
As storage server can be Glance servers, Glance servers are OpenStack mirroring service components, here
OpenStack is a cloud computing management platform project increased income;Certain the present embodiment is not limited to that, above-mentioned public cloud
Mirrored storage server can also be other servers, and the present embodiment is not limited this.
Module 52 is installed, the standard mirror image for installing the download of download module 51.
Module 53 is obtained, the user for obtaining using physical machine joins to the basic environment initial configuration of above-mentioned physical machine
Number;In the present embodiment, after module 52 being installed standard mirror image is installed, just can be according to the industry of oneself using the user of physical machine
Business demand carries out initial configuration to the basic environment of above-mentioned physical machine, so, obtains module 53 and is obtained with using thing
Basic environment initial configuration parameter of the user of reason machine to above-mentioned physical machine.
Generation module 54, for above-mentioned public cloud in realize server operation automate first server handed over
Mutually, it is corresponding certainly according to the basic environment initial configuration parameter above-mentioned user of generation for obtaining the above-mentioned physical machine that module 53 is obtained
Define mirror image;Wherein, the first server that server operation automation is realized in above-mentioned public cloud can be SOA servers, when
Right the present embodiment is not limited to that the first server that server operation automation is realized in above-mentioned public cloud can also be it
His server, the present embodiment is not limited this.
Uploading module 55, the corresponding self-defined mirror image of above-mentioned user for generation module 54 to be generated is uploaded to above-mentioned mirror
As storage server, so that other physical machines in addition to above-mentioned physical machine of above-mentioned user are from above-mentioned image storage server
The corresponding self-defined mirror image of above-mentioned user is downloaded and installed, is configured with the basic environment for completing all physical machines of above-mentioned user.
Fig. 6 is the structural representation of another embodiment of the configuration device of the application physical machine, with the physical machine shown in Fig. 5
Configuration device compare, difference is, in the configuration device of the physical machine shown in Fig. 6, generation module 54 can include:Hair
Send submodule 541, receiving submodule 542, implementation sub-module 543 and call submodule 544;
Wherein, sending submodule 541, for the first server that server operation automation is realized in above-mentioned public cloud
Send call request;Specifically, after user carries out initial configuration completion to the basic environment of above-mentioned physical machine, Yong Huke
With the button by clicking on " self-defined mirror image " in above-mentioned physical machine, triggering sending submodule 541 sends calls above-mentioned first
The request of server.Certainly this is only that the physical machine of user calls a kind of mode of above-mentioned first server, and physical machine can also
Above-mentioned first server is called using other modes, the present embodiment is not construed as limiting to this.
Receiving submodule 542, task is restarted for receiving the PXE that first server is issued;In the present embodiment, receive
State after the trigger request of physical machine, above-mentioned first server will organize self-defined image parameter, and physics is stated then up
Machine issues PXE and restarts task.
Implementation sub-module 543, the PXE for performing the reception of receiving submodule 542 restarts task, is downloaded from first server
Self-defined image parameter;
Submodule 544 is called, the self-defined image parameter for being downloaded according to implementation sub-module 543 determines to need to above-mentioned
Physical machine is generated after self-defined mirror image, calls mirror image to make script, the basic environment initial configuration according to above-mentioned physical machine
Parameter generates the corresponding self-defined mirror image of above-mentioned user.
Further, in the configuration device of above-mentioned physical machine, can also include:
Restart module 56, deposited for the corresponding self-defined mirror image of above-mentioned user to be uploaded into above-mentioned image in uploading module 55
After storage server, reboot operation is carried out to above-mentioned physical machine, to recover the basic environment of above-mentioned physical machine.
In the configuration device of above-mentioned physical machine, download module 51 downloads standard mirror image from the mirrored storage server of public cloud
Afterwards, module 52 is installed and standard mirror image is installed, then obtain module 53 and obtain the user using above-mentioned physical machine to above-mentioned physics
The basic environment initial configuration parameter of machine, server operation is automated first is realized in generation module 54 and above-mentioned public cloud
Server is interacted, and it is corresponding self-defined that the basic environment initial configuration parameter according to above-mentioned physical machine generates above-mentioned user
The corresponding self-defined mirror image of above-mentioned user for generating is uploaded to above-mentioned image storage server by mirror image, last uploading module 55,
Other physical machines in addition to above-mentioned physical machine of so above-mentioned user can just be downloaded simultaneously from above-mentioned image storage server
The corresponding self-defined mirror image of above-mentioned user is installed, is configured with the basic environment for completing all physical machines of above-mentioned user, so as to simplify
The operation of the basic environment of user's initialization physical machine, improves Consumer's Experience.
Fig. 7 is the structural representation of the application physical machine one embodiment.Physical machine shown in Fig. 7 is only one and shows
Example, should not carry out any limitation to the function of the embodiment of the present application and using range band.
As shown in fig. 7, physical machine 12 is showed in the form of universal computing device.The component of physical machine 12 can include but not
It is limited to:One or more processor or processing unit 16, system storage 28, connection different system component (including system
Memory 28 and processing unit 16) bus 18.
Bus 18 represents one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, AGP, processor or the local bus using any bus structures in various bus structures.Lift
For example, these architectures include but is not limited to industry standard architecture (Industry Standard
Architecture;Hereinafter referred to as:ISA) bus, MCA (Micro Channel Architecture;Below
Referred to as:MAC) bus, enhanced isa bus, VESA (Video Electronics Standards
Association;Hereinafter referred to as:VESA) local bus and periphery component interconnection (Peripheral Component
Interconnection;Hereinafter referred to as:PCI) bus.
Physical machine 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by physics
The usable medium that machine 12 is accessed, including volatibility and non-volatile media, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (Random Access Memory;Hereinafter referred to as:RAM) 30 and/or cache memory 32.Physical machine 12 can be with
Further include other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example,
Storage system 34 can be used for reading and writing immovable, non-volatile magnetic media that (Fig. 7 do not show, commonly referred to " hard drive
Device ").Although not shown in Fig. 7, can provide for being driven to the disk that may move non-volatile magnetic disk (such as " floppy disk ") read-write
Dynamic device, and to removable anonvolatile optical disk (for example:Compact disc read-only memory (Compact Disc Read Only
Memory;Hereinafter referred to as:CD-ROM), digital multi read-only optical disc (Digital Video Disc Read Only
Memory;Hereinafter referred to as:DVD-ROM) or other optical mediums) read-write CD drive.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 can be produced including at least one program
Product, the program product has one group of (for example, at least one) program module, and it is each that these program modules are configured to perform the application
The function of embodiment.
With one group of program/utility 40 of (at least one) program module 42, can store in such as memory 28
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
Module and routine data, potentially include the realization of network environment in each or certain combination in these examples.Program mould
Block 42 generally performs function and/or method in embodiments described herein.
Physical machine 12 can also be logical with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.)
Letter, can also enable a user to the equipment communication that interact with the physical machine 12 with one or more, and/or with so that the physical machine
12 any equipment (such as network interface card, modem etc.) communications that can be communicated with one or more of the other computing device.
This communication can be carried out by input/output (I/O) interface 22.Also, physical machine 12 can also be by network adapter 20
Communicated with one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet).
As shown in fig. 7, network adapter 20 is communicated by bus 18 with other modules of physical machine 12.Although it should be understood that in figure not
Show, physical machine 12 can be combined and use other hardware and/or software module, including but not limited to:Microcode, device drives
Device, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by running program of the storage in system storage 28 so that perform various function application and
Data processing, for example, realize the collocation method of the physical machine that the application Fig. 1~embodiment illustrated in fig. 3 is provided.
The application also provides a kind of computer-readable medium, is stored thereon with computer program, above computer program quilt
During computing device, it is possible to achieve the collocation method of the physical machine that the application Fig. 1~embodiment illustrated in fig. 3 is provided.
Above computer computer-readable recording medium can be using any combination of one or more computer-readable mediums.Computer can
It can be computer-readable signal media or computer-readable recording medium to read medium.Computer-readable recording medium for example may be used
The system of --- but being not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or device to be, or it is any with
On combination.The more specifically example (non exhaustive list) of computer-readable recording medium includes:Led with one or more
The electrical connection of line, portable computer diskette, hard disk, random access memory (RAM), read-only storage (Read Only
Memory;Hereinafter referred to as:ROM), erasable programmable read only memory (Erasable Programmable Read Only
Memory;Hereinafter referred to as:) or flash memory, optical fiber, portable compact disc read-only storage (CD-ROM), optical memory EPROM
Part, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable recording medium can be appointed
What include or storage program tangible medium, the program can be commanded execution system, device or device use or and its
It is used in combination.
Computer-readable signal media can include the data-signal propagated in a base band or as a carrier wave part,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium beyond computer-readable recording medium, the computer-readable medium can send, propagate or
Transmit for being used or program in connection by instruction execution system, device or device.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but do not limit
In --- wireless, electric wire, optical cable, radio frequency (Radio Frequency;Hereinafter referred to as:RF) etc., it is or above-mentioned any appropriate
Combination.
Computer for performing the application operation can be write with one or more programming language or its combination
Program code, described program design language includes object oriented program language-such as Java, Smalltalk, C++,
Also including conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
Fully perform on the user computer, partly perform on the user computer, performed as an independent software kit, portion
Part on the user computer is divided to perform on the remote computer or performed on remote computer or server completely.
It is related in the situation of remote computer, remote computer can be by the network of any kind --- including LAN (Local
Area Network;Hereinafter referred to as:) or wide area network (Wide Area Network LAN;Hereinafter referred to as:WAN) it is connected to user
Computer, or, it may be connected to outer computer (such as using ISP come by Internet connection).
It should be noted that in the description of the present application, term " first ", " second " etc. are only used for describing purpose, without
It is understood that to indicate or implying relative importance.Additionally, in the description of the present application, unless otherwise indicated, the implication of " multiple "
It is two or more.
Any process described otherwise above or method description in flow chart or herein is construed as, and expression includes
It is one or more for realizing specific logical function or process the step of the module of code of executable instruction, fragment or portion
Point, and the scope of the preferred embodiment of the application includes other realization, wherein can not press shown or discussion suitable
Sequence, including function involved by basis by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be by the application
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each several part of the application can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In implementation method, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage
Or firmware is realized.If for example, realized with hardware, and in another embodiment, can be with well known in the art
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array
(Programmable Gate Array;Hereinafter referred to as:PGA), field programmable gate array (Field Programmable
Gate Array;Hereinafter referred to as:FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried
The rapid hardware that can be by program to instruct correlation is completed, and described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional module in the application each embodiment can be integrated in a processing module, or
Modules are individually physically present, it is also possible to which two or more modules are integrated in a module.Above-mentioned integrated module
Both can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.If the integrated module
Realized in the form of using software function module and as independent production marketing or when using, it is also possible to which storage can in a computer
In reading storage medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means to combine specific features, structure, material or spy that the embodiment or example are described
Point is contained at least one embodiment of the application or example.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any
One or more embodiments or example in combine in an appropriate manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is impossible to the limitation to the application is interpreted as, one of ordinary skill in the art within the scope of application can be to above-mentioned
Embodiment is changed, changes, replacing and modification.
Claims (8)
1. a kind of collocation method of physical machine, it is characterised in that including:
Standard mirror image is downloaded and installed from the mirrored storage server of public cloud;
Obtain the basic environment initial configuration parameter for using the user of physical machine to the physical machine;
Interacted with the first server that server operation is automated is realized in the public cloud, according to the base of the physical machine
Plinth context initialization configuration parameter generates the corresponding self-defined mirror image of the user;
The corresponding self-defined mirror image of the user is uploaded to the mirrored storage server, so that the user is except the thing
Other physical machines outside reason machine are downloaded from the mirrored storage server and install the corresponding self-defined mirror image of the user,
Configured with the basic environment for completing all physical machines of the user.
2. method according to claim 1, it is characterised in that it is described with the public cloud in realize that server operation is automatic
The first server of change is interacted, and the basic environment initial configuration parameter according to the physical machine generates user's correspondence
Self-defined mirror image include:
To the first server transmission call request for realizing that server operation is automated in the public cloud;
Receive the Pre-boot Execution Environment PXE that the first server issues and restart task;
Perform the PXE and restart task, self-defined image parameter is downloaded from the first server;
After determining to need to the physical machine self-defined mirror image of generation according to the self-defined image parameter, mirror image is called to make
Script, the basic environment initial configuration parameter according to the physical machine generates the corresponding self-defined mirror image of the user.
3. method according to claim 1 and 2, it is characterised in that described by the corresponding self-defined mirror image of the user
Reach after the mirrored storage server, also include:
Reboot operation is carried out to the physical machine, to recover the basic environment of the physical machine.
4. a kind of configuration device of physical machine, it is characterised in that including:
Download module, for downloading standard mirror image from the mirrored storage server of public cloud;
Module is installed, for installing the standard mirror image that the download module is downloaded;
Module is obtained, for obtaining basic environment initial configuration parameter of the user for using physical machine to the physical machine;
Generation module, for the public cloud in realize server operation automate first server interact, according to
It is corresponding self-defined that the basic environment initial configuration parameter for obtaining the physical machine that module is obtained generates the user
Mirror image;
Uploading module, the corresponding self-defined mirror image of the user for the generation module to be generated is uploaded to the mirror image and deposits
Storage server, so that other physical machines in addition to the physical machine of the user are downloaded from the mirrored storage server
And the corresponding self-defined mirror image of the user is installed, configured with the basic environment for completing all physical machines of the user.
5. device according to claim 4, it is characterised in that the generation module includes:
Sending submodule, asks for sending to call to the first server for realizing server operation automation in the public cloud
Ask;
Receiving submodule, task is restarted for receiving the Pre-boot Execution Environment PXE that the first server is issued;
Implementation sub-module, task is restarted for performing the PXE that the receiving submodule is received, and is downloaded from under the first server
Define image parameter;
Submodule is called, the self-defined image parameter for being downloaded according to the implementation sub-module determines to need to the physical machine
Generate after self-defined mirror image, call mirror image to make script, the basic environment initial configuration parameter life according to the physical machine
Into the corresponding self-defined mirror image of the user.
6. the device according to claim 4 or 5, it is characterised in that also include:
Module is restarted, for the corresponding self-defined mirror image of the user to be uploaded into the mirrored storage clothes in the uploading module
After business device, reboot operation is carried out to the physical machine, to recover the basic environment of the physical machine.
7. a kind of physical machine, it is characterised in that including:
One or more processor;
Memory;
Input/output unit, for downloading standard mirror image from the mirrored storage server of public cloud;
One or more program, one or more of program storages in the memory, when by one or
Proceeded as follows during multiple computing devices:
The standard mirror image that the input unit is downloaded is installed;
Obtain the basic environment initial configuration parameter for using the user of physical machine to the physical machine;
By realizing that the first server that server operation is automated is handed in the input/output unit and the public cloud
Mutually, the basic environment initial configuration parameter according to the physical machine generates the corresponding self-defined mirror image of the user;
The input/output unit, is additionally operable to for the corresponding self-defined mirror image of the user to be uploaded to the mirrored storage service
Device, so that other physical machines in addition to the physical machine of the user are downloaded and installed from the mirrored storage server
The corresponding self-defined mirror image of the user, is configured with the basic environment for completing all physical machines of the user.
8. a kind of computer-readable medium, is stored thereon with computer program, it is characterised in that the computer program is processed
The method as described in any in claim 1-3 is realized when device is performed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710090666.4A CN106911500B (en) | 2017-02-20 | 2017-02-20 | Physical machine configuration method and device and physical machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710090666.4A CN106911500B (en) | 2017-02-20 | 2017-02-20 | Physical machine configuration method and device and physical machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106911500A true CN106911500A (en) | 2017-06-30 |
CN106911500B CN106911500B (en) | 2020-12-04 |
Family
ID=59208501
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710090666.4A Active CN106911500B (en) | 2017-02-20 | 2017-02-20 | Physical machine configuration method and device and physical machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106911500B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391197A (en) * | 2017-07-25 | 2017-11-24 | 郑州云海信息技术有限公司 | The installation method and device of a kind of (SuSE) Linux OS |
CN107438102A (en) * | 2017-07-31 | 2017-12-05 | 国云科技股份有限公司 | A kind of cloud platform mirror image manufacturing system and its method |
CN108733402A (en) * | 2018-05-17 | 2018-11-02 | 云宏信息科技股份有限公司 | The method and device of quick Fabrication vdisk files |
CN110221869A (en) * | 2019-06-10 | 2019-09-10 | 北京百度网讯科技有限公司 | Method and device for configuration data center running environment |
CN110908675A (en) * | 2019-11-15 | 2020-03-24 | 北京百度网讯科技有限公司 | Operating environment acquisition method and device and electronic equipment |
CN113312064A (en) * | 2021-06-01 | 2021-08-27 | 中国民航信息网络股份有限公司 | Installation configuration method and device of physical machine and computer readable medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1467632A (en) * | 2002-06-12 | 2004-01-14 | 微软公司 | Image-based software installation |
CN1916861A (en) * | 2006-07-21 | 2007-02-21 | 华为技术有限公司 | Method for modifying configuration information of computer |
CN102520989A (en) * | 2011-12-01 | 2012-06-27 | 浪潮电子信息产业股份有限公司 | Intelligent colony system deployment method based on U disk |
CN102622247A (en) * | 2012-02-27 | 2012-08-01 | 北京百度网讯科技有限公司 | Basic input / output system (BIOS) information allocation system and method of server |
CN102880515A (en) * | 2012-09-07 | 2013-01-16 | 浪潮电子信息产业股份有限公司 | Method for deploying virtual machine rapidly in smart cloud OS (operating system) |
CN103092650A (en) * | 2013-01-09 | 2013-05-08 | 华中科技大学 | Virtual machine mirror image generating method and device based on software preinstallation in cloud environment |
CN104866391A (en) * | 2015-05-13 | 2015-08-26 | 三星电子(中国)研发中心 | Terminal information backup method and apparatus based on incremental information system |
CN105005471A (en) * | 2015-06-24 | 2015-10-28 | 北京百度网讯科技有限公司 | Method, device, server and system for modifying configuration parameters of BIOS |
CN105138369A (en) * | 2015-08-25 | 2015-12-09 | 北京百度网讯科技有限公司 | Method and device for installing operation systems |
US20160026492A1 (en) * | 2014-07-24 | 2016-01-28 | Samsung Electronics Co., Ltd. | Electronic apparatus for executing virtual machine and method for executing virtual machine |
CN105528237A (en) * | 2015-12-10 | 2016-04-27 | 国云科技股份有限公司 | Openstack-based physical machine system packaging method |
-
2017
- 2017-02-20 CN CN201710090666.4A patent/CN106911500B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1467632A (en) * | 2002-06-12 | 2004-01-14 | 微软公司 | Image-based software installation |
CN1916861A (en) * | 2006-07-21 | 2007-02-21 | 华为技术有限公司 | Method for modifying configuration information of computer |
CN102520989A (en) * | 2011-12-01 | 2012-06-27 | 浪潮电子信息产业股份有限公司 | Intelligent colony system deployment method based on U disk |
CN102622247A (en) * | 2012-02-27 | 2012-08-01 | 北京百度网讯科技有限公司 | Basic input / output system (BIOS) information allocation system and method of server |
CN102880515A (en) * | 2012-09-07 | 2013-01-16 | 浪潮电子信息产业股份有限公司 | Method for deploying virtual machine rapidly in smart cloud OS (operating system) |
CN103092650A (en) * | 2013-01-09 | 2013-05-08 | 华中科技大学 | Virtual machine mirror image generating method and device based on software preinstallation in cloud environment |
US20160026492A1 (en) * | 2014-07-24 | 2016-01-28 | Samsung Electronics Co., Ltd. | Electronic apparatus for executing virtual machine and method for executing virtual machine |
CN104866391A (en) * | 2015-05-13 | 2015-08-26 | 三星电子(中国)研发中心 | Terminal information backup method and apparatus based on incremental information system |
CN105005471A (en) * | 2015-06-24 | 2015-10-28 | 北京百度网讯科技有限公司 | Method, device, server and system for modifying configuration parameters of BIOS |
CN105138369A (en) * | 2015-08-25 | 2015-12-09 | 北京百度网讯科技有限公司 | Method and device for installing operation systems |
CN105528237A (en) * | 2015-12-10 | 2016-04-27 | 国云科技股份有限公司 | Openstack-based physical machine system packaging method |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391197A (en) * | 2017-07-25 | 2017-11-24 | 郑州云海信息技术有限公司 | The installation method and device of a kind of (SuSE) Linux OS |
CN107438102A (en) * | 2017-07-31 | 2017-12-05 | 国云科技股份有限公司 | A kind of cloud platform mirror image manufacturing system and its method |
WO2019024122A1 (en) * | 2017-07-31 | 2019-02-07 | 国云科技股份有限公司 | System for producing cloud platform mirror image, and implementation method therefor |
CN107438102B (en) * | 2017-07-31 | 2020-04-03 | 国云科技股份有限公司 | Cloud platform mirror image manufacturing system and implementation method thereof |
CN108733402A (en) * | 2018-05-17 | 2018-11-02 | 云宏信息科技股份有限公司 | The method and device of quick Fabrication vdisk files |
CN110221869A (en) * | 2019-06-10 | 2019-09-10 | 北京百度网讯科技有限公司 | Method and device for configuration data center running environment |
CN110908675A (en) * | 2019-11-15 | 2020-03-24 | 北京百度网讯科技有限公司 | Operating environment acquisition method and device and electronic equipment |
CN110908675B (en) * | 2019-11-15 | 2023-10-24 | 北京百度网讯科技有限公司 | Method and device for acquiring running environment and electronic equipment |
CN113312064A (en) * | 2021-06-01 | 2021-08-27 | 中国民航信息网络股份有限公司 | Installation configuration method and device of physical machine and computer readable medium |
CN113312064B (en) * | 2021-06-01 | 2024-03-26 | 中国民航信息网络股份有限公司 | Method and device for installing and configuring physical machine and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN106911500B (en) | 2020-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106911500A (en) | The collocation method of physical machine, device and physical machine | |
US11321119B2 (en) | Task delegation and cooperation for automated assistants | |
US8458658B2 (en) | Methods and systems for dynamically building a software appliance | |
CN103793323B (en) | The automatic testing equipment and its automatic test approach of embedded software | |
US20150281398A1 (en) | Automated Cloud Set Up | |
US20200228366A1 (en) | Systems and Methods for Controlling Operating of an Appliance | |
CN106126424A (en) | A kind of visual automated testing method of script, device and mobile terminal | |
KR20150099269A (en) | Electronic device and method for firmware updating of a device | |
CN105389175A (en) | Application program sharing method and mobile terminal | |
CN103152392A (en) | Providing method, acquisition method, equipment and system of installation package | |
CN107844306B (en) | Application program repairing method and device, storage medium and terminal | |
WO2017166448A1 (en) | Kernel vulnerability repair method and device | |
CN105468504A (en) | Program test method and device | |
EP2979174B1 (en) | Visual configuration and activation | |
US20200120189A1 (en) | Contextual remote management of virtual app lifecycle | |
CN105430448A (en) | Control processing method for video player and video player client | |
CN113885971A (en) | State management method and device based on self-adaptive platform system | |
CN110795328A (en) | Interface testing method and device | |
CN101640602B (en) | Management method for network television | |
CN105740408A (en) | Hadoop cluster calling method and device | |
CN110457062A (en) | The method, apparatus and computer readable storage medium of screen parameter configuration | |
CN110377330B (en) | Method and device for configuring operating system of electronic device | |
US10606221B2 (en) | Identifying home automation correlated events and creating portable recipes | |
US11029761B2 (en) | Context based gesture control | |
US10219114B2 (en) | Monitoring a status of a disconnected device by a mobile device and an audio analysis system in an infrastructure |
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 |