CN107341036A - A kind of method and apparatus of Remote Installation node operating system - Google Patents

A kind of method and apparatus of Remote Installation node operating system Download PDF

Info

Publication number
CN107341036A
CN107341036A CN201710574936.9A CN201710574936A CN107341036A CN 107341036 A CN107341036 A CN 107341036A CN 201710574936 A CN201710574936 A CN 201710574936A CN 107341036 A CN107341036 A CN 107341036A
Authority
CN
China
Prior art keywords
bmc
installation
node
image file
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710574936.9A
Other languages
Chinese (zh)
Inventor
王晓通
张凯顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710574936.9A priority Critical patent/CN107341036A/en
Publication of CN107341036A publication Critical patent/CN107341036A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/64Retargetable
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of method and apparatus of Remote Installation node operating system, wherein, methods described includes:Establish the connection serviced with the baseboard management controller BMC of node;The image file for needing operating system to be mounted is sent to the installation service of the BMC;Serviced by the installation of the BMC and the image file is redirected to CD-ROM drive;It is the node installation operating system by the CD-ROM drive.

Description

A kind of method and apparatus of Remote Installation node operating system
Technical field
The present invention relates to Teledata Traffic Technology, espespecially a kind of method and apparatus of Remote Installation node operating system.
Background technology
With the arrival of cloud computing era, the use of virtual machine is more and more frequent.Due to the establishment of virtual machine, using, return It is more convenient to receive relative physical machine, miscellaneous virtual machine version is numerous and confused to be occurred to meet the needs of different user, but empty The establishment of plan machine is built upon on the basis of physical machine, this management just to physical machine particularly server bring it is higher will Ask, e.g., how batch for multiple server installation operation systems, how for server installation operation system when not shadow Ring existing data network structure.
At present, for high-volume server installation operation system, conventional mode is based on Pre-boot Execution Environment The mode of (preboot execute environment, PXE) carries out the installation of operating system.Need installation operation system Server (equivalent to client) to DHCP (Dynamic Host Configuration Protocol, DHCP) server sends a request for IP;After Dynamic Host Configuration Protocol server receives the request, return to DHCP to client and respond, institute Stating response includes:The IP address of client, preset gateway and start image file;After client receives start image file, Machine is started according to the start image file.
It is existing that operating system is carried out based on Pre-boot Execution Environment (preboot execute environment, PXE) The mode of installation need to rely on more service, especially DHCP service, can so upset the network struction of data center, and And data center is only used for installation operation system it is not desirable that cloud management platform individually creates a Dynamic Host Configuration Protocol server.
Therefore, if DHCP service can be saved in server installation operation system, the batch of server will necessarily be improved Management effect.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of method and dress of Remote Installation node operating system Put, DHCP service can be saved in server installation operation system.
In order to reach the object of the invention, the invention provides a kind of method of Remote Installation node operating system, the side Method includes:
Establish the connection serviced with the baseboard management controller BMC of node;
The image file for needing operating system to be mounted is sent to the installation service of the BMC;
Serviced by the installation of the BMC and the image file is redirected to CD-ROM drive;
It is the node installation operating system by the CD-ROM drive.
Optionally, the connection that the BMC of the foundation and node is serviced includes:
The connection serviced with the BMC of node is established by socket.
Optionally, the installation service that the image file for needing operating system to be mounted is sent to the BMC, bag Include:
The image file is sent to the installation service of the BMC by the socket by way of file stream.
Optionally, serviced by the installation of the BMC and the image file is redirected to CD-ROM drive, including:
Serial SOL characteristics on IPMI IPMI local network LAN are used by the installation service of the BMC, The image file for being directed to node serial port is resend by LAN, the image file is redirected to the light of distal end Drive serial port.
In addition, present invention also offers a kind of device of Remote Installation node operating system, described device includes:
Communication module, for establishing the connection serviced with the baseboard management controller BMC of node, and it will need to be mounted The image file of operating system is sent to the installation service of the BMC;
BMC module, the image file is redirected to CD-ROM drive for being serviced by the installation of the BMC;And pass through The CD-ROM drive is the node installation operating system.
Optionally, the communication module, for establishing the connection serviced with the BMC of node, including:
The connection serviced with the BMC of node is established by socket.
Optionally, the communication module, for the image file for needing operating system to be mounted to be sent into the BMC's Installation service, including:
The image file is sent to the installation service of the BMC by the socket by way of file stream.
Optionally, the BMC module, the image file is redirected to light for being serviced by the installation of the BMC Drive, including:
Serial SOL characteristics on IPMI IPMI local network LAN are used by the installation service of the BMC, The image file for being directed to node serial port is resend by LAN, the image file is redirected to the light of distal end Drive serial port.
Compared with prior art, the present invention includes establishing the connection serviced with the baseboard management controller BMC of node;Need to The image file of operating system to be mounted is sent to the installation service of the BMC;Serviced by the installation of the BMC the mirror As file redirection to CD-ROM drive;It is the node installation operating system by the CD-ROM drive.The present invention is taken using the BMC of node Business, machine is started by distal end CD-ROM drive, compared with the prior art, independent of DHCP service;Needing to operate batch node installation During system, the network struction of existing data center, install convenient are not influenceed.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this The embodiment of application is used to explain technical scheme together, does not form the limitation to technical solution of the present invention.
Fig. 1 is the method flow diagram of Remote Installation node operating system of the embodiment of the present invention;
Fig. 2 is the structure drawing of device of Remote Installation node operating system of the embodiment of the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
Can be in the computer system of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of Perform.Also, although logical order is shown in flow charts, in some cases, can be with suitable different from herein Sequence performs shown or described step.
IPMI (Intelligent Platform Management Interface, IPMI) is one The hardware management interface specification of kind open standard, defines the ad hoc approach that embedded management subsystem is communicated.IPMI believes Breath (is located at the hardware of IPMI specifications by baseboard management controller (Baseboard Management Controller, BMC) On component) exchanged.
At work, all IPMI functions are all to send commands to complete to BMC, and BMC is received and in system event Event message is recorded in daily record.When needing remote access system, serial (Serial Over on IPMI LAN can be used LAN, SOL) characteristic.SOL passes through IPMI session redirections local serial line interface, it is allowed to remotely accesses Windows emergency Console (EMS), or special management console (SAC) are managed, or accesses LINUX serial consoles.
Fig. 1 is the method flow diagram of Remote Installation node operating system of the embodiment of the present invention.
As shown in figure 1, methods described includes:
S101 establishes the connection serviced with the baseboard management controller BMC of node;
Optionally, step S101 includes:The connection serviced with the BMC of node is established by socket;
The image file for needing operating system to be mounted is sent to the installation service of the BMC by S102;
When establishing the connection serviced with the BMC of node by socket, optionally, step S102 includes:By socket The image file is sent to the installation service of the BMC by way of file stream;
The form of the image file includes:ISO、BIN、IMG、TAO、DAO、CIF、FCD;
S103 is serviced by the installation of the BMC and the image file is redirected to CD-ROM drive;
Optionally, step S103 includes:IPMI IPMI local is used by the installation service of the BMC Serial SOL characteristics on LAN are netted, the image file for being directed to node serial port are resend by LAN, by the mirror image CD-ROM drive serial port of the file redirection to distal end;
S104 is the node installation operating system by the CD-ROM drive.
Optionally, by setting installation of the node from the i.e. achievable operating system of CD-ROM drive startup;
Node type described in above-described embodiment includes:Server, client.
The embodiment of the present invention is serviced using the BMC of node, is started machine by distal end CD-ROM drive, compared with the prior art, is disobeyed Rely DHCP service;When needing to batch node installation operating system, the network struction of existing data center is not influenceed, is installed It is convenient.
Fig. 2 is the structure drawing of device of Remote Installation node operating system of the embodiment of the present invention.
As shown in Fig. 2 described device includes:
Communication module, for establishing the connection serviced with the baseboard management controller BMC of node, and it will need to be mounted The image file of operating system is sent to the installation service of the BMC;
The form of the image file includes:ISO、BIN、IMG、TAO、DAO、CIF、FCD;
BMC module, the image file is redirected to CD-ROM drive for being serviced by the installation of the BMC;And pass through The CD-ROM drive is the node installation operating system.
Optionally, the communication module, for establishing the connection serviced with the BMC of node, including:
The connection serviced with the BMC of node is established by socket.
Optionally, the communication module, for the image file for needing operating system to be mounted to be sent into the BMC's Installation service, including:
The image file is sent to the installation service of the BMC by the socket by way of file stream.
Optionally, the BMC module, the image file is redirected to light for being serviced by the installation of the BMC Drive, including:
Serial SOL characteristics on IPMI IPMI local network LAN are used by the installation service of the BMC, The image file for being directed to node serial port is resend by LAN, the image file is redirected to the light of distal end Drive serial port.
Node type described in above-described embodiment includes:Server, client.
The embodiment of the present invention is serviced using the BMC of node, is started machine by distal end CD-ROM drive, compared with the prior art, is disobeyed Rely DHCP service;When needing to batch node installation operating system, the network struction of existing data center is not influenceed, is installed It is convenient.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (8)

  1. A kind of 1. method of Remote Installation node operating system, it is characterised in that including:
    Establish the connection serviced with the baseboard management controller BMC of node;
    The image file for needing operating system to be mounted is sent to the installation service of the BMC;
    Serviced by the installation of the BMC and the image file is redirected to CD-ROM drive;
    It is the node installation operating system by the CD-ROM drive.
  2. 2. according to the method for claim 1, it is characterised in that the connection that the BMC of the foundation and node is serviced includes:
    The connection serviced with the BMC of node is established by socket.
  3. 3. according to the method for claim 2, it is characterised in that described to send out the image file for needing operating system to be mounted The installation service of the BMC is given, including:
    The image file is sent to the installation service of the BMC by the socket by way of file stream.
  4. 4. according to the method for claim 1, it is characterised in that serviced by the installation of the BMC the image file weight CD-ROM drive is directed to, including:
    By the installation service of the BMC using serial SOL characteristics on IPMI IPMI local network LAN, pass through LAN resends the image file for being directed to node serial port, and the image file is redirected to the CD-ROM drive string of distal end Row port.
  5. 5. a kind of device of Remote Installation node operating system, it is characterised in that described device includes:
    Communication module, for establishing the connection serviced with the baseboard management controller BMC of node, and operation to be mounted will be needed The image file of system is sent to the installation service of the BMC;
    BMC module, the image file is redirected to CD-ROM drive for being serviced by the installation of the BMC;And by described CD-ROM drive is the node installation operating system.
  6. 6. device according to claim 5, it is characterised in that the communication module, serviced for establishing with the BMC of node Connection, including:
    The connection serviced with the BMC of node is established by socket.
  7. 7. device according to claim 6, it is characterised in that the communication module, for operation system to be mounted will to be needed The image file of system is sent to the installation service of the BMC, including:
    The image file is sent to the installation service of the BMC by the socket by way of file stream.
  8. 8. device according to claim 5, it is characterised in that the BMC module, for being taken by the installation of the BMC The image file is redirected to CD-ROM drive by business, including:
    By the installation service of the BMC using serial SOL characteristics on IPMI IPMI local network LAN, pass through LAN resends the image file for being directed to node serial port, and the image file is redirected to the CD-ROM drive string of distal end Row port.
CN201710574936.9A 2017-07-14 2017-07-14 A kind of method and apparatus of Remote Installation node operating system Pending CN107341036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710574936.9A CN107341036A (en) 2017-07-14 2017-07-14 A kind of method and apparatus of Remote Installation node operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710574936.9A CN107341036A (en) 2017-07-14 2017-07-14 A kind of method and apparatus of Remote Installation node operating system

Publications (1)

Publication Number Publication Date
CN107341036A true CN107341036A (en) 2017-11-10

Family

ID=60219152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710574936.9A Pending CN107341036A (en) 2017-07-14 2017-07-14 A kind of method and apparatus of Remote Installation node operating system

Country Status (1)

Country Link
CN (1) CN107341036A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427196A (en) * 2019-07-26 2019-11-08 新华三技术有限公司成都分公司 The installation method and device of operating system OS
CN110471809A (en) * 2019-07-31 2019-11-19 深圳中电长城信息安全系统有限公司 A kind of method and test device of test
CN110519391A (en) * 2019-09-05 2019-11-29 曙光信息产业(北京)有限公司 Document transmission method, device and readable storage medium storing program for executing

Citations (4)

* 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
CN103365667A (en) * 2012-03-26 2013-10-23 国际商业机器公司 Method and device for installing operating system in host system
CN105791362A (en) * 2014-12-24 2016-07-20 联想(北京)有限公司 Server operating system deployment method and server
CN106325944A (en) * 2016-08-26 2017-01-11 浪潮电子信息产业股份有限公司 Method for mounting and installing system by using KVM

