CN113391768A - Centralized storage management method and device - Google Patents

Centralized storage management method and device Download PDF

Info

Publication number
CN113391768A
CN113391768A CN202110739269.1A CN202110739269A CN113391768A CN 113391768 A CN113391768 A CN 113391768A CN 202110739269 A CN202110739269 A CN 202110739269A CN 113391768 A CN113391768 A CN 113391768A
Authority
CN
China
Prior art keywords
information
acquiring
host
storage
change
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
CN202110739269.1A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110739269.1A priority Critical patent/CN113391768A/en
Publication of CN113391768A publication Critical patent/CN113391768A/en
Pending legal-status Critical Current

Links

Images

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/061Improving I/O performance
    • 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/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Abstract

The invention provides a centralized storage management method and a device, which relate to the field of computer maintenance and can be applied to the financial field and other fields, wherein the method comprises the following steps: acquiring managed host node information and storage device information in a target management system; respectively acquiring a physical node corresponding to the host node information and a magnetic disk corresponding to the storage device information according to the host node information and the storage device information according to a preset period, and acquiring hardware information and configuration information; associating the hardware information with the configuration information through host information to generate a query information set; acquiring change demand parameters, and acquiring corresponding hardware information and configuration information through the query information set according to host information in the change demand parameters; and changing the corresponding hardware information and configuration information through the change demand parameters, and feeding back a change result to a provider of the change demand parameters.

Description

Centralized storage management method and device
Technical Field
The invention relates to the field of computer maintenance, which can be applied to the financial field and other fields, in particular to a centralized storage management method and a device.
Background
In order to satisfy the efficient and stable information storage, enterprises often use centralized storage devices (also referred to as SAN storage devices) to store business information. Large enterprises often purchase dozens or even hundreds of storage devices.
Two problems are encountered at this time:
firstly, the change of a large amount of storage devices needs manual operation of an IT administrator, and the change is time-consuming, labor-consuming and easy to make mistakes. The storage device is located at the bottom layer of the IT architecture and provides data storage service, which is more critical. An IT administrator needs to be careful and careful in manual operation, needs to manually log in physical nodes and storage equipment to perform multiple click operations, and although some automatic operation platforms exist at present, the administrator still needs to input a large number of configuration parameters, and there is still room for improvement.
The other is a storage centralized management platform attached to a storage device or a storage device manufacturer, which often only stops the host Name and WWN (World Wide Name, as 21:00:00:24: ff:0f:30:8e) registered on the storage device in the host management aspect, while hosts in an IT environment inside an enterprise often are thousands, and when storage allocation, expansion, recovery and change are performed, the hosts on the storage device cannot be quickly and accurately associated and matched with actual physical nodes and operating services thereof in the IT environment, and an administrator still has a large operation and maintenance cost in the aspects of service identification and service supply.
Disclosure of Invention
The invention aims to provide a centralized storage management method and a centralized storage management device, which solve the problems that when an enterprise IT administrator manages a large number of SAN storage devices, the manual operation is more, and host information in the storage devices cannot correspond to the actual environment; the method is convenient for an IT manager to quickly finish distribution, expansion, recovery and change of storage, and can quickly say that the host in the storage equipment corresponds to the actual physical node in the enterprise IT environment and the upper application thereof.
To achieve the above object, the centralized storage management method provided by the present invention specifically comprises: acquiring managed host node information and storage device information in a target management system; respectively acquiring a physical node corresponding to the host node information and a magnetic disk corresponding to the storage device information according to the host node information and the storage device information according to a preset period, and acquiring hardware information and configuration information; associating the hardware information with the configuration information through host information to generate a query information set; acquiring change demand parameters, and acquiring corresponding hardware information and configuration information through the query information set according to host information in the change demand parameters; and changing the corresponding hardware information and configuration information through the change demand parameters, and feeding back a change result to a provider of the change demand parameters.
In the foregoing centralized storage management method, preferably, the respectively acquiring, according to the host node information and according to a preset period, physical nodes corresponding to the host node information includes: acquiring the identification information of the physical node and the unique identification information of the FC port of the host bus adapter; generating a key word in an information key value according to the identification information, and generating a key value of a key value pair according to the unique identification information; and generating hardware information through the key words and the key values.
In the foregoing centralized storage management method, preferably, acquiring, according to the storage device information and according to a preset period, a disk corresponding to the storage device information includes: and acquiring configuration information of a disk corresponding to the storage equipment information through a command line or an HTTP-based programming interface according to a preset period.
In the above centralized storage management method, preferably, the change requirement parameter includes LUN specification, port group, physical node identifier, and host information.
In the above centralized storage management method, preferably, the generating of the query information set by associating the hardware information with the configuration information via host information further includes: and providing the query information set to a preset position display output.
In the above centralized storage management method, preferably, the changing the corresponding hardware information and configuration information by the change requirement parameter includes: and after the hardware information and the configuration information are changed according to the change demand parameters, constructing a mapping relation between a disk and the hosts, and adjusting the unique identification information corresponding to each host in the hardware information to perform storage allocation.
The present invention also provides a centralized storage management apparatus, comprising: the system comprises a server information acquisition module, a centralized storage information acquisition module, an information centralized storage module and a change processing module; the server information acquisition module is used for acquiring the managed host node information in the target management system; acquiring a physical node corresponding to the host node information according to a preset period to obtain hardware information; the centralized storage information acquisition module is used for acquiring the information of the managed storage equipment in the target management system; acquiring a magnetic disk corresponding to the storage equipment information according to a preset period to obtain configuration information; the information centralized storage module is used for associating the hardware information with the configuration information through host information to generate a query information set, and storing and displaying the query information set; the change processing module is used for acquiring change demand parameters and acquiring corresponding hardware information and configuration information through the query information set according to host information in the change demand parameters; and changing the corresponding hardware information and configuration information through the change demand parameters, and feeding back a change result to a provider of the change demand parameters.
In the above centralized storage management apparatus, preferably, the server information collection module includes: acquiring the identification information of the physical node and the unique identification information of the FC port of the host bus adapter; generating a key word in an information key value according to the identification information, and generating a key value of a key value pair according to the unique identification information; and generating hardware information through the key words and the key values.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method when executing the computer program.
The present invention also provides a computer-readable storage medium storing a computer program for executing the above method.
The invention has the beneficial technical effects that: the problem that the host on the storage equipment cannot be quickly and accurately associated and matched with actual physical and running services in the IT environment when an IT administrator performs storage distribution, capacity expansion, recovery and change is solved, and the accuracy and efficiency of the IT administrator in the aspects of service identification and service supply are improved; the method provides one-stop WEB-based storage change for the IT administrator, does not need the IT administrator to inquire and acquire complex change parameters, allows the IT administrator to complete storage change rapidly and accurately with minimum effort, and improves the IT supply efficiency of enterprises.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
fig. 1 is a flowchart illustrating a centralized storage management method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of hardware information acquisition according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a memory mapping according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating a conventional storage allocation change according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a centralized storage management apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that, unless otherwise specified, the embodiments and features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.
Additionally, the steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions and, although a logical order is illustrated in the flow charts, in some cases, the steps illustrated or described may be performed in an order different than here.
Referring to fig. 1, the centralized storage management method provided by the present invention specifically includes:
s101, acquiring managed host node information and storage device information in a target management system;
s102, respectively acquiring a physical node corresponding to the host node information and a magnetic disk corresponding to the storage device information according to the host node information and the storage device information according to a preset period, and acquiring hardware information and configuration information;
s103, associating the hardware information with the configuration information through host information to generate a query information set;
s104, acquiring a change demand parameter, and acquiring corresponding hardware information and configuration information through the query information set according to host information in the change demand parameter;
s105, changing the corresponding hardware information and configuration information through the change demand parameters, and feeding back a change result to a provider of the change demand parameters.
In actual work, the method mainly provides services for an IT administrator, and interfaces storage devices of an enterprise, heterogeneous physical servers (including physical server nodes such as Windows, Linux, Unix and the like), and heterogeneous virtualization platforms (such as Openstack and VMware) of the enterprise.
Referring to fig. 2, in an embodiment of the present invention, respectively acquiring physical nodes corresponding to the host node information according to the host node information in a preset period includes:
s201, acquiring the identification information of the physical node and the unique identification information of the FC port of the host bus adapter;
s202, generating a key word in an information key value according to the identification information, and generating a key value of a key value pair according to the unique identification information;
s203, generating hardware information through the key words and the key values.
In actual work, in order to solve the problem that the host information in the SAN storage device cannot be associated with the actual physical node of the enterprise, the above embodiment may collect information of the managed host node in a manner similar to a crawler. It is assumed that the server collection component can grasp the application usage of all managed nodes, such as the IP address (e.g. 56.78.90.11) of the node, the usage (e.g. an application, a host of a virtualization platform), the department of user, and so on. If not, the relevant information may be obtained from a service Configuration Management Database (CMDB). Specifically, the key hardware information of the physical node may be collected periodically (e.g., every 1 hour, or when the node is enabled, or after the node has performed a hardware change). (e.g., connected to Linux via SSH protocol, Esxi via cli command line for information gathering). During collection, unique identifiers (such as equipment serial numbers, IP addresses and the like) of physical equipment in an enterprise are selected to serve as keywords (Key) in a sending information Key value (K-V Pair) Pair; the name of the FC port (also called initiator) of the hba (host Bus adapter) card of the collection node, the port WWN (also called initiator WWN) as the Value (Value) of the key-Value pair. After the key value pair of each host is collected, the key value pair and the use information from the CMDB are stored in the information centralized storage device by taking the HBA port as a record dimension, as shown in the following table 1.
TABLE 1
Recording ID Host ID FC port name Starter WWN Use of
1 SN1234 hba0 21:00:00:24:ff:0f:30:8e X service ESX
2 SN1234 hba1 21:00:00:24:ff:0f:31:8e X service ESX
3 SN7890 hba0 21:00:00:24:ff:0f:30:99 Y service database
4 SN7890 hba1 21:00:00:24:ff:0f:31:99 Y service database
In an embodiment of the present invention, acquiring, according to the storage device information and according to a preset period, a magnetic disk corresponding to the storage device information includes: and acquiring configuration information of a disk corresponding to the storage equipment information through a command line or an HTTP-based programming interface according to a preset period. In actual work, in order to solve the problem that host information in the SAN storage device cannot be associated with actual physical nodes of an enterprise, information collection can be performed on the managed centralized storage device in a manner similar to that of a crawler. Typically, a storage device provides storage services for a host, and a map is configured and maintained, as shown in the storage map of fig. 3, where a map includes a port group, a host group, and a LUN group. One or more ports are arranged below each port group; under each host group, one or more hosts are arranged; under each LUN group, there are one or more LUNs. Under each host, there are one or more initiators. Specifically, the configuration information on all managed disk drives can be collected and recorded to the information storage component periodically, for example, every hour, every 12 hours, etc.) through a Command Line (CLI) or an HTTP-based programming interface (RESTAPI). Generally, all the relevant information of the disk drives is collected, where the mapping relationship is shown in table 2 below, and the relationship between the host and the initiator is shown in table 3 below.
TABLE 2
SAN storage name Mapping names Host group name LUN group name Port group name
SAN-ARRAY1 esx-c0 esx-c0 esx-c0 tg-esx
SAN-ARRAY2 linux-db db01 db01 tg-linux01
SAN-ARRAY2 esx-c1 esx-c1 esx-c1 tg-esx
TABLE 3
SAN storage name Main unit Operating system Starter WWN
SAN-ARRAY1 esx-c0-01 ESXi 21:00:00:24:ff:0f:30:8e
SAN-ARRAY1 esx-c0-01 ESXi 21:00:00:24:ff:0f:31:8e
SAN-ARRAY2 db01 Linux 21:00:00:24:ff:0f:30:99
SAN-ARRAY2 db01 Linux 21:00:00:24:ff:0f:31:8e
In an embodiment of the present invention, generating the query information set by associating the hardware information with the configuration information through the host information further includes: and providing the query information set to a preset position display output. In actual work, in order to solve the problem that the host information in the SAN storage device cannot be associated with the actual physical nodes of the enterprise, the obtained information may be associated and aggregated by using a relational database. By associating tables 1 and 3 with the condition that the host initiator WWN equals, the following results table 4 is obtained:
TABLE 4
Figure BDA0003140860710000061
And then, storing and displaying the contents in the table 4 for an IT administrator or other related personnel to inquire. Through the information acquisition, the convergence and the online display, the information matching is changed from the original manual query into the quasi-real-time query, and an IT (information technology) administrator can conveniently and quickly perform statistical data collection, purpose analysis, fault diagnosis, availability evaluation and the like. Furthermore, various associated queries can be constructed according to enterprise needs, and different query results can be displayed. Such as form (disk-map-host-use-host ID), (host-disk-LUN group), (sum of disk-port group-LUN group), etc.
In order to solve the problem that the change of a large amount of storage equipment needs manual operation of an IT (information technology) administrator, the WEB foreground can allow the IT administrator to change the server and the storage equipment in an online WEB mode. Typically, changes to an enterprise SAN storage device include storage new allocation, inventory storage capacity expansion, storage resource reclamation, and the like. Taking the storage new allocation as an example, when an IT administrator performs such a change, IT needs to perform a multi-role manual operation of the conventional storage new allocation change as shown in fig. 4, and needs to collect the host IP, the host ID, and the WWN of each port for recording, and manually fill these parameters into the mapping allocation during the storage allocation; the LUN needs to be manually created and added to the LUN group according to the required LUN specification. In an embodiment of the present invention, the change requirement parameter includes LUN specification, port group, physical node identifier, and host information. Further, the changing the corresponding hardware information and configuration information according to the change requirement parameter includes: and after the hardware information and the configuration information are changed according to the change demand parameters, constructing a mapping relation between a disk and the hosts, and adjusting the unique identification information corresponding to each host in the hardware information to perform storage allocation. In actual work, by using the embodiment, only one IT administrator needs to log in the WEB foreground of the invention and input simple requirement parameters (without inputting complex WWN), and the storage allocation can be accurately finished. Specifically, the WEB foreground receives the changed elements such as the LUN specification, the port group, and the physical host node ID input by the administrator, and queries the data in the information centralized storage component based on the physical host ID to send WWN information of each physical node involved in the change and other elements (the LUN specification, the port group, and the like) of the change to the SAN change execution component. And then, automatically finishing LUN, LUN group, host group and mapping creation, automatically managing WWN of each host, finishing automatic allocation of storage, identifying newly allocated storage and formatting, and feeding back a change result to an IT administrator through a WEB foreground.
Referring to fig. 5, the present invention further provides a centralized storage management apparatus, including: the system comprises a server information acquisition module, a centralized storage information acquisition module, an information centralized storage module and a change processing module; the server information acquisition module is used for acquiring the managed host node information in the target management system; acquiring a physical node corresponding to the host node information according to a preset period to obtain hardware information; the centralized storage information acquisition module is used for acquiring the information of the managed storage equipment in the target management system; acquiring a magnetic disk corresponding to the storage equipment information according to a preset period to obtain configuration information; the information centralized storage module is used for associating the hardware information with the configuration information through host information to generate a query information set, and storing and displaying the query information set; the change processing module is used for acquiring change demand parameters and acquiring corresponding hardware information and configuration information through the query information set according to host information in the change demand parameters; and changing the corresponding hardware information and configuration information through the change demand parameters, and feeding back a change result to a provider of the change demand parameters.
In the above embodiment, the server information collecting module includes: acquiring the identification information of the physical node and the unique identification information of the FC port of the host bus adapter; generating a key word in an information key value according to the identification information, and generating a key value of a key value pair according to the unique identification information; and generating hardware information through the key words and the key values. Specifically, the server information collection module can be similar to a crawler technology and is used for collecting information of the managed host nodes. In another embodiment, only WWN information can be entered when configuring an initiator for a host on a storage device. Therefore, IT administrators cannot know which physical node in the environment the WWN corresponds to, and specifically the host on the WWN, when maintaining the storage device. The server acquisition component acquires WWN information of the server node and performs correlation matching on the WWN on the disk unit and the WWN of the server.
In an embodiment of the present invention, the information centralized storage module may query the query information set by the similar method described above; through the information acquisition, the convergence and the online display, the information matching is changed from the original manual query into the quasi-real-time query, and an IT (information technology) administrator can conveniently and quickly perform statistical data collection, purpose analysis, fault diagnosis, availability evaluation and the like. In order to solve the problem that the change of a large amount of storage equipment needs manual operation of an IT (information technology) administrator, the change processing module in the WEB foreground can allow the IT administrator to perform change operation on the server and the storage equipment in an online WEB mode. Typically, changes to an enterprise SAN storage device include storage new allocation, inventory storage capacity expansion, storage resource reclamation, and the like. Taking the storage new allocation as an example, the conventional IT administrator needs to perform traditional multi-role manual operation when performing such change; the IP of the host, the ID of the host and the WWN of each port need to be collected for recording, and the parameters are manually filled in mapping allocation during storage allocation; the LUN needs to be manually created and added to the LUN group according to the required LUN specification.
The invention has the beneficial technical effects that: the problem that the host on the storage equipment cannot be quickly and accurately associated and matched with actual physical and running services in the IT environment when an IT administrator performs storage distribution, capacity expansion, recovery and change is solved, and the accuracy and efficiency of the IT administrator in the aspects of service identification and service supply are improved; the method provides one-stop WEB-based storage change for the IT administrator, does not need the IT administrator to inquire and acquire complex change parameters, allows the IT administrator to complete storage change rapidly and accurately with minimum effort, and improves the IT supply efficiency of enterprises.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method when executing the computer program.
The present invention also provides a computer-readable storage medium storing a computer program for executing the above method.
As shown in fig. 6, the electronic device 600 may further include: communication module 110, input unit 120, audio processing unit 130, display 160, power supply 170. It is noted that the electronic device 600 does not necessarily include all of the components shown in FIG. 6; furthermore, the electronic device 600 may also comprise components not shown in fig. 6, which may be referred to in the prior art.
As shown in fig. 6, the central processor 100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, the central processor 100 receiving input and controlling the operation of the various components of the electronic device 600.
The memory 140 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 100 may execute the program stored in the memory 140 to realize information storage or processing, etc.
The input unit 120 provides input to the cpu 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display an object to be displayed, such as an image or a character. The display may be, for example, an LCD display, but is not limited thereto.
The memory 140 may be a solid state memory such as Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 140 may also be some other type of device. Memory 140 includes buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application/function storage section 142, and the application/function storage section 142 is used to store application programs and function programs or a flow for executing the operation of the electronic device 600 by the central processing unit 100.
The memory 140 may also include a data store 143, the data store 143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by the electronic device. The driver storage portion 144 of the memory 140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging application, address book application, etc.).
The communication module 110 is a transmitter/receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter/receiver) 110 is coupled to the central processor 100 to provide an input signal and receive an output signal, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide audio output via the speaker 131 and receive audio input from the microphone 132 to implement general telecommunications functions. Audio processor 130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, an audio processor 130 is also coupled to the central processor 100, so that recording on the local can be enabled through a microphone 132, and so that sound stored on the local can be played through a speaker 131.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for centralized storage management, the method comprising:
acquiring managed host node information and storage device information in a target management system;
respectively acquiring a physical node corresponding to the host node information and a magnetic disk corresponding to the storage device information according to the host node information and the storage device information according to a preset period, and acquiring hardware information and configuration information;
associating the hardware information with the configuration information through host information to generate a query information set;
acquiring change demand parameters, and acquiring corresponding hardware information and configuration information through the query information set according to host information in the change demand parameters;
and changing the corresponding hardware information and configuration information through the change demand parameters, and feeding back a change result to a provider of the change demand parameters.
2. The centralized storage management method according to claim 1, wherein the collecting the physical nodes corresponding to the host node information according to the host node information in a preset cycle respectively comprises:
acquiring the identification information of the physical node and the unique identification information of the FC port of the host bus adapter;
generating a key word in an information key value according to the identification information, and generating a key value of a key value pair according to the unique identification information;
and generating hardware information through the key words and the key values.
3. The centralized storage management method according to claim 1, wherein acquiring the disks corresponding to the storage device information according to the storage device information at a preset cycle comprises:
and acquiring configuration information of a disk corresponding to the storage equipment information through a command line or an HTTP-based programming interface according to a preset period.
4. The centralized storage management method according to claim 1, wherein the change requirement parameters include LUN specification, port group, physical node identification, and host information.
5. The centralized storage management method of claim 1, wherein generating a query information set by associating the hardware information with the configuration information via host information further comprises: and providing the query information set to a preset position display output.
6. The centralized storage management method according to claim 1, wherein the changing the corresponding hardware information and configuration information by the change requirement parameter includes:
and after the hardware information and the configuration information are changed according to the change demand parameters, constructing a mapping relation between a disk and the hosts, and adjusting the unique identification information corresponding to each host in the hardware information to perform storage allocation.
7. An apparatus for centralized storage management, the apparatus comprising: the system comprises a server information acquisition module, a centralized storage information acquisition module, an information centralized storage module and a change processing module;
the server information acquisition module is used for acquiring the managed host node information in the target management system; acquiring a physical node corresponding to the host node information according to a preset period to obtain hardware information;
the centralized storage information acquisition module is used for acquiring the information of the managed storage equipment in the target management system; acquiring a magnetic disk corresponding to the storage equipment information according to a preset period to obtain configuration information;
the information centralized storage module is used for associating the hardware information with the configuration information through host information to generate a query information set, and storing and displaying the query information set;
the change processing module is used for acquiring change demand parameters and acquiring corresponding hardware information and configuration information through the query information set according to host information in the change demand parameters; and changing the corresponding hardware information and configuration information through the change demand parameters, and feeding back a change result to a provider of the change demand parameters.
8. The centralized storage management device according to claim 7, wherein the server information collection module comprises:
acquiring the identification information of the physical node and the unique identification information of the FC port of the host bus adapter;
generating a key word in an information key value according to the identification information, and generating a key value of a key value pair according to the unique identification information;
and generating hardware information through the key words and the key values.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 6 by a computer.
CN202110739269.1A 2021-06-30 2021-06-30 Centralized storage management method and device Pending CN113391768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110739269.1A CN113391768A (en) 2021-06-30 2021-06-30 Centralized storage management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110739269.1A CN113391768A (en) 2021-06-30 2021-06-30 Centralized storage management method and device

Publications (1)

Publication Number Publication Date
CN113391768A true CN113391768A (en) 2021-09-14

Family

ID=77624705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110739269.1A Pending CN113391768A (en) 2021-06-30 2021-06-30 Centralized storage management method and device

Country Status (1)

Country Link
CN (1) CN113391768A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968877A (en) * 2022-08-01 2022-08-30 摩尔线程智能科技(北京)有限责任公司 Hardware management method, adapter, host and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968877A (en) * 2022-08-01 2022-08-30 摩尔线程智能科技(北京)有限责任公司 Hardware management method, adapter, host and storage medium

Similar Documents

Publication Publication Date Title
US10222983B2 (en) Storage management computer and management method of storage apparatus
US8601025B1 (en) Techniques using a bidirectional graph for reporting to clients
US8996835B2 (en) Apparatus and method for provisioning storage to a shared file system in a storage area network
US8930668B2 (en) Storage black box
US20090177878A1 (en) System and Method for Enabling Storage Area Network Component Migration
CN109683911B (en) System for realizing automatic application deployment and influence analysis
CN107911249A (en) Order line sending method, device and the equipment of a kind of network equipment
US20150236974A1 (en) Computer system and load balancing method
US10126969B1 (en) Mechanism for non-disruptive virtual tape libraries removal and reconfiguration
US20150052324A1 (en) Automated migration to a new copy services target storage system to manage multiple relationships simultaneously while maintaining disaster recovery consistency
CN106126371A (en) Data return a grade method, Apparatus and system
CN101815095A (en) SAN stored resource unified management and distribution method
US8543680B2 (en) Migrating device management between object managers
CN105095103A (en) Storage device management method and device used for cloud environment
JP6842599B2 (en) Creating an aggregate group
US20160191309A1 (en) Cloud system configuration method, server and device
US8762503B2 (en) Best practices analysis of zones and components in a network
US10587533B2 (en) Facilitating management of resources
US9720818B2 (en) Scalable, distributed, fault-tolerant test framework
CN113391768A (en) Centralized storage management method and device
US20150006665A1 (en) Storage provisioning negotiation
US20230334027A1 (en) System and method for automatic infrastructure cloud cost optimization and comparison
US9135457B1 (en) System and method for recording and applying access privileges in a virtualized environment
US10409787B1 (en) Database migration
US10733006B2 (en) Virtual computing systems including IP address assignment using expression evaluation

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