CN107544757A - A kind of method and system based on MCS system quick search disk id and Firmware versions - Google Patents

A kind of method and system based on MCS system quick search disk id and Firmware versions Download PDF

Info

Publication number
CN107544757A
CN107544757A CN201710686126.2A CN201710686126A CN107544757A CN 107544757 A CN107544757 A CN 107544757A CN 201710686126 A CN201710686126 A CN 201710686126A CN 107544757 A CN107544757 A CN 107544757A
Authority
CN
China
Prior art keywords
firmware versions
whole
disk
mcs
disks
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
CN201710686126.2A
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 CN201710686126.2A priority Critical patent/CN107544757A/en
Publication of CN107544757A publication Critical patent/CN107544757A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a kind of method and system based on MCS system quick search disk id and Firmware versions, inquire about the information of whole disks in MCS systems, the id of whole disks is filtered out, inquires about corresponding Firmware versions by whole disk id, and print to terminal;The present invention inquires about whole disks id and corresponding Firmware versions in storage system by very easy method, one-touch inquire whole disks in storage system No. id and Firmware versions can be realized, so as to lift the operating efficiency of staff, Improving The Quality of Products.

Description

A kind of method based on MCS system quick search disk id and Firmware versions and System
Technical field
The present invention relates to the technical field of storage system, and in particular to one kind based on MCS systems quick search disk id and The method and system of Firmware versions.
Background technology
With the high speed development of IT industries, the scale and property of the development of information-based, big data and cloud computing to storage system Also more and more higher, the scale of storage system constantly expand for the requirement of energy, are also continuing to increase, are grinding specific to the quantity of storage disk It is also more and more frequent that hair personnel do corresponding operating to storage system disk.
In the case where storage system carries a large amount of disks, research staff is checked corresponding to disk id and each disk During Firmware versions, existing order needs first to inquire No. id of whole disks, and further according to disk, No. id inquires correspondingly Firmware versions, a disc information can only be inquired about every time, if it is desired to inquire about No. id of multiple disks it is corresponding Firmware versions more than repeating, it is necessary to operate repeatedly, efficiency is too low.
Therefore, this area needs a kind of method for realizing one-touch No. id and Firmware versions for inquiring whole disks badly Or system, the operating efficiency and quality of staff are improved, lifts the quality for storing product.
The content of the invention
Based on above mentioned problem, the present invention proposes one kind and is based on MCS system quick search disk id and Firmware versions Method and system.
The present invention can realize carries out disk id and corresponding Firmware versions to the disk of all connections in storage system Inquiry printing, for confirming No. id and Firmware versions corresponding to first piece of disk, to enter to these storage disks Row corresponding operating.
The present invention provides following technical scheme:
On the one hand, the invention provides a kind of method based on MCS system quick search disk id and Firmware versions, Including:
Step 101, whole disc informations in storage system are inquired about;
Step 102, according to whole disc informations, whole disk id are obtained, according to the whole disk id inquiry with it is described Id corresponds to Firmware versions;
Step 103, id and Firmware versions output is printed into terminal.
Wherein, methods described is realized automatically by custom script.
Wherein, the custom script is shell scripts.
Wherein, the terminal includes visualization interface, for realizing that a key inquires about whole disk id and corresponding with the id Firmware versions.
In addition, present invention also offers a kind of system based on MCS system quick search disk id and Firmware versions, The system includes:
Enquiry module, for inquiring about whole disc informations in storage system;
Acquisition module, for according to whole disc informations, obtaining whole disk id, according to whole disk id inquiries with The id corresponds to Firmware versions;
Output module, for id and Firmware versions output to be printed into terminal.
Wherein, the system is realized automatically by custom script.
Wherein, the custom script is shell scripts.
Wherein, the terminal includes visualization interface, for realizing that a key inquires about whole disk id and corresponding with the id Firmware versions.
The invention provides a kind of method and system based on MCS system quick search disk id and Firmware versions, The information of whole disks in MCS systems is inquired about, filters out the id of whole disks, is inquired about by whole disk id corresponding Firmware versions, and print to terminal;The present invention inquires about whole disk id in storage system by very easy method Number and corresponding Firmware versions, it is possible to achieve one-touch inquire whole disks in storage system No. id with Firmware versions, so as to lift the operating efficiency of staff, Improving The Quality of Products.
Brief description of the drawings
Fig. 1 is flow chart of the method for the present invention.
Fig. 2 is the system architecture diagram of the present invention.
Embodiment
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in 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, it can also be obtained according to these accompanying drawings other attached Figure.
On the one hand, embodiments of the present invention provide one kind and are based on MCS system quick search disks id and Firmware The method of version, accompanying drawing 1 are flow chart of the method for the present invention, including:
Step 101, whole disc informations in storage system are inquired about;
The querying command is lsdrive.
Step 102, according to whole disc informations, whole disk id are obtained, according to the whole disk id inquiry with The id corresponds to Firmware versions;
Wherein, methods described is realized automatically by custom script, and the custom script is shell scripts.
The custom script is as follows:
Wherein, lsdrive | awk ' { print $ 1 } | tail-n+2 ' is acquisition whole disk id, lsdrive $ i | grep " Firmware_level " | awk ' { print $ 2 } ' is inquiry Firmware versions corresponding with id.
Step 103, id and Firmware versions output is printed into terminal.
Wherein, the terminal includes visualization interface, for realizing that a key inquires about whole disk id and corresponding with the id Firmware versions.
The invention provides a kind of method based on MCS system quick search disk id and Firmware versions, inquires about MCS The information of whole disks in system, the id of whole disks is filtered out, corresponding Firmware versions are inquired about by whole disk id This, and print to terminal;The present invention inquires about in storage system whole disks id and right with it by very easy method The Firmware versions answered, it is possible to achieve one-touch inquire whole disks in storage system No. id and Firmware versions, So as to lift the operating efficiency of staff, Improving The Quality of Products.
On the other hand, embodiments of the present invention provide it is a kind of based on MCS systems quick search disk id and The system of Firmware versions, accompanying drawing 2 are system architecture diagram of the invention, and the system includes:
Enquiry module 201, for inquiring about whole disc informations in storage system;
The querying command is lsdrive.
Acquisition module 202, for according to whole disc informations, whole disk id being obtained, according to whole disks Id inquires about Firmware versions corresponding with the id;
Wherein, the system is realized automatically by custom script, and the custom script is shell scripts.
The custom script is as follows:
Wherein, lsdrive | awk ' { print $ 1 } | tail-n+2 ' is acquisition whole disk id, lsdrive $ i | grep " Firmware_level " | awk ' { print $ 2 } ' is inquiry Firmware versions corresponding with id.
Output module 203, for id and Firmware versions output to be printed into terminal.
Wherein, the terminal includes visualization interface, for realizing that a key inquires about whole disk id and corresponding with the id Firmware versions.
The invention provides a kind of system based on MCS system quick search disk id and Firmware versions, inquires about MCS The information of whole disks in system, the id of whole disks is filtered out, corresponding Firmware versions are inquired about by whole disk id This, and print to terminal;The present invention inquires about in storage system whole disks id and right with it by very easy method The Firmware versions answered, it is possible to achieve one-touch inquire whole disks in storage system No. id and Firmware versions, So as to lift the operating efficiency of staff, Improving The Quality of Products.
The foregoing description of the disclosed embodiments, those skilled in the art are enable to realize or using the present invention.To this A variety of 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 (8)

  1. A kind of 1. method based on MCS system quick search disk id and Firmware versions, it is characterised in that:
    Step 101, whole disc informations in storage system are inquired about;
    Step 102, according to whole disc informations, whole disk id are obtained, according to the whole disk id inquiry with it is described Id corresponds to Firmware versions;
    Step 103, id and Firmware versions output is printed into terminal.
  2. 2. according to the method for claim 1, it is characterised in that:Methods described is realized automatically by custom script.
  3. 3. according to the method for claim 2, it is characterised in that:The custom script is shell scripts.
  4. 4. according to the method for claim 1, it is characterised in that:The terminal includes visualization interface, for realizing a key Inquire about whole disk id and Firmware versions corresponding with the id.
  5. A kind of 5. distance host login system with draw-bar box, it is characterised in that:The system includes:
    Enquiry module, for inquiring about whole disc informations in storage system;
    Acquisition module, for according to whole disc informations, obtaining whole disk id, according to whole disk id inquiries with The id corresponds to Firmware versions;
    Output module, for id and Firmware versions output to be printed into terminal.
  6. 6. system according to claim 5, it is characterised in that:The system is realized automatically by custom script.
  7. 7. system according to claim 6, it is characterised in that:The custom script is shell scripts.
  8. 8. system according to claim 5, it is characterised in that:The terminal includes visualization interface, for realizing a key Inquire about whole disk id and Firmware versions corresponding with the id.
CN201710686126.2A 2017-08-11 2017-08-11 A kind of method and system based on MCS system quick search disk id and Firmware versions Pending CN107544757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710686126.2A CN107544757A (en) 2017-08-11 2017-08-11 A kind of method and system based on MCS system quick search disk id and Firmware versions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710686126.2A CN107544757A (en) 2017-08-11 2017-08-11 A kind of method and system based on MCS system quick search disk id and Firmware versions

Publications (1)

Publication Number Publication Date
CN107544757A true CN107544757A (en) 2018-01-05

Family

ID=60971378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710686126.2A Pending CN107544757A (en) 2017-08-11 2017-08-11 A kind of method and system based on MCS system quick search disk id and Firmware versions

Country Status (1)

Country Link
CN (1) CN107544757A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927126A (en) * 2013-07-18 2014-07-16 詹明德 RAID (redundant array of independent disks) equipment configuration method, RAID equipment assembly method and RAID equipment disk insertion processing method
CN105183388A (en) * 2015-09-14 2015-12-23 北京华青融天技术有限责任公司 Obtaining method, device and system for hardware physics serial number
CN106066890A (en) * 2016-06-16 2016-11-02 上海天玑科技股份有限公司 A kind of distributed high-performance data storehouse integrated machine system
CN106095633A (en) * 2016-06-23 2016-11-09 浪潮电子信息产业股份有限公司 Method for detecting disk disorder or disk dropping in stability test of whole cabinet

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927126A (en) * 2013-07-18 2014-07-16 詹明德 RAID (redundant array of independent disks) equipment configuration method, RAID equipment assembly method and RAID equipment disk insertion processing method
CN105183388A (en) * 2015-09-14 2015-12-23 北京华青融天技术有限责任公司 Obtaining method, device and system for hardware physics serial number
CN106066890A (en) * 2016-06-16 2016-11-02 上海天玑科技股份有限公司 A kind of distributed high-performance data storehouse integrated machine system
CN106095633A (en) * 2016-06-23 2016-11-09 浪潮电子信息产业股份有限公司 Method for detecting disk disorder or disk dropping in stability test of whole cabinet

Similar Documents

Publication Publication Date Title
EP3796182A1 (en) Data processing method and apparatus, and computer-readable storage medium
CN104802527A (en) Online product label printing system and method
CN105058989B (en) A kind of production line of bar nameplate Mk system and control method thereof
CN103178962B (en) General-purpose fingerprint authentication method and device
CN106355378A (en) Universal bar code label design system
CN106919697A (en) A kind of method that data are imported multiple Hadoop components simultaneously
CN203012738U (en) Material error proofing information contrast system
CN103475723A (en) Group finance management method
CN104991874B (en) A kind of multi-controller storage device ALUA collocation methods based on SCST
CN102521551B (en) Personalized IC (integrated circuit) card issuing device and method
CN104424189A (en) Positioning resolving method and positioning resolving system based on cloud platform
CN101710322A (en) Method and system for associating information
CN103631546A (en) Data output and electronic document storage device, data output and electronic document storage method, word generation device and word generating method
CN107544757A (en) A kind of method and system based on MCS system quick search disk id and Firmware versions
CN104589788B (en) Digital printing processing method and device
WO2020228007A1 (en) Cloud service information sharing method
CN102467353A (en) Document printing method and computer
CN204988198U (en) Device of tobacco leaf thickness is surveyed to laser
CN101815082A (en) External information integrated device and service system
CN107609068A (en) A kind of noninductive moving method of data
CN110928484A (en) Hybrid cloud storage method based on software defined storage
CN103020032A (en) Report generation method in cloud computing system
CN104268036A (en) Snapshot volume reading method based on zero copy
CN203340237U (en) Video-acquisition high-speed downloader
CN102495902A (en) Method and system for simultaneously realizing ETL (Extract Transform and Load) process of spatial data and attribute data

Legal Events

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

Application publication date: 20180105

RJ01 Rejection of invention patent application after publication