Patent Citations (4)

* 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
CN103365667A (en) * 2012-03-26 2013-10-23 国际商业机器公司 Method and device for installing operating system in host system
CN105791362A (en) * 2014-12-24 2016-07-20 联想(北京)有限公司 Server operating system deployment method and server
CN106325944A (en) * 2016-08-26 2017-01-11 浪潮电子信息产业股份有限公司 Method for mounting and installing system by using KVM

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘海涛: "《Delphi 5.0因特网与数据库程序设计》", 30 August 2001 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427196A (en) * 2019-07-26 2019-11-08 新华三技术有限公司成都分公司 The installation method and device of operating system OS
CN110427196B (en) * 2019-07-26 2022-03-25 新华三技术有限公司成都分公司 Installation method and device of Operating System (OS)
CN110471809A (en) * 2019-07-31 2019-11-19 深圳中电长城信息安全系统有限公司 A kind of method and test device of test
CN110519391A (en) * 2019-09-05 2019-11-29 曙光信息产业(北京)有限公司 Document transmission method, device and readable storage medium storing program for executing

Similar Documents

Publication Publication Date Title
WO2016155394A1 (en) Method and device for establishing link between virtual network functions
US8572288B2 (en) Single logical network interface for advanced load balancing and fail-over functionality
CN104301321B (en) A kind of method and system for realizing distributed network security protection
JP5618886B2 (en) Network system, computer distribution apparatus, and computer distribution method
US10361970B2 (en) Automated instantiation of wireless virtual private networks
WO2015096737A1 (en) Method, apparatus and system for controlling auto-provisioning of network device
JP2014535228A (en) Port setting method, routing device, and computer program product
CN107800743B (en) Cloud desktop system, cloud management system and related equipment
US9883010B2 (en) Method, apparatus, device and system for generating DHCP snooping binding table
WO2016184317A1 (en) Method, device and system for allocating ap
CN101895587B (en) Prevent the methods, devices and systems of users from modifying IP addresses privately
WO2017114363A1 (en) Packet processing method, bng and bng cluster system
CN107341036A (en) A kind of method and apparatus of Remote Installation node operating system
JP2002368763A (en) Network system, server unit and client unit, and method and program for providing network ip address
CN102255903A (en) Safety isolation method for virtual network and physical network of cloud computing
CN109600292B (en) Method and system for LAC router to initiate L2TP tunnel connection by self dialing number
CN110716787A (en) Container address setting method, apparatus, and computer-readable storage medium
CN106101297B (en) A kind of message answer method and device
CN105979202B (en) Data transmission method and device
CN103747115B (en) Virtual machine IP address based on Microsoft Loopback Adapter finds method
CA2470804A1 (en) Architecture for emulating an ethernet network interface card
CN107547403B (en) Message forwarding method, message assistance device, controller and host
WO2017000443A1 (en) Method for managing dedicated line user, broadband access server and management server
JP2018510538A (en) Network sharing method and apparatus
CN103401954B (en) The implementation method of virtual DHCP

Legal Events

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

Application publication date: 20171110

RJ01 Rejection of invention patent application after publication