CN109327352A - A kind of method and device obtaining server info - Google Patents
A kind of method and device obtaining server info Download PDFInfo
- Publication number
- CN109327352A CN109327352A CN201811114930.4A CN201811114930A CN109327352A CN 109327352 A CN109327352 A CN 109327352A CN 201811114930 A CN201811114930 A CN 201811114930A CN 109327352 A CN109327352 A CN 109327352A
- Authority
- CN
- China
- Prior art keywords
- mistake
- server
- bluetooth module
- storage
- storage hardware
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0659—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
- H04L41/0661—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention provides a kind of methods for obtaining server info, the method is applied to first server, bluetooth module is integrated in the first server, which comprises records the storage information of each storage hardware, and the storage information is sent to second server by the bluetooth module;The error message that the second server is sent is received by the bluetooth module;The error message includes the type identification that mistake occurs for the first server;The bluetooth module positions the address for the storage hardware that the mistake occurs according to the type identification of the mistake and modifies the mistake;The operation note for modifying the mistake is generated, and the operation note is sent to the second server by the bluetooth module.Using method provided by the invention, space is saved, the cost of hardware configuration is reduced.The present invention also provides a kind of devices for obtaining server info.
Description
Technical field
The present invention relates to computer communication technology field more particularly to a kind of method and devices for obtaining server info.
Background technique
With the continuous development of computer technology, server develops and improves as the equipment of Computer Service is provided
Also increasingly important.Server storage demand is increasingly increased on the market at this stage and on server often using more
The different storage hard disk of kind, corresponding to different data-interface and agreement, such as: ATA (Advanced Technology
Attachment) hard disk is with the traditional parallel port 40-pin data line connection mainboard and hard disk, SATA (Serial Advanced
Technology Attachment) hard disk is to connect mainboard and hard disk using serial data, therefore, when server stores
Go location-server that the correspondence hardware location of mistake occurs when mistake by the way of cable network at this stage, but this method is past
It is past to occupy more space, and the higher cost that hardware configuration needs.
Summary of the invention
In order to solve above-mentioned technical problem of the existing technology, the invention proposes a kind of sides for obtaining server info
Method and device, occupancy is small in size, and hardware cost is low.
The present invention provides a kind of method for obtaining server info, the method is applied to first server, and described the
Bluetooth module is integrated on one server, which comprises
The storage information of each storage hardware is recorded, and the storage letter is sent to second server by the bluetooth module
Breath;
The error message that the second server is sent is received by the bluetooth module;The error message includes
State the type identification that mistake occurs for first server;
The bluetooth module positions the address for the storage hardware that the mistake occurs simultaneously according to the type identification of the mistake
Modify the mistake.
The operation note for modifying the mistake is generated, and by the bluetooth module to described in second server transmission
Operation note.
Optionally, the error message also includes the time that the mistake occurs for the first server:
The bluetooth module successively positions the address for the storage hardware that the mistake occurs according to the time and modifies institute
State mistake;
Optionally, the storage information specifically includes:
Total use space of each storage hardware, use space, unused storage space and read-write frequency;
The storage hardware address of each storage hardware.
Optionally, the bluetooth module is connect with each storage hardware.
Optionally, the operation note includes following information:
What the time of storage hardware address, the modification mistake that the error message occurs and the modification mistake executed
Operation.
The embodiment of the present application also provides a kind of device for obtaining server info, described device is applied to first service
Device is integrated with bluetooth module in the first server, and described device includes: information logging modle, information receiving module, mistake
Searching module and modification record module;
The information logging modle is also used to for recording the storage information of each storage hardware through the bluetooth module
The storage information is sent to second server;
The information receiving module is believed for receiving the mistake that the second server is sent by the bluetooth module
Breath;The error message includes the type identification that mistake occurs for the first server;
For positioning by the bluetooth module according to the type identification of the mistake institute occurs for the bug patch module
It states the address of the storage hardware of mistake and modifies the mistake;
The modification record module, for generating the operation note for modifying the mistake, and by the bluetooth module to
The second server sends the operation note.
Optionally, which is characterized in that the received error message of information receiving module also includes described first
The time of the mistake occurs for server:
The bug patch module is also used to successively position the generation mistake according to the time by the bluetooth module
Simultaneously modify the mistake in the address of storage hardware accidentally.
Optionally, the storage information of the information logging modle record specifically includes:
Total use space of each storage hardware, use space, unused storage space and read-write frequency;
The storage hardware address of each storage hardware.
Optionally, the bluetooth module of the equipment is connect with each storage hardware.
Optionally, the operation note that the modification record module generates includes following information:
What the time of storage hardware address, the modification mistake that the error message occurs and the modification mistake executed
Operation.
Compared with prior art, the present invention has at least the following advantages:
The present invention provides a kind of method for obtaining server info, the method is applied to first server, and described the
Bluetooth module is integrated on one server, which comprises is recorded the storage information of each storage hardware, and is passed through the bluetooth
Module sends the storage information to second server;When second server judges first clothes according to the storage information
There is mistake and sends error message to first server in business device, and the first server passes through described in bluetooth module reception
The error message that second server is sent;The error message includes the type identification that mistake occurs for the first server;
The bluetooth module is according to the address of the storage hardware of the type identification of the mistake positioning generation mistake and modification
Mistake;First server can also generate the operation note for modifying the mistake, and be taken by the bluetooth module to described second
Business device sends the operation note.The present invention provides the method for breath, makes the positioning and modification for the mistake of server not in office
Limit and cable network, it is possible to reduce the space of line holding, and reduce the cost of hardware configuration.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The some embodiments recorded in application, for those of ordinary skill in the art, without creative efforts,
It can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is a kind of method flow diagram for acquisition server info that the embodiment of the present application one provides;
Fig. 2 is a kind of schematic device for acquisition server info that the embodiment of the present application two provides.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only this
Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist
Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Embodiment one:
The embodiment of the present application provides a kind of method for obtaining server info, illustrates with reference to the accompanying drawing.
Referring to Fig. 1, which is a kind of method flow diagram for acquisition server info that the embodiment of the present application one provides.
The method that server info is obtained described in the embodiment of the present application, is applied to first server, the first service
It is integrated with bluetooth module on device, bluetooth module is integrated in the wireless communication realized between each server in server.
The difference of " first server " and " second server ", the difference of the title are not limited in the embodiment of the present application
It is intended merely to facilitate the method for explaining the embodiment of the present application.
The embodiment of the present application the described method comprises the following steps:
S101: the storage information of each storage hardware is recorded, and by the bluetooth module to described in second server transmission
Store information.
The server often uses a variety of storage equipment, such as: SAS hard disk, ATA hard disk, SATA hard disc, SCSI are hard
Disk and NVme solid state hard disk etc., different types of storage equipment can correspond to different types of mark.
It should be noted that the storage information can specifically include:
Total use space of each storage hardware, use space, unused storage space and read-write frequency;Each storage
Storage hardware address of hardware etc. reflects the information of storage hardware use state, is believed convenient for the second server according to storage
Breath judges whether the first server mistake occurs.
S102: the error message that the second server is sent is received by the bluetooth module;The error message packet
The type identification of mistake occurs containing the first server.
In addition, the error message can also include the time that the mistake occurs for the first server.
S103: the ground of the storage hardware of the mistake occurs according to the positioning of the type identification of the mistake for the bluetooth module
Simultaneously modify the mistake in location.
Specifically, the bluetooth module is connect with each storage hardware.
The bluetooth module can also successively position the address for the storage hardware that the mistake occurs according to the time simultaneously
Modify the mistake.
In addition, the bluetooth module can also be the priority level of different types of mistake setting processing, when the mistake
When more, the address for the storage hardware that the mistake occurs can be successively positioned according to priority orders and modifies the mistake.
S104: the operation note for modifying the mistake is generated, and is sent out by the bluetooth module to the second server
Send the operation note.
What the time of storage hardware address, the modification mistake that the error message occurs and the modification mistake executed
Operation.
It should be noted that the embodiment of the present application is when integrating the bluetooth equipment, it can be by the bluetooth equipment and BMC
(Baseboard Management Controller, baseboard management controller) is connected, and uses BMC to the bluetooth mould
Block provides Aux electricity, i.e. server master board is powered, and this method of supplying power to can continue in the case that server host is not keyed up again
For bluetooth module power supply, enables bluetooth module is continual to work on to guarantee positioning mistake in time and modify mistake, fill
Divide and bluetooth module low-power consumption, inexpensive feature is utilized.
Using the method provided by the embodiments of the present application for obtaining server info, believed in second server according to the storage
Breath judges the first server when the error occurs, and the first server receives second clothes by the bluetooth module
The error message that business device is sent;The error message includes the type identification that mistake occurs for the first server;The indigo plant
Tooth module positions the address for the storage hardware that the mistake occurs according to the type identification of the mistake and modifies the mistake;The
One server can also generate the operation note for modifying the mistake, and be sent by the bluetooth module to the second server
Operation note can be fed back to second server in time by the operation note, and realization is remedied in real time.Utilize the embodiment of the present application
The method of breath is provided, makes the positioning and modification for the mistake of server not in limitation and cable network, it is possible to reduce route accounts for
Space, and reduce the cost of hardware configuration.
Embodiment two:
The method of the acquisition server info provided based on the above embodiment, the embodiment of the present application also provides a kind of acquisitions
The device of server info, illustrates with reference to the accompanying drawing.
Referring to fig. 2, which is a kind of schematic device for acquisition server info that the embodiment of the present application two provides.
The device for obtaining server info is applied to first server, is integrated with bluetooth in the first server
Module, the bluetooth module are connect with each storage hardware.
Described device includes: information logging modle 201, information receiving module 202, mistake searching module 203 and modification note
Record module 204;
The information logging modle 201 is also used to for recording the storage information of each storage hardware through the bluetooth mould
Block sends the storage information to second server.
The storage information of the information logging modle record specifically includes:
Total use space of each storage hardware, use space, unused storage space and read-write frequency;Each storage
The information of the reflection such as storage hardware address of hardware storage hardware use state.
The information receiving module 202, for receiving the mistake that the second server is sent by the bluetooth module
Information;The error message includes the type identification that mistake occurs for the first server.
In addition, the received error message of information receiving module also includes described in the first server occurs
The time of mistake.
The bug patch module 203 is sent out for being positioned by the bluetooth module according to the type identification of the mistake
Simultaneously modify the mistake in the address of the storage hardware of the raw mistake.
The bug patch module 203 is also used to successively position generation institute according to the time by the bluetooth module
It states the address of the storage hardware of mistake and modifies the mistake.
In addition, the bluetooth module can also be the priority level of different types of mistake setting processing, when the mistake
When more, the address for the storage hardware that the mistake occurs can be successively positioned according to priority orders and modifies the mistake.
The modification record module 204 for generating the operation note for modifying the mistake, and passes through the bluetooth module
The operation note is sent to the second server.
The operation note that the modification record module generates may include following information:
What the time of storage hardware address, the modification mistake that the error message occurs and the modification mistake executed
Operation.
Using the equipment provided by the embodiments of the present application for obtaining server info, believed in second server according to the storage
Breath judges the first server when the error occurs, and the information receiving module of the first server passes through the bluetooth module
Receive the error message that the second server is sent;The error message includes the class that mistake occurs for the first server
Type mark;According to the positioning of the type identification of the mistake depositing for the mistake occurs for bug patch module by the bluetooth module
It stores up the address of hardware and modifies the mistake;Modification record module can also generate the operation note for modifying the mistake, and pass through
The bluetooth module sends the operation note to the second server, operation note can be fed back to second service in time
Device, realization are remedied in real time.The method of breath is provided using the embodiment of the present application, make the positioning for the mistake of server and is modified not
In limitation and cable network, it is possible to reduce the space of line holding, and reduce the cost of hardware configuration.
It should be appreciated that in this application, " at least one (item) " refers to one or more, and " multiple " refer to two or two
More than a."and/or" indicates may exist three kinds of relationships, for example, " A and/or B " for describing the incidence relation of affiliated partner
It can indicate: only exist A, only exist B and exist simultaneously tri- kinds of situations of A and B, wherein A, B can be odd number or plural number.Word
Symbol "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or"." at least one of following (a) " or its similar expression, refers to
Any combination in these, any combination including individual event (a) or complex item (a).At least one of for example, in a, b or c
(a) can indicate: a, b, c, " a and b ", " a and c ", " b and c ", or " a and b and c ", and wherein a, b, c can be individually, can also
To be multiple.
The above described is only a preferred embodiment of the present invention, being not intended to limit the present invention in any form.Though
So the present invention has been disclosed as a preferred embodiment, and however, it is not intended to limit the invention.It is any to be familiar with those skilled in the art
Member, without departing from the scope of the technical proposal of the invention, all using the methods and technical content of the disclosure above to the present invention
Technical solution makes many possible changes and modifications or equivalent example modified to equivalent change.Therefore, it is all without departing from
The content of technical solution of the present invention, according to the technical essence of the invention any simple modification made to the above embodiment, equivalent
Variation and modification, all of which are still within the scope of protection of the technical scheme of the invention.
Claims (10)
1. a kind of method for obtaining server info, which is characterized in that be applied to first server, collect in the first server
At there is bluetooth module, which comprises
The storage information of each storage hardware is recorded, and the storage information is sent to second server by the bluetooth module;
The error message that the second server is sent is received by the bluetooth module;The error message includes described
The type identification of mistake occurs for one server;
Address and modification of the bluetooth module according to the storage hardware of the type identification of the mistake positioning generation mistake
The mistake;
The operation note for modifying the mistake is generated, and the operation is sent to the second server by the bluetooth module
Record.
2. the method according to claim 1, wherein the error message also includes the first server hair
The time of the raw mistake:
The bluetooth module successively positions the address for the storage hardware that the mistake occurs according to the time and modifies the mistake
Accidentally.
3. the method according to claim 1, wherein the storage information specifically includes:
Total use space of each storage hardware, use space, unused storage space and read-write frequency;
The storage hardware address of each storage hardware.
4. the method according to claim 1, wherein the bluetooth module is connect with each storage hardware.
5. the method according to claim 1, wherein the operation note includes following information:
The behaviour that the time of storage hardware address, the modification mistake that the error message occurs and the modification mistake execute
Make.
6. a kind of device for obtaining server info, which is characterized in that be applied to first server, collect in the first server
At there is bluetooth module, described device includes: information logging modle, information receiving module, mistake searching module and modification record mould
Block;
The information logging modle is also used to through the bluetooth module to for recording the storage information of each storage hardware
Two servers send the storage information;
The information receiving module, for receiving the error message that the second server is sent by the bluetooth module;Institute
Stating error message includes the type identification that mistake occurs for the first server;
The bug patch module, for the mistake to occur according to the positioning of the type identification of the mistake by the bluetooth module
Simultaneously modify the mistake in the address of storage hardware accidentally;
The modification record module, for generating the operation note for modifying the mistake, and by the bluetooth module to described
Second server sends the operation note.
7. device according to claim 6, which is characterized in that the received error message of information receiving module is also
Include the time that the mistake occurs for the first server:
The bug patch module is also used to successively position the generation mistake according to the time by the bluetooth module
Simultaneously modify the mistake in the address of storage hardware.
8. device according to claim 6, which is characterized in that the storage information tool of the information logging modle record
Body includes:
Total use space of each storage hardware, use space, unused storage space and read-write frequency;
The storage hardware address of each storage hardware.
9. device according to claim 6, which is characterized in that the bluetooth module is connect with each storage hardware.
10. device according to claim 6, which is characterized in that the operation note that the modification record module generates
Including following information:
The behaviour that the time of storage hardware address, the modification mistake that the error message occurs and the modification mistake execute
Make.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811114930.4A CN109327352A (en) | 2018-09-25 | 2018-09-25 | A kind of method and device obtaining server info |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811114930.4A CN109327352A (en) | 2018-09-25 | 2018-09-25 | A kind of method and device obtaining server info |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109327352A true CN109327352A (en) | 2019-02-12 |
Family
ID=65266423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811114930.4A Pending CN109327352A (en) | 2018-09-25 | 2018-09-25 | A kind of method and device obtaining server info |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109327352A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012127529A1 (en) * | 2011-03-23 | 2012-09-27 | Hitachi, Ltd. | Storage apparatus and failure detection method |
CN104375923A (en) * | 2014-11-24 | 2015-02-25 | 英业达科技有限公司 | Hard disk drive (HDD) running state detection system |
CN104883277A (en) * | 2015-06-17 | 2015-09-02 | 浪潮(北京)电子信息产业有限公司 | Method and system for information interaction based on BMC |
CN106817243A (en) * | 2015-12-01 | 2017-06-09 | 广达电脑股份有限公司 | Management system and management method for server resources |
CN107729169A (en) * | 2017-09-25 | 2018-02-23 | 郑州云海信息技术有限公司 | A kind of long range positioning method and apparatus of four components server node respective disc position |
-
2018
- 2018-09-25 CN CN201811114930.4A patent/CN109327352A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012127529A1 (en) * | 2011-03-23 | 2012-09-27 | Hitachi, Ltd. | Storage apparatus and failure detection method |
CN104375923A (en) * | 2014-11-24 | 2015-02-25 | 英业达科技有限公司 | Hard disk drive (HDD) running state detection system |
CN104883277A (en) * | 2015-06-17 | 2015-09-02 | 浪潮(北京)电子信息产业有限公司 | Method and system for information interaction based on BMC |
CN106817243A (en) * | 2015-12-01 | 2017-06-09 | 广达电脑股份有限公司 | Management system and management method for server resources |
CN107729169A (en) * | 2017-09-25 | 2018-02-23 | 郑州云海信息技术有限公司 | A kind of long range positioning method and apparatus of four components server node respective disc position |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101359309B (en) | Status indication apparatus for hard disc of serial connection small computer system interface and method | |
CN107506145B (en) | Physical storage scheduling method and cloud host creation method | |
CN102413156B (en) | Distributed data storage system and method | |
CN102497424A (en) | Method for achieving cloud storage through mobile storage device | |
US20170220506A1 (en) | Modular Software Defined Storage Technology | |
US20040162926A1 (en) | Serial advanced technology attachment interface | |
CN103793307A (en) | Electronic device, management method thereof and cabinet servo system | |
CN102821111A (en) | Real-time synchronizing method for file cloud storage | |
CN105281937A (en) | Server, service management system, and service management method | |
CN102722461A (en) | Data communication system of storage management system and communication method thereof | |
US20140156853A1 (en) | Computer and resource retrieval method | |
CN110851318A (en) | Serial port log collection method, system and equipment under server management system | |
CN107526616A (en) | A kind of main frame carries out the method and device of data write-in and reading to BMC | |
CN110175146B (en) | Hard disk information acquisition method and device for acquiring hard disk information | |
CN104133723A (en) | Method for managing storage system | |
US11552840B2 (en) | Intention-based device component tracking system | |
CN110209550A (en) | Fault handling method, device, electronic equipment and the storage medium of storage medium | |
CN113329078A (en) | Data storage method and device | |
CN109327352A (en) | A kind of method and device obtaining server info | |
CN101183382A (en) | Real time mass memory apparatus special for aerospace testing system | |
CN105827681B (en) | Backup Data transmission method under a kind of SAN network | |
US11720256B2 (en) | Maximizing power savings using IO monitoring | |
CN105279095B (en) | Create the method and device of JBOD file system | |
CN108959005A (en) | Hard disk management-control method and server with Expander backboard | |
CN107220159A (en) | It is a kind of to realize the system and method that BMC obtains onboard RAID disk on chip status information |
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: 20190212 |