CN104580475B - Long-range control method, terminal device, management server and tele-control system - Google Patents

Long-range control method, terminal device, management server and tele-control system Download PDF

Info

Publication number
CN104580475B
CN104580475B CN201510016462.7A CN201510016462A CN104580475B CN 104580475 B CN104580475 B CN 104580475B CN 201510016462 A CN201510016462 A CN 201510016462A CN 104580475 B CN104580475 B CN 104580475B
Authority
CN
China
Prior art keywords
file
ftp
processor
terminal device
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510016462.7A
Other languages
Chinese (zh)
Other versions
CN104580475A (en
Inventor
刘海生
段行
方峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510016462.7A priority Critical patent/CN104580475B/en
Publication of CN104580475A publication Critical patent/CN104580475A/en
Priority to PCT/CN2016/070394 priority patent/WO2016112825A1/en
Application granted granted Critical
Publication of CN104580475B publication Critical patent/CN104580475B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The embodiment of the present invention provides a kind of long-range control method, terminal device, management server and tele-control system.Method provided by the invention is applied in C/S network system, and the network system includes terminal device and is integrated with the management server of ftp server, and this method includes:The processor of terminal device obtains net association's IP address and FTP service client information by running the first ISO files from its BMC, and the first ISO files are that management server is mounted on terminal device in advance;The communication that the processor is established between ftp server by IP address and FTP service client information, and remote profile is obtained to perform remote control from ftp server by the first ISO files.The embodiment of the present invention solves network management system of the prior art and must include DHCP and tftp server and could realize remote control to terminal device, so as to cause to realize the problem of cost of remote control is higher.

Description

Long-range control method, terminal device, management server and tele-control system
Technical field
The present embodiments relate to the communication technology, more particularly to a kind of long-range control method, terminal device, management server And tele-control system.
Background technology
(Client/Server, it is referred to as in client and server:C/S in network system), set to reduce terminal Standby, i.e. client maintenance cost, technical staff can be set by the way of remote control by server controls target terminal Standby operation, such as target terminal equipment can be configured, install, safeguard, monitor and managed.
At present, generally use (Preboot Execute Environment, is referred to as based on Pre-boot Execution Environment: PXE) the remote control of mode.To target terminal equipment installation operation system (Operation in a manner of by the PXE System, referred to as:OS it is explained exemplified by), specifically:PXE may operate in Client/Server network mode, branch Hold target terminal equipment (i.e. client) and image is downloaded from network management system by network, and thus support terminal to pass through network installation OS.During OS is installed, target terminal equipment requirement DHCP (Dynamic Host Configuration Protocol, referred to as:DHCP) server is its distribution net association (Internet Protocol, abbreviation For:IP) address, then (Trivial File Transfer Protocol, be referred to as by TFTP:TFTP) It will be downloaded to from tftp server for the installation bootstrap for installing OS in the internal memory of target terminal equipment, so as to which target is whole End equipment guides installation OS by running the installation bootstrap to complete the basic setup of the target terminal equipment.
Long-range control method is realized using PXE modes in the prior art, due to performing the network management system of long-range control method In must include Dynamic Host Configuration Protocol server and tftp server and could realize remote control to target terminal equipment, so as to cause to realize The cost of remote control is higher.
The content of the invention
The embodiment of the present invention provides a kind of long-range control method, terminal device, management server and tele-control system, with Solution realizes long-range control method using PXE modes in the prior art, must in the network management system due to performing long-range control method The remote control to terminal device must could be realized including Dynamic Host Configuration Protocol server and tftp server, so as to cause to realize remote control Cost it is higher the problem of.
In a first aspect, the embodiment of the present invention provides a kind of long-range control method, methods described is applied to client and service In device C/S network system, the network system includes management server and terminal device, and the management server includes text Part host-host protocol ftp server, the terminal device include processor and baseboard management controller BMC, the BMC and the pipe Server connection is managed, methods described includes:
The processor by running the first preset mirror image ISO files, from the BMC obtain net association IP address and FTP service client information;Wherein, the IP address and the FTP service client information are management server write-in, described the One ISO files are that the management server is mounted on the terminal device in advance;
The processor is established between the ftp server by the IP address and the FTP service client information Communication, and remote profile is obtained to perform remote control from the ftp server by the first ISO files.
In the first possible implementation of first aspect, the first ISO files include linux kernel, FTP visitors Family end and perform script, wherein, the perform script includes starting ftp client script;The FTP service client information includes institute State IP address, authentication information and the download path of ftp server;Then the processor is by running the first preset mirror image ISO File, net association's IP address and FTP service client information are obtained from the BMC, including:
The processor loads the linux kernel by running the first ISO files, so as to pass through the Linux Kernel runs the perform script, to obtain the IP address and the FTP service client information from the BMC;
Then the processor is established between the ftp server by the IP address and the FTP service client information Communication, and remote profile is obtained to perform remote control from the ftp server by the first ISO files, Including:
The processor sets the IP address onto the network interface of the processor, and according to the ftp server IP address connects the ftp server and the processor;
The processor is sent according to the ftp client and the startup ftp client script to the ftp server File request message, the file request message include the authentication information and download path of the ftp server;
The processor receives the file response message that ftp server returns, and is carried in the file response message remote Journey configuration file;
The terminal device performs corresponding remote control operation according to the remote profile.
According to the first possible implementation of first aspect, in second of possible implementation, described first ISO files also include Microsoft Loopback Adapter vNIC and driven;Then the processor is built by the IP address and the FTP service client information Before communication between vertical and described ftp server, in addition to:
The processor is by running the first ISO files respectively to described in the processor and BMC installations VNIC is driven, and the network interface of processor described in the terminal device is connected with the network interface of the BMC.
According to the first or second of possible implementation of first aspect, in the third possible implementation, The perform script also includes startup item script;Then the processor is by running default first mirror image ISO files, from described Before net association's IP address and FTP service client information are obtained in BMC, in addition to:
The processor gets first that the network management system management server is mounted on the terminal device in advance ISO files, the processor is restarted from CD-ROM drive by the startup item script, to cause the first ISO files at the place Run in reason device.
According to first aspect the first into the third possible implementation any one, in the 4th kind of possible reality In existing mode, for the remote profile to start configuration file, the configuration file that starts includes OS to be installed kernel text The title of part and path, and start-up parameter, the perform script also include making boot disk script;Then the processor is from institute State and remote profile is obtained in the ftp server of network management system management server to perform remote control, including:
The processor obtains according to the title and path of the kernel file of the OS to be installed from the ftp server The kernel file of startup item file and the OS to be installed, wherein, the startup item file is used to guide the processor to run The kernel file of the OS to be installed;
The processor arrives the kernel file storage of the startup item file, the start-up parameter and the OS to be installed In the hard disk of the terminal device;
The hard disk is arranged to boot disk by the processor by the making boot disk script;
The processor passes through the startup item file, start-up parameter and the OS to be installed that are stored in the hard disk kernel text Part, restart the processor from the hard disk;
The processor runs the kernel file of the OS to be installed according to the startup item file and the start-up parameter, To obtain installation file and the 2nd ISO files from the ftp server, wherein, the 2nd ISO files are progress OS installations Resource file;
The processor performs OS by the installation file and the 2nd ISO files of acquisition to the terminal device Remote Installation.
According to the 4th of first aspect the kind of possible implementation, in the 5th kind of possible implementation, the installation File and the configuration file that starts are that the network management system management server generates according to the setting of user, the installation text Part is used for the Remote Installation for guiding the processor to perform OS automatically according to the installation file;Wherein, the installation file bag Include:OS to be installed partition information, log in default username and password, the component of installation, and the acquiescence of fire wall and network interface card Configuration;And/or
Start-up parameter specifically includes the startup of the kernel file to run the parameter of the kernel file of the OS to be installed Position, kernel allocation proportion.
According to first aspect, first aspect the first into the 5th kind of possible implementation any one, the 6th In the possible implementation of kind, the IP address and the FTP service client information are passed through by the network management system management server The Simple Network Management Protocol SNMP interface and/or intelligent platform management interface IPMI of configuration write the terminal device In BMC.
Second aspect, the embodiment of the present invention provide a kind of long-range control method, and methods described is applied to client and service In device C/S network system, the network system includes management server and terminal device, and the management server includes text Part host-host protocol ftp server, the terminal device include processor and baseboard management controller BMC, the BMC and the pipe Server connection is managed, methods described includes:
Management server is terminal device distribution net association IP address;
The management server writes the IP address and FTP service client information in the BMC of terminal device;
The management server is by the first preset mirror image ISO file mounts to the terminal device, so that the end The processor of end equipment obtains the IP address and the FTP service end by running the first ISO files from the BMC Information, and the communication established by the IP address and the FTP service client information between the ftp server, so as to logical Cross the first ISO files and remote profile is obtained from the ftp server to perform remote control.
In the first possible implementation of second aspect, the first ISO files include linux kernel, FTP visitors Family end and perform script, the perform script include starting ftp client script;The FTP service client information includes the FTP IP address, authentication information and the download path of server;Wherein, the IP of the IP address of the distribution and the ftp server Location is used to cause the processor to connect the ftp server and the processor;
Then the management server is by the first preset mirror image ISO file mounts to the terminal device, so that described The processor of terminal device obtains remote profile to perform far by the first ISO files from the ftp server Process control, including:
The management server receives the processor according to the ftp client and the startup ftp client script File request message is sent to the ftp server, the file request message includes the authentication information of the ftp server And download path;
The ftp server of the management server obtains according to the authentication information and the download path described remotely matches somebody with somebody File is put, and carries and described processor is sent in file response message, so that the processor is remotely matched somebody with somebody according to described Put file and perform corresponding remote control operation.
According to the first possible implementation of second aspect, in second of possible implementation, the execution Script also includes startup item script;Then the management server sets the first preset mirror image ISO file mounts to the terminal It is standby upper, so that the processor of the terminal device obtains the IP address by running the first ISO files from the BMC With the FTP service client information, including:
The management server is by the first ISO file mounts to the terminal device, to cause the terminal to set Standby processor restarts the processor when getting the first ISO files, by the startup item script from CD-ROM drive, and So that the first ISO files are run in the processor.
According to the first or second of possible implementation of second aspect, in the third possible implementation, The remote profile starts title and the road of kernel file of the configuration file including OS to be installed to start configuration file Footpath, and start-up parameter, the perform script also include making boot disk script;Then methods described also includes:
The management server generates installation file and the startup configuration file according to the setting of user, wherein, it is described Installation file is used for the Remote Installation for guiding the processor to perform OS automatically according to the installation file;
The installation file and the startup configuration file are stored in the ftp server by the management server;
Then the management server is by the first preset mirror image ISO file mounts to the terminal device, to cause The processor for stating terminal device obtains remote profile by the first ISO files from the ftp server, including:
The management server is described to cause by the first preset mirror image ISO file mounts to the terminal device The processor of terminal device is obtained from the ftp server according to the title and path of the kernel file of the OS to be installed and opened The kernel file of dynamic item file and the OS to be installed, wherein, the startup item file is used to guide the processor operation institute State OS to be installed kernel file, and by the kernel file of the startup item file, the start-up parameter and the OS to be installed Storage is into the hard disk of the terminal device;And cause the processor will be described hard by the making boot disk script Disk is arranged to boot disk, so as to pass through the startup item file, start-up parameter and the OS to be installed that are stored in the hard disk kernel File, restart the processor from the hard disk, and wait to pacify according to the startup item file and start-up parameter operation OS kernel file is filled, and then the installation file and the 2nd ISO files are obtained to perform the remote of OS from the ftp server Journey installation operation, wherein, the 2nd ISO files are the resource file for carrying out OS installations.
According to the third possible implementation of second aspect, in the 4th kind of possible implementation, the installation File includes:OS to be installed partition information, log in default username and password, the component of installation, and fire wall and network interface card Default configuration;And/or
The start-up parameter specifically includes the kernel file to run the parameter of the kernel file of the OS to be installed Start position, kernel allocation proportion.
According to second aspect, second aspect the first into the 4th kind of possible implementation any one, the 5th In kind possible implementation, Simple Network Management Protocol SNMP interfaces and/or intelligent are configured with the management server Platform management interface IPMI;Then the management server writes the IP address and FTP service client information the BMC of terminal device In, including:
The management server is especially by the SNMP interfaces and/or IPMI by the IP address and the FTP service Client information is write in the BMC of the terminal device.
The third aspect, the embodiment of the present invention provide a kind of terminal device, and the terminal device is arranged at client and service In device C/S network system, the network system includes management server and the terminal device, is wrapped in the management server FTP ftp server is included, the terminal device includes processor and baseboard management controller BMC, the BMC and institute Management server connection is stated, the processor of the terminal device includes:
Acquisition module, for by running the first preset mirror image ISO files, obtaining net association IP address from the BMC With FTP service client information;Wherein, the IP address and the FTP service client information are management server write-in, described First ISO files are that the management server is mounted on the terminal device in advance;
Communication module, IP address and FTP service client information for being obtained by the acquisition module are established and the FTP Communication between server;
The acquisition module, it is additionally operable to obtain Remote configuration text from the ftp server by the first ISO files Part;
Execution module, the remote profile for being obtained according to the acquisition module perform remote control.
In the first possible implementation of the third aspect, the first ISO files include linux kernel, FTP visitors Family end and perform script, wherein, the perform script includes starting ftp client script;The FTP service client information includes institute State IP address, authentication information and the download path of ftp server;Then the acquisition module is used for by running first mirror image ISO files, the IP address and the FTP service client information are obtained from the BMC, is specifically included:By running described One ISO files load the linux kernel, so as to run the perform script by the linux kernel, with from the BMC The middle acquisition IP address and the FTP service client information;
The then communication module, the net to the processor is set specifically for the IP address for obtaining the acquisition module On mouth, and the ftp server and the processor are connected according to the IP address of the ftp server;
The acquisition module includes:Transmitting element and receiving unit;
Wherein, the transmitting element, for according to the ftp client and the startup ftp client script to described Ftp server sends file request message, and the file request message includes authentication information and the download of the ftp server Path;
The receiving unit, for receiving the file response message of ftp server return, taken in the file response message With remote profile;
The execution module, performed specifically for the remote profile received according to the receiving unit corresponding long-range Control operation.
According to the first possible implementation of the third aspect, in second of possible implementation, described first ISO files also include Microsoft Loopback Adapter vNIC and driven;Then the processor also includes:Module is installed, in the communication module The IP address and FTP service client information obtained by the acquisition module is established before the communication between the ftp server, The vNIC drivings are installed to the processor and the BMC respectively by running the first ISO files, the terminal is set The network interface of processor connects with the network interface of the BMC described in standby.
According to the first or second of possible implementation of the third aspect, in the third possible implementation, The perform script also includes startup item script;The then acquisition module, it is additionally operable at it by running default first mirror image ISO files, before net association's IP address and FTP service client information are obtained from the BMC, it is advance to get the management server The first ISO files being mounted on the terminal device;
Then the processor also includes:Module is run, for restarting the processing from CD-ROM drive by the startup item script Device, run with the first ISO files for causing the acquisition module to obtain in the processor.
According to the third aspect the first into the third possible implementation any one, in the 4th kind of possible reality In existing mode, for the remote profile to start configuration file, the configuration file that starts includes OS to be installed kernel text The title of part and path, and start-up parameter, the perform script also include making boot disk script;
Then acquisition module is additionally operable to obtain remote profile from the ftp server by the first ISO files, Specifically include:Startup item text is obtained from the ftp server according to the title of the kernel file of the OS to be installed and path The kernel file of part and the OS to be installed, wherein, the startup item file is used to guide to be waited to pacify described in the processor operation Fill OS kernel file;
The processor also includes:Memory module, for the acquisition module is obtained startup item file, start-up parameter Stored with OS to be installed kernel file into the hard disk of the terminal device;
Start setup module, the hard disk is arranged to by the making boot disk script for being obtained by the acquisition module Boot disk;
Module is restarted, in the startup item file by being stored in the hard disk, start-up parameter and OS to be installed Core file, restart the processor from the hard disk;
The operation module, it is additionally operable to run the OS's to be installed according to the startup item file and the start-up parameter Kernel file, to cause the acquisition module to obtain installation file and the 2nd ISO files from the ftp server, wherein, institute The 2nd ISO files are stated to carry out the resource file of OS installations;
The execution module, specifically for the installation file and the 2nd ISO files that are obtained by the acquisition module to institute State the Remote Installation that terminal device performs OS.
According to the 4th of the third aspect the kind of possible implementation, in the 5th kind of possible implementation, the installation File and the configuration file that starts are that the management server generates according to the setting of user, and the installation file is used to draw Lead the Remote Installation that the processor performs OS according to the installation file automatically;Wherein, the installation file includes:It is to be installed OS partition information, log in default username and password, the component of installation, and the default configuration of fire wall and network interface card;With/ Or,
Start-up parameter specifically includes the startup of the kernel file to run the parameter of the kernel file of the OS to be installed Position, kernel allocation proportion.
According to the third aspect, the third aspect the first into the 5th kind of possible implementation any one, the 6th In kind possible implementation, the IP address and the FTP service client information pass through the letter that configures by the management server Single Network Management Protocols SNMP interface and/or intelligent platform management interface IPMI are write in the BMC of the terminal device.
Fourth aspect, the embodiment of the present invention provide a kind of management server, the management server be arranged at client with In server C/S network system, the network system includes the management server and terminal device, the management server Include FTP ftp server, the terminal device includes processor and baseboard management controller BMC, the BMC It is connected with the management server, the management server also includes:
Distribute module, for distributing net association IP address for the terminal device;
Transport module, for the IP address of FTP service client information and distribute module distribution to be write into terminal device In BMC;
Carry module, for by the first preset mirror image ISO file mounts to the terminal device, so that the terminal By running, the first ISO files obtain the IP address to the processor of equipment from the BMC and the FTP service end is believed Breath, and the communication established by the IP address and the FTP service client information between the ftp server, so as to pass through The first ISO files obtain remote profile to perform remote control from the ftp server.
In the first possible implementation of fourth aspect, the first ISO files include linux kernel, FTP visitors Family end and perform script, the perform script include starting ftp client script;The FTP service client information includes the FTP IP address, authentication information and the download path of server;Wherein, the IP of the IP address of the distribution and the ftp server Location is used to cause the processor to connect the ftp server and the processor;
Then the ftp server of the management server includes:Receiving module, for the carry mould in the management server Block is by the first preset mirror image ISO file mounts to the terminal device, so that the processor of the terminal device passes through institute State IP address and the FTP service client information is established after the communication between the ftp server, receive the processor root According to the ftp client and the startup ftp client script file request message, the text are sent to the ftp server Part request message includes the authentication information and download path of the ftp server;
Acquisition module, obtained for the authentication information received according to the receiving module and the download path described long-range Configuration file;
Sending module, the remote profile for the acquisition module to be obtained carries to be sent in file response message To described processor, so that the processor performs corresponding remote control operation according to the remote profile.
According to the first possible implementation of fourth aspect, in second of possible implementation, the execution Script also includes startup item script;Then the carry module is used for the first preset mirror image ISO file mounts to the terminal In equipment, so that the processor of the terminal device is by running the first ISO files IP is obtained from the BMC Location and the FTP service client information, are specifically included:By in the first ISO file mounts to the terminal device, to cause The processor of terminal device is stated when getting the first ISO files, is restarted by the startup item script from CD-ROM drive described Processor, and the first ISO files are run in the processor.
According to the first or second of possible implementation of fourth aspect, in the third possible implementation, The remote profile starts title and the road of kernel file of the configuration file including OS to be installed to start configuration file Footpath, and start-up parameter, the perform script also include making boot disk script;
Then the management server also includes:Generation module, for generating installation file and described according to the setting of user Start configuration file, wherein, the installation file is used to guide the processor to perform OS's automatically according to the installation file Remote Installation;
Memory module, it is stored in for the installation file for generating the generation module and the startup configuration file described In ftp server;
Then the carry module is used for the first preset mirror image ISO file mounts to the terminal device, to cause The processor of the terminal device obtains remote profile by the first ISO files from the ftp server, specifically Including:By in the first preset mirror image ISO file mounts to the terminal device, to cause the processor root of the terminal device Startup item file is obtained from the ftp server according to the title and path of the kernel file of the OS to be installed and described waits to pacify OS kernel file is filled, wherein, the startup item file is used for the kernel text for guiding the processor to run the OS to be installed Part, and the kernel file of the startup item file, the start-up parameter and the OS to be installed is stored to the terminal and set In standby hard disk;And cause the processor that the hard disk is arranged into boot disk by the making boot disk script, from And the kernel file of the startup item file by being stored in the hard disk, start-up parameter and OS to be installed, from the hard disk weight The processor is opened, and the kernel file of the OS to be installed is run according to the startup item file and the start-up parameter, is entered And the installation file and the 2nd ISO files are obtained from the ftp server to perform the operation of OS Remote Installation, wherein, The 2nd ISO files are the resource file for carrying out OS installations.
According to the third possible implementation of fourth aspect, in the 4th kind of possible implementation, the installation File includes:OS to be installed partition information, log in default username and password, the component of installation, and fire wall and network interface card Default configuration;And/or
The start-up parameter specifically includes the kernel file to run the parameter of the kernel file of the OS to be installed Start position, kernel allocation proportion.
According to fourth aspect, fourth aspect the first into the 4th kind of possible implementation any one, the 5th In kind possible implementation, Simple Network Management Protocol SNMP interfaces and/or intelligent are configured with the management server Platform management interface IPMI;The then transport module, specifically for being taken the FTP by the SNMP interfaces and/or IPMI Business client information and the IP address of distribute module distribution are write in the BMC of the terminal device.
5th aspect, the embodiment of the present invention provide a kind of remote controllers system, including:It is any in such as above-mentioned third aspect Terminal device described in, and the management server as any one of above-mentioned fourth aspect;Wherein, the terminal device Including processor and baseboard management controller BMC, the BMC is connected with the management server.
Long-range control method, terminal device, management server and the tele-control system that the embodiment of the present invention is provided, eventually First ISO file of the end equipment by operational management server carry on the terminal device, pipe is obtained from the BMC of its configuration The IP address and FTP service client information that reason server is write in the BMC, taken so as to set up the processor of terminal device with management Communication between business device, and remote profile can be obtained from the ftp server of management server to perform long-range control System.Therefore, the long-range control method that the present embodiment provides solves realizes remote control method using PXE modes in the prior art Method, it could be realized to end due to Dynamic Host Configuration Protocol server and tftp server must be included in the network management system of execution long-range control method The remote control of end equipment, so as to cause to realize the problem of cost of remote control is higher, it accordingly avoid and taken using DHCP Business device and TPTP servers participate in performing additional conditions required during long-range control method, and the hardware for simplifying management server is matched somebody with somebody Put, so as to improve the applicability of long-range control method.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology in stating the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be the present invention Some embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
A kind of flow chart for long-range control method that Fig. 1 is provided by the embodiment of the present invention one;
Fig. 2 is a kind of schematic diagram of the long-range control method provided in the prior art;
A kind of flow chart for long-range control method that Fig. 3 is provided by the embodiment of the present invention two;
The structural representation of terminal device in the long-range control method that Fig. 4 is provided by embodiment illustrated in fig. 3;
The flow chart for another long-range control method that Fig. 5 is provided by the embodiment of the present invention;
A kind of flow chart for long-range control method that Fig. 6 is provided by the embodiment of the present invention three;
A kind of flow chart for long-range control method that Fig. 7 is provided by the embodiment of the present invention four;
A kind of structural representation for terminal device that Fig. 8 is provided by the embodiment of the present invention five;
A kind of structural representation for terminal device that Fig. 9 is provided by the embodiment of the present invention six;
A kind of structural representation for management server that Figure 10 is provided by the embodiment of the present invention seven;
The structural representation for another management server that Figure 11 is provided by the embodiment of the present invention;
A kind of structural representation for management server that Figure 12 is provided by the embodiment of the present invention eight;
A kind of structural representation for terminal device that Figure 13 is provided by the embodiment of the present invention nine;
A kind of structural representation for management server that Figure 14 is provided by the embodiment of the present invention ten;
The structural representation for another management server that Figure 15 is provided by the embodiment of the present invention;
A kind of structural representation for tele-control system that Figure 16 is provided by the embodiment of the present invention 12.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Client by the way of remote control with that in the network architecture of server (Client/Server), can be passed through The operation of server controls client, such as target terminal equipment can be configured, install, safeguard, monitor and managed, this It can be the management server for connecting more clients to invent the server in following embodiment, and client is specially that terminal is set Standby, for example, personal computer (Personal Computer, is referred to as:PC), usually limited terminal, the management server In can be integrated with FTP (File Transfer Protocol, referred to as:FTP) server, to provide FTP clothes Business, the terminal device include processor and baseboard management controller (Baseboard Management Controller, abbreviation For:BMC), can be by network interface connection between the BMC and management server, the processor for example can be the processing of X86 frameworks Device.
It should be noted that in the following embodiment of the present invention, for server, by the connected net of BMC network interface Network, as outband management network, and other network interfaces that server provides, as in-band management network;In addition, transported for server Capable practice operating system, as with interior system, the management linux system of BMC operations, as band external system.
Embodiment one
A kind of flow chart for long-range control method that Fig. 1 is provided by the embodiment of the present invention one.The present embodiment provides remote Process control method carries out the situation of remote control by server, this method can suitable for C/S network system to client By client, to be specifically as follows the processor of the terminal device in the present embodiment to perform, the terminal device and its processor Generally realized in the method for hardware and software, as shown in figure 1, the method for the present embodiment can include:
S110, processor (Isolation, are referred to as by running the first preset mirror image:ISO) file, obtained from BMC IP address and FTP service client information are taken, wherein, the IP address and FTP service client information are management server write-in, and this first ISO files are that management server is mounted on terminal device in advance.
In the present embodiment, it is explained exemplified by the server end in using management server as C/S network system, should Management server possesses management and safeguards the ability of IP address, such as is stored with IP address pond in the management server, therefore can Think client, i.e., the terminal device distribution IP address in the present embodiment;In addition, configured in management server in the present embodiment There is ftp server, the relevant information of the ftp server, i.e. FTP service client information known to the management server;Therefore, management clothes Business device by the IP address distributed for terminal device and known FTP service client information while can be sent to the terminal device, by By network interface connection between the BMC of terminal device and management server, therefore can be by the IP address of above-mentioned distribution and known FTP service client information specifically write in the BMC of terminal device, so as to which the processor of the terminal device can get above-mentioned point The IP address and FTP service client information matched somebody with somebody.Because BMC supports single NMP (Simple Network Management Protocol, referred to as:) and intelligent platform management interface (Intelligent Platform Management SNMP Interface, referred to as:IPMI) agreement, such as secure file transportation protocol (Secure File Transfer are also supported Protocol, referred to as:SFTP), safety shell protocol (Secure Shell, is referred to as:SSH) service and the Linux operations such as The commonly used command of system, when BMC is used in C/S network mode, it can coordinate to server and realize the related of remote control Operation, therefore, current terminal device can generally be configured with BMC, i.e. in the method that the present embodiment provides, processor is from end The IP address and FTP service client information obtained in the BMC of end equipment is that above-mentioned management server is write in the BMC.
It should be noted that because BMC outband management acts on, there is transmission channel between the BMC and management server; In addition, for perform the present embodiment provide method management server in can be provided with SNMP interfaces and/or IPMI, therefore, Terminal device in the present embodiment can obtain management server by the SNMP interfaces and/or IPMI from above-mentioned transmission channel The IP address and FTP service client information of transmission;And the transmission channel allows management server to pass through SNMP and/or IPMI orders Character is write in BMC.
In the present embodiment, the first ISO files are preset in management server, the first ISO files can be an essence The linux kernel system of letter, such as the first ISO files are specially a SimpleOS file, in the SimpleOS files only Retain operation this document institute must linux kernel, and necessary perform script in ftp client and subsequent execution, in Linux Core is loaded when processor runs the SimpleOS files, and the load operating that processor passes through the linux kernel The FTP service client information of perform script in SimpleOS, ftp client and above-mentioned acquisition is used for the processing for causing terminal device FTP communications can be carried out between device and the ftp server of management server, perform script is used to run in terminal device After SimpleOS files, corresponding operation is performed by the particular content of the perform script.In the specific implementation, the first ISO File can be that management server is mounted on terminal device by virtual media technology, and the virtual media technology is specially to pass Defined in defeated agreement (8020i SSF), the virtual media for example can be a specific application program (Application, Referred to as:APP), the client of virtual media is provided with management server, the clothes of virtual media are provided with terminal device It is engaged in end, sending carry from the service end of virtual media of the client of the virtual media in management server into terminal device and asking Ask, the first ISO is mounted on terminal device, specific carry is in the memory cell of the terminal device, the memory cell example Such as can be that similar USB (Universal Serial Bus, is referred to as:USB memory cell), can use The technologies such as default Starting mode, using the memory cell as CD-ROM drive is started, the processor of the terminal device is set to start from CD-ROM drive, First ISO file of the carry in its memory cell can be run so as to the processor of terminal device, and passes through the first ISO The IP address that management server is its distribution, and FTP service end are obtained in the operation of file from the BMC of terminal equipment configuration Information.
S120, the communication that processor is established between ftp server by IP address and FTP service client information, and pass through First ISO files obtain remote profile to perform remote control from ftp server.
In the present embodiment, seek to connect terminal device processor and management server in be used for enter with terminal device The entity apparatus of row data interaction, i.e. ftp server, because management server is that terminal device distributes IP address, and FTP takes Business device is integrated in the management server, and FTP service is provided for it, i.e. FTP service client information is also for management server Known, therefore, the IP address of the distribution can be specifically arranged on the processor network interface of terminal device, the processing of terminal device Connected between device and its BMC configured by PICE, and processor can be by FTP service client information by management server Ftp server communicated therewith by BMC, that is, establish the communication between the processor of terminal device and management server.On State to have illustrated and FTP communications can be carried out between the ftp server of management server and processor, therefore, processor passes through The operation of first ISO files can also be obtained for performing remote control operation from the ftp server of management server Remote profile, the mode for obtaining the remote profile is namely based on the above-mentioned FTP communications established, especially by transmission What the formation of message and reception response obtained, and then the remote profile obtained according to this performs remote control operation.
Existing remote control is typically based on PXE modes, specifically to entering exemplified by installing terminal equipment OS in a manner of by PXE Row explanation.Fig. 2 is a kind of schematic diagram of the long-range control method provided in the prior art;As shown in Fig. 2 network management system is specifically wrapped Management server, Dynamic Host Configuration Protocol server, tftp server and Resource Server are included, the Resource Server can generally support FTP, surpass Text Transfer Protocol (HTTP-Hypertext transfer protocol, referred to as:The Data Transport Protocol such as HTTP);Pass through The idiographic flow that network management system shown in Fig. 2 and terminal device perform remote control is:Step 1, management server are to terminal device Network startup instruction is sent, so that the terminal device is started by PXE, step 2, terminal device are to Dynamic Host Configuration Protocol server request IP Location, Dynamic Host Configuration Protocol server distribute the relevant information of IP address and tftp server to terminal device, and step 3, terminal device are to TFTP Server sends the request of netboot loading procedure, and gets PXE bootstrap, for example, can be Pxelinux.0 or Gpxelinux.0, the PXE bootstrap that step 4, terminal device operation obtain, the PXE bootstrap, which is read in guiding file, to be remembered The address of the startup configuration file of load, and ask to obtain from tftp server and start kernel and kernel file system, so that plus The kernel program for pre-installation is carried, i.e. WindowsPE (PreInstallation Environment, is referred to as:PE), walk Rapid 5, PE (Kickstart, can be referred to as in installation process to Resource Server acquisition request installation script:KS) and start software Bag, to complete the automatic installation of system.Using based on the remote of PXE modes it can be seen from the mode of Fig. 2 and above-mentioned remote control Problems with process control be present:First, Dynamic Host Configuration Protocol server and TPTP servers are the necessaries for carrying out remote control, and Dynamic Host Configuration Protocol server, tftp server and Resource Server are required to configure, the mistake of any one configuration, may result in whole remote Process control scheme fails, and simultaneously, it is necessary to which Dynamic Host Configuration Protocol server and TPTP servers must be on same nodes, or needs Dynamic Host Configuration Protocol server supports configurable pxeIp, and needs for pxeIp to be configured to TFTP IP address, that is, supports the side of remote control Formula is higher to the hardware requirement of network management system;Next, in order to realize OS Remote Installation, it is necessary to specially to using PXE mode controls The network of system carries out networking, and TFTP and ftp file transmission, normally, the BMC configured in terminal device net are carried out in network Mouthful netting twine is connected with, is found specifically for outer server admin, such as carrying out the equipment before batch remote control, i.e. end End equipment needs to connect at least two netting twines, in the case of the terminal device of hundreds and thousands of of network management system remote control, holds Easily there is the problems such as netting twine wrong plug, and it is difficult to be difficult to investigation;Again, the above-mentioned remote controlled manner based on PXE is, it is necessary to terminal The network interface card of equipment supports the firmware integrated in network interface card, that is, supports PXE BootROM, with from the network startup terminal device.
It should be noted that in the method provided compared to the remote controlled manner of prior art, the present embodiment, first, Dynamic Host Configuration Protocol server and TPTP servers need not be set in management server, not only reduce the mode for performing remote control to management The hardware requirement of server, at the same can avoid Dynamic Host Configuration Protocol server and TPTP servers participate in performing it is required during long-range control method Additional conditions;Secondly, establish the mode that FTP between the processor of terminal device and management server communicates, by BMC specifically with Ftp server is connected, and the processor of terminal device carries out FTP communications by the passage between BMC with ftp server, because This, the terminal device of long-range control method is performed in the present embodiment can only connect a netting twine, greatly reduce screen density Amount;Again, the network interface card without terminal device supports PXE BootROM, reduces the hardware requirement to terminal device network interface card.
The long-range control method that the present embodiment is provided, the processor of terminal device are hung in advance by operational management server The first ISO files being loaded on the terminal device, the IP address of management server write-in is obtained from the BMC of terminal equipment configuration With FTP service client information, so as to set up the communication between processor and the ftp server of management server, and can be from Remote profile is obtained in ftp server to perform remote control.Therefore, the long-range control method that the present embodiment provides solves In the prior art long-range control method is realized using PXE modes, it is necessary in the network management system due to performing long-range control method The remote control to terminal device could be realized including Dynamic Host Configuration Protocol server and tftp server, so as to cause to realize remote control The problem of cost is higher, it accordingly avoid and participate in performing long-range control method when institute using Dynamic Host Configuration Protocol server and TPTP servers The additional conditions needed, the hardware configuration of management server is simplified, so as to improve the applicability of long-range control method.Further Ground, for the long-range control method that this implementation provides in implementation process, terminal device can only be connected a net with management server Line, in the case of for management server remote control great amount of terminals equipment, the quantity of netting twine is greatly reduced, and more Easily the problems such as investigation netting twine failure;In addition, it is necessary to which the network interface card of terminal device supports PXE BootROM, reduce and terminal is set The hardware requirement of standby network interface card.
Embodiment two
A kind of flow chart for long-range control method that Fig. 3 is provided by the embodiment of the present invention two.As shown in figure 3, this implementation The method of example specifically includes following steps:
S210, processor load linux kernel by running the first ISO files, so as to be held by linux kernel operation This is traveled far and wide, to obtain IP address and FTP service client information from BMC, wherein, the IP address and FTP service client information are management In the BMC of server write-in terminal device, the first ISO files include linux kernel, ftp client and perform script, and this is held Traveling far and wide, this includes starting ftp client script, and FTP service client information includes IP address, authentication information and the download of ftp server Path.
It is same as the previously described embodiments, perform and the is preset in the management server for the long-range control method that the present embodiment provides One ISO files, and the first ISO files can be such as equally a SimpleOS file, specifically include linux kernel, FTP Client and perform script, wherein, linux kernel is loaded when processor runs the first ISO files, and processor By the perform script in the ISO files of load operating the first of the linux kernel, ftp client and the FTP service of above-mentioned acquisition Client information is used for so that can carry out FTP communications between the processor of terminal device and the ftp server of management server, this is held Traveling far and wide, this can for example include starting ftp client script, and terminal device can be according to the script after the first ISO files are run Perform corresponding operation.In addition, FTP service client information is the relevant information of ftp server in management server, in the present embodiment In can for example include IP address, authentication information and the download path of ftp server.In addition, the management service in the present embodiment Device gives terminal device distribution IP address, and sends the IP address and the mode of FTP service client information and be with the various embodiments described above Identical.
The present embodiment is in the specific implementation, because the first ISO files are also to be wrapped from the file of CD-ROM drive startup, perform script Startup item script is included, for setting processor to start from CD-ROM drive, is i.e. also included before the S210 of the present embodiment:Processor is got Management server is mounted to the first ISO files on the terminal device in advance, is restarted by the startup item script from CD-ROM drive at this Manage device;It should be noted that from CD-ROM drive start processor purpose be in order that obtain the first ISO files can be in terminal device Server in run.
S220, processor set IP address onto the network interface of the processor, and are connected according to the IP address of ftp server Ftp server and the processor.
As shown in figure 4, in the long-range control method provided by embodiment illustrated in fig. 3 terminal device structural representation, The processor of terminal device for example can be the processor of X86 frameworks in embodiment illustrated in fig. 4, and BMC passes through hardware and software Mode is realized, i.e. APP, i.e. BMC APP are configured with BMC, and in the present embodiment, management server is the IP of terminal device distribution Address is exactly for connecting the processor of terminal device and the ftp server of management server, is specifically distributed this by processor IP address set to the processor network interface (Eth0) on, in BMC have network interface card (Network Interface Card, letter Referred to as:NIC), for being connected with management server by its network interface (Eth0), and between the processor and BMC of terminal device It is connection, connects the processor and management server of terminal device with this, and then according to the IP address of ftp server by terminal The processor of equipment connects with managing the ftp server of system.Realize only connect a netting twine i.e. can be achieved management server and Communication between the processor and BMC of terminal device.
In the specific implementation, Microsoft Loopback Adapter (virtual can also be integrated with the first ISO files in the present embodiment Network Interface Card, referred to as:VNIC) drive;Processor and BMC connected mode are specific in terminal device Also to include before S220:Processor installs vNIC drivings to processor and BMC respectively by running the first ISO files, The network interface of processor in terminal device is connected with BMC network interface;Specifically, pass through between the BMC and processor of terminal device Bus (Peripheral Component Interconnect Express, referred to as:PCIE) connect, driven in installation vNIC Dynamic preprocessor can be communicated with BMC, and BMC virtual network port (vEch1) passes through network bridge (Bridge) and its thing Network interface (Eth0) connection is managed, is finally realized after IP address is set, terminal device can be received and dispatched by the physical internet ports of processor Data.
S230, processor send file request to ftp server according to ftp client and startup ftp client script and disappeared Breath, this document request message include the authentication information and download path of ftp server.
In the present embodiment, the first ISO files include the relevant information of ftp client, such as ftp client, startup Ftp client script, terminal device have obtained FTP service client information by SNMP interfaces and/or IPMI, and those information are terminals Facilities and administration server carries out the primary condition of FTP communications, and specifically, during the first ISO files are run, terminal is set Standby ftp client and startup ftp client script in the first ISO files sends file request message to ftp server, Including the authentication information and download path of ftp server, ftp server can be caused according to the certain terminal of certification message Whether equipment is certified, and the remote profile according to needed for specified download path obtains terminal device, and carries in sound Answer and terminal device is fed back in message.
S240, processor receive the file response message that ftp server returns, and are carried in this document response message long-range Configuration file.
S250, processor perform corresponding remote control operation according to remote profile.
In the present embodiment, after processor receives the file response message of ftp server return, therefrom get and be used for The remote profile of remote control is performed, and according to the corresponding remote control operation of the content of this document execution, such as including Remote configuration parameter, remote maintenance, remote monitoring, remote management or Remote Installation OS etc..
It should be noted that above-described embodiment only illustrates the general realization side of long-range control method provided by the invention Formula;It is connected, is located by PCIE with processor especially by the mode of band and out-of-band Unified Communication, the i.e. BMC of terminal device Reason device is driven by vNIC and communicated with BMC, is driven by vNIC in BMC and is exchanged with network bridge, and eventually through processor Physical internet ports transceiving data;The network interface (Eth0) that wherein handles needs to configure with interior IP address, needs to pacify on simultaneous processor Fill vNIC drivings.
Alternatively, the flow chart for another long-range control method that Fig. 5 is provided by the embodiment of the present invention, it is real shown in Fig. 5 Applying example can be extended on the basis of any of the above-described embodiment, and Fig. 5 on the basis of embodiment illustrated in fig. 4 to be extended Exemplified by shown, the concrete operations that embodiment illustrated in fig. 5 performs remote control are Remote Installation OS, then management service in S240 The remote profile that device is sent to terminal device is specially to start configuration file, and the startup configuration file includes OS's to be installed The title of kernel file and path, and start-up parameter, above-mentioned perform script also include making boot disk script;Then the present embodiment In the method for offer, S250 is specifically included:
S251, processor obtain startup item according to the title and path of OS to be installed kernel file from ftp server The kernel file of file and OS to be installed, wherein, the startup item file is used for the kernel text that bootstrap processor runs OS to be installed Part.
The kernel file storage of startup item file, start-up parameter and OS to be installed is arrived the terminal device by S252, processor Hard disk in.
The hard disk is arranged to boot disk by S253, processor by making boot disk script.
S254, processor pass through the startup item file, start-up parameter and the OS to be installed that are stored in the hard disk kernel text Part, restart the processor from the hard disk.
S255, processor run OS to be installed kernel file according to startup item file and start-up parameter, with from FTP service Installation file and the 2nd ISO files are obtained in device, wherein, the 2nd ISO files are the resource file for carrying out OS installations.
S256, processor perform OS long-range peace by the installation file and the 2nd ISO files of acquisition to the terminal device Dress.
It should be noted that above-mentioned installation file and startup configuration file are management server according to user in the present embodiment Setting generation, by user input installation parameter determine, i.e., user interface is also configured with management server, such as (Graphical User Interface, it can be referred to as by graphic user interface:GUI) realize and interacted with user, with Generate above-mentioned installation file and start configuration file;Specifically, the installation file be used for bootstrap processor according to installation file from The dynamic Remote Installation for performing OS, i.e. be that the on duty of no operating personnel can also voluntarily install during OS is installed; The installation file can for example include:OS to be installed partition information, default username and password, the component of installation are logged in, with And the default configuration of fire wall and network interface card.
In the present embodiment, start configuration file and specifically include the content related to obtaining kernel file, i.e., OS to be installed Kernel file title and path, and start-up parameter of the kernel file in installation process, start-up parameter be specially to obtain To after kernel file, the parameter information of the kernel file, such as the startup position including kernel file, kernel allocation proportion are run Deng.For example, for example illustrated with starting the partial content of configuration file:
title SUSE Linux Enterprise Server 11 SP3-3.0.101-0.29
root(hd0,0)
Kernel/boot/vmlinuz-3.0.101-0.29-default root=/dev/disk/by-id/scsi-
3600508e00000000082cba8bdd00c4f0e-part1
Resume=/dev/sda2 splash=silent crashkernel=256M-:128M
Instmode=dvd showopts vga=0x317
initrd/boot/initrd-3.0.101-0.29-default
In above-mentioned startup configuration file, " root " specifies kernel file to specify interior from which hard disk startup, " kernel " Core file and download path, " initrd " specify kernel file system.
Embodiment illustrated in fig. 5 specifically provides Remote Installation OS mode, it is different from other types of remote control it Be in, it is similar with the various embodiments described above by way of starting configuration file and specifically performing Remote Installation, again without Dynamic Host Configuration Protocol server and TPTP servers participate in performing remote control process, and only need to connect a netting twine, without terminal device Network interface card support PXE BootROM, therefore, there is beneficial effect same as the previously described embodiments, will not be repeated here.
Further, in the method that the various embodiments described above provide, perform script also includes acquisition of information script and IP is set Script;Above-described embodiment in the specific implementation, processor the IP of distribution is obtained with specific reference to the acquisition of information script from BMC Location and FTP service client information, and set script to set the IP address of distribution onto the processor network interface with specific reference to the IP, To establish the communication between the processor of the terminal device and the ftp server of the management server, that is, handle implement body Related operation is performed by Run Script.
Embodiment three
A kind of flow chart for long-range control method that Fig. 6 is provided by the embodiment of the present invention three.The present embodiment provides remote Process control method carries out the situation of remote control by server, this method can suitable for C/S network system to client By server, to be specifically as follows the management server in the present embodiment to perform, the management server is generally with hardware and soft The method of part is realized, as shown in fig. 6, the method for the present embodiment can include:
S310, management server are that terminal device distributes IP address.
In the present embodiment, said exemplified by the server end in equally using management server as C/S network system Bright, the management server possesses management and safeguards the ability of IP address, such as is stored with IP address pond in the management server, because This can be client, i.e., the terminal device distribution IP address in the present embodiment.
S320, management server write IP address and FTP service client information in the BMC of terminal device.
The management server for the long-range control method that the present embodiment provides is performed, is configured with ftp server, the management service The IP address and authentication information of the relevant information, i.e. FTP service client information, for example, ftp server of the ftp server known to device Deng;Therefore, management server by the IP address distributed for terminal device and known FTP service client information while can be sent to The terminal device.The various abilities that BMC is supported are introduced in above-described embodiment, the terminal device in the present embodiment equally configures There is BMC, because, by network interface connection, therefore, management service implement body will be above-mentioned between the BMC and management server of terminal device Distribution IP address and FTP service client information write-in terminal equipment configuration BMC in, so as to terminal device processor follow-up Above- mentioned information can be taken out from its BMC when performing remote control and realize remote control.
It should be noted that because BMC outband management acts on, there is transmission channel between the BMC and management server, The transmission channel can be realized by setting SNMP interfaces and/or IPMI in management server, therefore, in the present embodiment Management server can write IP address and FTP service client information by the SNMP interfaces and/or IPMI the BMC of terminal device In.
S330, management server is by the first preset ISO file mounts to terminal device, so that the processing of terminal device Device obtains IP address and FTP service client information by running the first ISO files from BMC, and passes through IP address and FTP service The communication that client information is established between ftp server, remotely match somebody with somebody so as to be obtained by the first ISO files from the ftp server File is put to perform remote control.
In the present embodiment, the first ISO files are preset in management server, similar to the above embodimentsly, this first ISO files can be equally a linux kernel system simplified, such as the first ISO files are specially a SimpleOS File, only retain in the SimpleOS files operation this document institute must linux kernel, and ftp client and subsequent execution In necessary perform script, linux kernel is loaded when processor runs the SimpleOS files, and processor passes through Perform script in the load operating SimpleOS of the linux kernel, ftp client and the FTP service client information of above-mentioned acquisition For make it that FTP communications can be carried out between the processor of terminal device and the ftp server of management server, perform script is used After SimpleOS files are run in terminal device, corresponding operation is performed according to the content of the perform script.Implementing In, the first ISO files can be that management server is mounted on terminal device by virtual media technology, the virtual media Technology is specially that the virtual media can be for example a specific APP, in pipe defined in host-host protocol (8020i SSF) The client of virtual media is provided with reason server, the service end of virtual media is provided with terminal device, by management service The service end of virtual media of the client of virtual media in device into terminal device sends carry request, by the first ISO It is mounted on terminal device, for specific carry in the memory cell of the terminal device, the memory cell for example can be similar USB Memory cell, the technologies such as default Starting mode can be used, using the memory cell as startup CD-ROM drive, the terminal device is set Processor start from CD-ROM drive, so as to which the processor of terminal device can run first ISO of the carry in its memory cell File, and management server is obtained as its distribution from the BMC of terminal equipment configuration in the operation for passing through the first ISO files IP address, and FTP service client information.
It should be noted that the method that the present embodiment provides seeks to connect the processor and management server of terminal device In be used for entity apparatus that data interaction is carried out with terminal device, i.e. ftp server.The processor of terminal device configures with it Connected between BMC by PICE, and processor can be by FTP service client information by the ftp server in management server Communicated therewith by BMC, that is, establish the communication between the processor of terminal device and management server.The processing of terminal device Device can also be obtained for performing remote control by the operation of the first ISO files from the ftp server of management server The remote profile of operation, the mode for obtaining the remote profile is namely based on the above-mentioned FTP communications established, specific logical Cross and send message and receive what the formation responded obtained, and then the remote profile obtained according to this performs remote control behaviour Make.
It should also be noted that, the method that the present embodiment provides is similar to the above embodiments, difference with the prior art exists In, first, Dynamic Host Configuration Protocol server and TPTP servers need not be set in management server, not only reduce perform remote control side Formula can avoid Dynamic Host Configuration Protocol server and TPTP servers from participating in performing remote control method the hardware requirement of management server Required additional conditions during method;Secondly, the mode that FTP between the processor of terminal device and management server communicates is established, by BMC is specifically connected with ftp server, and the processor of terminal device carries out FTP by the passage between BMC with ftp server Communication, therefore, the terminal device of long-range control method is performed in the present embodiment can only connect a netting twine, greatly reduce Netting twine quantity;Again, the network interface card without terminal device supports PXE BootROM, and reducing will to the hardware of terminal device network interface card Ask.
The long-range control method that the present embodiment is provided, management server are that terminal device distributes IP address, by the IP Location and FTP service client information are write in the BMC of terminal device simultaneously, and management server is by by the first ISO file mounts Onto terminal device so that the processor of the terminal device obtains above-mentioned IP address by running the first ISO files from BMC With FTP service client information, so as to set up the communication between processor and the ftp server of management server, and can be from Remote profile is obtained in the ftp server to perform remote control.Therefore, the long-range control method solution that the present embodiment provides Determine and long-range control method is realized using PXE modes in the prior art, in the management server due to performing long-range control method The remote control to terminal device must could be realized including Dynamic Host Configuration Protocol server and tftp server, so as to cause to realize long-range control The problem of cost of system is higher, it accordingly avoid and participate in performing long-range control method using Dynamic Host Configuration Protocol server and TPTP servers Shi Suoxu additional conditions, the hardware configuration of management server is simplified, so as to improve the applicability of long-range control method.Enter One step, for the long-range control method that this implementation provides in implementation process, terminal device can only be connected one with management server Root netting twine, in the case of for management server remote control great amount of terminals equipment, the quantity of netting twine is greatly reduced, and And the problems such as being easier investigation netting twine failure;In addition, it is necessary to which the network interface card of terminal device supports PXE BootROM, reduce to end The hardware requirement of end equipment network interface card.
Further, the first ISO files in the present embodiment can include linux kernel, ftp client and perform pin This, perform script includes starting ftp client script;FTP service client information includes the IP address of ftp server, authentication information And download path;Wherein, linux kernel is loaded when processor runs the first ISO files, and processor passes through this Perform script in the ISO files of load operating the first of linux kernel, the IP address of distribution and the IP address of ftp server are used In causing the processor of terminal device to be connected therefore with the ftp server of management server, terminal is set in the S330 of the present embodiment Standby processor obtains remote profile to perform remote control by running the first ISO files from ftp server Concrete mode can be:The processor of the ftp server receiving terminal apparatus of management server is according to ftp client and startup Ftp client script sends file request message to ftp server, and this document request message includes the certification of ftp server Information and download path;And then the ftp server of management server obtains Remote configuration text according to authentication information and download path Part, and carry and the processor is sent in file response message, so that the processor performs phase according to the remote profile The remote control operation answered.
In the specific implementation, vNIC drivings can also be integrated with the first ISO files in the present embodiment, for locate Device is managed after the first ISO files are run, the vNIC drivings are installed to the processor and BMC respectively, by the terminal device In the network interface of the processor connected with BMC network interface;Specifically, connected between the BMC and processor of terminal device by PCIE, It can be communicated in installation vNIC driving preprocessors with BMC, and BMC virtual network port (vEch1) passes through network bridge (Bridge) it is connected, finally realizes after IP address is set, terminal device can pass through processor with its physical internet ports (Eth0) Physical internet ports transceiving data.
It should be noted that because the first ISO files are also to include startup item pin from the file of CD-ROM drive startup, perform script This, for setting processor to start from CD-ROM drive, i.e. the processor of terminal device is by running the first ISO in the S330 of the present embodiment File obtains the IP address and the concrete mode of the FTP service client information from BMC:Management server is by first ISO file mounts are on terminal device, to cause the processor of the terminal device when getting the first ISO files, to pass through Startup item script restarts the processor from CD-ROM drive, and causes the first ISO files are managed in device in this place to run.
It should also be noted that, in the various embodiments described above, the processor of terminal device is according to the content of remote profile Corresponding remote control operation is performed, such as including Remote configuration parameter, remote maintenance, remote monitoring, remote management or long-range OS etc. is installed, above-described embodiment only illustrates the general implementation of long-range control method provided by the invention.
Example IV
A kind of flow chart for long-range control method that Fig. 7 is provided by the embodiment of the present invention four.Embodiment illustrated in fig. 7 performs The concrete operations of remote control are Remote Installation OS, specifically include following steps:
S410, management server are that terminal device distributes IP address.
S420, management server write IP address and FTP service client information in the BMC of terminal device.
Specifically, S410~S420 implementation is with reference to S310~S320 in embodiment three.
S430, management server generate installation file according to the setting of user and start configuration file, wherein, start configuration File includes title and the path of OS to be installed kernel file, and start-up parameter.
Installation file and startup configuration file are stored in ftp server by S440, management server.
In the present embodiment, above-mentioned installation file and startup configuration file are that management server generates according to the setting of user , the installation parameter inputted by user determines, i.e., user interface is also configured with management server, such as can pass through GUI realizations are interacted with user's, and to generate above-mentioned installation file and start configuration file, the installation file is set for guiding terminal Standby processor performs OS Remote Installation according to installation file automatically, i.e. is no operator during OS is installed The on duty of member can also voluntarily install;The installation file can for example include:OS to be installed partition information, log in default user Name and password, the component of installation, and the default configuration of fire wall and network interface card.Specifically include and obtain in addition, starting configuration file The related content of kernel file, i.e., the title of OS to be installed kernel file and path are taken, and kernel file is in installation process In start-up parameter, start-up parameter is specially to run the parameter information of the kernel file after getting kernel file, for example, including The startup position, kernel allocation proportion etc. of kernel file.Start configuration file content can with same with the above-mentioned embodiment, therefore It will not be repeated here.
It should be noted that S410~S420 and S430~S440 does not have clear and definite sequencing in the embodiment of the present invention, Embodiment illustrated in fig. 7 is specifically shown so that S410~S420 is performed before S430~S440 as an example.
S450, management server is by the first preset mirror image ISO file mounts to terminal device, so that terminal device IP address and FTP service client information are obtained when processor runs the first ISO files from BMC, so as to by the IP address and The communication that FTP service client information is established between ftp server, and the title according to OS to be installed kernel file and path Startup item file and OS to be installed kernel file are obtained from ftp server, and by startup item file, start-up parameter and waits to pacify The kernel file for filling OS is stored into the hard disk of terminal device;And make it that processor is hard by this by making boot disk script Disk is arranged to boot disk, so as to pass through the startup item file, start-up parameter and the OS to be installed that are stored in the hard disk kernel text Part, restart the processor from the hard disk, and OS to be installed kernel file is run according to startup item file and start-up parameter, and then Installation file and the 2nd ISO files are obtained from ftp server to perform the operation of OS Remote Installation, wherein, the 2nd ISO texts Part is the resource file for carrying out OS installations.It should be noted that startup item file, which is used for bootstrap processor, runs OS's to be installed Kernel file, make boot disk script and be specifically preset in the first ISO files.
Embodiment illustrated in fig. 7 specifically provides Remote Installation OS mode, it is different from other types of remote control it Be in, it is similar with the various embodiments described above by way of starting configuration file and specifically performing Remote Installation, again without Dynamic Host Configuration Protocol server and TPTP servers participate in performing remote control process, and only need to connect a netting twine, without terminal device Network interface card support PXE BootROM, therefore, there is beneficial effect same as the previously described embodiments, will not be repeated here.
Further, in the method that the various embodiments described above provide, perform script also includes acquisition of information script and IP is set Script;Specifically, acquisition of information script is used to cause processor to obtain management server from BMC according to the acquisition of information script IP address and the FTP service client information for its distribution, IP set script to be used to cause processor to set script will according to IP The IP address of distribution is set onto the processor network interface, to establish the FTP service of the processor of terminal device and management server Communication between device.
Embodiment five
A kind of structural representation for terminal device that Fig. 8 is provided by the embodiment of the present invention five.The end that the present embodiment provides End equipment is arranged in C/S network system, and the network system is set including the terminal described in management server and the present embodiment Standby, management server includes ftp server, and the terminal device 100 that the present embodiment provides includes processor 110 and BMC120, Wherein, BMC120 is connected with management server, and the processor 110 of the terminal device 100 specifically includes:Acquisition module 111, communication Module 112 and execution module 113.
Wherein, acquisition module 111, for by running the first preset ISO files, obtaining net association IP from BMC120 Location and FTP service client information;Wherein, IP address and FTP service client information are management server write-in, and the first ISO files are Management server is mounted on terminal device in advance.
In the present embodiment, said exemplified by the server end in equally using management server as C/S network system Bright, the management server possesses management and safeguards the ability of IP address, can be that terminal device 100 distributes IP address;In addition, pipe Manage the relevant information of the ftp server of its own known configuration of server, i.e. FTP service client information;Therefore, management server can By the IP address distributed for terminal device 100 and known FTP service client information while to be sent to the terminal device 100, by By network interface connection between the BMC120 of terminal device 100 and management server, therefore can be by the IP address of above-mentioned distribution Specifically write in the BMC120 of terminal device 100 with known FTP service client information, so as to the acquisition module in processor 110 111 can get the IP address of above-mentioned distribution and FTP service client information.
In the present embodiment, similar to the above embodimentsly, the first ISO files that acquisition module 111 is run equally can be with For the linux kernel a simplified system, such as the first ISO files are specially a SimpleOS file, the SimpleOS Particular content and corresponding function in file, and management server by virtual media technology by the SimpleOS file hangings The mode being downloaded on terminal device 100, it is same as the previously described embodiments, therefore will not be repeated here.
It should be noted that because BMC120 outband management acts on, have between the BMC120 and management server and pass Defeated passage;In addition, SNMP interfaces can be provided with the management server interacted with the processor 110 of terminal device 100 And/or IPMI, therefore, acquisition module 111 can obtain management by the SNMP interfaces and/or IPMI from above-mentioned transmission channel The IP address and FTP service client information that server is sent;And the transmission channel allow management server by SNMP and/or IPMI orders write character in BMC120.
Communication module 112, IP address and FTP service client information for being obtained by acquisition module 111 are established to be taken with FTP Communication between business device.
Acquisition module 111, it is additionally operable to obtain remote profile from ftp server by the first ISO files.
In the present embodiment, specifically to be connected be terminal device 100 processor 110 and management server in be used for Terminal device 100 carries out the entity apparatus of data interaction, i.e. ftp server.
Execution module 113, the remote profile for being obtained according to acquisition module 111 perform remote control.
In the prior art based on PXE technologies perform long-range control method, exist the problem of and the present embodiment provide Terminal device 100 performs the beneficial effect of long-range control method in C/S network architecture, in the above-described embodiments specifically It is bright, therefore will not be repeated here.
In the present embodiment, especially by each Implement of Function Module and BMC120 in the processor 110 of terminal device 100 Interaction, and interacted with management server in C/S network systems, i.e., above-mentioned each functional module is specifically arranged at terminal device In 100 processor 110.
Terminal device provided in an embodiment of the present invention is used to perform the remote control method that embodiment illustrated in fig. 1 of the present invention provides Method, possesses corresponding functional module, its implementing principle and technical effect is similar, and here is omitted.
Embodiment six
A kind of structural representation for terminal device that Fig. 9 is provided by the embodiment of the present invention six.As shown in figure 9, this implementation The terminal device that example provides is on the basis of terminal device structure shown in above-mentioned Fig. 8, and in the present embodiment, acquisition module 111 is used In by running the first preset ISO files, IP address and FTP service client information are obtained from BMC120, is specifically included:Pass through The first ISO files loading linux kernel is run, so as to run perform script by linux kernel, with obtaining IP from BMC Location and FTP service client information;Wherein, the first ISO files include linux kernel, ftp client and perform script, the execution Script includes starting ftp client script, and FTP service client information includes IP address, authentication information and the download road of ftp server Footpath;Correspondingly, communication module 112, set specifically for the IP address for obtaining acquisition module 111 onto the network interface of processor, And ftp server and processor 110 are connected according to the IP address of ftp server.
Similar to the above embodiments, the first ISO files that the terminal device 100 that the present embodiment provides is run equally such as may be used Think a SimpleOS file, specifically include linux kernel, ftp client and perform script, wherein, linux kernel is being located Reason device is loaded when running the first ISO files, and the ISO of load operating the first texts that processor passes through the linux kernel Perform script in part, ftp client are used to cause terminal device 100 with the FTP service client information that acquisition module 111 obtains FTP communications can be carried out between processor 110 and the ftp server of management server, the perform script can for example include opening Dynamic ftp client script, terminal device can perform corresponding operation after the first ISO files are run according to the script.
In this implementation in, above-mentioned acquisition module 111 can specifically include:Transmitting element 114 and receiving unit 115;Its In, transmitting element 114, disappear for sending file request to ftp server according to ftp client and startup ftp client script Breath, this document request message include the authentication information and download path of ftp server;Then receiving unit 115, for receiving The file response message that ftp server returns, remote profile is carried in file response message.Correspondingly, execution module 113, perform corresponding remote control operation specifically for the remote profile received according to receiving unit 115.
The present embodiment is in the specific implementation, because the first ISO files are also to include from the file of CD-ROM drive startup, perform script Startup item script, then acquisition module 111, are additionally operable to obtain IP from BMC120 by running default first ISO files at it Before address and FTP service client information, the first ISO files that management server is mounted on terminal device 100 in advance are got; Correspondingly, the processor 110 of the terminal device 100 in the present embodiment also includes:Module 116 is run, for passing through startup item pin This restarts the processor 110 from CD-ROM drive, is transported with causing the first ISO files of the acquisition of acquisition module 111 to manage in this place in device 110 OK.
Fig. 4 is refer to, is the entity structure schematic diagram of terminal device 100 in Fig. 8 of the present invention and embodiment illustrated in fig. 9, should The processor of terminal device for example can be the processor of X86 frameworks, and BMC is realized by way of hardware and software, i.e., APP, i.e. BMC APP are configured with BMC110;The performance of terminal device internal entity structure and specifically connect in the present embodiment It is similar to the above embodiments to connect mode, therefore will not be repeated here.
In the specific implementation, vNIC can also be integrated with the first ISO files that the processor 110 in the present embodiment is run Driving;Then the processor 110 of terminal device 100 also includes:Module 117 is installed, for passing through acquisition module in communication module 112 111 IP address obtained and FTP service client information are established before the communication between ftp server, by running the first ISO texts Part processor 110 and BMC120 are installed respectively the vNIC driving, by the network interface of processor 110 in terminal device 100 with BMC120 network interface connection;Specifically, connected between the BMC120 of terminal device 100 and processor 110 by Bus PC IE, Installing vNIC driving preprocessors 110 can be communicated with BMC120, and BMC120 virtual network port (vEch1) passes through Network bridge (Bridge) is connected with its physical internet ports (Eth0), is finally realized after IP address is set, terminal device 100 can lead to Cross the physical internet ports transceiving data of processor 110.
In the present embodiment, after receiving unit 115 receives the file response message of ftp server return, therefrom obtain To the remote profile for performing remote control, execution module 113 performs corresponding long-range control according to the content of this document System operation, such as including Remote configuration parameter, remote maintenance, remote monitoring, remote management or Remote Installation OS etc..
Terminal device provided in an embodiment of the present invention is used to perform the remote control method that embodiment illustrated in fig. 3 of the present invention provides Method, possesses corresponding functional module, its implementing principle and technical effect is similar, and here is omitted.
It should be noted that above-described embodiment only illustrates the general realization side of long-range control method provided by the invention Formula.Alternatively, the concrete operations that the terminal device 100 that various embodiments of the present invention provide performs remote control are Remote Installation OS, The remote profile that then acquisition module 111 obtains is specially to start configuration file, and the startup configuration file includes OS to be installed Kernel file title and path, and start-up parameter, above-mentioned perform script also include making boot disk script;Then obtain mould Block 111 is additionally operable to obtain remote profile from ftp server by the first ISO files, specifically includes:According to OS to be installed Kernel file title and path the kernel file of startup item file and OS to be installed is obtained from ftp server, wherein, open Dynamic item file is used for the kernel file that bootstrap processor runs OS to be installed.
The present embodiment is in the specific implementation, processor 110 can also include memory module, for acquisition module 111 to be obtained The startup item file, start-up parameter and the OS to be installed that take kernel file are stored into the hard disk of terminal device 100;Start and set Hard disk is arranged to boot disk by module, the making boot disk script for being obtained by acquisition module 111;Restart module, be used for By storing startup item file in a hard disk, start-up parameter and OS to be installed kernel file, from hard disk reboot process device.Phase Ying Di, module 116 is run, be additionally operable to run OS to be installed kernel file according to startup item file and start-up parameter, to cause Acquisition module 111 obtains installation file and the 2nd ISO files from ftp server, wherein, the 2nd ISO files are progress OS peaces The resource file of dress;Execution module 113, specifically for the installation file obtained by acquisition module 111 and the 2nd ISO files pair Terminal device performs OS Remote Installation.
It should be noted that above-mentioned installation file and startup configuration file are management server according to user in the present embodiment Setting generation, the installation parameter inputted by user determines, i.e., user interface is also configured in management server, such as can Interacted with being realized by GUI with user, to generate above-mentioned installation file and startup configuration file;Specifically, the installation file Perform OS Remote Installation automatically according to installation file for bootstrap processor 110, i.e. be not during OS is installed There is the on duty of operating personnel voluntarily to install;The installation file can for example include:OS to be installed partition information, log in Default username and password, the component of installation, and the default configuration of fire wall and network interface card.In addition, the startup in the present embodiment Configuration file specifically includes the content related to obtaining kernel file, i.e., the title of OS to be installed kernel file and path, with And start-up parameter of the kernel file in installation process, start-up parameter are specially after getting kernel file, run kernel text The parameter information of part, such as the startup position, kernel allocation proportion etc. including kernel file.The content for starting configuration file can be with It is same with the above-mentioned embodiment, therefore will not be repeated here.
It should also be noted that, the terminal device 100 that the present embodiment specifically provides can specifically perform Remote Installation OS, with Perform the difference of other types of remote control with by way of starting configuration file and specifically performing Remote Installation; It is similar with the various embodiments described above, in the management server interacted with terminal device 100 do not need configuration DHCP server and TPTP servers are only needed to connect a netting twine to participate in performing remote control process, and the network interface card without terminal device is supported PXE BootROM, therefore, there is beneficial effect same as the previously described embodiments, will not be repeated here.
Terminal device provided in an embodiment of the present invention is used to perform the remote control method that embodiment illustrated in fig. 5 of the present invention provides Method, possesses corresponding functional module, its implementing principle and technical effect is similar, and here is omitted.
Further, the various embodiments described above are provided in the specific implementation, the perform script in the first ISO files can also wrap Include acquisition of information script and IP sets script;Then acquisition module 111 obtains distribution with specific reference to the acquisition of information script from BMC IP address and FTP service client information, communication module 112 set script to set the IP address of distribution to should with specific reference to the IP It is logical between the processor 110 of terminal device 100 and the ftp server of management server to establish on the network interface of processor 110 Letter, i.e. processor 110 perform related operation especially by Run Script
Embodiment seven
A kind of structural representation for management server that Figure 10 is provided by the embodiment of the present invention seven.What the present embodiment provided Management server is arranged in C/S network system, and the network system includes the management server and end described in the present embodiment End equipment, the management server 200 that the present embodiment provides include ftp server 220, and terminal device includes processor and BMC, Wherein, BMC is connected with management server 200, and the management server 200 also includes:Distribute module 211, transport module 212 and extension Carry module 213.
Wherein, distribute module 211, for distributing IP address for terminal device.
Transport module 212, the IP address for FTP service client information and distribute module 211 to be distributed write terminal device BMC in.
Ftp server 220 is configured with the management server 200 that the present embodiment provides, the management server 200 is known should The IP address and authentication information of the relevant information of ftp server 220, i.e. FTP service client information, for example, ftp server 220 Deng;Therefore, management server 200 by the IP address distributed for terminal device and known FTP service client information while can be sent out Give the terminal device.
It should be noted that because BMC outband management acts on, have transmission logical between the BMC and management server 200 Road, the transmission channel, therefore, this implementation can be realized by setting SNMP interfaces and/or IPMI in management server 200 The management server 200 provided in example can be write IP address and FTP service client information by the SNMP interfaces and/or IPMI In the BMC of terminal device.
Carry module 213, for by the first preset ISO file mounts to terminal device, so that the place of terminal device Reason device obtains IP address and FTP service client information by running the first ISO files from BMC, and passes through IP address and FTP service The communication that client information is established between ftp server, remotely match somebody with somebody so as to be obtained by the first ISO files from ftp server 220 File is put to perform remote control.
In the present embodiment, similar to the above embodimentsly, the first ISO files preset in management server 200 are same Can be a linux kernel system simplified, such as the first ISO files are specially a SimpleOS file, should Particular content and corresponding function in SimpleOS files, and management server 200 should by virtual media technology Mode in SimpleOS file mounts to terminal device, it is same as the previously described embodiments, therefore will not be repeated here.
It should be noted that specifically to be connected be terminal device processor and management server 200 in be used for and end End equipment carries out the entity apparatus of data interaction, i.e. ftp server 220.In addition, performed in the prior art based on PXE technologies The management server 200 that long-range control method, the problem of existing and the present embodiment provide performs long-range in C/S network architecture The beneficial effect of control method, has been illustrated in the above-described embodiments, therefore will not be repeated here.
In the present embodiment, especially by whole in each Implement of Function Module in management server 200 and C/S network systems The interaction of end equipment, i.e., above-mentioned each functional module are specifically arranged in management server 200.
Management server provided in an embodiment of the present invention is used to perform the remote control that embodiment illustrated in fig. 6 of the present invention provides Method, possesses corresponding functional module, its implementing principle and technical effect is similar, and here is omitted.
Further, the structural representation for another management server that Figure 11 is provided by the embodiment of the present invention, such as scheme Shown in 11, the management server that the present embodiment provides is on the basis of management server structure shown in above-mentioned Figure 10, in this implementation In example, the first ISO files specifically include linux kernel, ftp client and perform script, and the perform script includes starting FTP visitors Family end script;FTP service client information includes IP address, authentication information and the download path of ftp server;Wherein, the IP of distribution The IP address of address and ftp server is used to the processor of terminal device is connected with the ftp server.Correspondingly, Figure 11 In the management server 200 that illustrated embodiment provides, ftp server 220 can include:Receiving module 221, for being taken in management Be engaged in device 200 carry module 213 by the first preset ISO file mounts to terminal device so that the processor of terminal device After establishing the communication between ftp server by IP address and FTP service client information, reception processing device is according to FTP client End and startup ftp client script send file request message to ftp server 220, and file request message includes FTP service The authentication information and download path of device 220;Acquisition module 222, for the authentication information received according to receiving module 221 and download Path obtains remote profile;Sending module 223, the remote profile for acquisition module 222 to be obtained are carried in text Processor is sent in part response message, so that processor performs corresponding remote control operation according to remote profile.
In the specific implementation, vNIC drivings can also be integrated with the first ISO files in the present embodiment, for locate Device is managed after the first ISO files are run, the vNIC drivings are installed to the processor and BMC respectively, by the terminal device In the network interface of the processor connected with BMC network interface;Specifically, connected between the BMC and processor of terminal device by PCIE, It can be communicated in installation vNIC driving preprocessors with BMC, and BMC virtual network port (vEch1) passes through network bridge (Bridge) it is connected, finally realizes after IP address is set, terminal device can pass through processor with its physical internet ports (Eth0) Physical internet ports transceiving data.
It should be noted that because the first ISO files in the present embodiment are the file that starts from CD-ROM drive, then perform script Startup item script can also be included, for setting processor to start from CD-ROM drive, i.e., the carry module 213 in the present embodiment is used for will The first preset ISO file mounts on terminal device so that the processor of terminal device by run the first ISO files from IP address and FTP service client information are obtained in BMC, is specifically included:By in the first ISO file mounts to terminal device, to cause The processor of terminal device is when getting the first ISO files, by startup item script from CD-ROM drive reboot process device, and causes the One ISO files are run within a processor.
It should also be noted that, in the various embodiments described above, the processor of terminal device is according to the content of remote profile Corresponding remote control operation is performed, such as including Remote configuration parameter, remote maintenance, remote monitoring, remote management or long-range OS etc. is installed, above-described embodiment only illustrates the general implementation of long-range control method provided by the invention.
Embodiment eight
A kind of structural representation for management server that Figure 12 is provided by the embodiment of the present invention eight.As shown in figure 12, originally The management server that embodiment provides is on the basis of management server structure shown in above-mentioned Figure 11, pipe that the present embodiment is provided It is Remote Installation OS to manage server 200 and perform the concrete operations of remote control, and therefore, terminal device is from the management server 200 Ftp server 220 in obtain remote profile be specially to start configuration file, the startup configuration file includes OS to be installed Kernel file title and path, and start-up parameter, the perform script in the first ISO files also include making boot disk pin This.Correspondingly, also include in the management server 200 that the present embodiment provides:Generation module 214, for the setting according to user Generate installation file and start configuration file;Memory module 215, for the installation file for generating generation module 214 and startup Configuration file is stored in ftp server 220;Then carry module 213 is used to set the first preset ISO file mounts to terminal It is standby upper, to cause the processor of terminal device to obtain remote profile from ftp server 220 by the first ISO files, tool Body includes:By in the first preset ISO file mounts to terminal device, to cause the processor of terminal device according to OS to be installed Kernel file title and path startup item file and OS to be installed kernel file are obtained from ftp server 220, its In, startup item file is used for bootstrap processor and runs OS to be installed kernel file, and by startup item file, start-up parameter and treats The kernel file for installing OS is stored into the hard disk of terminal device;And cause processor will be hard by making boot disk script Disk is arranged to boot disk, so as to by storing startup item file in a hard disk, start-up parameter and OS to be installed kernel file, Taken from hard disk reboot process device, and according to the kernel file of startup item file and start-up parameter operation OS to be installed, and then from FTP Installation file and the 2nd ISO files are obtained in business device 220 to perform the operation of OS Remote Installation, wherein, the 2nd ISO files be into The resource file of row OS installations.
In the specific implementation, the installation file and startup configuration file that generation module 214 generates are management server 200 Generated according to the setting of user, the installation parameter inputted by user determines, i.e., can be configured with user in management server 200 Operation interface, such as can be realized by GUI and be interacted with user, to generate above-mentioned installation file and start configuration file, this Installation file performs OS Remote Installation for the processor of guiding terminal equipment automatically according to installation file, i.e. in installation OS During, it is that the on duty of no operating personnel can also voluntarily install;The installation file can for example include:OS to be installed Partition information, log in default username and password, the component of installation, and the default configuration of fire wall and network interface card.In addition, this Startup configuration file in embodiment specifically includes the content related to obtaining kernel file, i.e., OS to be installed kernel file Title and path, and start-up parameter of the kernel file in installation process, after start-up parameter specially gets kernel file, Run the parameter information of the kernel file, such as the startup position, kernel allocation proportion etc. including kernel file.Start configuration text The content of part can be with same with the above-mentioned embodiment, therefore will not be repeated here.
The management server 200 that embodiment illustrated in fig. 12 is provided is when performing Remote Installation OS, with performing other types Remote control difference with by way of starting configuration file and specifically performing Remote Installation;With above-mentioned each implementation Example is similar, and configuration DHCP server and TPTP servers are not needed in the management server 200 that the present embodiment provides to participate in Remote control process is performed, and only needs to connect a netting twine, the network interface card without terminal device supports PXE BootROM, therefore, With beneficial effect same as the previously described embodiments, will not be repeated here.
Management server provided in an embodiment of the present invention is used to perform the remote control that embodiment illustrated in fig. 7 of the present invention provides Method, possesses corresponding functional module, its implementing principle and technical effect is similar, and here is omitted.
Further, the various embodiments described above are in the specific implementation, the perform script in the first ISO files can also include letter Breath obtains script and IP sets script;Specifically, acquisition of information script be used for cause processor according to the acquisition of information script from IP address and the FTP service client information of the distribute module 211 for its distribution are obtained in BMC, IP sets script to be used to cause place Reason device is set onto the processor network interface according to the IP IP address for setting script to distribute distribute module 211, is set with establishing terminal Communication between standby processor and the ftp server 220 of management server 200.
Embodiment nine
A kind of structural representation for terminal device that Figure 13 is provided by the embodiment of the present invention nine.The end that the present embodiment provides End equipment is arranged in C/S network system, and the network system includes the terminal described in management server and the present embodiment Equipment, management server include ftp server, and the terminal device 300 that the present embodiment provides includes the specific He of processor 310 BMC320, wherein, BMC320 is connected with management server.
In the terminal device 300 that the present embodiment provides, especially by interacting for processor 310 and BMC320, and and C/S The interaction of management server in network system, perform long-range control method, i.e. the processor 310 that the present embodiment provides can be real Function performed by the various functions module for the processor 110 that existing the various embodiments described above provide is general to perform in the present invention The long-range control method that each embodiment provides is stated, its implementing principle and technical effect is similar, and here is omitted.
It should be noted that the concrete structure for the terminal device 300 that the present embodiment provides may be referred to the terminal shown in Fig. 4 Equipment, processor 310 and BMC320 connected mode are identical with terminal device shown in Fig. 4;In addition, the terminal that this implementation provides is set Remote control operation performed by standby 300, such as Remote configuration parameter, remote maintenance, remote monitoring, remote management can be included Or Remote Installation OS etc..Specific implementation when it performs Remote Installation OS equally may be referred to specific in above-mentioned implementation Implementation.
Embodiment ten
A kind of structural representation for management server that Figure 14 is provided by the embodiment of the present invention ten.What the present embodiment provided Management server 400 is arranged in C/S network system, and the network system includes the management server described in the present embodiment 400 and terminal device, the management server 400 that the present embodiment provides includes ftp server 410, and terminal device includes handling Device and BMC, wherein, BMC is connected with management server 400, and the management server 400 also includes:First processor 420 and first Transmitter 430.
Wherein, first processor 420, for distributing IP address for terminal device.
First transmitter 430, the IP address for FTP service client information and first processor 420 to be distributed write terminal In the BMC of equipment.
Ftp server 410 is configured with the management server 400 that the present embodiment provides, the management server 400 is known should The IP address and authentication information of the relevant information of ftp server 410, i.e. FTP service client information, for example, ftp server 410 Deng;Therefore, management server 400 by the IP address distributed for terminal device and known FTP service client information while can be sent out Give the terminal device.
It should be noted that because BMC outband management acts on, have transmission logical between the BMC and management server 400 Road, the transmission channel, therefore, this implementation can be realized by setting SNMP interfaces and/or IPMI in management server 400 The management server 400 provided in example can be write IP address and FTP service client information by the SNMP interfaces and/or IPMI In the BMC of terminal device.
First processor 420, it is additionally operable in the first preset mirror image ISO file mounts to terminal device, so that terminal The processor of equipment obtains IP address and FTP service client information by running the first ISO files from BMC, and passes through IP address FTP service client information establish and ftp server between communication, so as to by the first ISO files from ftp server 410 Remote profile is obtained to perform remote control.
In the present embodiment, similar to the above embodimentsly, the first ISO files preset in management server 400 are same Can be a linux kernel system simplified, such as the first ISO files are specially a SimpleOS file, should Particular content and corresponding function in SimpleOS files, and management server 400 should by virtual media technology Mode in SimpleOS file mounts to terminal device, it is same as the previously described embodiments, therefore will not be repeated here.
It should be noted that specifically to be connected be terminal device processor and management server 400 in be used for and end End equipment carries out the entity apparatus of data interaction, i.e. ftp server 410.In addition, performed in the prior art based on PXE technologies The management server 400 that long-range control method, the problem of existing and the present embodiment provide performs long-range in C/S network architecture The beneficial effect of control method, has been illustrated in the above-described embodiments, therefore will not be repeated here.
In the present embodiment, especially by whole in each entity apparatus realization in management server 400 and C/S network systems The interaction of end equipment, i.e., above-mentioned each entity apparatus are specifically arranged in management server 400.
Management server provided in an embodiment of the present invention is used to perform the remote control that embodiment illustrated in fig. 6 of the present invention provides Method, possesses corresponding entity apparatus, its implementing principle and technical effect is similar, and here is omitted.
Further, the structural representation for another management server that Figure 15 is provided by the embodiment of the present invention, such as scheme Shown in 15, the management server that the present embodiment provides is on the basis of management server structure shown in above-mentioned Figure 14, in this implementation In example, the first ISO files specifically include linux kernel, ftp client and perform script, and the perform script includes starting FTP visitors Family end script;FTP service client information includes IP address, authentication information and the download path of ftp server;Wherein, the IP of distribution The IP address of address and ftp server is used to the processor of terminal device is connected with the ftp server.Correspondingly, Figure 15 In the management server 400 that illustrated embodiment provides, ftp server 410 can include:Receiver 411, in the first processing Device 420 is by the first preset ISO file mounts to terminal device, so that the processor of terminal device passes through IP address and FTP Service client information to establish after the communication between ftp server, the processor of receiving terminal apparatus according to ftp client and opens Dynamic ftp client script sends file request message to ftp server, and file request message includes the certification of ftp server Information and download path;Second processor 412, authentication information and download path for being received according to receiver 411 obtain remote Journey configuration file;Second transmitter 413, the remote profile for second processor 412 to be obtained carries to be responded in file The processor of terminal device is sent in message, so that the processor of terminal device is corresponding remote according to remote profile execution Process control operates.
In the specific implementation, vNIC drivings can also be integrated with the first ISO files in the present embodiment, for causing end The processor of end equipment installs the vNIC drivings to its own and BMC respectively after the first ISO files are run, should The network interface of processor in terminal device connects with BMC network interface.
It should be noted that because the first ISO files in the present embodiment are the file that starts from CD-ROM drive, then perform script Startup item script can also be included, for setting the processor of terminal device to start from CD-ROM drive, i.e., at first in the present embodiment Manage device 420 to be used for the first preset ISO file mounts to terminal device, so that the processor of terminal device passes through operation the One ISO files obtain IP address and FTP service client information from BMC, specifically include:First ISO file mounts are set to terminal It is standby upper, to cause the processor of terminal device when getting the first ISO files, by startup item script from CD-ROM drive reboot process Device, and the first ISO files are run within a processor.
It should also be noted that, in the various embodiments described above, the processor of terminal device is according to the content of remote profile Corresponding remote control operation is performed, such as including Remote configuration parameter, remote maintenance, remote monitoring, remote management or long-range OS etc. is installed, above-described embodiment only illustrates the general implementation of long-range control method provided by the invention.
Alternatively, the concrete operations that the present embodiment is provided management server 400 performs remote control for example can be Remote Installation OS, therefore, it is specific that terminal device obtains remote profile from the ftp server 410 of the management server 400 To start configuration file, the startup configuration file includes title and the path of OS to be installed kernel file, and start-up parameter, Perform script in first ISO files also includes making boot disk script.Correspondingly, the management server that the present embodiment provides In 400, the management server 400 that the present embodiment provides also includes memory;Management server 400 is provided in this implementation to perform far Journey installation OS concrete mode be:First processor 420, it is additionally operable to generate installation file according to the setting of user and start to configure File;Memory is used for the installation file for generating first processor 420 and startup configuration file is stored in ftp server; Then first processor 420 is used for the first preset ISO file mounts to terminal device, to cause the processor of terminal device Remote profile is obtained from ftp server 410 by the first ISO files, specifically included:By the first preset mirror image ISO File mount is on terminal device, to cause title and path of the processor of terminal device according to OS to be installed kernel file Startup item file and OS to be installed kernel file are obtained from ftp server 410, wherein, startup item file is used to guide end The processor of end equipment runs OS to be installed kernel file, and by the kernel of startup item file, start-up parameter and OS to be installed File is stored into the hard disk of terminal device;And cause the processor of terminal device by making boot disk script by hard disk Boot disk is arranged to, so as to by storing startup item file in a hard disk, start-up parameter and OS to be installed kernel file, from Hard disk restarts the processor of terminal device, and OS to be installed kernel file is run according to startup item file and start-up parameter, enters And installation file and the 2nd ISO files are obtained from ftp server 410 to perform the operation of OS Remote Installation, wherein, second ISO files are the resource file for carrying out OS installations.
In the specific implementation, the installation file and startup configuration file that first processor 420 generates are management server 400 Generated according to the setting of user, the installation parameter inputted by user determines, i.e., can be configured with using in management server 400 Family operation interface, such as can be realized by GUI and be interacted with user, to generate above-mentioned installation file and startup configuration file, The installation file performs OS Remote Installation for the processor of guiding terminal equipment automatically according to installation file, i.e. is installing It is that the on duty of no operating personnel can also voluntarily install during OS;The installation file can for example include:It is to be installed OS partition information, log in default username and password, the component of installation, and the default configuration of fire wall and network interface card.In addition, Startup configuration file in the present embodiment specifically includes the content related to obtaining kernel file, i.e., OS to be installed kernel file Title and path, and start-up parameter of the kernel file in installation process, start-up parameter be specially to get kernel file Afterwards, the parameter information of the kernel file, such as the startup position, kernel allocation proportion etc. including kernel file are run.Startup is matched somebody with somebody The content for putting file can be with same with the above-mentioned embodiment, therefore will not be repeated here.
The management server 400 that the present embodiment provides is when performing Remote Installation OS, with performing other types of long-range control The difference of system with by way of starting configuration file and specifically performing Remote Installation;It is similar with the various embodiments described above, Configuration DHCP server and TPTP servers is not needed to participate in performing long-range control in the management server 400 that the present embodiment provides Process processed, and only need connect a netting twine, without terminal device network interface card support PXE BootROM, therefore, have with it is above-mentioned Embodiment identical beneficial effect, will not be repeated here.
Management server provided in an embodiment of the present invention is used to perform the remote control that embodiment illustrated in fig. 7 of the present invention provides Method, possesses corresponding entity apparatus, its implementing principle and technical effect is similar, and here is omitted.
Further, the various embodiments described above are in the specific implementation, the perform script in the first ISO files can also include letter Breath obtains script and IP sets script;Specifically, acquisition of information script be used for cause processor according to the acquisition of information script from IP address and the FTP service client information of the first processor 420 for its distribution are obtained in BMC, IP sets script to be used to cause The processor of terminal device sets script to set the IP address of acquisition onto the processor network interface according to IP, is set with establishing terminal Communication between standby processor and the ftp server 410 of management server 400.
Embodiment 12
A kind of structural representation for tele-control system that Figure 16 is provided by the embodiment of the present invention 12.The present embodiment carries The tele-control system of confession specifically includes the He of management server 510 applied in C/S network architecture in the tele-control system Terminal device 520, ftp server 511 is integrated with the management server 510, for carrying out FTP communications with terminal device 520, Terminal device 520 includes processor 521 and BMC522, wherein, BMC522 is connected with management server 510.
The management server 510 that the present embodiment provides can be the management server described in any of the above-described embodiment, eventually End equipment 520 can be the terminal device described in any of the above-described embodiment, wherein, management server 510 and terminal device 520 The specific implementation of long-range control method is performed, its implementing principle and technical effect is similar similar to the above embodiments, therefore It will not be repeated here.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (27)

  1. A kind of 1. long-range control method, it is characterised in that applied in client and server C/S network system, the net Network system includes management server and terminal device, and the management server includes FTP ftp server, described Terminal device includes processor and baseboard management controller BMC, and the BMC is connected with the management server, methods described bag Include:
    The processor obtains net association's IP address and FTP clothes by running the first preset mirror image ISO files from the BMC Business client information;Wherein, the IP address and the FTP service client information write for the management server, the first ISO File is that the management server is mounted on the terminal device in advance;
    The communication that the processor is established between the ftp server by the IP address and the FTP service client information, And remote profile is obtained to perform remote control from the ftp server by the first ISO files.
  2. 2. according to the method for claim 1, it is characterised in that the first ISO files include linux kernel, FTP client End and perform script, wherein, the perform script includes starting ftp client script;The FTP service client information includes described IP address, authentication information and the download path of ftp server;Then the processor is by running preset the first mirror image ISO texts Part, net association's IP address and FTP service client information are obtained from the BMC, including:
    The processor loads the linux kernel by running the first ISO files, so as to pass through the linux kernel The perform script is run, to obtain the IP address and the FTP service client information from the BMC;
    Then the processor is established logical between the ftp server by the IP address and the FTP service client information Letter, and remote profile is obtained to perform remote control from the ftp server by the first ISO files, including:
    The processor sets the IP address on the network interface of the processor, and according to the IP of the ftp server Location connects the ftp server and the processor;
    The processor sends file according to the ftp client and the startup ftp client script to the ftp server Request message, the file request message include the authentication information and download path of the ftp server;
    The processor receives the file response message that ftp server returns, and carries in the file response message and remotely matches somebody with somebody Put file;
    The terminal device performs corresponding remote control operation according to the remote profile.
  3. 3. according to the method for claim 2, it is characterised in that the first ISO files also include Microsoft Loopback Adapter vNIC and driven It is dynamic;The communication that then processor is established between the ftp server by the IP address and the FTP service client information Before, in addition to:
    The processor installs the vNIC drives to the processor and the BMC respectively by running the first ISO files It is dynamic, the network interface of processor described in the terminal device is connected with the network interface of the BMC.
  4. 4. according to the method in claim 2 or 3, it is characterised in that the perform script also includes startup item script;Then institute Processor is stated by running default first mirror image ISO files, net association's IP address and FTP service end letter are obtained from the BMC Before breath, in addition to:
    The processor gets the first ISO files that the management server is mounted on the terminal device in advance, passes through The startup item script restarts the processor from CD-ROM drive, to cause the first ISO files to be run in the processor.
  5. 5. according to the method in claim 2 or 3, it is characterised in that the remote profile is to start configuration file, institute The title for starting kernel file of the configuration file including OS to be installed and path, and start-up parameter are stated, the perform script is also Including making boot disk script;Then the processor obtains remote profile from the ftp server of the management server To perform remote control, including:
    The processor obtains startup according to the title and path of the kernel file of the OS to be installed from the ftp server The kernel file of item file and the OS to be installed, wherein, the startup item file is used to guide described in the processor operation OS to be installed kernel file;
    The processor is by the kernel file storage of the startup item file, the start-up parameter and the OS to be installed described in In the hard disk of terminal device;
    The hard disk is arranged to boot disk by the processor by the making boot disk script;
    The processor by the startup item file, start-up parameter and the OS to be installed that are stored in the hard disk kernel file, Restart the processor from the hard disk;
    The processor runs the kernel file of the OS to be installed according to the startup item file and the start-up parameter, with from Installation file and the 2nd ISO files are obtained in the ftp server, wherein, the 2nd ISO files are the money for carrying out OS installations Source file;
    The processor performs the remote of OS by the installation file and the 2nd ISO files of acquisition to the terminal device Journey is installed.
  6. 6. according to the method for claim 5, it is characterised in that the installation file and it is described startup configuration file be described Management server generates according to the setting of user, and the installation file is used to guide the processor according to the installation file The automatic Remote Installation for performing OS;Wherein, the installation file includes:OS to be installed partition information, log in default username With password, the component of installation, and the default configuration of fire wall and network interface card;And/or
    Start-up parameter specifically includes the start bit of the kernel file to run the parameter of the kernel file of the OS to be installed Put, kernel allocation proportion.
  7. 7. according to method according to any one of claims 1 to 3, it is characterised in that the IP address and the FTP service end Information passes through the Simple Network Management Protocol SNMP interfaces and/or intelligent platform management interface that configure by the management server IPMI is write in the BMC of the terminal device.
  8. A kind of 8. long-range control method, it is characterised in that applied in client and server C/S network system, the net Network system includes management server and terminal device, and the management server includes FTP ftp server, described Terminal device includes processor and baseboard management controller BMC, and the BMC is connected with the management server, methods described bag Include:
    Management server is terminal device distribution net association IP address;
    The management server writes the IP address and FTP service client information in the BMC of terminal device;
    The management server is by the first preset mirror image ISO file mounts to the terminal device, so that the terminal is set By running, the first ISO files obtain the IP address to standby processor from the BMC and the FTP service end is believed Breath, and the communication established by the IP address and the FTP service client information between the ftp server, so as to pass through The first ISO files obtain remote profile to perform remote control from the ftp server.
  9. 9. according to the method for claim 8, it is characterised in that the first ISO files include linux kernel, FTP client End and perform script, the perform script include starting ftp client script;The FTP service client information takes including the FTP IP address, authentication information and the download path of business device;Wherein, the IP address of the distribution and the IP address of the ftp server For causing the processor to connect the ftp server and the processor;
    Then the management server is by the first preset mirror image ISO file mounts to the terminal device, so that the terminal The processor of equipment obtains remote profile to perform long-range control by the first ISO files from the ftp server System, including:
    The management server receives the processor according to the ftp client and the ftp client script that starts to institute State ftp server and send file request message, the file request message includes the authentication information of the ftp server with Carry path;
    The ftp server of the management server obtains the Remote configuration text according to the authentication information and the download path Part, and carry and described processor is sent in file response message, so that the processor is according to Remote configuration text Part performs corresponding remote control operation.
  10. 10. according to the method for claim 9, it is characterised in that the perform script also includes startup item script;It is then described Management server is by the first preset mirror image ISO file mounts to the terminal device, so that the processing of the terminal device Device obtains the IP address and the FTP service client information by running the first ISO files from the BMC, including:
    The management server is by the first ISO file mounts to the terminal device, to cause the terminal device Processor restarts the processor when getting the first ISO files, by the startup item script from CD-ROM drive, and causes The first ISO files are run in the processor.
  11. 11. the method according to claim 9 or 10, it is characterised in that the remote profile is startup configuration file, Start title and the path of kernel file of the configuration file including OS to be installed, and start-up parameter, the perform script are also wrapped Include and make boot disk script;Then methods described also includes:
    The management server generates installation file and the startup configuration file according to the setting of user, wherein, the installation File is used for the Remote Installation for guiding the processor to perform OS automatically according to the installation file;
    The installation file and the startup configuration file are stored in the ftp server by the management server;
    Then the management server is by the first preset mirror image ISO file mounts to the terminal device, to cause the end The processor of end equipment obtains remote profile by the first ISO files from the ftp server, including:
    The management server is by the first preset mirror image ISO file mounts to the terminal device, to cause the terminal The processor of equipment obtains startup item according to the title and path of the kernel file of the OS to be installed from the ftp server The kernel file of file and the OS to be installed, wherein, the startup item file is used to guide to be treated described in the processor operation OS kernel file is installed, and the kernel file of the startup item file, the start-up parameter and the OS to be installed is deposited In the hard disk for storing up the terminal device;And the processor is set the hard disk by the making boot disk script Boot disk is set to, so as to by the startup item file, start-up parameter and the OS to be installed that are stored in the hard disk kernel file, Restart the processor from the hard disk, and run the OS's to be installed according to the startup item file and the start-up parameter Kernel file, and then the installation file and the 2nd ISO files are obtained to perform OS Remote Installation from the ftp server Operation, wherein, the 2nd ISO files are the resource file for carrying out OS installations.
  12. 12. according to the method for claim 11, it is characterised in that the installation file includes:OS to be installed subregion letter Cease, log in default username and password, the component of installation, and the default configuration of fire wall and network interface card;And/or
    The start-up parameter specifically includes the startup of the kernel file to run the parameter of the kernel file of the OS to be installed Position, kernel allocation proportion.
  13. 13. the method according to any one of claim 8~10, it is characterised in that be configured with the management server Simple Network Management Protocol SNMP interfaces and/or intelligent platform management interface IPMI;Then the management server is by the IP In the BMC of address and FTP service client information write-in terminal device, including:
    The management server believes the IP address and the FTP service end especially by the SNMP interfaces and/or IPMI Breath is write in the BMC of the terminal device.
  14. 14. a kind of terminal device, it is characterised in that be arranged in client and server C/S network system, the network system System includes management server and the terminal device, and the management server includes FTP ftp server, described Terminal device includes processor and baseboard management controller BMC, and the BMC is connected with the management server, and the terminal is set Standby processor includes:
    Acquisition module, for by running the first preset mirror image ISO files, net association's IP address and FTP to be obtained from the BMC Service client information;Wherein, the IP address and the FTP service client information write for the management server, and described first ISO files are that the management server is mounted on the terminal device in advance;
    Communication module, IP address and FTP service client information for being obtained by the acquisition module are established and the FTP service Communication between device;
    The acquisition module, it is additionally operable to obtain remote profile from the ftp server by the first ISO files;
    Execution module, the remote profile for being obtained according to the acquisition module perform remote control.
  15. 15. terminal device according to claim 14, it is characterised in that the first ISO files include linux kernel, Ftp client and perform script, wherein, the perform script includes starting ftp client script;The FTP service client information IP address, authentication information and download path including the ftp server;Then the acquisition module is used for by running described the One mirror image ISO files, the IP address and the FTP service client information are obtained from the BMC, is specifically included:Pass through operation The first ISO files load the linux kernel, so as to run the perform script by the linux kernel, with from institute State and the IP address and the FTP service client information are obtained in BMC;
    The then communication module, the network interface to the processor is set specifically for the IP address for obtaining the acquisition module On, and the ftp server and the processor are connected according to the IP address of the ftp server;
    The acquisition module includes:Transmitting element and receiving unit;
    Wherein, the transmitting element, for being taken according to the ftp client and the startup ftp client script to the FTP Business device sends file request message, and the file request message includes the authentication information and download path of the ftp server;
    The receiving unit, for receiving the file response message of ftp server return, carried in the file response message Remote profile;
    The execution module, corresponding remote control is performed specifically for the remote profile received according to the receiving unit Operation.
  16. 16. terminal device according to claim 15, it is characterised in that the first ISO files also include Microsoft Loopback Adapter VNIC drives;Then the processor also includes:Module is installed, for what is obtained in the communication module by the acquisition module IP address and FTP service client information are established before the communication between the ftp server, by running the first ISO texts Part is installed the vNIC to the processor and the BMC respectively and driven, by the network interface of processor described in the terminal device Connected with the network interface of the BMC.
  17. 17. the terminal device according to claim 15 or 16, it is characterised in that the perform script also includes startup item pin This;The then acquisition module, it is additionally operable at it by running default first mirror image ISO files, net association is obtained from the BMC Before IP address and FTP service client information, the management server is mounted on the terminal device in advance first is got ISO files;
    Then the processor also includes:Module is run, for restarting the processor from CD-ROM drive by the startup item script, with So that the first ISO files that the acquisition module obtains are run in the processor.
  18. 18. the terminal device according to claim 15 or 16, it is characterised in that the remote profile configures to start File, the title for starting kernel file of the configuration file including OS to be installed and path, and start-up parameter, the execution Script also includes making boot disk script;
    Then acquisition module is additionally operable to obtain remote profile from the ftp server by the first ISO files, specifically Including:Obtained according to the title of the kernel file of the OS to be installed and path from the ftp server startup item file and The kernel file of the OS to be installed, wherein, the startup item file is used to guide the processor to run the OS to be installed Kernel file;
    The processor also includes:Memory module, for the acquisition module is obtained startup item file, start-up parameter and treat The kernel file for installing OS is stored into the hard disk of the terminal device;
    Start setup module, the hard disk is arranged to start by the making boot disk script for being obtained by the acquisition module Disk;
    Restart module, the kernel text for the startup item file by being stored in the hard disk, start-up parameter and OS to be installed Part, restart the processor from the hard disk;
    The operation module, it is additionally operable to run the kernel of the OS to be installed according to the startup item file and the start-up parameter File, to cause the acquisition module to obtain installation file and the 2nd ISO files from the ftp server, wherein, described Two ISO files are the resource file for carrying out OS installations;
    The execution module, specifically for the installation file and the 2nd ISO files that are obtained by the acquisition module to the end End equipment performs OS Remote Installation.
  19. 19. terminal device according to claim 18, it is characterised in that the installation file and the startup configuration file Generated for the management server according to the setting of user, the installation file is used to guide the processor according to the peace Dress file performs OS Remote Installation automatically;Wherein, the installation file includes:OS to be installed partition information, log in acquiescence Username and password, the component of installation, and the default configuration of fire wall and network interface card;And/or
    Start-up parameter specifically includes the start bit of the kernel file to run the parameter of the kernel file of the OS to be installed Put, kernel allocation proportion.
  20. 20. the terminal device according to any one of claim 14~16, it is characterised in that the IP address and described FTP service client information passes through the Simple Network Management Protocol SNMP interfaces that configure and/or intelligent flat by the management server Platform management interface IPMI is write in the BMC of the terminal device.
  21. 21. a kind of management server, it is characterised in that be arranged in client and server C/S network system, the network System includes the management server and terminal device, and the management server includes FTP ftp server, institute Stating terminal device includes processor and baseboard management controller BMC, and the BMC is connected with the management server, the management Server also includes:
    Distribute module, for distributing net association IP address for the terminal device;
    Transport module, for the IP address of FTP service client information and distribute module distribution to be write to the BMC of terminal device In;
    Carry module, for by the first preset mirror image ISO file mounts to the terminal device, so that the terminal device Processor the IP address and the FTP service client information are obtained from the BMC by running the first ISO files, And the communication established by the IP address and the FTP service client information between the ftp server, so as to by described First ISO files obtain remote profile to perform remote control from the ftp server.
  22. 22. management server according to claim 21, it is characterised in that the first ISO files are included in Linux Core, ftp client and perform script, the perform script include starting ftp client script;The FTP service client information bag Include IP address, authentication information and the download path of the ftp server;Wherein, the IP address of the distribution and the FTP service The IP address of device is used to cause the processor to connect the ftp server and the processor;
    Then the ftp server of the management server includes:Receiving module, will for the carry module in the management server The first preset mirror image ISO file mounts are on the terminal device, so that the processor of the terminal device passes through the IP Address and the FTP service client information are established after the communication between the ftp server, receive the processor according to institute State ftp client and the startup ftp client script sends file request message to the ftp server, the file please Message is asked to include the authentication information and download path of the ftp server;
    Acquisition module, the Remote configuration is obtained for the authentication information received according to the receiving module and the download path File;
    Sending module, the remote profile for the acquisition module to be obtained carries is sent to institute in file response message The processor stated, so that the processor performs corresponding remote control operation according to the remote profile.
  23. 23. management server according to claim 22, it is characterised in that the perform script also includes startup item pin This;Then the carry module is used for the first preset mirror image ISO file mounts to the terminal device, so that the terminal By running, the first ISO files obtain the IP address to the processor of equipment from the BMC and the FTP service end is believed Breath, is specifically included:By in the first ISO file mounts to the terminal device, to cause the processor of the terminal device When getting the first ISO files, the processor is restarted from CD-ROM drive by the startup item script, and causes described the One ISO files are run in the processor.
  24. 24. the management server according to claim 22 or 23, it is characterised in that the remote profile is matched somebody with somebody for startup File is put, starts title and the path of kernel file of the configuration file including OS to be installed, and start-up parameter, the execution pin This also includes making boot disk script;
    Then the management server also includes:Generation module, for generating installation file and the startup according to the setting of user Configuration file, wherein, the installation file is used to guide the processor to perform the long-range of OS automatically according to the installation file Installation;
    Memory module, the FTP is stored in for the installation file for generating the generation module and the startup configuration file In server;
    Then the carry module is used for the first preset mirror image ISO file mounts to the terminal device, described to cause The processor of terminal device obtains remote profile by the first ISO files from the ftp server, specific bag Include:By in the first preset mirror image ISO file mounts to the terminal device, with cause the processor of the terminal device according to The title of the kernel file of the OS to be installed and path obtain startup item file and described to be installed from the ftp server OS kernel file, wherein, the startup item file is used for the kernel file for guiding the processor to run the OS to be installed, And the terminal device is arrived into the kernel file storage of the startup item file, the start-up parameter and the OS to be installed In hard disk;And cause the processor that the hard disk is arranged into boot disk by the making boot disk script, so as to logical The startup item file being stored in the hard disk, start-up parameter and OS to be installed kernel file are crossed, restarts institute from the hard disk Processor is stated, and the kernel file of the OS to be installed, Jin Ercong are run according to the startup item file and the start-up parameter The installation file and the 2nd ISO files are obtained in the ftp server to perform the operation of OS Remote Installation, wherein, it is described 2nd ISO files are the resource file for carrying out OS installations.
  25. 25. management server according to claim 24, it is characterised in that the installation file includes:OS's to be installed Partition information, log in default username and password, the component of installation, and the default configuration of fire wall and network interface card;And/or
    The start-up parameter specifically includes the startup of the kernel file to run the parameter of the kernel file of the OS to be installed Position, kernel allocation proportion.
  26. 26. the management server according to any one of claim 21~23, it is characterised in that in the management server It is configured with Simple Network Management Protocol SNMP interfaces and/or intelligent platform management interface IPMI;The then transport module, specifically For the IP address that the FTP service client information and the distribute module distribute to be write by the SNMP interfaces and/or IPMI In the BMC for entering the terminal device.
  27. A kind of 27. remote controllers system, it is characterised in that including:Terminal as any one of claim 14~20 Equipment, and the management server as any one of claim 21~26;Wherein, the terminal device includes processor It is connected with baseboard management controller BMC, the BMC with the management server.
CN201510016462.7A 2015-01-13 2015-01-13 Long-range control method, terminal device, management server and tele-control system Active CN104580475B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510016462.7A CN104580475B (en) 2015-01-13 2015-01-13 Long-range control method, terminal device, management server and tele-control system
PCT/CN2016/070394 WO2016112825A1 (en) 2015-01-13 2016-01-07 Remote control method, terminal device, management server, and remote control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510016462.7A CN104580475B (en) 2015-01-13 2015-01-13 Long-range control method, terminal device, management server and tele-control system

Publications (2)

Publication Number Publication Date
CN104580475A CN104580475A (en) 2015-04-29
CN104580475B true CN104580475B (en) 2018-03-09

Family

ID=53095632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510016462.7A Active CN104580475B (en) 2015-01-13 2015-01-13 Long-range control method, terminal device, management server and tele-control system

Country Status (2)

Country Link
CN (1) CN104580475B (en)
WO (1) WO2016112825A1 (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580475B (en) * 2015-01-13 2018-03-09 华为技术有限公司 Long-range control method, terminal device, management server and tele-control system
CN105049259A (en) * 2015-08-20 2015-11-11 北京星网锐捷网络技术有限公司 Network equipment, and server, system and method used for network equipment
CN106909362B (en) * 2015-12-23 2020-10-27 研祥智能科技股份有限公司 Method and device for generating BMC (baseboard management controller) firmware and method and device for starting BMC system
CN105871848A (en) * 2016-04-01 2016-08-17 浪潮电子信息产业股份有限公司 Remote data management method and device
CN106027299B (en) * 2016-05-20 2019-11-15 盛趣信息技术(上海)有限公司 FTP client FTP automatic installation method and system, unattended equipment room
CN106301914B (en) * 2016-08-16 2019-10-25 上海斐讯数据通信技术有限公司 A kind of configuration data method
CN106484460A (en) * 2016-09-13 2017-03-08 郑州云海信息技术有限公司 The installation method of large-scale storage cluster system in a kind of
CN106657444B (en) * 2017-02-24 2019-09-24 郑州云海信息技术有限公司 A kind of method and device for the IP address configuring BMC
CN107479888A (en) * 2017-08-11 2017-12-15 携程旅游信息技术(上海)有限公司 Operating system mirror image deployment services device method, system, equipment and storage medium
US11703910B2 (en) * 2017-09-08 2023-07-18 Realtek Semiconductor Corporation Docking station, electrical device, and method for configuring basic input output system
CN107832167B (en) * 2017-11-30 2021-04-13 郑州云海信息技术有限公司 Recovery method and system for boot failure caused by BMC (baseboard management controller) fault
CN108134827A (en) * 2017-12-20 2018-06-08 联想(北京)有限公司 A kind of long-range control method and electronic equipment
CN108519887A (en) * 2018-04-02 2018-09-11 青岛宇硕云联信息科技有限公司 A large amount of linux servers method for rapidly mounting, device, computer readable storage medium and terminal device
CN109240753A (en) * 2018-09-28 2019-01-18 联想(北京)有限公司 A kind of data processing method, system and electronic equipment
CN109471665B (en) * 2018-10-31 2022-01-11 湖南国科微电子股份有限公司 Method for automatically installing Windows operating system
CN109561088A (en) * 2018-11-29 2019-04-02 山东超越数控电子股份有限公司 A kind of network isolation system and equipment
CN109683818B (en) * 2018-12-17 2022-09-23 联想(北京)有限公司 Data storage method, device and storage medium
CN109840096B (en) * 2019-01-02 2023-02-07 新华三信息技术有限公司 Installation method and device of operating system
CN110545308A (en) * 2019-08-05 2019-12-06 无锡华云数据技术服务有限公司 Server connection method, resource downloading method, device, electronic equipment and medium
CN112416439B (en) * 2019-08-20 2024-03-05 广州弘度信息科技有限公司 Remote restarting system of server and control method thereof
CN111026723B (en) * 2019-11-21 2023-08-11 望海康信(北京)科技股份公司 Big data cluster management control method and device, computer equipment and storage medium
CN112835592A (en) * 2019-11-25 2021-05-25 厦门网宿有限公司 Equipment reinstallation method and system, console, server and electronic equipment
CN110971689B (en) * 2019-11-29 2022-10-11 广州市百果园信息技术有限公司 System installation method, device, system, equipment and storage medium
CN111309333B (en) * 2020-02-13 2023-08-08 超越科技股份有限公司 Structure for remotely operating BMC through SMC and implementation method thereof
CN111459507B (en) * 2020-03-20 2022-08-12 苏州浪潮智能科技有限公司 Linux OS filling method and device based on hard disk drive name
CN112882759A (en) * 2021-02-10 2021-06-01 联想(北京)有限公司 Control method and device and electronic equipment
CN113741989A (en) * 2021-09-03 2021-12-03 杭州安恒信息技术股份有限公司 Operating system batch installation method and device, computer equipment and storage medium
CN114443148B (en) * 2021-12-16 2024-04-02 宝德计算机系统股份有限公司 Method for centrally managing server starting disk and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420326A (en) * 2008-12-02 2009-04-29 华为技术有限公司 Method, system and apparatus for implementing failure restoration and data backup
CN102664904A (en) * 2012-05-16 2012-09-12 东南大学 Hidden file transfer service positioning method in passive mode
CN103530148A (en) * 2013-09-18 2014-01-22 国云科技股份有限公司 Distribution method for large-scale Linux software package
CN103902321A (en) * 2012-12-28 2014-07-02 鸿富锦精密工业(深圳)有限公司 Host installation system and method
CN103905566A (en) * 2014-04-22 2014-07-02 浪潮电子信息产业股份有限公司 Server starting information remote checking and leading-out method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056205A (en) * 2007-04-04 2007-10-17 杭州华为三康技术有限公司 A management method, system and device based on ATCA architecture-based server
KR101535153B1 (en) * 2008-11-27 2015-07-08 에스케이커뮤니케이션즈 주식회사 Method and system for automatically installing operating system, and media that can record computer program sources thereof
CN102316003A (en) * 2010-06-30 2012-01-11 鸿富锦精密工业(深圳)有限公司 Router and method for remotely starting operating system by router
US9385918B2 (en) * 2012-04-30 2016-07-05 Cisco Technology, Inc. System and method for secure provisioning of virtualized images in a network environment
CN102999345B (en) * 2012-12-06 2016-03-30 华为技术有限公司 The method, apparatus and system that a kind of operating system loads
CN104580475B (en) * 2015-01-13 2018-03-09 华为技术有限公司 Long-range control method, terminal device, management server and tele-control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420326A (en) * 2008-12-02 2009-04-29 华为技术有限公司 Method, system and apparatus for implementing failure restoration and data backup
CN102664904A (en) * 2012-05-16 2012-09-12 东南大学 Hidden file transfer service positioning method in passive mode
CN103902321A (en) * 2012-12-28 2014-07-02 鸿富锦精密工业(深圳)有限公司 Host installation system and method
CN103530148A (en) * 2013-09-18 2014-01-22 国云科技股份有限公司 Distribution method for large-scale Linux software package
CN103905566A (en) * 2014-04-22 2014-07-02 浪潮电子信息产业股份有限公司 Server starting information remote checking and leading-out method

Also Published As

Publication number Publication date
WO2016112825A1 (en) 2016-07-21
CN104580475A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104580475B (en) Long-range control method, terminal device, management server and tele-control system
EP2904739B1 (en) Discovering, validating, and configuring hardware-inventory components
US9872205B2 (en) Method and system for sideband communication architecture for supporting manageability over wireless LAN (WLAN)
US7818559B2 (en) Boot negotiation among multiple boot-capable devices
CN104221325A (en) System and method for secure provisioning of virtualized images in network environment
CN102541606B (en) Collocation method and the device of BIOS is remotely managed based on UEFI
US20110276625A1 (en) Method and system for host independent keyboard, video, and mouse (kvm) redirection
US8321617B1 (en) Method and apparatus of server I/O migration management
CN107391193A (en) A kind of client, the system and method for configuration server
EP3198792B1 (en) Automated standalone bootstrapping of hardware inventory
CN109587005A (en) Connecting detection method, apparatus, computer equipment and readable storage medium storing program for executing
CN107066287A (en) The method and system of ESXI virtual machine automatic deployment installation systems
US7379983B2 (en) Merging scalable nodes into single-partition merged system using service processors of nodes
US10846113B1 (en) Board management controller firmware virtualization
US9983867B2 (en) Software image provisioning and charging system
CN111198696A (en) OpenStack large-scale deployment method and system based on bare computer server
CN108052449B (en) Operating system running state detection method and device
CN111638961A (en) Resource scheduling system and method, computer system, and storage medium
CN114968477A (en) Container heat transfer method and container heat transfer device
CN109756359A (en) The method and remote server and network system of auto-initiation network equipment
CN107247596A (en) Starting-up method, device and electronic equipment
EP2810174A1 (en) Establishing connectivity of modular nodes in a pre-boot environment
US20140229602A1 (en) Management of node membership in a distributed system
EP4040740A1 (en) Setting device, communication system, setting method, and program
CN107659621A (en) A kind of RAID control cards collocation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant