CN108388449A - A kind of method of data center's update linux system trawl performance - Google Patents

A kind of method of data center's update linux system trawl performance Download PDF

Info

Publication number
CN108388449A
CN108388449A CN201810026655.4A CN201810026655A CN108388449A CN 108388449 A CN108388449 A CN 108388449A CN 201810026655 A CN201810026655 A CN 201810026655A CN 108388449 A CN108388449 A CN 108388449A
Authority
CN
China
Prior art keywords
trawl performance
initrd
data center
server node
update
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
CN201810026655.4A
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 CN201810026655.4A priority Critical patent/CN108388449A/en
Publication of CN108388449A publication Critical patent/CN108388449A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The present invention discloses a kind of method of data center's update linux system trawl performance, is related to driving more frontier;Before data center utilizes the filling OS of pxe, advance with the driving of the server node update network interface card of existing operating system, and extract trawl performance file, to not updating the server node of trawl performance, extract the original initrd.image files in the corresponding OS mirror images of pxe, newer trawl performance file in advance is replicated and is compiled into the original initrd.image files, required new initrd.image files are generated, the trawl performance update for not updating the server node of trawl performance is completed;Solved the problems, such as using the method for the present invention the upper server trawl performance without deployment OS of the pxe server that occur under the scene of the needs such as data center and server provider batch deployment OS, can not filling OS, can be promoted and applied with potentiality.

Description

A kind of method of data center's update linux system trawl performance
Technical field
The present invention discloses a kind of method of update trawl performance, is related to driving more frontier, specifically a kind of data The method that center updates linux system trawl performance.
Background technology
Linux pxe installation systems be server data centers system O&M in relatively common technology because it is former Reason be by the filling OS of real-time performance, so the trawl performance in system image whether matched with hardware configuration need it is true in advance Recognize.And more and more network interface cards enter server field at present, inevitably will appear the shape for not having certain trawl performances under standard OS Condition needs the driving problems for first solving network interface card at this time if disposing OS using pxe modes.The present invention provides a kind of data center Update the method for linux system trawl performance:Before data center utilizes the filling OS of pxe, the clothes of existing operating system are advanced with The driving of business device node updates network interface card, and trawl performance file is extracted, to not updating the server node of trawl performance, extract Newer trawl performance file in advance is replicated and is compiled by the original initrd.image files in the corresponding OS mirror images of pxe In the original initrd.image files, required new initrd.image files are generated, completion does not update network interface card drive The trawl performance of dynamic server node updates.The needs such as data center and server provider are solved using the method for the present invention Under the scene of batch deployment OS the pxe server that occur it is upper without dispose OS server trawl performance, can not filling OS ask There are topic potentiality can promote and apply.
PXE :Preboot execute environment, Pre-boot Execution Environment are a kind of deployment services device systems Method, the exploitation developed by Intel Company works in the network mode of Client/Server, work station supported to pass through network Image is downloaded from far-end server, and is thus supported through network startup operating system, in start-up course, demanding terminal service Device distributes IP address, then with TFTP (trivial file transfer protocol) or MTFTP (multicast Trivial file transfer protocol) agreement download one start software package to local memory in execute, by this Start software package and completes the setting of terminal basic software, the terminal operating system being pre-installed in guiding in server.PXE can To guide several operation systems.
Invention content
The present invention is directed to the demand and shortcoming of current technology development, provides a kind of data center's update linux system The method of trawl performance.
A kind of method of data center's update linux system trawl performance, before data center utilizes the filling OS of pxe, in advance The driving of network interface card is updated using the server node of existing operating system, and extracts trawl performance file, is driven to not updating network interface card Dynamic server node extracts the original initrd.image files in the corresponding OS mirror images of pxe, will drive newer network interface card in advance Dynamic file is replicated and is compiled into the original initrd.image files, and required new initrd.image texts are generated Part completes the trawl performance update for not updating the server node of trawl performance.
In the method, data center updates the driving of network interface card on the server node for having operating system, and carries The trawl performance file taken is ixgbe.ko files.
The method the specific steps are:
In data center, the driving of network interface card is updated on the server node for having (SuSE) Linux OS, and in/intel/ Ixgbe.ko files are extracted under ixgbe/ catalogues,
To not updating the server node of trawl performance, the original initrd.image files in the corresponding OS mirror images of extraction pxe,
The ixgbe.ko files of extraction are replicated and are compiled into the original initrd.image files, generated required New initrd.image files complete the trawl performance update for not updating the server node of trawl performance.
A kind of data center updating linux system trawl performance using pxe, before data center utilizes the filling OS of pxe, in advance The driving of network interface card is updated first with the server node of existing operating system, and extracts trawl performance file, to not updating network interface card The server node of driving extracts the original initrd.image files in the corresponding OS mirror images of pxe, will advance newer network interface card Driving file is replicated and is compiled into the original initrd.image files, and required new initrd.image texts are generated Part completes the trawl performance update for not updating the server node of trawl performance.
The data center updates the driving of network interface card, and the network interface card extracted on the server node for having operating system It is ixgbe.ko files to drive file.
The present invention has an advantageous effect in that compared with prior art:
The present invention provides a kind of method of data center's update linux system trawl performance:Data center utilizes the filling OS of pxe Before, the driving of the server node update network interface card of existing operating system is advanced with, and extract trawl performance file, to not updating The server node of trawl performance extracts the original initrd.image files in the corresponding OS mirror images of pxe, will be newer in advance Trawl performance file is replicated and is compiled into the original initrd.image files, is generated required new Initrd.image files complete the trawl performance update for not updating the server node of trawl performance;Utilize the method for the present invention It solves on the pxe server occurred under the scene of the needs batch deployment OS such as data center and server provider without deployment The server trawl performance of OS, can not filling OS the problem of, have potentiality can promote and apply.
Description of the drawings
Fig. 1 the method for the present invention flow diagrams.
Specific implementation mode
The present invention provides a kind of method of data center's update linux system trawl performance:Data center is filling using pxe Before OS, the driving of the server node update network interface card of existing operating system is advanced with, and extracts trawl performance file, to not more The server node of new trawl performance extracts the original initrd.image files in the corresponding OS mirror images of pxe, will update in advance Trawl performance file replicate and be compiled into the original initrd.image files, generate required new Initrd.image files complete the trawl performance update for not updating the server node of trawl performance.
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, to this hair Bright further description.
It is specifically walked using the method for the present invention for the intel PHY cards driving of network interface card with operating system redhat7u OS Suddenly it is:
In the data center, by ixgbe-x.x.tar.gz nets on the server node for having redhat7u OS operating systems Card driving installation update is completed, and/lib/modules/`uname-r`/updates/dirvers/net/Ethernet/ Ixgbe.ko files are extracted under intel/ixgbe/ catalogues,
To not updating the server node of trawl performance, the original initrd.image files in the corresponding OS mirror images of extraction pxe, Main code is as follows:
The installation compiling of ixgbe-x.x.tar.gz trawl performances:
#tar zxvf ixgbe-4.3.15.tar.gz
#cd ixgbe-4.3.15/src
#make ; make install
Get Initrd.img from ISO
#mount -o loop rhel-server-7.2-x86_64-dvd.iso /mnt/
#mkdir /tmp/work
#cp /mnt/isolinux/initrd.img/tmp/work/
Extract initrd.img
#cd /tmp/work/
#mkdir initrd-new
(file initrd.img can check that this file is xz formats to #mv initrd.img initrd.img.xz, need to change It is decompressed after format)
#xz -d initrd.img.xz –decompress
#cd initrd-new
#cpio -ivdum < ../initrd.img
The ixgbe.ko files of extraction are replicated and are compiled into the original initrd.image files, generated required New initrd.image files complete the trawl performance update for not updating the server node of trawl performance, and main code is such as Under:
Copy Required Driver
#cp -r /lib/modules/`uname -r`/updates/ /tmp/work/initrd-new/lib/modules/ `uname -r`/
Update driver information from modules.* to initrd.img modules.* files.
#cd /lib/modules/`uname -r`/
#egrep ‘ixgbe’ modules.symbols >> /tmp/work/initrd-new/lib/modules/`uname -r`/modules.symbols\
#egrep ‘ixgbe’ modules.alias >> /tmp/work/initrd-new/lib/modules/`uname - r`/modules.alias
# egrep ‘ixgbe’ modules.dep >> /tmp/work/initrd-new/lib/modules/`uname -r `/modules.dep
Generate modules.*.bin files inside initrd.img
#chroot /tmp/work/initrd-new
#depmod -a –v
#exit
Generate updated initrd.img
#cd /tmp/work/initrd-new
#find . -print |cpio -o -H newc | xz --format=lzma > ../initrd.img
Using the method for the present invention solve server trawl performance on pxe server without OS to be disposed, can not filling OS ask Topic, method is simple to operation, under the scene of the needs batch deployment OS such as data center and server provider, has popularization to make Potentiality and necessity.

Claims (5)

1. a kind of method of data center's update linux system trawl performance, it is characterised in that data center utilizes the filling OS of pxe Before, the driving of the server node update network interface card of existing operating system is advanced with, and extract trawl performance file, to not updating The server node of trawl performance extracts the original initrd.image files in the corresponding OS mirror images of pxe, will be newer in advance Trawl performance file is replicated and is compiled into the original initrd.image files, is generated required new Initrd.image files complete the trawl performance update for not updating the server node of trawl performance.
2. according to the method described in claim 1, it is characterized in that in data center, in the server node for having operating system The driving of upper update network interface card, and the trawl performance file extracted is ixgbe.ko files.
3. according to the method described in claim 2, it is characterized in that the specific steps are:
In data center, the driving of network interface card is updated on the server node for having (SuSE) Linux OS, and in/intel/ Ixgbe.ko files are extracted under ixgbe/ catalogues,
To not updating the server node of trawl performance, the original initrd.image files in the corresponding OS mirror images of extraction pxe,
The ixgbe.ko files of extraction are replicated and are compiled into the original initrd.image files, generated required New initrd.image files complete the trawl performance update for not updating the server node of trawl performance.
4. a kind of data center updating linux system trawl performance using pxe, it is characterised in that data center is filled using pxe Before filling OS, the driving of the server node update network interface card of existing operating system is advanced with, and extracts trawl performance file, to not The server node of trawl performance is updated, the original initrd.image files in the corresponding OS mirror images of extraction pxe will in advance more New trawl performance file is replicated and is compiled into the original initrd.image files, is generated required new Initrd.image files complete the trawl performance update for not updating the server node of trawl performance.
5. data center according to claim 4, it is characterised in that in data center, in the server for having operating system The driving of network interface card is updated on node, and the trawl performance file extracted is ixgbe.ko files.
CN201810026655.4A 2018-01-11 2018-01-11 A kind of method of data center's update linux system trawl performance Pending CN108388449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810026655.4A CN108388449A (en) 2018-01-11 2018-01-11 A kind of method of data center's update linux system trawl performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810026655.4A CN108388449A (en) 2018-01-11 2018-01-11 A kind of method of data center's update linux system trawl performance

Publications (1)

Publication Number Publication Date
CN108388449A true CN108388449A (en) 2018-08-10

Family

ID=63076101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810026655.4A Pending CN108388449A (en) 2018-01-11 2018-01-11 A kind of method of data center's update linux system trawl performance

Country Status (1)

Country Link
CN (1) CN108388449A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109840096A (en) * 2019-01-02 2019-06-04 紫光华山信息技术有限公司 The installation method and device of operating system
CN111240707A (en) * 2020-01-19 2020-06-05 苏州浪潮智能科技有限公司 Method and device for filling storage system through PXE network

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383703A (en) * 2016-08-30 2017-02-08 浪潮(北京)电子信息产业有限公司 Hard disk driver loading method and apparatus for linux operation system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383703A (en) * 2016-08-30 2017-02-08 浪潮(北京)电子信息产业有限公司 Hard disk driver loading method and apparatus for linux operation system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
匿名: "添加设备驱动到initrd.img-PXE环境建设", 《CSDN博客》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109840096A (en) * 2019-01-02 2019-06-04 紫光华山信息技术有限公司 The installation method and device of operating system
CN109840096B (en) * 2019-01-02 2023-02-07 新华三信息技术有限公司 Installation method and device of operating system
CN111240707A (en) * 2020-01-19 2020-06-05 苏州浪潮智能科技有限公司 Method and device for filling storage system through PXE network
CN111240707B (en) * 2020-01-19 2022-07-26 苏州浪潮智能科技有限公司 Method and device for filling storage system through PXE network

Similar Documents

Publication Publication Date Title
CN102622241B (en) A kind of method for upgrading software and device
US6373498B1 (en) Displaying images during boot-up and shutdown
CN101571809B (en) Implementation method of plug-in registration and device thereof
WO2019201039A1 (en) Method and system for updating application and application server
CN100451981C (en) Method for modifying configuration information of computer
CN106911729A (en) A kind of operating system remote installation method suitable for domestic processor
CN102063299A (en) Method and device for assessing application running condition of mobile terminal, mobile terminal
KR20130098775A (en) Client terminal and method for supporting multiple operating system
CN103677807A (en) Customizing program logic for booting a system
CN103064663A (en) Browser plug-in generating, issuing, loading and updating method and system
CN107391193A (en) A kind of client, the system and method for configuration server
CN105183529A (en) Method for refreshing server firmware, target server, source server and system
CN105183528A (en) Server bios upgrading method and system
CN113741914B (en) Operating system installation mechanism
FR2947644A1 (en) METHOD FOR STARTING A COMPUTER DEVICE IN A NETWORK, SERVER AND NETWORK OF COMPUTER DEVICES FOR ITS IMPLEMENTATION
CN109522028A (en) A kind of installation method and system of operating system
WO2019029451A1 (en) Method for publishing mobile applications and electronic apparatus
CN108388449A (en) A kind of method of data center&#39;s update linux system trawl performance
CN103885775A (en) Method and device for obtaining driver file
CN104780058A (en) Electronic equipment configuration method and system
JPH11112541A (en) Message repeating method, message processing method, router device, network system and storage medium storing program controlling router device
WO2017201564A1 (en) Wipedrive native apple netbooting
CN110505289B (en) File downloading method and device, computer readable medium and wireless communication equipment
US10120661B2 (en) Multi-flavored software execution from a singular code base
CN108108203A (en) The method, apparatus and system of installation process are downloaded for installation kit

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180810