CN107391036A - The VPD information access method and system of a kind of storage - Google Patents

The VPD information access method and system of a kind of storage Download PDF

Info

Publication number
CN107391036A
CN107391036A CN201710566846.5A CN201710566846A CN107391036A CN 107391036 A CN107391036 A CN 107391036A CN 201710566846 A CN201710566846 A CN 201710566846A CN 107391036 A CN107391036 A CN 107391036A
Authority
CN
China
Prior art keywords
cmc
vpd information
storage
access
vpd
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710566846.5A
Other languages
Chinese (zh)
Other versions
CN107391036B (en
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 CN201710566846.5A priority Critical patent/CN107391036B/en
Publication of CN107391036A publication Critical patent/CN107391036A/en
Application granted granted Critical
Publication of CN107391036B publication Critical patent/CN107391036B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0658Controller construction arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses the VPD information access method and system of a kind of storage, method including the step of be:Whether detection CMC IP address connects;To the CMC of IP address connection, the VPD information for calling ipmitool command access to store;CMC access process and result are recorded.System includes connection test cell, VPD information access unit and the memory cell being sequentially connected;Whether the IP address that the connection test cell is used to detect CMC connects, the VPD information access unit is used for the CMC to IP address connection, the VPD information of ipmitool command access storage is called, the memory cell is used to record CMC access process and result.Compared with prior art, the present invention can effectively improve CMC and access the success rate of VPD information, and is widely used in dual control, four controls and controls storage device more.

Description

The VPD information access method and system of a kind of storage
Technical field
The present invention relates to computer memory technical field, the VPD information access method of specifically a kind of storage and it is System.
Background technology
With the fast development of storage device, middle and high end storage is gradually favored by more users, while middle and high end is deposited How storage efficiently and rapidly accesses these device attribute information and receives people facing to increasing storage device attribute information Concern.
Prior art carries out passing through CMC (chassis managment control, cabinet during storing device information access System controls manager) network node between, make CMC access VPD (Vital Product Data, critical product technology) Information.Wherein VPD information includes product information (such as product sn) and hardware configuration information (such as CPU models, speed and each Interface card of which type etc. supported in groove position).
The CMC for carrying out VPD information access to same storage product includes main CMC0 and standby CMC1, in access process such as One CMC (main CMC0 or from CMC1) breaks down, it is necessary to switched over to main CMC0 and standby CMC1, past in practical application Toward situations such as there is CMC switching exceptions or abnormal CMC execution orders, the access to VPD information is caused to fail.
The content of the invention
To overcome above-mentioned the shortcomings of the prior art, it is an object of the invention to provide a kind of visit of the VPD information of storage Ask method and system, it is possible to increase CMC accesses the success rate of VPD information, and strong applicability.
The technical solution adopted for the present invention to solve the technical problems is:A kind of VPD information access method of storage, including Following steps:
Whether detection CMC IP address connects;
To the CMC of IP address connection, the VPD information for calling ipmitool command access to store;
CMC access process and result are recorded.
Further, whether the IP address for detecting the CMC using the logical tests of Ping connects.
Further, the VPD information that the calling ipmitool command access stores concretely comprises the following steps:
Call ipmitool orders;
Judge whether CMC accesses success;
If CMC is accessed successfully, without any operation;
If CMC accesses failure, judge in the past period, whether CMC occurred mistake;
If in the past period, mistake occurred for CMC, then an ipmitool order is recalled, access CMC and deposit The VPD information of storage;
If in the past period, CMC does not make a mistake, then ipmitool orders are repeatedly called, CMC is accessed storage VPD information.
Further, the VPD information of the storage is stored in middle plate EEPROM and/or storage control EEPROM.
Further, it is necessary to when multiple storage controls share VPD information, VPD information is stored on middle plate EEPROM; When needing the single storage control to exclusively enjoy VPD information, VPD information is stored in storage control EEPROM.
The VPD information of storage a kind of accesses system, including be sequentially connected connection test cell, VPD information access unit And memory cell;Whether the IP address that the connection test cell is used to detect CMC is connected, and the VPD information access unit is used In the CMC connected to IP address, the VPD information of ipmitool command access storage is called, the memory cell is for CMC's Access process and result are recorded.
Further, the VPD information access unit includes command calls module, accesses judge module and false judgment mould Block, the input of the command calls module connect the output of the output end and false judgment module of test cell respectively End, the output end of the input bind command calling module for accessing judge module, the output end for accessing judge module are distinguished Connect memory cell input and the input of false judgment module;
The command calls module is used to call ipmitool orders, and the access judge module is used for whether judging CMC Access successfully, the false judgment module is used to judge whether CMC occurred mistake.
The beneficial effect obtained using technical scheme is had
1st, the connectedness of CMC IP address is detected by the logical tests of Ping, directly invoking order for the IP CMC led to makes it VPD data are accessed, are no longer concerned about CMC master slave relation, it is not necessary to principal and subordinate CMC switching is carried out, so as to avoid principal and subordinate CMC from switching During the abnormal conditions that run into, above-mentioned technical proposal of the present invention improves the success rate that CMC accesses VPD information.
2nd, connected for CMC IP, but the abnormal conditions that CMC breaks down in command procedure is performed, increase retry Mechanism, and analysis judgement is carried out to CMC mistakes, suitable number of retries is set, is ensureing to access the not overtime feelings of VPD information Under condition, further increase the success rate that CMC accesses VPD information.
3rd, memories are controlled for dual control memory, four and controls memory more, the VPD information of storage control can protected In the presence of in plate EEPROM and controller EEPROM, CMC is accessed VPD information and be stored in middle plate EEPROM and controller Information in EEPROM, therefore technical scheme is with strong applicability.
4th, CMC is carried out the process of VPD access and recorded a demerit to be recorded, generate log files, facilitate follow-up analysis and look into See.
Brief description of the drawings
Fig. 1 is flow chart of the method for the present invention.
Fig. 2 is the flow chart that the present invention accesses VPD information.
Fig. 3 is the system structure diagram of the present invention.
Embodiment
For the technical characterstic for illustrating this programme can be understood, below by embodiment, and its accompanying drawing is combined, to this hair It is bright to be described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention Structure.In order to simplify disclosure of the invention, hereinafter the part and setting of specific examples are described.In addition, the present invention can be with Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated Relation between various embodiments are discussed and/or set.It should be noted that part illustrated in the accompanying drawings is not necessarily to scale Draw.Present invention omits the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting the present invention.
As shown in figure 1, a kind of VPD information access method of storage of the present invention, comprises the following steps:
Whether S1, the IP address for detecting CMC connect;
S2, to the CMC of IP address connection, the VPD information for calling ipmitool command access to store;
S3, CMC access process and result are recorded.
In above-mentioned steps S1~S3, CMC master slave relation is no longer concerned about, as long as CMC IP connections can call to it Ipmitool orders, the access of VPD information is carried out, avoid the abnormal conditions that CMC occurs during master-slave swap, improved and visit Ask the success rate of VPD information.
Whether the IP address for detecting the CMC using the logical tests of Ping in wherein step S1 connects.The tool of the logical tests of Ping Body method is to send data request packet to CMC, checks the number for the data request packet that CMC terminations receive and the request of data sent Whether the number of bag is consistent, if consistent with transmission, the IP address for illustrating CMC is connection, and otherwise CMC IP address does not connect It is logical.
The VPD information stored in step S2 is stored in middle plate EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM, data are not lost after a kind of power down Storage chip) and/or storage control EEPROM in.When needing multiple storage controls to share VPD information, by VPD information It is stored on plate EEPROM;When needing single storage control to exclusively enjoy VPD information, VPD information is stored in the storage control In device EEPROM processed.For example, for dual control storage device, dual control storage device include storage control nodeA and NodeB, when needing two storage controls to share VPD information, VPD information is stored on middle plate EEPROM, when needing list When individual storage control exclusively enjoys VPD information, VPD information is stored in storage control EEPROM, that is, is individually stored in In nodeA EEPROM and nodeB EEPROM.Equally applicable to four control storage devices and more control storage devices, difference only exists In the controller EEPROM of setting number, of the storage control EEPROM of setting number and the controller of storage device Number is identical.
As shown in Fig. 2 to the CMC of IP address connection in step S2, the VPD information for calling ipmitool command access to store Concretely comprise the following steps:
S21, call ipmitool orders;
S22, judges whether CMC accesses success;
S23, if CMC is accessed successfully, without any operation;
S24, if CMC accesses failure, judge in the past period, whether CMC occurred mistake;
S25, if in the past period, mistake occurred for CMC, then an ipmitool order is recalled, visits CMC Ask the VPD information of storage;
S26, if in the past period, CMC does not make a mistake, then ipmitool orders are repeatedly called, access CMC The VPD information of storage.
In step S23 without it is any operation be because CMC access successfully in the case of, storage can be directly obtained VPD information, go in step S3 operation.
The past period in step S24~S26 is set to 30 seconds, and ipmitool orders are repeatedly called in step S26 Number is 10 times.
It is connection for the IP in the prior art for CMC, but CMC is performing order in above-mentioned steps S21~S26 During the abnormal conditions that break down, increase retry mechanism, and analysis judgement is carried out to CMC mistakes, set suitable weight Number is tried, in the case where ensureing that access VPD information is not overtime, further increases the success rate that CMC accesses VPD information.
CMC access process and result are recorded in step S3, generate log log files, is easy to subsequently visit CMC Ask the analysis of process and check.
As shown in figure 3, present invention also offers a kind of VPD information of storage to access system, including the connection being sequentially connected Test cell 1, VPD information access unit 2 and memory cell 3;Whether the IP address that connection test cell 1 is used to detect CMC connects Logical, VPD information access unit 2 is used for the CMC to IP address connection, calls the VPD information of ipmitool command access storage, deposits Storage unit 3 is used to record CMC access process and result.
Wherein VPD information access unit 2 includes command calls module 21, accesses judge module 22 and false judgment module 23, the input of command calls module 21 connects the output of the output end and false judgment module 23 of test cell 1 respectively End, the output end of the input bind command calling module 21 of judge module 22 is accessed, access the output end point of judge module 22 Not Lian Jie the input of memory cell 3 and false judgment module input;Command calls module 21 is used to call ipmitool to order Order, access judge module 22 and be used to judge whether CMC accesses success, false judgment module 23 is used to judge whether CMC occurred Mistake.
Access judge module 22 successfully to judge whether CMC accesses, if CMC accesses VPD information success, directly CMC access result is exported to memory cell 3, if CMC accesses VPD information failure, outputs signal to false judgment module 23, false judgment module 23 carries out the judgement whether CMC occurred mistake within the past period, if pass by one section Between, mistake occurred for CMC, then false judgment module 23 recalls once by signal output to command calls module 21 Ipmitool orders, CMC is set to access the VPD information of storage, this time no matter whether CMC accesses success, terminates to access, will access As a result export to memory cell 3, if the past period, CMC does not make a mistake, then repeatedly calls ipmitool orders, make CMC accesses the VPD information of storage.Wherein call the number of ipmitool orders to be set to 10 times, and by the process and access result Export to memory cell 3.
Simply the preferred embodiment of the present invention described above, for those skilled in the art, Without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also regarded as this hair Bright protection domain.

Claims (7)

1. a kind of VPD information access method of storage, it is characterized in that:Comprise the following steps:
Whether detection CMC IP address connects;
To the CMC of IP address connection, the VPD information for calling ipmitool command access to store;
CMC access process and result are recorded.
2. a kind of VPD information access method of storage according to claim 1, it is characterized in that:Utilize the logical test inspections of ping Whether the IP address for surveying the CMC connects.
3. a kind of VPD information access method of storage according to claim 1, it is characterized in that:The calling ipmitool The VPD information of command access storage concretely comprises the following steps:
Call ipmitool orders;
Judge whether CMC accesses success;
If CMC is accessed successfully, without any operation;
If CMC accesses failure, judge in the past period, whether CMC occurred mistake;
If in the past period, mistake occurred for CMC, then an ipmitool order is recalled, CMC is accessed storage VPD information;
If in the past period, CMC does not make a mistake, then ipmitool orders are repeatedly called, CMC is accessed storage VPD information.
4. a kind of VPD information access method of storage according to claim 1, it is characterized in that:The VPD information of the storage It is stored in plate EEPROM and/or storage control EEPROM.
5. a kind of VPD information access method of storage according to claim 4, it is characterized in that:Need multiple storage controls When device shares VPD information, VPD information is stored on middle plate EEPROM;When needing the single storage control to exclusively enjoy VPD information, VPD information is stored in storage control EEPROM.
6. a kind of VPD information of storage accesses system, it is characterized in that:Connection test cell, VPD information including being sequentially connected are visited Ask unit and memory cell;Whether the IP address that the connection test cell is used to detect CMC connects, and the VPD information accesses Unit is used for the CMC to IP address connection, calls the VPD information of ipmitool command access storage, and the memory cell is used for CMC access process and result are recorded.
7. a kind of VPD information of storage according to claim 6 accesses system, it is characterized in that:The VPD information accesses single Member includes command calls module, access judge module and false judgment module, the input of the command calls module and connected respectively Lead to the output end of test cell and the output end of false judgment module, the input bind command for accessing judge module in succession The output end of calling module, the output end for accessing judge module connect the defeated of memory cell input and false judgment module respectively Enter end;
The command calls module is used to call ipmitool orders, and the access judge module is used to judge whether CMC accesses Success, the false judgment module are used to judge whether CMC occurred mistake.
CN201710566846.5A 2017-07-12 2017-07-12 Method and system for accessing stored VPD information Active CN107391036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710566846.5A CN107391036B (en) 2017-07-12 2017-07-12 Method and system for accessing stored VPD information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710566846.5A CN107391036B (en) 2017-07-12 2017-07-12 Method and system for accessing stored VPD information

Publications (2)

Publication Number Publication Date
CN107391036A true CN107391036A (en) 2017-11-24
CN107391036B CN107391036B (en) 2020-06-02

Family

ID=60340309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710566846.5A Active CN107391036B (en) 2017-07-12 2017-07-12 Method and system for accessing stored VPD information

Country Status (1)

Country Link
CN (1) CN107391036B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144415A (en) * 2018-08-01 2019-01-04 新华三云计算技术有限公司 Nodal test method and sharing and storing device
CN110704334A (en) * 2019-09-25 2020-01-17 苏州浪潮智能科技有限公司 Method, system and equipment for important product data management
CN113867994A (en) * 2021-09-27 2021-12-31 苏州浪潮智能科技有限公司 Case VPD information processing method and device, storage equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1886732A (en) * 2003-12-18 2006-12-27 英特尔公司 Device diagnostic system
CN101056205A (en) * 2007-04-04 2007-10-17 杭州华为三康技术有限公司 A management method, system and device based on ATCA architecture-based server
US20130013759A1 (en) * 2011-07-07 2013-01-10 International Business Machines Corporation Managing inventory data for components of a server system
CN102998613A (en) * 2012-11-26 2013-03-27 李文海 Test system and method capable of realizing parallel testing of circuit board
US20150095476A1 (en) * 2013-09-30 2015-04-02 International Business Machines Corporation Dynamic port naming in a chassis
CN106610786A (en) * 2015-10-26 2017-05-03 联车(上海)信息科技有限公司 Data storage method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1886732A (en) * 2003-12-18 2006-12-27 英特尔公司 Device diagnostic system
CN101056205A (en) * 2007-04-04 2007-10-17 杭州华为三康技术有限公司 A management method, system and device based on ATCA architecture-based server
US20130013759A1 (en) * 2011-07-07 2013-01-10 International Business Machines Corporation Managing inventory data for components of a server system
CN102998613A (en) * 2012-11-26 2013-03-27 李文海 Test system and method capable of realizing parallel testing of circuit board
US20150095476A1 (en) * 2013-09-30 2015-04-02 International Business Machines Corporation Dynamic port naming in a chassis
CN106610786A (en) * 2015-10-26 2017-05-03 联车(上海)信息科技有限公司 Data storage method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144415A (en) * 2018-08-01 2019-01-04 新华三云计算技术有限公司 Nodal test method and sharing and storing device
CN109144415B (en) * 2018-08-01 2022-05-06 新华三云计算技术有限公司 Node detection method and shared storage device
CN110704334A (en) * 2019-09-25 2020-01-17 苏州浪潮智能科技有限公司 Method, system and equipment for important product data management
CN113867994A (en) * 2021-09-27 2021-12-31 苏州浪潮智能科技有限公司 Case VPD information processing method and device, storage equipment and readable storage medium
CN113867994B (en) * 2021-09-27 2023-08-04 苏州浪潮智能科技有限公司 Cabinet VPD information processing method and device, storage equipment and readable storage medium

Also Published As

Publication number Publication date
CN107391036B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN103201724B (en) Providing application high availability in highly-available virtual machine environments
US11509505B2 (en) Method and apparatus for operating smart network interface card
CN107066390B (en) Dynamic memory leak detection method and system
CN102567255B (en) Have and monitor the invalid data handling system of request selecting and be used for its method
CN107391036A (en) The VPD information access method and system of a kind of storage
CN105700999B (en) The method and system of recording processor operation
CN106101130A (en) A kind of network malicious data detection method, Apparatus and system
CN110580235B (en) SAS expander communication method and device
CN109189627A (en) A kind of hard disk failure monitor and detection method, apparatus, terminal and storage medium
CN109918226A (en) A kind of silence error-detecting method, device and storage medium
CN106502814A (en) A kind of method and device of record PCIE device error message
CN112235136A (en) Network file system backup method, system, terminal and storage medium
CN105849702A (en) Cluster system, server device, cluster system management method, and computer-readable recording medium
EP3035227A1 (en) Method and device for monitoring data integrity in shared memory environment
CN107666401A (en) A kind of configuration information obtaining method and terminal
CN103647710A (en) Path configuration method and device
CN104956346B (en) Control error propagation caused by the failure in the calculate node of distributed computing system
CN106406771B (en) Log recording method and logger
CN107357698A (en) A kind of method and device of acquisition BMC Serial Port Informations
CN108647124A (en) A kind of method and its device of storage skip signal
CN109120691B (en) Method, system, device and computer readable medium for detecting state of service system
CN107332945A (en) A kind of virtual machine IP address acquisition methods and device
CN111399972B (en) Method and device for capturing packets by virtual machine and computer readable storage medium
US20120311206A1 (en) Facilitating processing in a communications environment using stop signaling
CN111858187A (en) Electronic equipment and service switching method and device

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
GR01 Patent grant
GR01 Patent grant