CN106681775A - Method for achieving online batch upgrading of hard disk firmware through RAID card under Linux system - Google Patents

Method for achieving online batch upgrading of hard disk firmware through RAID card under Linux system Download PDF

Info

Publication number
CN106681775A
CN106681775A CN201710002756.3A CN201710002756A CN106681775A CN 106681775 A CN106681775 A CN 106681775A CN 201710002756 A CN201710002756 A CN 201710002756A CN 106681775 A CN106681775 A CN 106681775A
Authority
CN
China
Prior art keywords
storcli
upgrade
batch
firmware
megaraid
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
CN201710002756.3A
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 CN201710002756.3A priority Critical patent/CN106681775A/en
Publication of CN106681775A publication Critical patent/CN106681775A/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/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Abstract

The invention provides a method and device for achieving online batch refreshing of hard disk firmware by utilizing a Storcli toolkit of an RAID card manufacturer under Linux system and then combining with standard instructions under Linux system. According to the technical scheme, online batch upgrading is achieved through shell scripts and Storcli toolkit instructions. Firstly, parameters of an RAID array are obtained; then, hard disk firmware upgrading and upgrade succeeding confirmation are achieved through single-disk operating instructions and batch operating instructions. Online batch firmware upgrading can be simply, rapidly and safely performed at a testing stage and a production stage, the firmware upgrading time is greatly shortened, the working efficiency is improved, and the labor cost is reduced.

Description

The online batch upgrade of hard disk firmware is realized through RAID card under a kind of linux system Method
Technical field
The present invention relates to the technical field of firmware upgrade, realizes through RAID card under more particularly to a kind of linux system hard The method of the online batch upgrade of disk firmware.
Background technology
With the continuous development and growth of tide server industry, as the server provider of largest domestic, server Every field has been included in market, especially the main flow field such as finance, the Internet, the high speed development of the Internet, the Gao An of information The high reliability of full property and system increasingly becomes company and enterprise, the thing that government pays close attention to the most, and hard disk is used as data storage Main carriers, its stability and reliability be also increasingly taken seriously, due to complication and the multiformity of Client application, unavoidably The compatibility issue of some Client applications and hard disk occurs, such hard disk certainly will be carried out the upgrading of firmware to solve and optimize Produced problem, so in test lead, the manufacturing side and client, inevitably often there is the situation of firmware upgrade in Jing, letter The firmware upgrade method of single quick and safe is particularly important.
Hard disk directly affects the safety of customer data as one and its important server component, its security reliability Reliable, currently under direct-connected pattern or SAS mode cards, the firmware of hard disk directly can provide instrument with manufacturer and realize, but Under RAID card pattern, the instrument of HD vendor cannot then pass through upgrading of the RAID card realization to hard disk firmware, so can realize Under RAID card pattern, can realize that the online upgrading of hard disk firmware is necessary, especially test lead, the manufacturing side with And client is when being furnished with RAID card and having high-volume hard disk to need firmware upgrade, can hard disk firmware realize that batch online upgrading seems It is particularly important.
Additionally, in the whole life cycle of RAID card, inevitably carrying out to the RAID card on client server Routine firmware upgrade, server now all can run business on line, although if simple with conventional upgrading mode, But shutdown stops doing business business this process can be very loaded down with trivial details and time-consuming, suspend operation under system and do not restart the mode of server and upgrade Firmware is just very necessary and efficient.In addition, usual tens same types up to a hundred in the generic server rack of large-scale machine room Server, during test and regular maintenance, needing to drive the RAID card of these servers carries out firmware upgrade brush Newly, it is generally the case that complete renewal needs about 10 to 15 minutes, if refreshed in each server one by one, can need More than four or five hours are wanted, and in the case of a large amount of repetitive operations, some mistakes being difficult to avoid that occurs unavoidably.
Based on above demand, the method with certain simple and fast is needed, realize hard disk firmware batch being realized through RAID card The method of amount online upgrading.
The content of the invention
As hard disk is being complicated and operation under various user rs environment, some such-and-such problems occur unavoidably, Therefore HD vendor can periodically carry out the upgrading of firmware, to solve and optimize the various problems that client occurs, so in test Inevitably often there is the situation of firmware upgrade in Jing for end, the manufacturing side and client.
Currently under direct-connected pattern or SAS mode cards, the firmware of hard disk directly can provide instrument with manufacturer and realize;But With customer demand more and more higher, the configuration of needs is also increasingly enriched, and RAID card is configured as the client of the main force, once hard disk Going wrong needs firmware updating, in the case where client should not remove power-off online upgrading, just seems particularly passive, so, it is real Now realize that the method for hard disk firmware batch online upgrading is imperative through RAID card.
To solve technical problem as above, the present invention to be proposed and realize that hard disk is solid through RAID card under a kind of linux system The method of the online batch upgrade of part:Including following operating procedure:
The first step, builds test environment;
Second step, installs (SuSE) Linux OS in above-mentioned test environment;
3rd step, the installation toolkit in above-mentioned test environment;
4th step, obtains the relevant parameter of RAID array by instructing;
5th step, the shell-command run in linux system carry out firmware batch upgrading;
6th step, confirms to upgrade successfully.
It is preferred that the tool kit installed in the 3rd step is the tool kit corresponding to RAID, preferably Storcli instruments Bag;
It is preferred that whether being mounted with tool kit during system is first judged before the 3rd step, hold if being also fitted without The installation of row tool kit, realizes especially by following instruction:[!-f/opt/MegaRAID/storcli/storcli*]&& rpm-i Storcli-*.noarch.rpm>/dev/null||2>/dev/null
!- f/opt/MegaRAID/storcli/storcli* is fitted without Storcli management tools
Rpm-i storcli-*.noarch.rpm install Storcli management tools
The function of instruction as above be judge system in whether RAID card management tool Storcli is installed, if do not had Installation is then installed, and if own Jing is installed carries out next step.
It is preferred that the relevant parameter of RAID array acquired in the 4th step is Ctl Model, EID and DID;
It is preferred that the shell-command run in the 5th step in linux system carries out firmware batch upgrading includes establishment list Disk upgrade command and batch upgrade order is created, wherein single-deck upgrade command is:/opt/MegaRAID/storcli/ Storcli64 (Storcli instrument store paths)/c0/e22/s $ i (drive slot id) download src= Filename path, batch upgrade order is:for i in{0..x};do echo device$i;/opt/MegaRAID/ Storcli/storcli64 (Storcli instrument store paths)/c0/e22/s $ i download src=filename path;done.
It is preferred that confirm to upgrade successfully in the 6th step and including the firmware upgrade confirmation order of establishment single-deck and creating batch Confirm order, wherein single-deck firmware upgrade determines that order is /opt/MegaRAID/storcli/storcli64 (Storcli works Tool store path)/c0/e22/s $ i (drive slot id) show all | grep-i Revision, batch determine that order is for i in{0..x};(storecli instruments store road to do echo $ i&&/opt/MegaRAID/storcli/storcli64 Footpath)/c0/e22/s $ i show all | grep-i Revision;Donesmartctl--all--device=megaraid, DID/dev/sda。
On the other hand, embodiments of the invention to be provided and realize that hard disk firmware is online through RAID card under a kind of linux system The device of batch upgrade, including:
Environmental structure module, for building test environment;
System installs module, for installing (SuSE) Linux OS in the test environment built by environmental structure module;
Tool kit installs module, for the installation toolkit in the test environment built by environmental structure module;
Parameter acquisition module, for by instructing the relevant parameter for obtaining RAID array;
Upgraded module, carries out firmware batch upgrading for running the shell-command in linux system;
Confirm module, for confirming to upgrade successfully after upgraded module is performed.
It is preferred that the tool kit installed by tool kit installation module is the tool kit corresponding to RAID, preferably Storcli Tool kit;
It is preferred that tool kit is installed during module first judged system before the installation of tool kit is performed whether being mounted with Tool kit, performs the installation of tool kit if being also fitted without, and realizes especially by following instruction:[!-f/opt/ MegaRAID/storcli/storcli*]&&rpm-i Storcli-*.noarch.rpm>/dev/null||2>/dev/null
!- f/opt/MegaRAID/storcli/storcli* is fitted without Storcli management tools
Rpm-i storcli-*.noarch.rpm install Storcli management tools
The function of instruction as above be judge system in whether RAID card management tool Storcli is installed, if do not had Installation is then installed, and if own Jing is installed carries out next step.
It is preferred that the relevant parameter of the RAID array acquired in parameter acquisition module is Ctl Model, EID and DID;
It is preferred that the shell-command in upgraded module operation linux system carries out firmware batch upgrading includes establishment list Disk upgrade command and batch upgrade order is created, wherein single-deck upgrade command is:/opt/MegaRAID/storcli/ Storcli64 (Storcli instrument store paths)/c0/e22/s $ i (drive slot id) download src= Filename path, batch refresh order is:for i in{0..x};do echo device$i;/opt/MegaRAID/ Storcli/storcli64 (Storcli instrument store paths)/c0/e22/s $ i download src=filename path;done.
It is preferred that confirm that module confirms to upgrade successfully and including the firmware upgrade confirmation order of establishment single-deck and creating batch Confirm order, wherein single-deck firmware determine order for/opt/MegaRAID/storcli/storcli64 (deposit by Storcli instruments Storage path)/c0/e22/s $ i (drive slot id) show all | grep-i Revision, batch determine order for for i in{0..x};Do echo $ i&&/opt/MegaRAID/storcli/storcli64 (Storcli instrument store paths)/c0/ e22/s$i show all|grep-i Revision;Donesmartctl--all--device=megaraid, DID/dev/ sda。
As known from the above, the invention discloses it is a kind of under linux system using RAID card manufacturer Storcli instruments, In conjunction with the method and apparatus instructed to realize hard disk firmware batch on line refreshable of standard under linux system.This design side Case can accomplish to carry out the online batch upgrade of firmware in test phase and production phase simple and fast safety, substantially reduce solid Part update time, there is provided work efficiency, reduces human cost.In addition, when hard disk is gone wrong in itself, quickly can carry out Hard disk firmware is verified, so as to improve the efficiency of solve problem, when it is determined that during hard disk firmware solution, can realize curstomer's site Batch heavy industry, there is provided efficiency, is that company is cost-effective.
Description of the drawings
Fig. 1 is the workflow schematic diagram of the embodiment of the present invention;
Fig. 2 is the structural representation of update device in the embodiment of the present invention;
Specific embodiment
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by to be used needed for embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can be with other attached according to these accompanying drawings acquisitions Figure.
The present invention provides a kind of method and dress for realizing the online batch upgrade of hard disk firmware under linux system through RAID card Put, which can be real with reference to the Storcli instruments of RAID card manufacturer and the stardand shell directive script under (SuSE) Linux OS Present line, batch upgrade.
The technical scheme is that by way of software to realize, more specifically, used under linux system The corresponding instrument of RAID card reads the parameter of RAID array, and then such as Ctl Model and EID are compiled by linux system order Write the batch on line refreshable that script is directly realized by hard disk firmware, and after batch upgrade by version information confirming to escalate into Work(.
In order to more clearly describe technical scheme, the specific embodiment of the present invention is made in more detail below Introduction, referring to Fig. 1, which depict the workflow schematic diagram of the embodiment of the present invention;
As shown in figure 1, the method is comprised the following steps:Step 101, builds test environment;Can be with needs in the present invention Carry out based on the server unit of batch upgrade building the test environment, its concrete included hardware foundation equipment belongs to The common knowledge of those skilled in the art, will not be described here;
Step 102, installs (SuSE) Linux OS in above-mentioned test environment;The present invention realizes that batch upgrade will be based on The standard directive script of linux system, therefore need (SuSE) Linux OS is installed in the system environment;
Step 103, the installation toolkit in above-mentioned test environment;The liter of hard disk firmware will be realized in the present invention through RAID Level, is that the instrument that can overcome the HD vendor under RAID card pattern of the prior art cannot be realized to hard disk through RAID card The upgrading of firmware, needs to provide the tool kit corresponding to the RAID in the present invention, and the preferably tool kit is Storcli tool kits;
Can also comprise the steps before the step 103:Whether tool kit has been mounted with first judging system, such as Fruit is also fitted without, and performs the installation of tool kit, realizes especially by following instruction:[!-f/opt/MegaRAID/ storcli/storcli*]&&rpm-i Storcli-*.noarch.rpm>/dev/null||2>/dev/null
!- f/opt/MegaRAID/storcli/storcli* is fitted without Storcli management tools
Rpm-i storcli-*.noarch.rpm install Storcli management tools
The function of instruction as above be judge system in whether RAID card management tool Storcli is installed, if do not had Installation is then installed, and if own Jing is installed carries out next step.
Step 104, obtains the relevant parameter of RAID array by instructing;In the inventive solutions, Jing Guoru The preparation of upper step 101-103, then can perform the operation of parameter acquiring and batch upgrade, more specifically, in the step In rapid 104 relevant parameter obtained by RAID, can specifically include following sub-step:Step 1041:Open Storcli instruments Place file, opens Tool-file folder and can realize especially by following instruction:cd/opt/MegaRAID/ storcli/;Step 1042:Ctl Model are checked, such as gives an order to realize checking for Ctl Model by operation:./ Storcli64/show, performs the order and can show the parameter informations such as Ctl, Model, Ports;Step 1043:Obtained with order Take the relevant parameter of RAID array:Operation such as gives an order ./storcli64/c0show, you can obtain such as EID, slt, DID, State etc. parameter informations.
Step 105, the shell-command run in linux system carry out firmware batch upgrading;To adopt in this step The stereotyped command of linux system carries out batch upgrade, carries out firmware batch upgrading and will successively create single-deck upgrade command and wound Build batch upgrade order and perform, wherein:
Single-deck upgrade command is:
/ opt/MegaRAID/storcli/storcli64 (Storcli instrument store paths)
/ c0/e22/s $ i (drive slot id) download src=filename path
Batch upgrade order is:
for i in{0..x};
do echo device$i;
/ opt/MegaRAID/storcli/storcli64 (Storcli instrument store paths)
/ c0/e22/s $ i download src=filename path;
done
By performing instruction as above, you can realize online batch upgrade operation, defined in batch upgrade order therein first One circulation, subsequently carries out the updating operation of hard disk firmware one by one for each device.
Step 106, confirms to upgrade successfully;After execution of step 105, the result to upgrading is carried out in step 106 Confirm, that is, confirm whether upgrading is successful.Confirm whether successful step will create single-deck firmware upgrade confirmation order first for upgrading And establishment batch confirms to order and perform these instructions, wherein:
Single-deck firmware upgrade determines that order is:
/ opt/MegaRAID/storcli/storcli64 (Storcli instrument store paths)
/c0/e22/s$i(drive slot id)show all|grep-i Revision
Batch determines that order is:
for i in{0..x};
Do echo $ i&&/opt/MegaRAID/storcli/storcli64 (storecli instrument store paths)
/c0/e22/s$i show all|grep-i Revision;
Done smartctl--all--device=megaraid, DID/dev/sda
By performing instruction as above, you can realize the confirmation operation of online batch upgrade, batch therein confirms head in order A circulation is first defined, the confirmation operation for whether upgrading successfully of hard disk firmware is subsequently carried out for each device one by one, Pass through version information (revision) to judge whether to upgrade successfully during confirmation.
By operating procedure as above, you can realize through RAID realizing online, the batch updating of hard disk firmware, its knot Close the instruction of (SuSE) Linux OS standard script and RAID tool kits to realize confirmation operation of upgrading and upgrade, upgrading side Formula is simple, shortens the firmware upgrade time, there is provided work efficiency, reduces human cost.
Additionally, to additionally provide in embodiments of the invention realize that hard disk firmware exists through RAID card under a kind of linux system The device of line batch upgrade, referring to Fig. 2, which depict the composition figure of the device of the embodiment of the present invention;
As shown in Fig. 2 the device includes:Environmental structure module 201, system is installed module 202, tool kit and installs module 203rd, parameter acquisition module 204, upgraded module 205, confirmation module 206.
Environmental structure module 201, for building test environment;Can be needing to carry out the service of batch upgrade in the present invention The test environment is built based on device unit, its concrete included hardware foundation equipment belongs to the public affairs of those skilled in the art Know general knowledge, will not be described here;
System installs module 202, for Linux operations are installed in the test environment built by environmental structure module 201 System;The present invention realizes that batch upgrade based on the standard directive script of linux system, therefore will need peace in the system environment Dress (SuSE) Linux OS;
Tool kit installs module 203, for the installation toolkit in the test environment built by environmental structure module 201; The upgrading of hard disk firmware to be realized in the present invention through RAID, is to overcome the hard disk under RAID card pattern of the prior art The instrument of manufacturer cannot pass through upgrading of the RAID card realization to hard disk firmware, need to provide the work corresponding to the RAID in the present invention Tool bag, the preferably tool kit are Storcli tool kits;
The tool kit installs module 203 can be to perform following steps before installation toolkit:In judgement system it is first It is no to be mounted with tool kit, the installation of tool kit is performed if being also fitted without, is realized especially by following instruction: [!-f/opt/MegaRAID/storcli/storcli*]&&rpm-i Storcli-*.noarch.rpm>/dev/null||2 >/dev/null
!- f/opt/MegaRAID/storcli/storcli* is fitted without Storcli management tools
Rpm-i storcli-*.noarch.rpm install Storcli management tools
The function of instruction as above be judge system in whether RAID card management tool Storcli is installed, if do not had Installation is then installed, and if own Jing is installed carries out next step.
Parameter acquisition module 204, obtains the relevant parameter of RAID array for by instructing;In the technical side of the present invention In case, the preparation that module 202, tool kit installs module 203 is installed through as above environmental structure module 201, system, then may be used To perform the operation of parameter acquiring and batch upgrade, more specifically, parameter acquisition module 204 to be obtained the related ginseng of RAID Number, can specifically include following sub-step:Storcli instruments place file is opened, opening Tool-file folder can be concrete Realized by following instruction:cd/opt/MegaRAID/storcli/;Ctl Model are checked, is such as given an order by operation To realize checking for Ctl Model:./storcli64/show, perform the order and can show that Ctl, Model, Ports etc. join Number information;The relevant parameter of RAID array is obtained with order:Run the ./storcli64/c0show that such as gives an order, you can obtain example Such as EID, slt, DID, state etc. parameter information.
Upgraded module 205, carries out firmware batch upgrading for running the shell-command in linux system;Using Linux The stereotyped command of system carries out batch upgrade, carries out firmware batch upgrading and will successively create single-deck upgrade command and create batch Upgrade command is simultaneously performed, wherein:
Single-deck upgrade command is:
/ opt/MegaRAID/storcli/storcli64 (Storcli instrument store paths)
/ c0/e22/s $ i (drive slot id) download src=filename path
Batch upgrade order is:
for i in{0..x};
do echo device$i;
/ opt/MegaRAID/storcli/storcli64 (Storcli instrument store paths)
/ c0/e22/s $ i download src=filename path;
done
By performing instruction as above, you can realize online batch upgrade operation, defined in batch upgrade order therein first One circulation, subsequently carries out the updating operation of hard disk firmware one by one for each device.
Confirm module 206, for confirming to upgrade successfully;After upgraded module 205 is performed, 206 pairs of upgradings of module are confirmed Result confirmed, that is, confirm upgrading whether success.Confirm whether successful step will create single-deck firmware liter first for upgrading Level confirms order and creates batch to confirm to order and perform these instructions, wherein:
Single-deck firmware upgrade determines that order is:
/ opt/MegaRAID/storcli/storcli64 (Storcli instrument store paths)
/c0/e22/s$i(drive slot id)show all|grep-i Revision
Batch determines that order is:
for i in{0..x};
Do echo $ i&&/opt/MegaRAID/storcli/storcli64 (storecli instrument store paths)
/c0/e22/s$i show all|grep-i Revision;
Done smartctl--all--device=megaraid, DID/dev/sda
By performing instruction as above, you can realize the confirmation operation of online batch upgrade, batch therein confirms head in order A circulation is first defined, the confirmation operation for whether upgrading successfully of hard disk firmware is subsequently carried out for each device one by one, Pass through version information (revision) to judge whether to upgrade successfully during confirmation.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or using the present invention.To this Various modifications of a little embodiments will be apparent for a person skilled in the art, and generic principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited The embodiments shown herein is formed on, but meets the most wide model consistent with principles disclosed herein and features of novelty Enclose.

Claims (10)

1. a kind of method for realizing the online batch upgrade of hard disk firmware through RAID card under linux system, it is characterised in that include Following operating procedure:
The first step, builds test environment;
Second step, installs (SuSE) Linux OS in above-mentioned test environment;
3rd step, the installation toolkit in above-mentioned test environment;
4th step, obtains the relevant parameter of RAID array by instructing;
5th step, the shell-command run in linux system carry out firmware batch upgrading;
6th step, confirms to upgrade successfully.
2. the method for realizing the online batch upgrade of hard disk firmware through RAID card under linux system according to claim 1, It is characterized in that:The tool kit installed in 3rd step is the tool kit corresponding to RAID, preferably Storcli tool kits.
3. the method for realizing the online batch upgrade of hard disk firmware through RAID card under linux system according to claim 2, It is characterized in that:Tool kit whether is mounted with during system is first judged before 3rd step, work has been performed if being also fitted without The installation of tool bag, realizes especially by following instruction:
[!-f/opt/MegaRAID/storcli/storcli*]&&rpm-i Storcli-*.noarch.rpm>/dev/null ||2>/dev/null
!-f/opt/MegaRAID/storcli/storcli*
rpm-i storcli-*.noarch.rpm。
4. the method for realizing the online batch upgrade of hard disk firmware through RAID card under linux system according to claim 1, It is characterized in that:Shell-command in 5th step in operation linux system carries out firmware batch upgrading and includes establishment single-deck liter Level order and establishment batch upgrade order, wherein:
Single-deck upgrade command is:
/opt/MegaRAID/storcli/storcli64
/ c0/e22/s $ i (drive slot id) download src=filename path
Batch upgrade order is:
for i in{0..x};do echo device$i;/opt/MegaRAID/storcli/storcli64;
/ c0/e22/s $ i download src=filename path;done.
5. the method for realizing the online batch upgrade of hard disk firmware through RAID card under linux system according to claim 1, It is characterized in that:Confirm to upgrade successfully in 6th step to include the firmware upgrade confirmation order of establishment single-deck and create batch and confirm Order, wherein:
Single-deck firmware upgrade determines that order is:
/opt/MegaRAID/storcli/storcli64
/c0/e22/s$i(drive slot id)show all|grep-i Revision
Batch determines that order is:
for i in{0..x};do echo$i&&/opt/MegaRAID/storcli/storcli64;
/c0/e22/s$i show all|grep-i Revision;
Done smartctl--all--device=megaraid, DID/dev/sda.
6. the device of the online batch upgrade of hard disk firmware is realized through RAID card under a kind of linux system, it is characterised in that bag Include:
Environmental structure module, for building test environment;
System installs module, for installing (SuSE) Linux OS in the test environment built by environmental structure module;
Tool kit installs module, for the installation toolkit in the test environment built by environmental structure module;
Parameter acquisition module, for by instructing the relevant parameter for obtaining RAID array;
Upgraded module, carries out firmware batch upgrading for running the shell-command in linux system;
Confirm module, for confirming to upgrade successfully after upgraded module is performed.
7. the device of the online batch upgrade of hard disk firmware is realized through RAID card under linux system according to claim 6, It is characterized in that:The tool kit installed by tool kit installation module is the tool kit corresponding to RAID, preferably Storcli instruments Bag.
8. the device of the online batch upgrade of hard disk firmware is realized through RAID card under linux system according to claim 7, It is characterized in that:Tool kit installs during module first judged system before installation toolkit whether be mounted with tool kit, such as Fruit is also fitted without, and performs the installation of tool kit, realizes especially by following instruction:
[!-f/opt/MegaRAID/storcli/storcli*]&&rpm-i Storcli-*.noarch.rpm>/dev/null ||2>/dev/null
!-f/opt/MegaRAID/storcli/storcli*
rpm-i storcli-*.noarch.rpm。
9. the device of the online batch upgrade of hard disk firmware is realized through RAID card under linux system according to claim 6, It is characterized in that:Shell-command in upgraded module operation linux system carries out firmware batch upgrading and includes establishment single-deck liter Level order and establishment batch upgrade order, wherein:
Single-deck upgrade command is:
/opt/MegaRAID/storcli/storcli64
/ c0/e22/s $ i (drive slot id) download src=filename path
Batch upgrade order is:
for i in{0..x};do echo device$i;/opt/MegaRAID/storcli/storcli64;
/ c0/e22/s $ i download src=filename path;done.
10. the side of the online batch upgrade of hard disk firmware is realized through RAID card under linux system according to claim 6 Method, it is characterised in that:Confirm that module confirms to upgrade successfully to include the firmware upgrade confirmation order of establishment single-deck and create batch Confirm order, wherein:
Single-deck firmware upgrade determines that order is:
/opt/MegaRAID/storcli/storcli64
/c0/e22/s$i(drive slot id)show all|grep-i Revision
Batch determines that order is:
for i in{0..x};do echo$i&&/opt/MegaRAID/storcli/storcli64;
/c0/e22/s$i show all|grep-i Revision;
Done smartctl--all--device=megaraid, DID/dev/sda.
CN201710002756.3A 2017-01-03 2017-01-03 Method for achieving online batch upgrading of hard disk firmware through RAID card under Linux system Pending CN106681775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710002756.3A CN106681775A (en) 2017-01-03 2017-01-03 Method for achieving online batch upgrading of hard disk firmware through RAID card under Linux system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710002756.3A CN106681775A (en) 2017-01-03 2017-01-03 Method for achieving online batch upgrading of hard disk firmware through RAID card under Linux system

Publications (1)

Publication Number Publication Date
CN106681775A true CN106681775A (en) 2017-05-17

Family

ID=58850239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710002756.3A Pending CN106681775A (en) 2017-01-03 2017-01-03 Method for achieving online batch upgrading of hard disk firmware through RAID card under Linux system

Country Status (1)

Country Link
CN (1) CN106681775A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193608A (en) * 2017-05-26 2017-09-22 郑州云海信息技术有限公司 A kind of implementation method of disk firmware heat upgrading
CN107402789A (en) * 2017-07-31 2017-11-28 郑州云海信息技术有限公司 A kind of server cluster automatic batch penetrates the method that RAID card refreshes hard disk FW
CN107402753A (en) * 2017-06-30 2017-11-28 郑州云海信息技术有限公司 The method for refreshing and device of a kind of hard disk firmware
CN107678758A (en) * 2017-08-18 2018-02-09 郑州云海信息技术有限公司 A kind of method for carrying out FW upgradings to NVDIMM electric capacity based on Windows systems
CN107729024A (en) * 2017-09-26 2018-02-23 郑州云海信息技术有限公司 A kind of hard disk FW upgrade methods and system based on Windows systems
CN107885520A (en) * 2017-11-29 2018-04-06 郑州云海信息技术有限公司 A kind of RAID card firmware batch refreshing apparatus and method
CN108062229A (en) * 2018-01-02 2018-05-22 郑州云海信息技术有限公司 A kind of method of batch updating Seagate hard disk firmware under linux system
CN108600031A (en) * 2018-05-10 2018-09-28 烽火通信科技股份有限公司 A kind of lower key of linux system upgrades the implementation method of primary, spare board
CN108804128A (en) * 2018-05-30 2018-11-13 郑州云海信息技术有限公司 A kind of hard disk firmware online upgrading method of storage system
CN108874423A (en) * 2018-06-20 2018-11-23 郑州云海信息技术有限公司 A kind of method that remote batch refreshes hard disk firmware
CN109445821A (en) * 2018-11-01 2019-03-08 郑州云海信息技术有限公司 A kind of method and system of batch refresh bimodulus SSD open channel mode firmware
CN109491607A (en) * 2018-11-02 2019-03-19 郑州云海信息技术有限公司 Batch writes with a brush dipped in Chinese ink the method and system of resetting bimodulus SSD open channel mode capability

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100057987A1 (en) * 2008-09-04 2010-03-04 Guanglin Liu Method and System for Upgrading Normal Disk Controller to RAID Controller
CN105183516A (en) * 2015-09-09 2015-12-23 浪潮电子信息产业股份有限公司 Method for automatically installing RAID card FW and KUX operating system
CN105260208A (en) * 2015-10-10 2016-01-20 浪潮电子信息产业股份有限公司 RAID card driver automatic batch refreshing method for servers
CN105930187A (en) * 2016-04-21 2016-09-07 浪潮电子信息产业股份有限公司 Method for batch refreshing of FW of Mega SAS RAID cards
CN106095339A (en) * 2016-06-13 2016-11-09 浪潮(北京)电子信息产业有限公司 A kind of RAID collocation method for server
CN106201583A (en) * 2016-06-29 2016-12-07 浪潮电子信息产业股份有限公司 A kind of for not restarting the method that system realizes the upgrading of LSI RAID card FW under linux system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100057987A1 (en) * 2008-09-04 2010-03-04 Guanglin Liu Method and System for Upgrading Normal Disk Controller to RAID Controller
CN105183516A (en) * 2015-09-09 2015-12-23 浪潮电子信息产业股份有限公司 Method for automatically installing RAID card FW and KUX operating system
CN105260208A (en) * 2015-10-10 2016-01-20 浪潮电子信息产业股份有限公司 RAID card driver automatic batch refreshing method for servers
CN105930187A (en) * 2016-04-21 2016-09-07 浪潮电子信息产业股份有限公司 Method for batch refreshing of FW of Mega SAS RAID cards
CN106095339A (en) * 2016-06-13 2016-11-09 浪潮(北京)电子信息产业有限公司 A kind of RAID collocation method for server
CN106201583A (en) * 2016-06-29 2016-12-07 浪潮电子信息产业股份有限公司 A kind of for not restarting the method that system realizes the upgrading of LSI RAID card FW under linux system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193608A (en) * 2017-05-26 2017-09-22 郑州云海信息技术有限公司 A kind of implementation method of disk firmware heat upgrading
CN107402753B (en) * 2017-06-30 2020-11-27 苏州浪潮智能科技有限公司 Method and device for refreshing hard disk firmware
CN107402753A (en) * 2017-06-30 2017-11-28 郑州云海信息技术有限公司 The method for refreshing and device of a kind of hard disk firmware
CN107402789A (en) * 2017-07-31 2017-11-28 郑州云海信息技术有限公司 A kind of server cluster automatic batch penetrates the method that RAID card refreshes hard disk FW
CN107678758A (en) * 2017-08-18 2018-02-09 郑州云海信息技术有限公司 A kind of method for carrying out FW upgradings to NVDIMM electric capacity based on Windows systems
CN107729024A (en) * 2017-09-26 2018-02-23 郑州云海信息技术有限公司 A kind of hard disk FW upgrade methods and system based on Windows systems
CN107885520A (en) * 2017-11-29 2018-04-06 郑州云海信息技术有限公司 A kind of RAID card firmware batch refreshing apparatus and method
CN108062229A (en) * 2018-01-02 2018-05-22 郑州云海信息技术有限公司 A kind of method of batch updating Seagate hard disk firmware under linux system
CN108600031A (en) * 2018-05-10 2018-09-28 烽火通信科技股份有限公司 A kind of lower key of linux system upgrades the implementation method of primary, spare board
CN108804128A (en) * 2018-05-30 2018-11-13 郑州云海信息技术有限公司 A kind of hard disk firmware online upgrading method of storage system
CN108874423A (en) * 2018-06-20 2018-11-23 郑州云海信息技术有限公司 A kind of method that remote batch refreshes hard disk firmware
CN109445821A (en) * 2018-11-01 2019-03-08 郑州云海信息技术有限公司 A kind of method and system of batch refresh bimodulus SSD open channel mode firmware
CN109491607A (en) * 2018-11-02 2019-03-19 郑州云海信息技术有限公司 Batch writes with a brush dipped in Chinese ink the method and system of resetting bimodulus SSD open channel mode capability
CN109491607B (en) * 2018-11-02 2022-02-18 郑州云海信息技术有限公司 Method and system for resetting dual-mode SSD open channel mode capacity in batch flash mode

Similar Documents

Publication Publication Date Title
CN106681775A (en) Method for achieving online batch upgrading of hard disk firmware through RAID card under Linux system
US11314499B2 (en) Simulating end-to-end upgrade process in production environment
CN102880532B (en) Cloud technology-based test system and method
US6026438A (en) Dynamic workstation configuration processor
CN101411123B (en) Method, system and computer program for the centralized system management on endpoints of a distributed data processing system
CN105260208A (en) RAID card driver automatic batch refreshing method for servers
CN105183497A (en) Method for automatically refreshing basic input/output systems (BIOSs) in batches by universal server
CN104461611A (en) Method for refreshing node BIOSes of RACK cabinet in batches
CN106445591A (en) Automatic and batched RAID card FW refreshing method of servers
CN105117293B (en) Automatic deployment method and automatic deployment system for Windows system environment
EP2614432A1 (en) System and method for automated deployment of a multi-component computer environment
CN103150188B (en) The compatible video card fast initializing method of the x86 of non-x 86 instruction set computer
US20080098386A1 (en) Methodology of individualized software deployment for hardware-independent personal computer mass deployment
CN109117195A (en) A kind of method, device and equipment of UEFI mode adjustment boot sequence
US20050229161A1 (en) Generic user interface testing framework with load-time libraries
CN105183520A (en) Automatic remote installing and debugging method and system for computer software
CN107391195A (en) A kind of method that SSD FW upgradings are carried out under linux
CN109144525A (en) A kind of software installation method and system of network self-adapting
CN111831345A (en) Management method and device for server hard disk backboard, storage medium and equipment
CN109460358A (en) Configuring management method and system based on Cmdb
US20050228644A1 (en) Generic user interface testing framework with rules-based wizard
CN112631915B (en) Method, system, device and medium for PCIE device software simulation
CN117290255A (en) Batch interface performance test method based on Python and Locut frameworks
CN107832106A (en) A kind of method and system of the online updating hard disk FW under low Kernel versions OS
CN112216340A (en) Hard disk test method and device, storage medium and electronic equipment

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: 20170517