CN106201583A - Method for realizing FW upgrade of LSI RAID card without restarting system under Linux system - Google Patents

Method for realizing FW upgrade of LSI RAID card without restarting system under Linux system Download PDF

Info

Publication number
CN106201583A
CN106201583A CN201610492662.4A CN201610492662A CN106201583A CN 106201583 A CN106201583 A CN 106201583A CN 201610492662 A CN201610492662 A CN 201610492662A CN 106201583 A CN106201583 A CN 106201583A
Authority
CN
China
Prior art keywords
under
raid card
storcli
raid
linux
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
CN201610492662.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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610492662.4A priority Critical patent/CN106201583A/en
Publication of CN106201583A publication Critical patent/CN106201583A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method for realizing FW (firmware flash) upgrade of an LSI (large scale integration) RAID (redundant array of independent disks) card without restarting a system under a Linux system, which belongs to the field of FW upgrade. Not only improves the working efficiency in the test work, but also provides convenience for the maintenance work of the server in the later period.

Description

One realizes the upgrading of LSI RAID card FW for not restarting system under linux system Method
Technical field
The present invention relates to FW upgrade technique, particularly relate to one and realize LSI for not restarting system under linux system The method of RAID card FW upgrading.
Background technology
In the whole life cycle of RAID card, inevitably the RAID card on client server is carried out routine FW upgrades, and server now all can run business on line, although if by conventional upgrading mode simply, but shutdown stops This process of business can very loaded down with trivial details and time-consuming, suspend operation under system and do not restart the mode of server and upgrade FW the most very Necessity and efficiently.
Not having online not restart server and carry out RAID card FW upgrading needs and take a substantial amount of time, client not only needs Migration business also needs to close some programs that database is relevant at line service, and when being again started up to these and industry The startup of business relative program, this process can take a substantial amount of time and be likely to result in the exception of database associated software, Bring unnecessary trouble.
Summary of the invention
In order to solve above technical problem, the present invention proposes a kind of for not restarting system realization under linux system The method of LSI RAID card FW upgrading, when client needs to realize server vitals RAID in the case of being not related to stop server The FW upgrading of card, it is achieved solve problem or get rid of the purpose of RAID failure hidden danger.
The present invention coordinates RAID card management instrument Storcli to make based on the shell script under (SuSE) Linux OS With.Being integrated in shell script by RAID being managed the instruction of instrument, FW file will be comprised any under linux system Run flash.sh under catalogue to realize automatically upgrading FW, reduce to greatest extent and the application in client machine is impacted.
This method is to carry out writing forming based on the shell script under linux system, copies files to linux system Under, and run automatic batch processing script, it is possible under any system directory, realize the upgrading of RAID card FW, it is adaptable to the most most Number linux system, can read the RAID card FW version after upgrading automatically after having upgraded.
Preposition work:
Client machine obtains the root authority of linux system.By reliable for the flash.rar file any catalogue under system Under, decompressing files.Enter under the file of decompression, run flash.sh, wait that FW upgrades successfully.
The invention has the beneficial effects as follows.
This method can be applied operation business but have the client of RAID card FW upgrade requirement, and supports most Linux system (will not by each linux system ext is different affected), and can realize quickly, efficiently, accurately, to RAID card FW upgrades, and is greatly saved the manual compilation time different according to environment.In test job, not only improve work effect Rate, it is convenient to also provide the maintenance work in server later stage.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the present invention.
Detailed description of the invention
Below present disclosure is carried out more detailed elaboration:
The present invention is integrated in shell script by RAID manages the instruction of instrument, will comprise FW file at linux system Run flash.sh under the most any catalogue to realize automatically upgrading FW.
Three parts of the method instruction main body introduced in the present invention, Part I, it is judged that the most install in system RAID card management instrument, needs to install without installing management instrument;Part II, it is judged that system architecture, determines to make With the management instrument of which version;Part III, by management tool command upgrading FW and acquisition FW version information.
(1) Part I is described below, it is judged that system has been installed RAID card management instrument the most
[ ! -f /opt/MegaRAID/storcli/storcli* ] && rpm -i storcli-*.noarch.rpm >/dev/null || 2>/dev/null
!-f/opt/MegaRAID/storcli/storcli* is fitted without storcli and manages instrument
Rpm-i storcli-*.noarch.rpm installs storcli and manages instrument
The meaning of this instruction is exactly to judge whether be provided with RAID card management instrument storcli in system, without installation Then installing, if installed, carrying out next step.
(2) Part II, it is judged that system architecture, determines to use the management instrument of which version
arch=`uname -m`
if [ $arch = x86_64 ]; then
storcli=/opt/MegaRAID/storcli/storcli64
else
storcli=/opt/MegaRAID/storcli/storcli
Arch=`uname-m` obtains the framework of system
if [ $arch = x86_64 ]; then
If storcli=/opt/MegaRAID/storcli/storcli64 system is 64 systems, use Storcli64 instrument
else
Storcli=/opt/MegaRAID/storcli/storcli is otherwise with the instrument of storcli version.
(3) Part III, by management tool command upgrading FW and acquisition FW version information
Upgrade under $ storcli/c0 download file=22084565.rom resetnow // system FW
Sleep 200 // wait RAID card online reset completes
$ storcli/c0 show | grep ' Product Name ' // acquisition RAID card manufacturer's information
$ storcli/c0 show | FW version after grep ' FW Version ' // acquisition RAID card upgrading

Claims (3)

1. one kind realizes, for not restarting system under linux system, the method that LSI RAID card FW is upgraded, it is characterised in that
RAID card management instrument Storcli is coordinated to use, by inciting somebody to action based on the shell script under (SuSE) Linux OS The instruction of RAID management instrument is integrated in shell script, will comprise FW file and run under any catalogue under linux system Flash.sh realizes automatically upgrading FW.
Method the most according to claim 1, it is characterised in that
Preposition job demand obtains the root authority of linux system in client machine;By reliable for flash.rar file to system Under any catalogue under, decompressing files;Enter under the file of decompression, run flash.sh, wait that FW upgrades successfully.
Method the most according to claim 1, it is characterised in that
Instruction main body has three parts, Part I, it is judged that the most installed RAID card management instrument in system, without peace Tubulature science and engineering tool needs are installed;Part II, it is judged that system architecture, determines to use the management instrument of which version;3rd Part, by management tool command upgrading FW and acquisition FW version information.
CN201610492662.4A 2016-06-29 2016-06-29 Method for realizing FW upgrade of LSI RAID card without restarting system under Linux system Pending CN106201583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610492662.4A CN106201583A (en) 2016-06-29 2016-06-29 Method for realizing FW upgrade of LSI RAID card without restarting system under Linux system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610492662.4A CN106201583A (en) 2016-06-29 2016-06-29 Method for realizing FW upgrade of LSI RAID card without restarting system under Linux system

Publications (1)

Publication Number Publication Date
CN106201583A true CN106201583A (en) 2016-12-07

Family

ID=57461094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610492662.4A Pending CN106201583A (en) 2016-06-29 2016-06-29 Method for realizing FW upgrade of LSI RAID card without restarting system under Linux system

Country Status (1)

Country Link
CN (1) CN106201583A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681775A (en) * 2017-01-03 2017-05-17 郑州云海信息技术有限公司 Method for achieving online batch upgrading of hard disk firmware through RAID card under Linux system
CN108804269A (en) * 2018-06-11 2018-11-13 郑州云海信息技术有限公司 A kind of system and method controlling test RAID board stability based on domain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984575A (en) * 2014-05-28 2014-08-13 浪潮电子信息产业股份有限公司 Rapid deployment method of cluster Linux operation system in cloud-computing environment
CN105138359A (en) * 2015-08-17 2015-12-09 浪潮电子信息产业股份有限公司 Optimized RAID (redundant array of independent disks) construction method based on automation
CN105183516A (en) * 2015-09-09 2015-12-23 浪潮电子信息产业股份有限公司 Method for automatically installing RAID card FW and KUX operating systems
CN105260208A (en) * 2015-10-10 2016-01-20 浪潮电子信息产业股份有限公司 Method for automatically refreshing RAID card drive in batches by server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984575A (en) * 2014-05-28 2014-08-13 浪潮电子信息产业股份有限公司 Rapid deployment method of cluster Linux operation system in cloud-computing environment
CN105138359A (en) * 2015-08-17 2015-12-09 浪潮电子信息产业股份有限公司 Optimized RAID (redundant array of independent disks) construction method based on automation
CN105183516A (en) * 2015-09-09 2015-12-23 浪潮电子信息产业股份有限公司 Method for automatically installing RAID card FW and KUX operating systems
CN105260208A (en) * 2015-10-10 2016-01-20 浪潮电子信息产业股份有限公司 Method for automatically refreshing RAID card drive in batches by server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
再见理想804: "LSI SAS RAID卡提供操作指南第一篇", 《URL:HTTPS://WENKU.BAIDU.COM/VIEW/E3E2E6F16529647D26285261.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681775A (en) * 2017-01-03 2017-05-17 郑州云海信息技术有限公司 Method for achieving online batch upgrading of hard disk firmware through RAID card under Linux system
CN108804269A (en) * 2018-06-11 2018-11-13 郑州云海信息技术有限公司 A kind of system and method controlling test RAID board stability based on domain

Similar Documents

Publication Publication Date Title
US7966612B2 (en) Method, system and computer program for installing shared software components
US8423991B2 (en) Embedded network device and firmware upgrading method
CN103746833A (en) PXE-based RAID automatic configuration method and system
US10747523B2 (en) Methods of updating firmware components, computer systems and memory apparatus
CN107171833A (en) One kind realizes server B MC and BIOS batch upgrading method by BMC
CN103530162A (en) Automatic online virtual machine software installing method and system
CN105068845A (en) Method for quickly updating firmware and guiding firmware to enter operating system
CN103412816A (en) Linux-based continuous integration test platform building method
CN102331958A (en) Method for starting hard disk under Linux system
CN105183520A (en) Automatic remote installing and debugging method and system for computer software
CN108415712A (en) A method of based on PXE server batch installation acceptance of the bid kylin operating system
CN106990985A (en) Apparatus and method based on BMC renewals and standby system UEFI firmwares
CN103761115A (en) Method for achieving self-update of software
CN106293806A (en) Mirror image based on USB flash disk interface and the upgrade method of application program in road system
CN106201583A (en) Method for realizing FW upgrade of LSI RAID card without restarting system under Linux system
CN105068827A (en) Method for refreshing BIOS (basic input output System) under Itanium platform operating system
WO2022156277A1 (en) Application program installation method and apparatus, and computing device and readable storage medium
CN102156649A (en) Patch installation method and device thereof
JP2015060411A (en) Firmware update method of information processor
US20090198988A1 (en) Method for verifying refreshed bios content
CN102331942A (en) Method for automatically upgrading BIOS (basic input/output system) and Linux core
CN116028084A (en) Cross-version hot upgrading method, system and terminal based on OpenStack cloud platform
US10613846B2 (en) Binary restoration in a container orchestration system
US20210055937A1 (en) Using a single process to install a uefi-supported os or a non-uefi supported os on a hardware platform
CN101470657A (en) Verification method for BIOS refreshing content

Legal Events

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

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication