CN106775478A - A kind of method that storage system health is patrolled and examined - Google Patents

A kind of method that storage system health is patrolled and examined Download PDF

Info

Publication number
CN106775478A
CN106775478A CN201611179702.6A CN201611179702A CN106775478A CN 106775478 A CN106775478 A CN 106775478A CN 201611179702 A CN201611179702 A CN 201611179702A CN 106775478 A CN106775478 A CN 106775478A
Authority
CN
China
Prior art keywords
storage system
examined
patrolled
health
read
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
CN201611179702.6A
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 CN201611179702.6A priority Critical patent/CN106775478A/en
Publication of CN106775478A publication Critical patent/CN106775478A/en
Pending legal-status Critical Current

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/0653Monitoring storage devices or systems

Abstract

The present invention provides a kind of method that storage system health is patrolled and examined, and belongs to storage system field, and the present invention implements process and is:1) configuration needs to carry out the storage system IP address that health is patrolled and examined;2) read host information and record;3) record finishes generation and patrols and examines destination file;4) terminate to patrol and examine.To realize that carrying out health to storage system patrols and examines, while support that batch is patrolled and examined, for the health status of quick obtaining difference storage system.

Description

A kind of method that storage system health is patrolled and examined
Technical field
The present invention relates to storage system field, more particularly to a kind of method that storage system health is patrolled and examined.
Background technology
With the high speed development of IT industries, the development of information-based, big data and cloud computing to the stability of storage system and Reliability requirement more and more higher.
As domestically leading server hardware supplier, tide is also improving constantly the quality and effect of storage product test Rate.
Need to carry out the deployment and test of batch according to testing requirement when product test is stored.Especially press the survey phase Between state-detection is regularly carried out to storage system.In the case that conventional main frame is more, each main frame is examined one by one Look into, it is not only cumbersome, and leverage operating efficiency.Different main frames can be logged in if it there can be a kind of method once Carry out health to patrol and examine, it will greatly improve the operating efficiency and quality of tester.
The content of the invention
In order to solve problem above, the present invention proposes a kind of method that storage system health is patrolled and examined.Can realize to depositing Storage system carries out health and patrols and examines, while support that batch is patrolled and examined, for the health status of quick obtaining difference storage system, so as to right The resource service condition of storage system is estimated.
The technical scheme is that:
A kind of method that storage system health is patrolled and examined, it implements process and is:
1) configuration needs to carry out the storage system IP address that health is patrolled and examined;
2) read host information and record;
3) record finishes generation and patrols and examines destination file;
4) terminate to patrol and examine.
Implementation process is:
1) the method is made up of main program, storing system information file, three files of command file;
2) main program is write;
3) storing system information is configured;
4) inspection configuration order;
5) after the completion of script edit, assign and perform authority, directly perform.
3rd, method according to claim 2, it is characterised in that
Wherein
Patrol and examine step
1) the excel templates of production are patrolled and examined in initialization,
2) record log, reading host name information;
3) excel is generated if host name information has been read;
The command file of given host is read if host name information has not been read, then operation is ordered and records excel Template, again returns to step 2) in.
The beneficial effects of the invention are as follows
The present invention supports many storage host information of configuration, and many storage systems can be patrolled and examined in batches;
Custom-configuring for content is patrolled and examined in support, different storage system can be performed and different be patrolled and examined operation;
Efficiency can be greatly improved, storage host quantity is more, and effect is more obvious.
Brief description of the drawings
Fig. 1 is of the invention to realize flow chart;
Fig. 2 is to patrol and examine result schematic diagram.
Specific embodiment
More detailed elaboration is carried out to present disclosure below:
The method is made up of main program, storing system information file, three files of command file
1) main program is write
2) storing system information is configured
3) inspection configuration order
Disk space #df-lP | grep-e'echnweb $ ' | awk'{ print $ 5 } ' #<85%#
Disk space #df-lP | grep-e'echncms $ ' | awk'{ print $ 5 } ' #<85%#
Disk space #df-lP | grep-e'var $ ' | awk'{ print $ 5 } ' #<85%#
Disk space #df-lP | grep-e'usr $ ' | awk'{ print $ 5 } ' #<85%#
Disk space #df-lP | grep-e'/$ ' | awk'{ print $ 5 } ' #<85%#
Internal memory #free-m | sed-n'3p'| awk'{ printf (" %d% n ", 1319/30793*100) } ' #<70%#
Swap service conditions #free-m | awk'{ if (NR==4) { print $ 3 } } ' #=0#
Tomcat1 processes have #ps-ef | grep tomcat1 | grep-v grep | wc-l#=1#
Tomcat2 processes have #ps-ef | grep tomcat2 | grep-v grep | wc-l#=1#
Port test #netstat-na | grep 8005 | grep LISTEN | grep-v grep | wc-l#=1#
Port test #netstat-na | grep 8006 | grep LISTEN | grep-v grep | wc-l#=1#
Port test #netstat-na | grep 10009 | grep LISTEN | grep-v grep | wc-l#=1#
Port test #netstat-na | grep 10010 | grep LISTEN | grep-v grep | wc-l#=1#
4) after the completion of script edit, assign and perform authority, directly perform, patrol and examine end result as shown in Figure 2.

Claims (4)

1. a kind of method that storage system health is patrolled and examined, it is characterised in that
It implements process:
1) configuration needs to carry out the storage system IP address that health is patrolled and examined;
2) read host information and record;
3) record finishes generation and patrols and examines destination file;
4) terminate to patrol and examine.
2. method according to claim 1, it is characterised in that
Implementation process is:
1) the method is made up of main program, storing system information file, three files of command file;
2) main program is write;
3) storing system information is configured;
4) inspection configuration order;
5) after the completion of script edit, assign and perform authority, directly perform.
3. method according to claim 2, it is characterised in that
Wherein
4. method according to claim 2, it is characterised in that
Patrol and examine step
1) the excel templates of production are patrolled and examined in initialization,
2) record log, reading host name information;
3) excel is generated if host name information has been read;
The command file of given host is read if host name information has not been read, then operation is ordered and records excel templates, Again return to step 2) in.
CN201611179702.6A 2016-12-19 2016-12-19 A kind of method that storage system health is patrolled and examined Pending CN106775478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611179702.6A CN106775478A (en) 2016-12-19 2016-12-19 A kind of method that storage system health is patrolled and examined

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611179702.6A CN106775478A (en) 2016-12-19 2016-12-19 A kind of method that storage system health is patrolled and examined

Publications (1)

Publication Number Publication Date
CN106775478A true CN106775478A (en) 2017-05-31

Family

ID=58890516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611179702.6A Pending CN106775478A (en) 2016-12-19 2016-12-19 A kind of method that storage system health is patrolled and examined

Country Status (1)

Country Link
CN (1) CN106775478A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601483A (en) * 2004-10-22 2005-03-30 中国工商银行 Automation software testing system based on script explanatory tool
CN101299281A (en) * 2008-06-12 2008-11-05 广东高新兴通信股份有限公司 Channel patrol checking management system
CN104518917A (en) * 2015-01-26 2015-04-15 浪潮通信信息系统有限公司 Automatic server patrol inspection method
CN105118107A (en) * 2015-09-01 2015-12-02 国家电网公司 Application inspection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601483A (en) * 2004-10-22 2005-03-30 中国工商银行 Automation software testing system based on script explanatory tool
CN101299281A (en) * 2008-06-12 2008-11-05 广东高新兴通信股份有限公司 Channel patrol checking management system
CN104518917A (en) * 2015-01-26 2015-04-15 浪潮通信信息系统有限公司 Automatic server patrol inspection method
CN105118107A (en) * 2015-09-01 2015-12-02 国家电网公司 Application inspection method and device

Similar Documents

Publication Publication Date Title
US11409712B2 (en) Small-file storage optimization system based on virtual file system in KUBERNETES user-mode application
CN103577310A (en) Method and device for recording software debugging logs
CN107038098A (en) It is a kind of to pass through the method that network carries out server memory diagnosis in batches
CN111240968A (en) Automatic test management method and system
CN104732611A (en) Log recording and reading method and device based on flight controller
CN104598161B (en) Digital independent, wiring method and device and data store organisation
CN102521551B (en) Personalized IC (integrated circuit) card issuing device and method
CN112788115A (en) Asynchronous processing-based file transmission method and system
CN111274056B (en) Self-learning method and device for fault library of intelligent electric energy meter
CN108205482A (en) File mount restoration methods
CN107066281B (en) Method for rapidly loading large data group based on DSS data system
CN106775478A (en) A kind of method that storage system health is patrolled and examined
CN105205162A (en) HBase secondary-index storage and query system and query method thereof
CN115249057A (en) System and computer-implemented method for graph node sampling
CN103019931B (en) The check processing method and apparatus of Asn.1 interface
CN108389131A (en) A kind of financial system micro services transaction monitoring implementation method
CN107368423A (en) Interface automatic configuration system and the automatized script processing method carried out wherein
CN109271399A (en) A kind of method of calibration of database write-in log consistency
CN106971757A (en) A kind of method and system of inspection Nand Flash mass
CN106383773A (en) Method and device for monitoring redis database
CN107481764A (en) A kind of 3D Nand Flash scanning detection methods and system
CN105607957B (en) A kind of data acquisition analysis system based on OPC DA
CN105868370A (en) HBase storage device and method for achieving read-write separation
CN108228638A (en) A kind of design method of the data logging software framework of Digital Simulation experiment
CN106909570B (en) Data conversion 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication