CN107220085A - A kind of method of automatic upgrading RAID card firmware - Google Patents
A kind of method of automatic upgrading RAID card firmware Download PDFInfo
- Publication number
- CN107220085A CN107220085A CN201710392348.3A CN201710392348A CN107220085A CN 107220085 A CN107220085 A CN 107220085A CN 201710392348 A CN201710392348 A CN 201710392348A CN 107220085 A CN107220085 A CN 107220085A
- Authority
- CN
- China
- Prior art keywords
- raid card
- upgrading
- firmware
- card firmware
- pxe
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000008569 process Effects 0.000 claims abstract description 11
- KKIMDKMETPPURN-UHFFFAOYSA-N 1-(3-(trifluoromethyl)phenyl)piperazine Chemical compound FC(F)(F)C1=CC=CC(N2CCNCC2)=C1 KKIMDKMETPPURN-UHFFFAOYSA-N 0.000 claims description 11
- 230000004048 modification Effects 0.000 claims description 11
- 238000012986 modification Methods 0.000 claims description 11
- 238000013515 script Methods 0.000 claims description 6
- 238000007689 inspection Methods 0.000 claims description 4
- 238000012360 testing method Methods 0.000 abstract description 8
- 238000011990 functional testing Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
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)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of method of automatic upgrading RAID card firmware, this method passes through network startup linux system, detect the type of RAID card and judge the upgrade environments of RAID card firmware, if RAID card firmware can upgrade under linux system, the upgrading of RAID card firmware is then directly carried out under linux system, if RAID card can only upgrade under DOS systems, by network startup DOS systems, the upgrading of RAID card firmware is carried out under DOS systems.Compared with prior art, whole firmware upgrade process of the invention reduces error probability without artificially participating in, and saves testing time and human cost.
Description
Technical field
The present invention relates to computer firmware technical field, specifically a kind of method of automatic upgrading RAID card firmware.
Background technology
RAID (Redundant Array of Independent Disks) is RAID, or abbreviation magnetic
Disk array.Briefly, RAID is that a kind of hard disk (physical hard disk) polylith independence differently combines to form one
Individual hard disk groups (logic hard disk), so as to provide the storage performance higher than single hard disk and provide the technology of data redundancy.
Firmware, Firmware, abbreviation FW are write-in EROM, EROM or EEPROM, electric erazable programmable
Program in read-only storage.Refer to the equipment " driver " that device interior is preserved, by firmware, operating system could be according to
The device drives of standard realize the run action of particular machine, such as CD-ROM drive, CD writer etc. have internal firmware.Some hardware are set
It is standby there is no other softwares to constitute in addition to firmware, therefore firmware also just decides the function and performance of hardware device.
(Functional Circuit Test, i.e. function are tested in the large-scale F CT of current computer factory RAID card
Test) in, first the FW of RAID card is upgraded under DOS and (SuSE) Linux OS, then be carried out in Linux system
Functional test.It there is currently following problem:
(1) part FW must upgrade under DOS systems, to do DOS boot disk, be manually entered upgrade command, error-prone.
(2) if with the FW of DOS disks upgrading RAID card it is necessary to which after the completion of upgrading, manual guidance, which enters Linux, can just enter
Row functional test, automaticity is low.
The content of the invention
To overcome the shortcomings of that above-mentioned prior art is present, consolidate it is an object of the invention to provide a kind of automatic upgrading RAID card
The method of part, this method can realize the automation of RAID card FW upgradings, save time and cost, and flexibility ratio is high, adaptability is strong.
The technical solution adopted for the present invention to solve the technical problems is:A kind of method of automatic upgrading RAID card firmware,
It is characterized in that:Methods described detects the type of RAID card and judges the upgrading of RAID card firmware by network startup linux system
Environment, carries out the upgrading of RAID card firmware under corresponding operating system.
Further, corresponding operating system includes (SuSE) Linux OS and dos operating system.
Further, methods described is concretely comprised the following steps,
S1, the PXE netboots service of configuration server;
S2, PXE lead into linux system, and the type of system detectio RAID card judges what RAID card firmware upgrade needed
Environment, if can upgrade under linux system, directly invokes shell scripts upgrading RAID card firmware, if RAID card can only
Upgrade under DOS systems, then go to step S3;
S3, the startup file of modification server PXE guiding;
S4, PXE lead into DOS systems, pass through bat document upgrading RAID card firmwares under DOS systems.
Further, the process of the PXE netboot services of the configuration server is,
S01, is server configuration DHCP service, and start DHCP service;
S02, is server configuration TFTP services, and start TFTP services;
S03, makes client image file, RAID card upgrading tool and upgrade file is loaded into image file.
Further, (SuSE) Linux OS and dos operating system are also included in the client image file.
Further, the process that the PXE leads into linux system is that client computer start presses f12 at boot interfaces
Key, the client computer obtains the IP address of DHCP service distribution, and client computer is serviced by TFTP and downloaded from the image file
Linux system kernel, starts linux system.
Further, the inspection to RAID card type is carried out by RAID card tool software.
Further, the RAID card tool software includes sas2ircu, sas3ircu.
Further, the implementation procedure of the shell scripts is the type for judging RAID card, according to the type of RAID card
Corresponding refresh tool is called, firmware refresh command is performed.
Further, the method for the startup file of the modification server PXE guiding is to generate with client computer mac addresses
The file of name, this document is placed on/tftp/pxelinux.cfg catalogues under, the startup image file in modification file is institute
State client image file.
The beneficial effects of the invention are as follows:The present invention carries out DOS systems and linux system using PXE netboots client computer
Automatic switchover, according to the type of RAID card, corresponding firmware is upgraded, whole escalation process is reduced without artificially participating in
Error probability, saves testing time and human cost;
When carrying out RAID card firmware upgrade on a client, it is only necessary to download from a server start mirror by PXE networks
As file, client computer guided according to the start image file be pre-installed in server operating system (DOS systems or
Linux system), so as to realize start-up operation system on a client, without installation operation system in client computer again again,
The measurement jigs such as hard disk, cable and line service are reduced, flexibility ratio is high, and adaptability is strong.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the method for the invention
Embodiment
For the technical characterstic for illustrating this programme can be understood, below by embodiment, and its accompanying drawing is combined, to this hair
It is bright to be described in detail.Present invention omits the description to common knowledge and treatment technology and process to avoid being unnecessarily limiting
The present invention.
A kind of method of automatic upgrading RAID card firmware of the present invention, introduces PXE netboot functions, the PXE
(preboot execute environment, abbreviation PXE) is Pre-boot Execution Environment, for guiding client computer to pass through network
Start to different operating systems.And client computer downloads start image file from server, the wherein start image file is
Operating system, client computer guides the operating system being pre-installed in server according to the start image file, so as to realize
Start-up operation system in client computer.
Specifically, the method for the invention is by network startup linux system, detects the type of RAID card and judge RAID
The upgrade environments of holding firmware, if RAID card firmware can upgrade under linux system, directly carry out RAID under linux system
The upgrading of holding firmware, if RAID card can only upgrade under DOS systems, by network startup DOS systems, enters under DOS systems
The upgrading of row RAID card firmware.The network startup is the startup under PXE guiding.
Further, as shown in figure 1, the step of realizing of the method for the invention is:
S1, the PXE netboots service of configuration server;
S2, linux system is led into using PXE, and the type of system detectio RAID card judges that RAID card firmware upgrade is needed
The environment wanted, if can upgrade under linux system, directly invokes shell scripts upgrading RAID card firmware, if RAID card
It can only upgrade under DOS systems, then go to step S2;
S3, the startup file of modification server PXE guiding;
S4, enters DOS systems using PXE, passes through bat document upgrading RAID card firmwares under DOS systems.
Further, the process of the PXE netboot services of the configuration server is,
S01, is server configuration DHCP service, and start;
S02, is server configuration TFTP services, and start;
S03, makes client image file, RAID card upgrading tool and upgrade file is loaded into image file.
Further, the DHCP service of server is used to distribute the IP address specified to client computer, the TFTP clothes of server
Be engaged in downloading from a server for client computer the upgrading tool that RAID card is loaded with required file, client image file,
Upgrade file and (SuSE) Linux OS, dos operating system.
The type of the RAID card has SAS cards, PMC cards, ADPAT cards, 9361-8iRAID cards and 269-101RAID cards etc..
The process that the PXE leads into linux system is:Client computer is started shooting, and f12 is pressed at the boot interfaces of client computer
Key, the client computer automatically obtains the IP address of DHCP service distribution, and client computer is serviced from mirror image text automatically by TFTP
Linux system kernel is downloaded in part, and starts linux system.
The inspection to RAID card type is carried out by RAID card tool software.Wherein check the instrument of RAID card type
Software has sas2ircu, sas3ircu etc..
The detailed process of the execution shell scripts is the type for judging RAID card, and phase is called according to the type of RAID card
The firmware upgrade instrument answered, performs firmware upgrade order.
The method of the startup file of the modification server PXE guiding is to generate the text named with client computer mac addresses
Part, this document is placed on/tftp/pxelinux.cfg catalogues under, the startup image file in modification file is the client
Image file.
Enter DOS systems using PXE described in step S4, have under DOS systems by bat document upgrading RAID cards firmware
Body process is that client computer is serviced by TFTP and DOS system kernels are downloaded from the image file, and starts DOS systems.
Under DOS systems, by bat document upgrading RAID card firmwares, the bat document upgradings RAID card firmware is specially:By RAID card
Corresponding firmware upgrade instrument and upgrade file are put under same catalogue, perform upgrade command, you can realize RAID card firmware
Upgrading.
Further, no matter under linux system or under DOS systems, the firmware upgrade instrument of RAID card is all existing
Instrument, purchase install corresponding firmware when, manufacturer can provide corresponding upgrading tool.
Further, after the firmware upgrade of RAID card is completed according to the method for the invention, it will usually carry out RAID card
Large-scale F CT test, FCT tests are functional test, and the functional test is carried out under a linux operating system, it is therefore desirable to
(SuSE) Linux OS is led into by PXE after RAID card of having upgraded under dos operating system firmware.
Likewise, being guided by PXE, client computer services automatically by TFTP and Linux systems is downloaded from the image file
System kernel, and start linux system and FCT tests are carried out to RAID card.
The method to RAID card firmware upgrade described in this method is not limited only to right before progress RAID card progress FCT tests
The upgrading of RAID card firmware, can be used of the present invention in the case of institute's batch progress RAID card firmware upgrade in need
Method.
Simply the preferred embodiment of the present invention described above, for those skilled in the art,
Without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also regarded as this hair
Bright protection domain.
Claims (10)
1. a kind of method of automatic upgrading RAID card firmware, it is characterized in that:Methods described passes through network startup linux system, inspection
Survey the type of RAID card and judge the upgrade environments of RAID card firmware, the liter of RAID card firmware is carried out under corresponding operating system
Level.
2. a kind of method of automatic upgrading RAID card firmware according to claim 1, it is characterized in that:Corresponding operation
System includes (SuSE) Linux OS and dos operating system.
3. a kind of method of automatic upgrading RAID card firmware according to claim 1, it is characterized in that:Methods described it is specific
Step is,
S1, the PXE netboots service of configuration server;
S2, PXE lead into linux system, and the type of system detectio RAID card judges the ring that RAID card firmware upgrade needs
Border, if can upgrade under linux system, directly invokes shell scripts upgrading RAID card firmware, if RAID card can only be
Upgrade under DOS systems, then go to step S3;
S3, the startup file of modification server PXE guiding;
S4, PXE lead into DOS systems, pass through bat document upgrading RAID card firmwares under DOS systems.
4. a kind of method of automatic upgrading RAID card firmware according to claim 3, it is characterized in that:The configuration server
The processes of PXE netboot services be,
S01, is server configuration DHCP service, and start DHCP service;
S02, is server configuration TFTP services, and start TFTP services;
S03, makes client image file, RAID card upgrading tool and upgrade file is loaded into image file.
5. a kind of method of automatic upgrading RAID card firmware according to claim 4, it is characterized in that:The client image
Also include (SuSE) Linux OS and dos operating system in file.
6. a kind of method of automatic upgrading RAID card firmware according to claim 3, it is characterized in that:The PXE is directed into
The process for entering linux system is that f12 keys are pressed in client computer start at boot interfaces, and the client computer obtains DHCP service distribution
IP address, client computer is serviced by TFTP and linux system kernel is downloaded from the image file, starts linux system.
7. a kind of method of automatic upgrading RAID card firmware according to claim 3, it is characterized in that:To RAID card type
Inspection is carried out by RAID card tool software.
8. a kind of method of automatic upgrading RAID card firmware according to claim 7, it is characterized in that:The RAID card instrument
Software includes sas2ircu, sas3ircu.
9. a kind of method of automatic upgrading RAID card firmware according to claim 3, it is characterized in that:The shell scripts
Implementation procedure be the type for judging RAID card, corresponding refresh tool is called according to the type of RAID card, firmware is performed and refreshes
Order.
10. a kind of method of automatic upgrading RAID card firmware according to claim 3, it is characterized in that:The modification service
The method of the startup file of device PXE guiding is to generate the file named with client computer mac addresses, this document is placed on into/tftp/
Under pxelinux.cfg catalogues, the startup image file in modification file is the client image file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710392348.3A CN107220085B (en) | 2017-05-27 | 2017-05-27 | Method for automatically upgrading RAID card firmware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710392348.3A CN107220085B (en) | 2017-05-27 | 2017-05-27 | Method for automatically upgrading RAID card firmware |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107220085A true CN107220085A (en) | 2017-09-29 |
CN107220085B CN107220085B (en) | 2020-05-19 |
Family
ID=59947988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710392348.3A Active CN107220085B (en) | 2017-05-27 | 2017-05-27 | Method for automatically upgrading RAID card firmware |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107220085B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108345460A (en) * | 2017-12-28 | 2018-07-31 | 三维通信股份有限公司 | A kind of method that more equipment synchronize burning Linux firmwares and application program |
CN108717361A (en) * | 2018-05-18 | 2018-10-30 | 郑州云海信息技术有限公司 | A kind of server upgrades the method and system of HCA cards automatically |
CN109542476A (en) * | 2018-11-01 | 2019-03-29 | 郑州云海信息技术有限公司 | A kind of automatic identification HDD type and the method, system and device for refreshing hard disk firmware |
CN110716836A (en) * | 2019-10-15 | 2020-01-21 | 深圳忆联信息系统有限公司 | SSD (solid State disk) testing method and device based on DOS (data over serial interface), computer equipment and storage medium |
CN113032193A (en) * | 2021-03-15 | 2021-06-25 | 深圳忆联信息系统有限公司 | Hard disk testing method and device under DOS (disk operating System), computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105183516A (en) * | 2015-09-09 | 2015-12-23 | 浪潮电子信息产业股份有限公司 | Method for automatically installing RAID card FW and KUX operating systems |
CN105242875A (en) * | 2015-09-17 | 2016-01-13 | 浪潮集团有限公司 | Server raid batch configuration method |
CN105656970A (en) * | 2014-11-24 | 2016-06-08 | 中国移动通信集团公司 | RAID (Redundant Array of Independent Disk) card configuring method and system and relevant device |
CN106095339A (en) * | 2016-06-13 | 2016-11-09 | 浪潮(北京)电子信息产业有限公司 | A kind of RAID collocation method for server |
CN106293829A (en) * | 2016-08-08 | 2017-01-04 | 浪潮电子信息产业股份有限公司 | Method for automatically refreshing FW of LSI RAID card |
CN106445591A (en) * | 2016-09-19 | 2017-02-22 | 郑州云海信息技术有限公司 | Automatic and batched RAID card FW refreshing method of servers |
-
2017
- 2017-05-27 CN CN201710392348.3A patent/CN107220085B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105656970A (en) * | 2014-11-24 | 2016-06-08 | 中国移动通信集团公司 | RAID (Redundant Array of Independent Disk) card configuring method and system and relevant device |
CN105183516A (en) * | 2015-09-09 | 2015-12-23 | 浪潮电子信息产业股份有限公司 | Method for automatically installing RAID card FW and KUX operating systems |
CN105242875A (en) * | 2015-09-17 | 2016-01-13 | 浪潮集团有限公司 | Server raid batch configuration method |
CN106095339A (en) * | 2016-06-13 | 2016-11-09 | 浪潮(北京)电子信息产业有限公司 | A kind of RAID collocation method for server |
CN106293829A (en) * | 2016-08-08 | 2017-01-04 | 浪潮电子信息产业股份有限公司 | Method for automatically refreshing FW of LSI RAID card |
CN106445591A (en) * | 2016-09-19 | 2017-02-22 | 郑州云海信息技术有限公司 | Automatic and batched RAID card FW refreshing method of servers |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108345460A (en) * | 2017-12-28 | 2018-07-31 | 三维通信股份有限公司 | A kind of method that more equipment synchronize burning Linux firmwares and application program |
CN108717361A (en) * | 2018-05-18 | 2018-10-30 | 郑州云海信息技术有限公司 | A kind of server upgrades the method and system of HCA cards automatically |
CN109542476A (en) * | 2018-11-01 | 2019-03-29 | 郑州云海信息技术有限公司 | A kind of automatic identification HDD type and the method, system and device for refreshing hard disk firmware |
CN110716836A (en) * | 2019-10-15 | 2020-01-21 | 深圳忆联信息系统有限公司 | SSD (solid State disk) testing method and device based on DOS (data over serial interface), computer equipment and storage medium |
CN113032193A (en) * | 2021-03-15 | 2021-06-25 | 深圳忆联信息系统有限公司 | Hard disk testing method and device under DOS (disk operating System), computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107220085B (en) | 2020-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107220085A (en) | A kind of method of automatic upgrading RAID card firmware | |
US8839221B2 (en) | Automatic acquisition and installation of software upgrades for collections of virtual machines | |
US9465625B2 (en) | Provisioning of operating environments on a server in a networked environment | |
US6487608B2 (en) | Method for automatically configuring network interface card and capable of randomizing a media access controller address of the network interface card | |
US8387045B2 (en) | Cloning image creation using virtual machine environment | |
US7234050B2 (en) | Techniques for initializing a device on an expansion card | |
US10747526B2 (en) | Apparatus and method to execute prerequisite code before delivering UEFI firmware capsule | |
US8171276B2 (en) | Minimal startup mode for performing multiple-reboot configuration | |
US11182148B2 (en) | System and method for automated BIOS recovery after BIOS corruption | |
CN104881314A (en) | Method for installing driver and driver installation device | |
US20080126792A1 (en) | Systems and methods for achieving minimal rebooting during system update operations | |
US20130227565A1 (en) | Apparatus and method for managing application for guest operating system | |
EP3029564B1 (en) | System and method for providing access to original routines of boot drivers | |
CN110737558A (en) | Method and device for automatically deploying efi shell system to execute test, computer equipment and storage medium | |
CN112463466B (en) | Computer testing method | |
CN115913913B (en) | Network card pre-starting execution environment function fault positioning method and device | |
CN109471665B (en) | Method for automatically installing Windows operating system | |
CN111367735A (en) | Test method and system based on server to be tested and Wuban diagram operating system | |
US12001870B2 (en) | Injection and execution of workloads into virtual machines | |
CN106201546B (en) | Full-scale formatting method and system for large disks in linux system installation processes | |
CN102460386B (en) | For the method and apparatus of load document during bootup process | |
CN111061602A (en) | Server pressure testing system and method | |
CN111176735B (en) | Method for accelerating startup of electrocardiograph | |
Headrick et al. | Automated configuration of modern ATE | |
CN111273946A (en) | Method and system for automatic device driver configuration |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200424 Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |