CN107562584A - It is a kind of to verify the method for refreshing storage device success rate in whole machine cabinet - Google Patents

It is a kind of to verify the method for refreshing storage device success rate in whole machine cabinet Download PDF

Info

Publication number
CN107562584A
CN107562584A CN201710613192.7A CN201710613192A CN107562584A CN 107562584 A CN107562584 A CN 107562584A CN 201710613192 A CN201710613192 A CN 201710613192A CN 107562584 A CN107562584 A CN 107562584A
Authority
CN
China
Prior art keywords
storage device
beacon information
refresh
machine cabinet
whole machine
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
CN201710613192.7A
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 CN201710613192.7A priority Critical patent/CN107562584A/en
Publication of CN107562584A publication Critical patent/CN107562584A/en
Pending legal-status Critical Current

Links

Abstract

The present invention provides a kind of method for verifying and refreshing storage device success rate in whole machine cabinet, and refresh operation is carried out to storage device to be refreshed;After the completion of refreshing to all storage devices in whole machine cabinet, the beacon information of whole storage devices is checked by CURL instruments;Beacon information and beacon information after refreshing before refreshing by comparing whole storage devices, verify the success rate of storage device in whole machine cabinet.Method can be refreshed with fast and convenient to storage device, and verify and refresh storage device success rate in whole machine cabinet, testing efficiency is improved, saves the input of test manpower, the mistake occurred in repeating is it also avoid, operating efficiency is greatly improved and reduces human cost.

Description

It is a kind of to verify the method for refreshing storage device success rate in whole machine cabinet
Technical field
The present invention relates to field of storage, more particularly to a kind of method for verifying storage device success rate in refreshing whole machine cabinet.
Background technology
JBOD is a kind of important storage device in field of storage.JBOD (Just a Bunch Of Disks, disk cluster) It is the storage device with multiple disc drivers installed on a bottom plate.Also commonly known as Span.With RAID array not Together, JBOD does not have the data distribution that front end logic is come on hyperdisk, on the contrary, each disk is individually addressed, as separately Storage resource, an or part for Intrusion Detection based on host software.Advantages of the JBOD compared with RAID array is its low cost, Multiple disks can be merged into the box of shared power supply and blower.
JBOD is successfully fabricated to the 1U sections for meeting scorpio standard by Inspur in SF-S1 type SR whole machine cabinet servers Point, provide powerful storage for the calculate node in traditional SR whole machine cabinets and support.JBOD core control portions, i.e. JBOD Firmware, usually using UART serial ports or by management network port to single JBOD carry out firmware upgrade.It is and whole in Inspur SR The RESTful API functions that rack JBOD node firmwares include are that each operation in JBOD firmwares both provides a URL Address, and operated according to corresponding command parameter, wherein just containing the order for refreshing firmware.Pass through CURL (CommandLine Uniform Resource Locator) order line, call the URL addresses for refreshing firmware, it is possible to achieve right JBOD node firmwares are refreshed.
Because firmware is to JBOD importance, once occurring exception in firmware refresh process, then it can cause JBOD can not Normal work, great inconvenience is brought to normal O&M, and influence the normal operation of whole machine cabinet interdependent node business.Therefore solid Before part issue, it is very important to carry out firmware to refresh checking.In order to ensure the success rate of firmware refreshing, generally in test process It is middle to carry out hundreds of times or even thousands of time refresh operations.If using manually being refreshed repeatedly, can not only expend substantial amounts of Manpower man-hour, but also other unknowable exceptions can be brought because of operational error.
The content of the invention
In order to overcome above-mentioned deficiency of the prior art, the present invention provide a kind of verification refresh in whole machine cabinet storage device into The method of power, method include,
Refresh operation is carried out to storage device to be refreshed;
After the completion of refreshing to all storage devices in whole machine cabinet, whole storage devices are checked by CURL instruments Beacon information;
Beacon information and beacon information after refreshing, verify and are stored in whole machine cabinet before refreshing by comparing whole storage devices The success rate of equipment.
Preferably, step, which to all storage devices in whole machine cabinet refresh, completes also to include afterwards:
System is restarted automatically, and after standing preset duration, passes through the beacon information that CURL instruments check whole storage devices.
Preferably, step carries out including before refresh operation to storage device to be refreshed:Set to refresh in whole machine cabinet and deposit The time of equipment is stored up, the number for refreshing storage device in whole machine cabinet is set, sets the login of each storage device in whole machine cabinet to use Name in an account book and password.
Preferably, step carries out refresh operation to storage device to be refreshed also includes:
The path address of all storage devices in whole machine cabinet, and path based on storage device are obtained by curl instruments Location carries out refresh operation.
Preferably, step is also included by the beacon information of CURL instrument inspection whole storage devices:
The beacon information of all storage devices in whole machine cabinet, and path based on storage device are obtained by curl instruments The beacon information of all storage devices is checked in location.
Preferably, step is also included by the beacon information of CURL instrument inspection whole storage devices:
Refresh Data time and duration in the list of data items of whole storage device beacon informations are checked by CURL instruments.
Preferably, beacon information and beacon information after refreshing, verification before refreshing of the step by comparing whole storage devices The success rate of storage device also includes in whole machine cabinet:
When detecting the beacon information of storage device, when checking Refresh Data in the list of data items of storage device beacon information Between and duration;
Judge whether Refresh Data time and duration are default to this in the list of data items of storage device beacon information Storage device refresh time and duration;
When the Refresh Data time refreshes to be default to the storage device in the list of data items of storage device beacon information When time and duration, the storage device is refreshed;
When the storage device is refreshed one time, the beacon information of the storage device is denoted as refreshing for the first time, When the storage device is refreshed multiple, the beacon information of the storage device is denoted as the number refreshed, described to deposit The beacon information of storage equipment also identifies time and the duration of the recent refreshing of current time.
Preferably, when in the list of data items of storage device beacon information the Refresh Data time storage is set with default When standby refresh time is not inconsistent, the storage device is denoted as not refreshing;
When Refresh Data duration refreshes with default to the storage device in the list of data items of storage device beacon information When duration is not inconsistent, the storage device does not refresh completely.
Preferably, step carries out refresh operation to storage device to be refreshed also includes:
Refreshed according to the URL addresses of storage device according to secondary ordered pair storage device;Refresh to storage device When, before refreshing to storage device, by storage device described in user name corresponding to the storage device and password login, to described Refreshed;
The list of data items of storage device beacon information records the log-on message of the storage device.
Preferably, beacon information and beacon information after refreshing, verification before refreshing of the step by comparing whole storage devices The success rate of storage device also includes in whole machine cabinet:
When detecting the beacon information of storage device, when checking Refresh Data in the list of data items of storage device beacon information Between, duration and log-on message;
Judge whether Refresh Data time, duration and log-on message lead in the list of data items of storage device beacon information Cross user name and password login, and whether refresh time, duration are default to the storage device refresh time and duration;
When record passes through user name and password login, Refresh Data time in the list of data items of storage device beacon information For it is default to the storage device refresh time and duration when, the storage device is refreshed;
When the storage device is refreshed one time, the beacon information of the storage device is denoted as refreshing for the first time, When the storage device is refreshed multiple, the beacon information of the storage device is denoted as the number refreshed, described to deposit The beacon information of storage equipment also identifies time and the duration of the recent refreshing of current time.
As can be seen from the above technical solutions, the present invention has advantages below:
The method that verification refreshes storage device success rate in whole machine cabinet can be refreshed with fast and convenient to storage device, And verify and refresh storage device success rate in whole machine cabinet, testing efficiency is improved, saves the input of test manpower, it also avoid in weight The mistake occurred in multiple operation, greatly improves operating efficiency and reduces human cost.
Brief description of the drawings
In order to illustrate more clearly of technical scheme, the required accompanying drawing used in description will be made below simple Ground introduction, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ordinary skill For personnel, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram that verification refreshes storage device success rate in whole machine cabinet;
Fig. 2 is the embodiment of the method flow chart that verification refreshes storage device success rate in whole machine cabinet.
Embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, will use below specific Embodiment and accompanying drawing, the technical scheme protected to the present invention are clearly and completely described, it is clear that implementation disclosed below Example is only part of the embodiment of the present invention, and not all embodiment.Based on the embodiment in this patent, the common skill in this area All other embodiment that art personnel are obtained under the premise of creative work is not made, belong to the model of this patent protection Enclose.
The present embodiment provides a kind of method for verifying and refreshing storage device success rate in whole machine cabinet, as shown in figure 1, method bag Include,
S1, refresh operation is carried out to storage device to be refreshed;
S2, after the completion of refreshing to all storage devices in whole machine cabinet, by the inspection of CURL instruments, all storage is set Standby beacon information;
S3, beacon information and beacon information after refreshing, are verified in whole machine cabinet before the refreshing by comparing whole storage devices The success rate of storage device.
By descending compilation script in systems, remote operation is carried out to the JBOD nodes of whole storage devices on rack, from The dynamic JBOD nodes to whole storage devices refresh repeatedly, and automatic Verification refreshes whether result succeeds.
In the present embodiment, step, which to all storage devices in whole machine cabinet refresh, to be completed also to include afterwards:
System is restarted automatically, and after standing preset duration, passes through the beacon information that CURL instruments check whole storage devices. Ensure that the JBOD nodes of all storage devices in whole machine cabinet restart success, and the normal program operation in whole machine cabinet.
In the present embodiment, as shown in Fig. 2
S11, the time for refreshing storage device in whole machine cabinet is set, the number for refreshing storage device in whole machine cabinet is set, if Put the login username and password of each storage device in whole machine cabinet.
Here the refreshing to storage device in whole machine cabinet is not exclusively once, it may be possible to repeatedly, and can set every time The specific time refreshed and duration.Duration is the parameter according to storage device, for example capacity, storage capacity etc. is set.Each deposit Storage equipment can be separately provided login username and password.
S12, refresh operation is carried out to storage device to be refreshed;
S13, after the completion of refreshing to all storage devices in whole machine cabinet, by the inspection of CURL instruments, all storage is set Standby beacon information;
S14, beacon information and beacon information after refreshing, are verified in whole machine cabinet before the refreshing by comparing whole storage devices The success rate of storage device.
In the present embodiment, step carries out refresh operation to storage device to be refreshed also to be included:
The path address of all storage devices in whole machine cabinet, and path based on storage device are obtained by curl instruments Location carries out refresh operation.
Step is also included by the beacon information of CURL instrument inspection whole storage devices:
The beacon information of all storage devices in whole machine cabinet, and path based on storage device are obtained by curl instruments The beacon information of all storage devices is checked in location;
In the present embodiment, step is also included by the beacon information of CURL instrument inspection whole storage devices:
Refresh Data time and duration in the list of data items of whole storage device beacon informations are checked by CURL instruments.
Beacon information and beacon information after refreshing, are verified in whole machine cabinet before refreshing of the step by comparing whole storage devices The success rate of storage device also includes:
When detecting the beacon information of storage device, when checking Refresh Data in the list of data items of storage device beacon information Between and duration;
Judge whether Refresh Data time and duration are default to this in the list of data items of storage device beacon information Storage device refresh time and duration;
When the Refresh Data time refreshes to be default to the storage device in the list of data items of storage device beacon information When time and duration, the storage device is refreshed;
When the storage device is refreshed one time, the beacon information of the storage device is denoted as refreshing for the first time, When the storage device is refreshed multiple, the beacon information of the storage device is denoted as the number refreshed, described to deposit The beacon information of storage equipment also identifies time and the duration of the recent refreshing of current time.
Here the success rate refreshed every time can be verified, the success rate of the refreshing of last time can also be verified.
When the Refresh Data time refreshes with default to the storage device in the list of data items of storage device beacon information When time is not inconsistent, the storage device is denoted as not refreshing;
When Refresh Data duration refreshes with default to the storage device in the list of data items of storage device beacon information When duration is not inconsistent, the storage device does not refresh completely.
Step carries out refresh operation to storage device to be refreshed also to be included:According to the URL addresses of storage device according to secondary Ordered pair storage device is refreshed;When refreshing to storage device, before refreshing to storage device, pass through the storage device Corresponding user name and storage device described in password login, refresh to described;
The list of data items of storage device beacon information records the log-on message of the storage device.
In the present embodiment, beacon information and beacon information after refreshing before refreshing of the step by comparing whole storage devices, The success rate of storage device also includes in verification whole machine cabinet:
When detecting the beacon information of storage device, when checking Refresh Data in the list of data items of storage device beacon information Between, duration and log-on message;
Judge whether Refresh Data time, duration and log-on message lead in the list of data items of storage device beacon information Cross user name and password login, and whether refresh time, duration are default to the storage device refresh time and duration;
When record passes through user name and password login, Refresh Data time in the list of data items of storage device beacon information For it is default to the storage device refresh time and duration when, the storage device is refreshed;
When the storage device is refreshed one time, the beacon information of the storage device is denoted as refreshing for the first time, When the storage device is refreshed multiple, the beacon information of the storage device is denoted as the number refreshed, described to deposit The beacon information of storage equipment also identifies time and the duration of the recent refreshing of current time.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (10)

1. a kind of verify the method for refreshing storage device success rate in whole machine cabinet, it is characterised in that method includes,
Refresh operation is carried out to storage device to be refreshed;
After the completion of refreshing to all storage devices in whole machine cabinet, the sign of whole storage devices is checked by CURL instruments Information;
Beacon information and beacon information after refreshing, verify storage device in whole machine cabinet before refreshing by comparing whole storage devices Success rate.
2. the method that verification according to claim 1 refreshes storage device success rate in whole machine cabinet, it is characterised in that
Step, which to all storage devices in whole machine cabinet refresh, to be completed also to include afterwards:
System is restarted automatically, and after standing preset duration, passes through the beacon information that CURL instruments check whole storage devices.
3. the method that verification according to claim 1 refreshes storage device success rate in whole machine cabinet, it is characterised in that
Step carries out including before refresh operation to storage device to be refreshed:Set refresh whole machine cabinet in storage device when Between, the number for refreshing storage device in whole machine cabinet is set, the login username and password of each storage device in whole machine cabinet are set.
4. the method that verification according to claim 1 refreshes storage device success rate in whole machine cabinet, it is characterised in that
Step carries out refresh operation to storage device to be refreshed also to be included:
The path address of all storage devices in whole machine cabinet is obtained by curl instruments, and the path address based on storage device is entered Row refresh operation.
5. the method that verification according to claim 1 refreshes storage device success rate in whole machine cabinet, it is characterised in that
Step is also included by the beacon information of CURL instrument inspection whole storage devices:
The beacon information of all storage devices in whole machine cabinet is obtained by curl instruments, and the path address based on storage device is looked into See the beacon information of all storage devices.
6. the method that verification according to claim 1 refreshes storage device success rate in whole machine cabinet, it is characterised in that
Step is also included by the beacon information of CURL instrument inspection whole storage devices:
Refresh Data time and duration in the list of data items of whole storage device beacon informations are checked by CURL instruments.
7. the method that verification according to claim 6 refreshes storage device success rate in whole machine cabinet, it is characterised in that
Beacon information and beacon information after refreshing, verify and are stored in whole machine cabinet before refreshing of the step by comparing whole storage devices The success rate of equipment also includes:
When detecting the beacon information of storage device, check in the list of data items of storage device beacon information the Refresh Data time and Duration;
Judge whether Refresh Data time and duration are default to the storage in the list of data items of storage device beacon information Equipment refresh time and duration;
When the Refresh Data time is default to the storage device refresh time in the list of data items of storage device beacon information During with duration, the storage device is refreshed;
When the storage device is refreshed one time, the beacon information of the storage device is denoted as refreshing for the first time, works as institute When stating storage device and being refreshed multiple, the beacon information of the storage device is denoted as the number refreshed, and the storage is set Standby beacon information also identifies time and the duration of the recent refreshing of current time.
8. the method that verification according to claim 7 refreshes storage device success rate in whole machine cabinet, it is characterised in that
When in the list of data items of storage device beacon information the Refresh Data time with it is default to the storage device refresh time When not being inconsistent, the storage device is denoted as not refreshing;
When in the list of data items of storage device beacon information Refresh Data duration with it is default to the storage device refresh duration When not being inconsistent, the storage device does not refresh completely.
9. the method that verification according to claim 8 refreshes storage device success rate in whole machine cabinet, it is characterised in that
Step carries out refresh operation to storage device to be refreshed also to be included:
Refreshed according to the URL addresses of storage device according to secondary ordered pair storage device;It is right when refreshing to storage device Before storage device refreshes, by storage device described in user name corresponding to the storage device and password login, to the progress Refresh;
The list of data items of storage device beacon information records the log-on message of the storage device.
10. the method that verification according to claim 9 refreshes storage device success rate in whole machine cabinet, it is characterised in that
Beacon information and beacon information after refreshing, verify and are stored in whole machine cabinet before refreshing of the step by comparing whole storage devices The success rate of equipment also includes:
Detect storage device beacon information when, check in the list of data items of storage device beacon information the Refresh Data time, Duration and log-on message;
Judge in the list of data items of storage device beacon information Refresh Data time, duration and log-on message whether by using Name in an account book and password login, and whether refresh time, duration are default to the storage device refresh time and duration;
When record passes through user name and password login in the list of data items of storage device beacon information, the Refresh Data time is pre- If to the storage device refresh time and duration when, the storage device is refreshed;
When the storage device is refreshed one time, the beacon information of the storage device is denoted as refreshing for the first time, works as institute When stating storage device and being refreshed multiple, the beacon information of the storage device is denoted as the number refreshed, and the storage is set Standby beacon information also identifies time and the duration of the recent refreshing of current time.
CN201710613192.7A 2017-07-25 2017-07-25 It is a kind of to verify the method for refreshing storage device success rate in whole machine cabinet Pending CN107562584A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710613192.7A CN107562584A (en) 2017-07-25 2017-07-25 It is a kind of to verify the method for refreshing storage device success rate in whole machine cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710613192.7A CN107562584A (en) 2017-07-25 2017-07-25 It is a kind of to verify the method for refreshing storage device success rate in whole machine cabinet

Publications (1)

Publication Number Publication Date
CN107562584A true CN107562584A (en) 2018-01-09

Family

ID=60974657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710613192.7A Pending CN107562584A (en) 2017-07-25 2017-07-25 It is a kind of to verify the method for refreshing storage device success rate in whole machine cabinet

Country Status (1)

Country Link
CN (1) CN107562584A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438688B1 (en) * 1999-03-24 2002-08-20 Dell Usa, L.P. Method and computer for locally and remotely updating a basic input output system (BIOS) utilizing one update file
CN103854704A (en) * 2012-12-03 2014-06-11 上海斐讯数据通信技术有限公司 Automatic detection method and automatic detection device of flash memory bad block
CN104461611A (en) * 2014-11-05 2015-03-25 浪潮电子信息产业股份有限公司 Method for refreshing node BIOSes of RACK cabinet in batches
CN105704241A (en) * 2016-04-06 2016-06-22 浪潮电子信息产业股份有限公司 Client terminal program updating method and system and a service platform
CN106445591A (en) * 2016-09-19 2017-02-22 郑州云海信息技术有限公司 Automatic and batched RAID card FW refreshing method of servers
CN106886440A (en) * 2017-02-24 2017-06-23 郑州云海信息技术有限公司 The version updating method of testing and device of a kind of BMC

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438688B1 (en) * 1999-03-24 2002-08-20 Dell Usa, L.P. Method and computer for locally and remotely updating a basic input output system (BIOS) utilizing one update file
CN103854704A (en) * 2012-12-03 2014-06-11 上海斐讯数据通信技术有限公司 Automatic detection method and automatic detection device of flash memory bad block
CN104461611A (en) * 2014-11-05 2015-03-25 浪潮电子信息产业股份有限公司 Method for refreshing node BIOSes of RACK cabinet in batches
CN105704241A (en) * 2016-04-06 2016-06-22 浪潮电子信息产业股份有限公司 Client terminal program updating method and system and a service platform
CN106445591A (en) * 2016-09-19 2017-02-22 郑州云海信息技术有限公司 Automatic and batched RAID card FW refreshing method of servers
CN106886440A (en) * 2017-02-24 2017-06-23 郑州云海信息技术有限公司 The version updating method of testing and device of a kind of BMC

Similar Documents

Publication Publication Date Title
WO2018120721A1 (en) Method and system for testing user interface, electronic device, and computer readable storage medium
CN103391222B (en) network service monitoring system and method
CN105680960B (en) A kind of Bluetooth card reader automated testing method, test host computer and test system
CN108287775A (en) A kind of method, apparatus, equipment and the storage medium of server failure detection
CN107453960A (en) A kind of methods, devices and systems that test data is handled in service testing
US20030237017A1 (en) Component fault isolation in a storage area network
CN107402789A (en) A kind of server cluster automatic batch penetrates the method that RAID card refreshes hard disk FW
CN106406952B (en) Electric terminal and application program management apparatus and method
CN101453373A (en) Near-end maintenance method, system and equipment for device
CN108875061A (en) A kind of conformance test method and relevant apparatus of distributed file system
CN103345439B (en) A kind of full link monitoring method of health state of information system and device
CN107329914A (en) It is a kind of that the out of order method and device of hard disk is detected based on linux system
CN107689941A (en) A kind of apparatus and method for preventing same user's repeat logon
CN105516359A (en) Method for managing and operating SAS Switch JBOD (Just a Bunch Of Disks) by using telnet protocol
CN108170550A (en) The method, apparatus and equipment of abnormality processing
CN102801575A (en) Loopback detecting method and device
CN105022663B (en) Power system monitoring and control system
CN106708445B (en) Link selecting method and device
CN103955416A (en) Hard disk management method, device and system
CN113127356A (en) Pressure measurement method and device, electronic equipment and storage medium
CN117149550A (en) Solid state disk performance detection method and device and electronic equipment
CN107562584A (en) It is a kind of to verify the method for refreshing storage device success rate in whole machine cabinet
CN109558264A (en) A kind of volume information method of calibration, system and the associated component of virtual volume
CN107294766B (en) Centralized control method and system
CN107749838A (en) A kind of method and device for detecting network and kidnapping

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