CN107544781A - A kind of system installation method and device - Google Patents
A kind of system installation method and device Download PDFInfo
- Publication number
- CN107544781A CN107544781A CN201710633333.1A CN201710633333A CN107544781A CN 107544781 A CN107544781 A CN 107544781A CN 201710633333 A CN201710633333 A CN 201710633333A CN 107544781 A CN107544781 A CN 107544781A
- Authority
- CN
- China
- Prior art keywords
- destination server
- system installation
- installation
- configuration file
- prompting message
- 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
Abstract
The application, which provides a kind of system installation method and device, methods described, to be included:When the automatic installation instruction of the system for destination server that receives, control the destination server that the first startup item is set and restarted, so that destination server system installation interface according to corresponding to entering first startup item;According to the content for the configuration file installed for system, Keyboard Message is sent to the destination server, is installed so that the destination server completes system according to the Keyboard Message.It can realize that the system based on KVM is installed automatically using the embodiment of the present application.
Description
Technical field
The application is related to communication technical field, more particularly to a kind of system installation method and device.
Background technology
KVM (Keyboard, Video, Mouse, keyboard, video, mouse) birth cause management of the user to server,
Manipulation is more flexible, and it is more convenient to Server remote installation system also to cause.
The content of the invention
The application provides a kind of system installation method and device, to realize that the system based on KVM is installed automatically.
According to the first aspect of the embodiment of the present application, there is provided a kind of system installation method, applied to pacifying on destination server
The KVM clients of dress, this method include:
When the automatic installation instruction of the system for destination server that receives, the destination server is controlled to set first
Startup item is simultaneously restarted, so that destination server system installation interface according to corresponding to entering first startup item;
According to the content for the configuration file installed for system, Keyboard Message is sent to the destination server, so that institute
State destination server and system installation is completed according to the Keyboard Message.
According to the second aspect of the embodiment of the present application, there is provided a kind of system installation device, applied to pacifying on destination server
The KVM clients of dress, the device include:
Receiving unit, for receiving the automatic installation instruction of system for destination server;
Control unit, during for receiving the automatic installation instruction of system for destination server when the receiving unit,
Control the destination server that the first startup item is set and restarted, so that the destination server starts according to described first
System installation interface corresponding to item entrance;
Transmitting element, for the content according to the configuration file for being used for system installation, to the destination server send key
Disk message, installed so that the destination server completes system according to the Keyboard Message.
Using the embodiment of the present application, when the automatic installation instruction of the system for destination server that receives, control targe
Server sets the first startup item and restarted, so that destination server system according to corresponding to entering first startup item
Installation interface, and then, according to the content for the configuration file installed for system, Keyboard Message is sent to destination server, so that
Destination server completes system installation according to Keyboard Message, it is achieved thereby that the system based on KVM is installed automatically.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet for system installation method that the embodiment of the present application provides;
Fig. 2A~2C is the schematic diagram for the system installation interface that the embodiment of the present application provides;
Fig. 3 is the corresponding relation schematic diagram of the system installation interface that the embodiment of the present application provides and configuration file;
Fig. 4 is a kind of structural representation for system installation device that the embodiment of the present application provides;
Fig. 5 is the structural representation for another system installation device that the embodiment of the present application provides;
Fig. 6 is the structural representation for another system installation device that the embodiment of the present application provides.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present application, and make the application real
Apply the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present application
Case is described in further detail.
Fig. 1 is referred to, a kind of schematic flow sheet of the system installation method provided for the embodiment of the present application, wherein, this is
System installation method can apply on any server (referred to herein as destination server) the KVM clients installed, such as Fig. 1 institutes
Show, the system installation method may comprise steps of:
For ease of description, illustrated below by KVM clients of the executive agent of step 101~step 102.
Step 101, when the automatic installation instruction of the system for destination server that receives, control targe server is set
First startup item is simultaneously restarted, so that destination server system installation interface according to corresponding to entering the first startup item.
In the embodiment of the present application, when user wants to install destination server progress system automatically by KVM clients,
User can remotely access KVM clients and (such as remotely access target by PC (Personal Computer, personal computer)
KVM clients on server), the system of destination server is installed automatically in the specified interface input pin of KVM clients and referred to
Order.
When KVM clients receive the automatic installation instruction of system for destination server, KVM clients can be to mesh
Mark server and send the setting instruction of the first startup item, so that destination server sets instruction to carry out first according to first startup item
Startup item is set;After destination server completes the setting of the first startup item, KVM clients can also send weight to destination server
(reboot) instruction is opened, so that destination server is restarted, into system installation interface corresponding to the first startup item.
Wherein, above-mentioned first startup item sets instruction and instruction of restarting to pass through IPMI (Intelligent
Platform Management Interface, IPMI) order realization.
Step 102, the content according to the configuration file for being used for system installation, Keyboard Message is sent to destination server, with
Destination server is set to complete system installation according to the Keyboard Message received.
In the embodiment of the present application, destination server enters after system installation interface, and KVM clients can be read for being
The configuration file of system installation (can be selected) content by user, and the content of the configuration file is sent in a manner of Keyboard Message
To destination server.
When destination server receives the Keyboard Message of KVM clients transmission, it can be entered according to the Keyboard Message received
Row system is installed, for example, the selection of relevant options in system installation interface is carried out, or/and, related content is filled in, or/and phase
Click of function button etc. is closed, to complete system installation.
Wherein, during destination server carries out system installation, KVM clients can be on the specified boundary of KVM softwares
The system installation interface of destination server is shown in face, so as to want to know about the system installment state of destination server as user
When, the system installation procedure of destination server can be checked in KVM clients.
What deserves to be explained is in the embodiment of the present application, due to the system installation of destination server be by KVM clients from
It is dynamic to carry out, therefore, in order to ensure KVM clients to destination server send Keyboard Message when, destination server comes into
System installation interface, rather than still in replay phase, can after KVM clients send instruction of restarting to destination server
To wait preset duration (can be set according to actual scene, such as 5 minutes, 10 minutes), then sent again to destination server
Above-mentioned Keyboard Message.Wherein, within the stand-by period, KVM clients can control relative program to be in sleep state.
It can be seen that in the method flow shown in Fig. 1, the first startup item is set by control targe server, and restart into
Enter system installation interface corresponding to the first startup item, then according to the content for the configuration file for being used for system installation, taken to target
Business device sends Keyboard Message, is installed so that destination server completes system according to the Keyboard Message received, so as to realize base
Installed automatically in KVM system, and in system installation process, user is capable of the system installation stream of real time inspection destination server
Journey.
In the one of embodiment of the application, it is above-mentioned receive for destination server the automatic installation instruction of system it
Before, it can also include:
Receive mirror as mounting instructions, and according to mirror image mounting instructions in mirror image carry interface carry institute system to be mounted
Target mirror picture;
The first prompting message is exported, first prompting message is used to whether prompt using existing configuration file progress system
Installation;
When the selection that system installation is carried out using existing configuration file for receiving response the first prompting message input is referred to
When making, the configuration file that is pre-saved according to the type queries of target mirror picture;
The second prompting message is exported, second prompting message is used to show and the configuration of the type matching of target mirror picture text
Part;
The selection instruction inputted according to the second prompting message of response is received, the configuration file that the selection instruction is chosen are true
It is set to the configuration file for system installation.
In this embodiment, when user determines to need to install destination server progress system automatically by KVM clients
When, user can control KVM clients to enter mirror image carry interface, and the system to be mounted of carry institute in the mirror image carry interface
The mirror image (referred to herein as target mirror picture) of system.
KVM clients in mirror image carry interface carry after the target mirror picture of system to be mounted, can export and carry
Show message (referred to herein as the first prompting message), first prompting message is used to prompt whether using existing configuration file to enter
Row system is installed, and the configuration file for being selected to have generated and preserved before use according to the actual requirements by user carries out system installation
(carrying out system installation using existing configuration file), still regenerate (does not make for the configuration file of system installation
System installation is carried out with existing configuration file).
In this embodiment, when KVM clients receive the existing configuration text of use of response the first prompting message input
When part carries out the selection instruction of system installation, configuration that KVM clients can pre-save according to the type queries of target mirror picture
File, and prompting message (referred to herein as the second prompting message) is exported according to Query Result, second prompting message is used to open up
Show the configuration file with the type matching of target mirror picture, select the configuration file for system installation as needed by user.
When KVM clients receive the selection instruction of response the second prompting message input, the selection instruction can be selected
In configuration file be defined as system installation configuration file.
What deserves to be explained is in the embodiment of the present application, when KVM clients receive response the first prompting message input
The selection instruction of system installation is carried out using existing configuration file, but does not inquire and matches somebody with somebody with the type matching of target mirror picture
When putting file, KVM clients can export prompting message, user's temporarily configuration file without matching be prompted, by user according to reality
Situation selection processing strategy.
In addition, in the embodiment of the present application, it is contemplated that KVM carries image feature can with the multiple image files of carry, therefore,
KVM clients according to the mirror image mounting instructions received in mirror image carry interface carry system to be mounted target mirror picture
Afterwards, the target mirror picture of institute carry can also be shown to user, the system image that needs are installed is reaffirmed by user, and
After user verification, the operations such as the first prompting message of follow-up output are performed.
Further, in this embodiment, after the above-mentioned prompting message of output first, can also include:
When the selection that system installation is carried out without using existing configuration file for receiving response the first prompting message input
During instruction, configuration interface corresponding with the type of target mirror picture is exported;
Configuration information according to being inputted by the configuration interface generates the configuration file for system installation.
In this embodiment, when user selects to carry out system installation without using existing configuration file, KVM clients can
With the type according to target mirror picture, configuration interface corresponding to output, inputted by user in the configuration interface corresponding to match somebody with somebody confidence
Breath, so as to which KVM clients can generate matching somebody with somebody for system installation according to the configuration information that user inputs in the configuration interface
Put file.
In order to achieve the above object, in this embodiment, when KVM clients can be directed to different mirror image nature installation systems
Interface, backstage preserve corresponding to configuration interface (these configuration interfaces can pass through code building), when user selection do not make
When carrying out system installation with existing configuration file, KVM clients can be protected according to the type of target mirror picture from Background scheduling
The corresponding configuration interface deposited, presents it to user, is custom-configured by user.
Wherein, the configuration interface that KVM clients preserve can be system installation interface when server carries out system installation
Simplification version, such as only include corresponding system installation interface on each option or/and input frame or/and function button, correlation choosing
Item or/and the description information of input frame or/and function button can not be illustrated in the configuration interface.
After the configuration information that KVM clients input according to user in configuration interface generates configuration file, it can preserve
The configuration file, such as it is saved in BMC (Baseboard Management Controller, the substrate management control of server
Device), configuration file storehouse is formed, when user subsequently carries out system installation again, user can be supplied as existing configuration file
Carry out selection use.
Further, in the one of embodiment of the application, in order to improve the system installation method of the application offer
Compatibility, can compatible existing system mount scheme, it is above-mentioned according to mirror image mounting instructions in mirror image carry interface carry institute
After the target mirror picture of system to be mounted, it can also include:
The 3rd prompting message is exported, the 3rd prompting message is used to whether prompt using auto-answer mode progress system peace
Dress;
When the selection instruction that system installation is carried out using auto-answer mode for receiving response the 3rd prompting message input
When, it is determined that the step of performing the first prompting message of output.
In this embodiment, when KVM clients, according to mirror image mounting instructions, the carry in mirror image carry interface to be installed
System target mirror picture after, KVM clients can determine user need to destination server carry out system installation, now,
KVM clients can export prompting message (referred to herein as the 3rd prompting message), and whether the prompting message is used to prompt to use
Auto-answer mode carries out system installation, is selected to carry out system installation using auto-answer mode according to the actual requirements by user
(carrying out system to install automatically), or system installation is carried out (i.e. without using auto-answer mode system using manual mode
System installation).
When user's selection carries out system installation using auto-answer mode, KVM clients can export the first prompting and disappear
Breath, and the mode described in embodiment is handled according to the method described above.
When user's selection carries out system installation without using auto-answer mode, KVM clients can enter installation manually
System flow, manual mounting system being carried out by user, it implements the related realization that may refer in existing relevant programme, this
Inventive embodiments will not be described here.
Further, in the embodiment of the present application, in order to improve the controllability of system installation and flexibility, in system certainly
In dynamic installation process, user can select to switch to manual installation according to the actual requirements, and be switched to again by installing manually
Automatic installation.
Correspondingly, in the one of embodiment of the application, said system installation method can also comprise the following steps:
In system autoinstall procedure, when receiving interrupt instruction, stop according to the configuration text for being used for system installation
The content of part sends Keyboard Message to destination server;
The configuration-direct that user inputs in the system installation interface that KVM clients are shown is received, and is referred to according to configuration
Make to destination server and send Keyboard Message, so that destination server carries out system installation according to the Keyboard Message.
In this embodiment, in system autoinstall procedure, user will can automatically install switching according to the actual requirements
Installed to be manual, for example, when user has found the configuration information of ongoing system installation with being expected inconsistent, or, use
When family needs interim modification specified configuration information, user can by presetting shortcut, or, on the specified interface of KVM softwares
Designated button, to KVM clients send interrupt instruction.
When KVM clients receive interrupt instruction, KVM clients can stop according to the above-mentioned configuration installed for system
The content of file sends Keyboard Message, the i.e. automatic installation operation of halt system to server, and now, user can be in KVM client
Configuration-direct is manually entered in the shown system installation interface (being shown in the specified function interface of such as KVM softwares) in end;KVM visitors
After family termination receives the configuration-direct that user inputs in the system installation interface that KVM is shown, it can be referred to according to the configuration
Make to destination server and send Keyboard Message, so that destination server carries out corresponding system installation according to the Keyboard Message received
The selection of option in interface or/and content are filled in or/and the click of function button, and switching is installed automatically by system so as to realize
For installation manually.Now, user can carry out corresponding configuration to the system of destination server according to the actual requirements, without complete
The system of destination server is configured according to the content of the above-mentioned configuration file for system installation entirely.
It can be seen that in the embodiment of the present application, after user have selected the configuration file installed automatically for system, Ke Yi
In system autoinstall procedure, specific configuration information is changed according to the actual requirements, and the configuration of system installation is more flexible.
Further, in this embodiment, when destination server enters new system installation interface, and it is defeated to receive user
During the automatic installation instruction of the system that enters, according in the configuration file installed for system to should be new system installation interface enter
Content after the flag bit of mouth sends Keyboard Message to destination server, so that destination server disappears according to the keyboard received
Cease carry out system installation.
Specifically, in this embodiment, after user installs the system of destination server by automatically switching to manually, use
Family can select again to switch to the system installation of destination server when destination server enters new system installation interface
Automatic installation.
Correspondingly, when destination server enters new system installation interface, and the system for receiving user's input is pacified automatically
During dress instruction, according to the above-mentioned flag bit for being used for the entrance in the configuration file of system installation to system installation interface that should be new
Content afterwards sends Keyboard Message to destination server, so that destination server carries out corresponding system peace according to the Keyboard Message
Fill the option selection in interface or/and content is filled in or/and the click of function button.
In order to achieve the above object, in this embodiment, it is necessary to be set in advance in the configuration file installed for system
The flag bit of the entrance of variant system installation interface in correspondence system installation process, KVM clients can be according to the flag bits
Determine to correspond to the configuration information of each system installation interface in configuration file, and then, when user is again by the system of destination server
Installation by manual switching for it is automatic when, KVM clients destination server entrance can be found in configuration file this new be
Flag bit corresponding to the entrance of system installation interface, and keyboard is sent to destination server according to the content after the flag bit and disappeared
Breath, is installed automatically with continuing system.
What deserves to be explained is in the embodiment of the present application, when system installation is switched to install it manually by automatic installation
Afterwards, if install automatically in the absence of switchback again demand when, can also not have to set above-mentioned entrance and mark position in configuration file.
In addition, in the embodiment of the present application, when system installation switches to manual installation by automatic installation, it can also record
Relevant configuration information in manual installation procedure, and the corresponding content in former configuration file is replaced according to the configuration information, or again
Newly-generated new configuration file, so that user can be selected as needed when carrying out system installation again.
In order that those skilled in the art more fully understand the embodiment of the present application provide technical scheme, below collection instance
The technical scheme provided the embodiment of the present application illustrates.
1st, the preparatory stage
1), KVM clients receive mirror image carry interface access instruction, into mirror image carry interface, and according to receiving
Mirror image mounting instructions carry system to be mounted target mirror picture;
2) prompting message (i.e. above-mentioned 3rd prompting message), is exported, prompts the user to choose whether to use auto-answer mode
Carry out system installation;If so, into step 3);Otherwise, into manual mounting system flow;
3) prompting message (being properly termed as the 4th prompting message herein), is exported, prompts user to confirm system to be mounted of institute
The target mirror picture of system, and when receiving the determine instruction of the prompting message of user response the 4th input, into step 4);
4) prompting message (i.e. above-mentioned first prompting message), is exported, is prompted the user to choose whether using existing configuration text
Part carries out response installation;If so, then enter step 5);Otherwise, into step 6);
5), according to the type of target mirror picture, inquiry and the type matching of target mirror picture in the configuration file preserved
Configuration file;If the configuration file of matching is inquired, into 7);Otherwise, export prompting message, prompt user do not inquire with
The configuration file of the type matching of target mirror picture, and go to 4);
6), according to the type of target mirror picture, the configuration interface of automatic-answering back device corresponding with the type of target mirror picture is shown, is supplied
User Defined configures, and after the completion of configuration, preserves to the BMC of KVM clients, forms configuration file storehouse;
7), the displaying of KVM clients and the configuration file of the type matching of target mirror picture;Wherein, the configuration file shown
(or can be ranked up according to other strategies) can be ranked up sequentially in time, be added to configuration file storehouse recently
Configuration file is illustrated in topmost, and option by default;
8), when receiving selection instruction of the user for the configuration file configuration file of installation (be used for system), and receive
Triggering command is installed automatically to system (" next step " function button clicked on as received user in configuration file selection interface
Operation), into the automatic installation procedure of system;
2nd, system erection stage
1), KVM clients to destination server send for set the first startup item IPMI orders, control targe service
Device sets the first startup item;After being provided with, KVM clients send the IPMI orders for restarting to destination server, control
Destination server performs reboot, carries out system reboot;
Wherein, after destination server is restarted, according to the first set startup item, corresponding system installation circle is entered
Face;
In order to ensure that destination server has time enough to complete to restart, KVM clients are sent to destination server to be used for
After the IPMI orders restarted, subsequent step is carried out again after can waiting 5 minutes, during this period, KVM clients, which can control, is
System installation relative program is in sleep state;
2), KVM clients parse the configuration file for system installation, according in the configuration file installed for system
Hold, Keyboard Message is sent to destination server, so as to which control targe server carries out system installation;
Wherein, in this embodiment it is assumed that the mirror image nature of the system of user installation (can include but unlimited for type A
In CentOS, Debian or Ubuntu etc.), the specific implementation of system installation can be as follows:
Fig. 2A is referred to, the initial installation interface signal of system of the type A provided for the embodiment of the present application system image
Figure, wherein, destination server is completed after restarting, and into the interface, the interface is wanted down to perform, it is necessary to which to click on Next (next
Step) button, due in the interface, being defaulted as choosing Next buttons (i.e. focus acquiescence is in Next buttons), therefore, KVM visitors
Family end directly can send Enter press key messages (i.e. enter key) to destination server, carriage return operation be performed, into next system
Installation interface.
Fig. 2 B are referred to, the schematic diagram of another system installation interface provided for the embodiment of the present application, in this embodiment,
Assuming that it is for the configuration information in the configuration file of system installation for the system installation interface:Setup Type selects " Use
All Space (use all spaces) ", and choose " Review and modify partitioning layout (check and
Change zoning) " option, then perform next step;
Now, KVM clients need to carry out option selection to server by sending the message of Tab buttons.Due to being
Unite interface in, " Use All Space " be default option, therefore, for the option it goes without doing setting;In next step, KVM clients
The message N (N=6 herein) for directly transmitting Tab buttons is secondary so that and focus is reached at " checking and change zoning " option, then
Space bar message is sent to server by KVM so that " Review and modify partitioning layout " options
It is selected, the secondary tab key message of N (N=2 herein) is then retransmited to server so that focus is reached on " Next " button, then is sent out
Enter press key messages are sent to destination server.So far, Keyboard Message is sent come system shown in operation diagram 2B by KVM clients
Installation interface, reach Setup Type " Use All Space ", to choose " Review and modify partitioning
Layout ", finally perform the purpose of next step.
Fig. 2 C are referred to, the schematic diagram of another system installation interface provided for the application, in this embodiment it is assumed that
It is for the configuration information in the configuration file of system installation for the system installation interface:Setting Hostname (host name)=
Eric, other not set, now, KVM clients send Tab press key messages to destination server, until input frame is got
Focus, then " e ", " r ", " i ", " c " press key message are sent to destination server successively, Tab press key messages are finally sent again
To server, until " Next " button gets focus, Enter press key messages are retransmited to destination server, reach configuration master
Machine name, and perform the purpose of next step.
Wherein, the configuration flow of other system installation interfaces in system installation process and the system shown in Fig. 2A~Fig. 2 C
The configuration flow of installation interface is similar, and the embodiment of the present application will not be repeated here.
In this embodiment, in system installation process, automatic-answering back device is realized due to sending press key message by KVM, because
This, system installation interface all can normally be shown, user can check installation progress at any time, whether check preset configuration information
Completely performed;, can when user determines that preset configuration information is not performed completely, or, it is necessary to when changing some configuration informations
The program of automatic-answering back device installation is interrupted at any time, then switches to manual installation.After the manual installation of user terminates, into next boundary
During face, it is also an option that continuing automatic-answering back device operation.
Fig. 3 is referred to, a kind of configuration file and the corresponding relation schematic diagram of system installation interface provided for the application,
In the embodiment, the entrance of each system installation interface is provided with corresponding mark in advance correspondence system installation process in configuration file
Will position.
Assuming that when system installation proceeds to system installation interface 3, KVM clients receive interrupt instruction, now, KVM
Client can stop sending Keyboard Message according to the file content for the configuration file for being used for system installation, into manual installation stream
Journey, and sent according to the configuration-direct that user inputs in the system installation interface that KVM clients are shown to destination server
Keyboard Message;After the completion of manual installation operation, when entering next system installation interface (i.e. system installation interface 4), now, if
KVM clients receive the automatic installation instruction of system of user's input, again automatic-answering back device can be switched to install, now KVM
Client can again read off the configuration file for system installation, and according to the entrance (i.e. entrance 4) with system installation interface 4
Content after corresponding flag bit (i.e. flag bit 4) sends press key message to destination server, and continuation system installs stream automatically
Journey.
By above description as can be seen that in the technical scheme that the embodiment of the present application provides, target is directed to when receiving
During the automatic installation instruction of the system of server, control targe server sets the first startup item simultaneously to be restarted, so that target takes
Business device system installation interface according to corresponding to entering first startup item, and then, according to the configuration file installed for system
Content, send Keyboard Message to destination server, installed so that destination server completes system according to Keyboard Message, so as to real
Show the system based on KVM to install automatically.
Fig. 4 is referred to, a kind of structural representation of the system installation device provided for the embodiment of the present application, wherein, this is
The KVM clients that can apply in above method embodiment of system erecting device, as shown in figure 4, the system installation device can be with
Including:
Receiving unit 410, for receiving the automatic installation instruction of system for destination server;
Control unit 420, for when the receiving unit 410 receive for destination server system automatically install refer to
When making, control the destination server that the first startup item is set and restarted, so that the destination server is according to described the
System installation interface corresponding to the entrance of one startup item;
Transmitting element 430, for the content according to the configuration file for being used for system installation, sent to the destination server
Keyboard Message, installed so that the destination server completes system according to the Keyboard Message.
Please also refer to Fig. 5, the structural representation of another system installation device provided for the embodiment of the present application, such as scheme
Shown in 5, on the basis of system shown in Figure 4 erecting device, the system installation device shown in Fig. 5 also includes:
Carry unit 440, for when the receiving unit 410 receives mirror image mounting instructions, being hung according to the mirror image
Carry instruction in mirror image carry interface carry system to be mounted target mirror picture;
Output unit 450, for exporting the first prompting message, whether first prompting message is used to prompt using existing
Configuration file carry out system installation;
Query unit 460, for receiving the use for responding first prompting message and inputting when the receiving unit 410
When existing configuration file carries out the selection instruction of system installation, matched somebody with somebody according to what the type queries of the target mirror picture pre-saved
Put file;
The output unit 450, be additionally operable to export the second prompting message, second prompting message be used for show with it is described
The configuration file of the type matching of target mirror picture;
Determining unit 470, what response second prompting message for being received according to the receiving unit 410 inputted
Selection instruction, the configuration file that the selection instruction is chosen is defined as the configuration file for system installation.
In one of the embodiments, the output unit 450, it is additionally operable to when the receiving unit 410 receives response
When carrying out the selection instruction of system installation without using existing configuration file of first prompting message input, output with it is described
Target mirror as type corresponding to configuration interface;
Correspondingly, please also refer to Fig. 6, the structural representation of another system installation device provided for the embodiment of the present application
Figure, as shown in fig. 6, on the basis of system shown in Figure 5 erecting device, the system installation device shown in Fig. 6 also includes:
Generation unit 480, for the configuration inputted by the configuration interface received according to the receiving unit 410
Information generates the configuration file for system installation.
In one of the embodiments, the output unit 450, it is additionally operable to export the 3rd prompting message, the described 3rd carries
Show message be used for prompt whether using auto-answer mode progress system installation;
The output unit 450, it is additionally operable to when the receiving unit 410 receives response the 3rd prompting message input
Using auto-answer mode carry out system installation selection instruction when, export the first prompting message.
In one of the embodiments, the transmitting element 430, it is additionally operable to when the receiving unit 410 is automatic in system
When interrupt instruction is received in installation process, stop the basis content for being used for the configuration file that system is installed to the target
Server sends Keyboard Message;
The receiving unit 410, it is additionally operable to receive what user inputted in the system installation interface that KVM clients are shown
Configuration-direct;
The transmitting element 430, it is additionally operable to send Keyboard Message to destination server according to the configuration-direct, so that institute
State destination server and system installation is carried out according to the Keyboard Message.
In one of the embodiments, the transmitting element 430, it is additionally operable to when the destination server enters new system
Installation interface, and when the receiving unit receives the system automatic installation instruction of user's input, pacified according to the system that is used for
To the content after the flag bit of the entrance of system installation interface that should be new to the destination server in the configuration file of dress
Keyboard Message is sent, so that the destination server carries out system installation according to the Keyboard Message.
The function of unit and the implementation process of effect specifically refer to and step are corresponded in the above method in said apparatus
Implementation process, it will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
As seen from the above-described embodiment, when the automatic installation instruction of the system for destination server that receives, control targe
Server sets the first startup item and restarted, so that destination server system according to corresponding to entering first startup item
Installation interface, and then, according to the content for the configuration file installed for system, Keyboard Message is sent to destination server, so that
Destination server completes system installation according to Keyboard Message, it is achieved thereby that the system based on KVM is installed automatically.
Those skilled in the art will readily occur to the application its after considering specification and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the application, these modifications, purposes or
Person's adaptations follow the general principle of the application and including the undocumented common knowledges in the art of the application
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the application and spirit are by following
Claim is pointed out.
It should be appreciated that the precision architecture that the application is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.Scope of the present application is only limited by appended claim.
Claims (12)
1. a kind of system installation method, it is characterised in that applied to the KVM clients installed on destination server, this method bag
Include:
When the automatic installation instruction of the system for destination server that receives, the destination server is controlled to set first to start
Item is simultaneously restarted, so that destination server system installation interface according to corresponding to entering first startup item;
According to the content for the configuration file installed for system, Keyboard Message is sent to the destination server, so that the mesh
Mark server and system installation is completed according to the Keyboard Message.
2. according to the method for claim 1, it is characterised in that the system received for destination server is pacified automatically
Before dress instruction, in addition to:
Receive mirror as mounting instructions, and according to the mirror image mounting instructions in mirror image carry interface carry institute system to be mounted
Target mirror picture;
The first prompting message is exported, first prompting message is used to whether prompt using existing configuration file progress system peace
Dress;
When the selection that system installation is carried out using existing configuration file for receiving response the first prompting message input is referred to
When making, the configuration file that is pre-saved according to the type queries of the target mirror picture;
The second prompting message is exported, second prompting message is used to show and the configuration of the type matching of target mirror picture text
Part;
The selection instruction that response second prompting message according to receiving inputs, the configuration text that the selection instruction is chosen
Part is defined as the configuration file for system installation.
3. according to the method for claim 2, it is characterised in that after the first prompting message of the output, in addition to:
When the selection that system installation is carried out without using existing configuration file for receiving response the first prompting message input
During instruction, configuration interface corresponding with the type of the target mirror picture is exported;
Configuration information according to being inputted by the configuration interface generates the configuration file for system installation.
4. according to the method for claim 2, it is characterised in that it is described according to the mirror image mounting instructions in mirror image carry circle
In face carry after the target mirror picture of system to be mounted, in addition to:
The 3rd prompting message is exported, the 3rd prompting message is used to whether prompt using auto-answer mode progress system peace
Dress;
When the selection instruction that system installation is carried out using auto-answer mode for receiving response the 3rd prompting message input
When, it is determined that the step of performing the first prompting message of the output.
5. according to the method for claim 1, it is characterised in that methods described also includes:
In system autoinstall procedure, when receiving interrupt instruction, stop according to the configuration text for system installation
The content of part sends Keyboard Message to the destination server;
Receive the configuration-direct that is inputted in the system installation interface that KVM is shown of user, and according to the configuration-direct to mesh
Mark server and send Keyboard Message, so that the destination server carries out system installation according to the Keyboard Message.
6. according to the method for claim 5, it is characterised in that methods described also includes:
When the destination server enters new system installation interface, and receive the automatic installation instruction of system of user's input
When, after in the configuration file installed for system to the flag bit of the entrance of system installation interface that should be new
Content sends Keyboard Message to the destination server, so that the destination server carries out system peace according to the Keyboard Message
Dress.
7. a kind of system installation device, it is characterised in that applied to the KVM clients installed on destination server, the device bag
Include:
Receiving unit, for receiving the automatic installation instruction of system for destination server;
Control unit, during for receiving the automatic installation instruction of system for destination server when the receiving unit, control
The destination server sets the first startup item and restarted, so that the destination server enters according to first startup item
System installation interface corresponding to entering;
Transmitting element, for the content according to the configuration file for being used for system installation, send keyboard to the destination server and disappear
Breath, installed so that the destination server completes system according to the Keyboard Message.
8. device according to claim 7, it is characterised in that described device also includes:
Carry unit, for when the receiving unit receives mirror image mounting instructions, according to the mirror image mounting instructions in mirror
As in carry interface carry system to be mounted target mirror picture;
Output unit, for exporting the first prompting message, first prompting message is used to prompt whether use existing configuration
File carries out system installation;
Query unit, for receiving the existing configuration of use for responding first prompting message and inputting when the receiving unit
When file carries out the selection instruction of system installation, the configuration file that is pre-saved according to the type queries of the target mirror picture;
The output unit, it is additionally operable to export the second prompting message, second prompting message is used to show and the target mirror
The configuration file of the type matching of picture;
Determining unit, the selection instruction that response second prompting message for being received according to the receiving unit inputs,
The configuration file that the selection instruction is chosen is defined as the configuration file for system installation.
9. device according to claim 8, it is characterised in that
The output unit, be additionally operable to when the receiving unit receive response first prompting message input without using
When some configuration files carry out the selection instruction of system installation, configuration interface corresponding with the type of the target mirror picture is exported;
Described device also includes:
Generation unit, the configuration information inputted by the configuration interface for being received according to the receiving unit, which generates, to be used
In the configuration file of system installation.
10. device according to claim 8, it is characterised in that
The output unit, it is additionally operable to export the 3rd prompting message, whether the 3rd prompting message is used to prompt using automatic
Response mode carries out system installation;
The output unit, the use for being additionally operable to receive response the 3rd prompting message input when the receiving unit are automatic
When response mode carries out the selection instruction of system installation, the first prompting message is exported.
11. device according to claim 7, it is characterised in that
The transmitting element, it is additionally operable to, when the receiving unit receives interrupt instruction in system autoinstall procedure, stop
Keyboard Message is only sent to the destination server according to the content of the configuration file for system installation;
The receiving unit, it is additionally operable to the configuration that reception user inputs in the system installation interface that KVM clients are shown and refers to
Order;
The transmitting element, it is additionally operable to send Keyboard Message to destination server according to the configuration-direct, so that the target
Server carries out system installation according to the Keyboard Message.
12. device according to claim 11, it is characterised in that
The transmitting element, it is additionally operable to when the destination server enters new system installation interface, and the receiving unit connects
When receiving the automatic installation instruction of system of user's input, according in the configuration file installed for system to that should be newly
Content after the flag bit of the entrance of system installation interface sends Keyboard Message to the destination server, so that the target takes
Device be engaged according to Keyboard Message progress system installation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710633333.1A CN107544781B (en) | 2017-07-28 | 2017-07-28 | System installation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710633333.1A CN107544781B (en) | 2017-07-28 | 2017-07-28 | System installation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107544781A true CN107544781A (en) | 2018-01-05 |
CN107544781B CN107544781B (en) | 2021-03-23 |
Family
ID=60970466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710633333.1A Active CN107544781B (en) | 2017-07-28 | 2017-07-28 | System installation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107544781B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150085665A1 (en) * | 2013-09-26 | 2015-03-26 | Ramana Kompella | System and method for improving tcp performance in virtualized environments |
CN104850442A (en) * | 2015-05-27 | 2015-08-19 | 杭州昆海信息技术有限公司 | Operating system mounting method and device |
CN106528226A (en) * | 2016-10-31 | 2017-03-22 | 紫光华山信息技术有限公司 | Operation system installation method and apparatus |
-
2017
- 2017-07-28 CN CN201710633333.1A patent/CN107544781B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150085665A1 (en) * | 2013-09-26 | 2015-03-26 | Ramana Kompella | System and method for improving tcp performance in virtualized environments |
CN104850442A (en) * | 2015-05-27 | 2015-08-19 | 杭州昆海信息技术有限公司 | Operating system mounting method and device |
CN106528226A (en) * | 2016-10-31 | 2017-03-22 | 紫光华山信息技术有限公司 | Operation system installation method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN107544781B (en) | 2021-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6909378B1 (en) | Method and system for upgrading a universal remote control | |
CN110008690B (en) | Authority management method, device, equipment and medium for terminal application | |
CN101965556A (en) | Method of launching a selected application in a multi-monitor computer system and multi-monitor computer system employing the same | |
AU2017280957A1 (en) | Application icon customization | |
JP2007164782A (en) | Device, system and method for distributing configuration parameter | |
EP3343352B1 (en) | Method, apparatus and device for instructing operations on terminal device | |
EP1906305B1 (en) | Method and system for data preparation and communication between software applications | |
US20040040023A1 (en) | Remote identification loader | |
CN114237676B (en) | FPGA logic updating method, device, equipment and readable storage medium | |
CN109976816A (en) | Computer system configurations method and server | |
CN100375022C (en) | Method and built-in system for duplicating software system between networks | |
WO2007019285A2 (en) | Methods and arrangements for performing desktop switching | |
CN107544781A (en) | A kind of system installation method and device | |
CN101984585A (en) | Centralized management method for server | |
CN107220090A (en) | Start the method and apparatus of embedded software in external equipment | |
CN115421846A (en) | Cross-device control method, control device, electronic device and readable storage medium | |
CN112988482B (en) | Server operation management method, device, terminal, server and storage medium | |
CN107659621A (en) | A kind of RAID control cards collocation method and device | |
KR101579486B1 (en) | System for verifying application remotely based on cloud | |
US20100070654A1 (en) | Information sharing system and relay device capable of controlling peripheral according to user manipulation | |
US20060062153A1 (en) | Customer service system of embedded system device and metohd thereof | |
CN115514993B (en) | Operation control method and operation control system of cloud machine | |
TWM468695U (en) | Cloud connection monitoring system for processing equipment | |
TWI792147B (en) | Management system and device operation method with preloaded user interface | |
CN115562692A (en) | Display equipment, touch device and file updating method |
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 | ||
CB02 | Change of applicant information |
Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Xinhua Sanxin Information Technology Co., Ltd. Address before: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Applicant before: Huashan Information Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |