CN111026336A - Automatic operation and maintenance method and operation and maintenance system of SAN storage system - Google Patents

Automatic operation and maintenance method and operation and maintenance system of SAN storage system Download PDF

Info

Publication number
CN111026336A
CN111026336A CN201911370781.2A CN201911370781A CN111026336A CN 111026336 A CN111026336 A CN 111026336A CN 201911370781 A CN201911370781 A CN 201911370781A CN 111026336 A CN111026336 A CN 111026336A
Authority
CN
China
Prior art keywords
storage
service request
storage unit
user service
san
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
CN201911370781.2A
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201911370781.2A priority Critical patent/CN111026336A/en
Publication of CN111026336A publication Critical patent/CN111026336A/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/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0605Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
    • 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
    • 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]

Abstract

The application discloses an automatic operation and maintenance method of an SAN storage system and the operation and maintenance system, wherein the automatic operation and maintenance method of the SAN storage system is realized based on an arithmetic device, firstly, a user service request is obtained, intelligent self-check is carried out on the user service request (namely, whether a storage resource service module matched with the user service request exists in a configuration management library is judged), when the self-check is passed, a target storage unit is determined, and when the target storage unit is in an idle state, a storage resource service module corresponding to a storage resource service type included in the user service request is called to execute the storage resource service corresponding to the user service request, the purpose of intelligently and automatically responding to the corresponding storage resource service according to the user service request is realized, and the operation and maintenance efficiency of the SAN storage system is improved.

Description

Automatic operation and maintenance method and operation and maintenance system of SAN storage system
Technical Field
The present application relates to the field of computer application technologies, and in particular, to an automated operation and maintenance method and an operation and maintenance system for a SAN storage system.
Background
An SAN (Storage Area Network) Storage system adopts a mesh channel (FC) technology, connects a Storage array and a server host through an FC switch, and establishes an Area Network dedicated to data Storage.
In the prior art, operation and maintenance work such as resource management and conventional change of an SAN storage system is still completed manually by an operation and maintenance engineer, and the problem of low operation and maintenance efficiency exists.
Disclosure of Invention
In order to solve the technical problem, the application provides an automatic operation and maintenance method and an operation and maintenance system for an SAN storage system, so as to achieve the purpose of improving the operation and maintenance efficiency of the SAN storage system.
In order to achieve the technical purpose, the embodiment of the application provides the following technical scheme:
an automatic operation and maintenance method of an SAN storage system is realized based on an arithmetic device and is used for managing the SAN storage system, the SAN storage system comprises a configuration management library and a plurality of SAN storage units, and the configuration management library comprises a plurality of storage resource service modules; the automatic operation and maintenance method of the SAN storage system comprises the following steps:
acquiring a user service request, wherein the user service request comprises a storage resource service type;
judging whether a storage resource service module matched with the user service request exists in the configuration management library or not according to the user service request, and if not, prompting that the user service request is wrong;
if yes, determining at least one SAN storage unit as a target storage unit in the plurality of SAN storage units according to the user service request, and calling a storage resource service module corresponding to the storage resource service type included in the user service request when the target storage unit is in an idle state so as to execute the storage resource service corresponding to the user service request.
Optionally, the method further includes: when the storage resource service module matched with the user service request does not exist in the configuration management library, outputting parameter correction information;
the parameter correction information includes: and the service type and/or the error parameters and/or the error instructions of the error storage resources in the user service request and/or the service type correction suggestions and/or the error parameter correction suggestions and/or the error instruction correction suggestions of the error storage resources.
Optionally, the determining, according to the user service request, at least one SAN storage unit as a target storage unit in the plurality of SAN storage units, and when the target storage unit is in an idle state, invoking a storage resource service module corresponding to a storage resource service type included in the user service request to execute a storage resource service corresponding to the user service request includes:
determining one of the SAN storage units or a pair of the SAN storage units as the target storage unit in a plurality of the SAN storage units;
judging whether the target storage unit is in a storage operation execution state, if so, returning to the step of judging whether the target storage unit is in the storage operation execution state, otherwise, acquiring a storage lock of the target storage unit, calling a storage resource service module corresponding to a storage resource service type included in the user service request to execute a storage resource service corresponding to the user service request, and releasing the storage lock of the target storage unit after the execution of the storage resource service corresponding to the user service request is finished.
Optionally, the acquiring the storage lock of the target storage unit includes:
establishing an occupation identifier by taking the identifier of the target storage unit as a name;
the releasing the storage lock of the target storage unit comprises:
and deleting the occupation identification established by taking the identification of the target storage unit as the name.
Optionally, the determining whether the target storage unit is in a storage operation execution state includes:
when an occupation identification established by taking the identification of the target storage unit as a name exists, judging that the target storage unit is in a storage operation execution state;
and when the occupation identification established by taking the identification of the target storage unit as the name does not exist, judging that the target storage unit is in an idle state.
An automatic operation and maintenance system of a SAN storage system is realized on the basis of an arithmetic device and is used for managing the SAN storage system, the SAN storage system comprises a configuration management library and a plurality of SAN storage units, and the configuration management library comprises a plurality of storage resource service modules; the automatic operation and maintenance system of the SAN storage system comprises:
the request acquisition module is used for acquiring a user service request, and the user service request comprises a storage resource service type;
the judging and executing module is used for judging whether a storage resource service module matched with the user service request exists in the configuration management library or not according to the user service request, and if not, prompting that the user service request is wrong;
if yes, determining at least one SAN storage unit as a target storage unit in the plurality of SAN storage units according to the user service request, and calling a storage resource service module corresponding to the storage resource service type included in the user service request when the target storage unit is in an idle state so as to execute the storage resource service corresponding to the user service request.
Optionally, the determining and executing module is further configured to, when a storage resource service module matching the user service request does not exist in the configuration management library, output parameter correction information;
the parameter correction information includes: and the service type and/or the error parameters and/or the error instructions of the error storage resources in the user service request and/or the service type correction suggestions and/or the error parameter correction suggestions and/or the error instruction correction suggestions of the error storage resources.
Optionally, the determining and executing module determines, according to the user service request, at least one SAN storage unit as a target storage unit in the plurality of SAN storage units, and when the target storage unit is in an idle state, invokes a storage resource service module corresponding to a storage resource service type included in the user service request to execute a storage resource service corresponding to the user service request specifically includes:
determining one of the SAN storage units or a pair of the SAN storage units as the target storage unit in a plurality of the SAN storage units;
judging whether the target storage unit is in a storage operation execution state, if so, returning to the step of judging whether the target storage unit is in the storage operation execution state, otherwise, acquiring a storage lock of the target storage unit, calling a storage resource service module corresponding to a storage resource service type included in the user service request to execute a storage resource service corresponding to the user service request, and releasing the storage lock of the target storage unit after the execution of the storage resource service corresponding to the user service request is finished.
Optionally, the process of acquiring the storage lock of the target storage unit by the determining and executing module specifically includes:
establishing an occupation identifier by taking the identifier of the target storage unit as a name;
the process of releasing the storage lock of the target storage unit by the judgment and execution module specifically includes:
and deleting the occupation identification established by taking the identification of the target storage unit as the name.
Optionally, the process of determining, by the determining and executing module, whether the target storage unit is in the storage operation executing state specifically includes:
when an occupation identification established by taking the identification of the target storage unit as a name exists, judging that the target storage unit is in a storage operation execution state;
and when the occupation identification established by taking the identification of the target storage unit as the name does not exist, judging that the target storage unit is in an idle state.
It can be seen from the foregoing technical solutions that the embodiments of the present application provide an automated operation and maintenance method and an operation and maintenance system for a SAN storage system, wherein, the automatic operation and maintenance method of the SAN storage system is realized based on the arithmetic device, firstly, a user service request is obtained, and the user service request is intelligently self-checked (namely, whether a storage resource service module matched with the user service request exists in the configuration management library or not is judged), when the self-check is passed, determining a target storage unit, and calling a storage resource service module corresponding to the storage resource service type included in the user service request when the target storage unit is in an idle state, the storage resource service corresponding to the user service request is executed, the purpose of intelligently and automatically responding to the corresponding storage resource service according to the user service request is achieved, and the operation and maintenance efficiency of the SAN storage system is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of an automated operation and maintenance method for a SAN storage system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an automated operation and maintenance method for a SAN storage system according to another embodiment of the present application;
fig. 3 is a flowchart illustrating an automated operation and maintenance method for a SAN storage system according to another embodiment of the present application.
Detailed Description
Storage is the basis for the existence of information. For the financial industry, the storage of transaction data is the core of the whole system, and once the stored information is leaked or destroyed, the institution and the client face large economic losses. With the continuous development of information technology and the continuous increase of information construction, new technology and system will be continuously put into use. Particularly, in the era of mobile internet, the data volume of the service is increasing day by day, higher requirements are put on the performance, efficiency and safety of the data storage system, and the working pressure of storage operation and maintenance personnel is further increased. How to ensure the safety and reliability of data and ensure the steady operation of the whole banking business is an important test for a storage operation and maintenance team.
As described in the background art, for operation and maintenance work such as resource management and conventional change of the SAN storage system, in the prior art, an operation and maintenance engineer is still required to perform manual storage resource management, demand collection, sorting and analysis, and then, according to the storage product resource information maintained offline, corresponding storage service demands are manually and manually completed. Each implementation link of the storage service needs to be manually completed by an operation and maintenance engineer, and the operation and maintenance efficiency is low. And each implementation link of the storage service needs to be manually completed by an operation and maintenance engineer, so that the efficiency is low and the risk of manual operation exists. If the offline storage resource is not maintained timely or accurately, the required analysis result and the storage resource allocation judgment are easily made wrong, and if the manual implementation process is not operated properly, the storage resource allocation is easily failed or the externally delivered storage resource is unreasonable, and even the safe and stable operation of the system is affected.
In view of this, an embodiment of the present application provides an automated operation and maintenance method for an SAN storage system, which is implemented based on a computing device and is used for managing the SAN storage system, where the SAN storage system includes a configuration management library and a plurality of SAN storage units, and the configuration management library includes a plurality of storage resource service modules; the automatic operation and maintenance method of the SAN storage system comprises the following steps:
acquiring a user service request, wherein the user service request comprises a storage resource service type;
judging whether a storage resource service module matched with the user service request exists in the configuration management library or not according to the user service request, and if not, prompting that the user service request is wrong;
if yes, determining at least one SAN storage unit as a target storage unit in the plurality of SAN storage units according to the user service request, and calling a storage resource service module corresponding to the storage resource service type included in the user service request when the target storage unit is in an idle state so as to execute the storage resource service corresponding to the user service request.
The automatic operation and maintenance method of the SAN storage system is realized based on the arithmetic device, firstly, a user service request is obtained, intelligent self-inspection is carried out on the user service request (namely, whether a storage resource service module matched with the user service request exists in the configuration management library or not is judged), when the self-inspection is passed, a target storage unit is determined, and when the target storage unit is in an idle state, a storage resource service module corresponding to the storage resource service type included in the user service request is called to execute the storage resource service corresponding to the user service request, the purpose of intelligently and automatically responding to the corresponding storage resource service according to the user service request is realized, and the operation and maintenance efficiency of the SAN storage system is improved.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an automatic operation and maintenance method for an SAN storage system, which is implemented based on an arithmetic device and is used for managing the SAN storage system, wherein the SAN storage system comprises a configuration management library and a plurality of SAN storage units, and the configuration management library comprises a plurality of storage resource service modules; the automatic operation and maintenance method of the SAN storage system comprises the following steps:
s101: acquiring a user service request, wherein the user service request comprises a storage resource service type;
s102: judging whether a storage resource service module matched with the user service request exists in the configuration management library or not according to the user service request, and if not, prompting that the user service request is wrong;
if yes, determining at least one SAN storage unit as a target storage unit in the plurality of SAN storage units according to the user service request, and calling a storage resource service module corresponding to the storage resource service type included in the user service request when the target storage unit is in an idle state so as to execute the storage resource service corresponding to the user service request.
In the present embodiment, the computing device refers to a device having a computing function such as a logical operation or an algebraic operation, and may be a device such as a computer or a server.
In step S101, the user service request may be input by providing a request input interface through the computing device, so that the user fills various parameters or commands in the interface to form the user service request. The user service request may include information such as the identity/address of the target SAN storage unit, in addition to the storage resource service type.
In step S102, in the process of determining whether a storage resource service module matching the user service request exists in the configuration management library according to the user service request, it may be determined whether a parameter or an instruction indicating the storage resource service type in the user service request is correct; or judging whether a module corresponding to the storage resource service type in the user service request exists in the storage resource service modules included in the configuration management library; it may also be determined whether the identification/address information of the SAN storage unit of the target included in the user service request can correspond to the SAN storage unit, and the like.
The method comprises the steps that whether a storage resource service module matched with a user service request exists in a configuration management library or not is judged according to the user service request, the intelligent self-checking process of the user service request can be called, and when the intelligent self-checking process fails, a user service request is prompted to be wrong so that a user rechecks and/or inputs the user service request; and after the intelligent self-checking process passes, determining a target storage unit according to the user service request, and calling a corresponding storage resource service module to execute the storage resource service corresponding to the user service request when the target storage unit is in an idle state, so that the aim of intelligently and automatically responding to the corresponding storage resource service according to the user service request is fulfilled, and the operation and maintenance efficiency of the SAN storage system is improved.
It should be noted that, in the execution process of the method, only when the target storage unit is in an idle state, the corresponding storage resource service is provided according to the user service request, so that the purpose of performing serial operation when multiple services simultaneously request the same target storage unit is achieved, and the problems that the storage efficiency of the target storage unit is low and the like possibly caused by the simultaneous storage resource operation of multiple processes on the same target storage unit are avoided.
On the basis of the foregoing embodiments, in an embodiment of the present application, as shown in fig. 2, an automated operation and maintenance method for a SAN storage system includes:
s201: acquiring a user service request, wherein the user service request comprises a storage resource service type;
s202: judging whether a storage resource service module matched with the user service request exists in the configuration management library or not according to the user service request, if not, prompting that the user service request is wrong, and outputting parameter correction information;
the parameter correction information includes: error parameter types and/or error parameter contents and/or error parameter type correction suggestions and/or error parameter content correction suggestions in the user service request;
if yes, determining at least one SAN storage unit as a target storage unit in the plurality of SAN storage units according to the user service request, and calling a storage resource service module corresponding to the storage resource service type included in the user service request when the target storage unit is in an idle state so as to execute the storage resource service corresponding to the user service request.
In this embodiment, in step S202, when there is no storage resource service module matching the user service request in the configuration management library, parameter modification information is output, and the output parameter modification information may help a user to specify information (e.g., parameters and/or instructions) that there is an error in the user service request, and may give a corresponding modification suggestion.
The wrong storage resource service type refers to a storage resource service type with a mistake in storage resource service types input by a user, and the wrong storage resource service type correction suggestion refers to a selectable correct storage resource service type; similarly, the error parameter refers to a parameter with an error in the parameters input by the user, and the error parameter correction suggestion refers to an optional correct input parameter; the wrong instruction refers to an instruction with a mistake in the parameters input by the user, and the wrong instruction correction suggestion refers to an optional correct input instruction.
On the basis of the above embodiment, in another embodiment of the present application, as shown in fig. 3, the method for automated operation and maintenance of a SAN storage system includes:
s301: acquiring a user service request, wherein the user service request comprises a storage resource service type;
s302: judging whether a storage resource service module matched with the user service request exists in the configuration management library or not according to the user service request, if not, prompting that the user service request is wrong, and outputting parameter correction information;
the parameter correction information includes: error parameter types and/or error parameter contents and/or error parameter type correction suggestions and/or error parameter content correction suggestions in the user service request;
if yes, determining one SAN storage unit or a pair of SAN storage units in a plurality of SAN storage units as the target storage unit according to the user service request;
judging whether the target storage unit is in a storage operation execution state, if so, returning to the step of judging whether the target storage unit is in the storage operation execution state, otherwise, acquiring a storage lock of the target storage unit, calling a storage resource service module corresponding to a storage resource service type included in the user service request to execute a storage resource service corresponding to the user service request, and releasing the storage lock of the target storage unit after the execution of the storage resource service corresponding to the user service request is finished.
In this embodiment, a concept of a storage lock is introduced to achieve the purpose of "mutual exclusion" of the target storage unit in the access process, that is, only a process that acquires the storage lock is qualified for accessing and operating the target storage unit.
Specifically, one embodiment of the present application provides a specific way to acquire a storage lock of the target storage unit, including:
establishing an occupation identifier by taking the identifier of the target storage unit as a name;
the releasing the storage lock of the target storage unit comprises:
and deleting the occupation identification established by taking the identification of the target storage unit as the name.
The identification of the target storage unit may be information that the serial number or device name of the target storage unit is not duplicated with other storage units.
The occupation identifier can be a file or a folder and the like.
Correspondingly, the operation of releasing the storage lock of the target storage unit is to delete the occupation identification.
Correspondingly, the judging whether the target storage unit is in the storage operation execution state includes:
when an occupation identification established by taking the identification of the target storage unit as a name exists, judging that the target storage unit is in a storage operation execution state;
and when the occupation identification established by taking the identification of the target storage unit as the name does not exist, judging that the target storage unit is in an idle state.
Optionally, the storage resource service modules included in the configuration management library may be a storage resource creation module, a switch zone creation module, a storage resource expansion module, a storage resource recovery module, a switch zone recovery module, and the like; correspondingly, the storage resource service comprises new storage resource establishment, new switch zone establishment, storage resource expansion, storage resource recovery, switch zone recovery and the like.
Each storage resource service module has a specific workflow, and the detailed description of the specific workflow of each storage resource service module is described below.
For the storage resource new building module, the storage resource new building module realizes a storage resource new building function of the application system according to a service request of a user. According to the deployment unit name, the capacity, the Host name, the operating system type, the WWPN (World Wide Port Number) of the Host HBA (Host Bus Adapter) card and other parameter information of the application system, appropriate storage resources are automatically allocated to the application system. The workflow thereof will be described in detail below.
Step 1: and selecting a new storage resource service by the user on a system service request interface.
Step 2: when a user inputs a service request list, the intelligent self-checking module acquires data in a configuration management library in real time, and if the user inputs parameters wrongly or unreasonably, refined error information and related suggestions are prompted on a foreground in real time to help the user to correct the parameters; if the user input is correct, the system executes the target storage determination logic to determine the target storage or storage pair. And clicking to submit the parameters without errors.
The main parameters of the storage resource new creation module are shown in table 1.
Table 1 storage resource creation module input parameters
Figure BDA0002339600060000101
And in the intelligent self-checking process in the new building process of the storage resource, parameter validity check is carried out on the parameters input by the user in real time according to the data in the configuration management database and each parameter rule. If the parameters are illegal, outputting parameter error information on a user input interface in real time and prompting a modification suggestion to allow the user to input the requested parameters again.
The checking rule of the parameter validity is as follows:
1) when the user service request is newly created for the storage resource, whether the parameters included in the user service request are 10 parameters or not is judged;
2) whether all parameters are letter or number only;
3) capacity: must be a number;
4) host1 name, host2 name: the length is less than 31 bits;
5) host1 type, host2 type: but only 0(linux),3(hp) or 4 (aix);
6) host1fc port1, host1fc port2, host2 fc port1, host2 fc port: the length is 16 bits, and only numbers and letters can be used;
7) and checking the name of the deployment unit and the host name filled in the user service request, and whether the WWPN of the host exists, if so, prompting the existence by the intelligent self-checking module, and suggesting to replace the name or checking whether the filled information is correct.
8) Checking whether the user service request meets the current capacity condition of the SAN storage so as to determine a target storage unit, wherein the selection criteria of the target storage are as follows: (a) there are unused LUNs that meet the capacity requirement of capacity (including capacity data disk +2 or 3 disk heartbeats of 5G); (b) for this storage, the pool with the smallest pool usage and less than 80% was selected. If the current storage resource pool has no corresponding storage, the intelligent self-checking module can give corresponding solutions or suggestions on a service request interface, such as replacing the storage resource pool or reducing the capacity.
And step 3: after the user service request is successfully submitted, the system detects whether the target storage unit is executing the storage operation, and if so, the system continues to wait; and if not, acquiring the storage lock and performing subsequent storage service request operation.
And 4, step 4: when the system executes the storage service operation of the user, the required parameters are obtained.
And 5: the storage resource new building module starts to execute the following process:
1) creating a host and an initiator;
2) creating a master group IG;
3) creating a LUN group SG;
4) creating a port group PG;
5) creating a mapping of a host to a master group IG;
6) creating mapping from the LUN to the LUN group SG (carrying out batch query on the LUN group to obtain a target LUN, and then mapping the target LUN to the SG);
7) creating a Mapping from the port to the port group PG (the port is determined according to Mapping View associated with the port group at least);
8) and creating the Mapping from the host group IG, the LUN group SG and the port group PG to Mapping View.
Step 6: after the execution of step 5 is finished, the switch Zone new file is output for use by the switch Zone new module.
And 7: the system prompts the success of the new establishment of the storage resource.
After the new storage resource is executed, a switch zone new-creation operation needs to be executed, which is a logical connection relationship established on the basis of physical connection, so that the host can scan the storage resource information allocated by the storage, and if the switch zone new creation is not performed, the host cannot identify the storage resource, and the purpose of creating the new storage resource cannot be achieved. The specific work flow of the switch zone new building module comprises the following steps:
step 1: and executing zone change database initialization operation.
Step 2: with the switch-activated zone file, a show _ zone file is generated, and a zone info table is created.
And step 3: after the step 1, a zoneaddinfo table is created according to the switch zone new file output by the storage resource new creation module.
And 4, step 4: after step 3, a differential comparison analysis is performed. If the same item exists, an error log is output, the system starts an intelligent self-checking module, the error log is analyzed, an error checking result is output, and the error reason and a solution proposal are prompted; if there is no identical item, a zone new command is generated, a zone add to zone command is generated, and a zone activate command is generated. After completion, the zone change database is initialized.
And 5: and 4, connecting the switch, executing the newly-built storage zone, sequentially executing the commands of newly-built zone, adding zone into zone set, activating zone set and the like, finishing the newly-built zone of the switch, disconnecting the connection of the switch, and prompting the success of the newly-built zone of the switch by the system.
For the storage resource capacity expansion module, the storage resource capacity expansion module realizes the capacity expansion function of the storage resource of the application system according to the service request of the user. And automatically allocating proper storage resources to expand the capacity of the application system according to parameter information such as the name, the capacity, the host name, the type of the operating system, the WWPN of the host HBA card and the like of the deployment unit of the application system. The workflow thereof will be described in detail below.
Step 1: and selecting storage resource capacity expansion service by the user on a system service request interface.
Step 2, when a user inputs a service request list, the intelligent self-checking module acquires data in a configuration management library in real time, if the user inputs parameters wrongly or unreasonably, refined error information and related suggestions are prompted on a foreground in real time, and the user is helped to correct the parameters; if the user input is correct, the system executes the target storage determination logic to determine the target storage or storage pair. And clicking to submit the parameters without errors.
The main parameters of the storage resource capacity expansion module are shown in table 2.
TABLE 2 storage resource expansion Module input parameters
Figure BDA0002339600060000131
And in the intelligent self-checking process in the storage resource expansion process, parameter validity check is carried out on the parameters input by the user in real time according to the data in the configuration management database and each parameter rule. If the parameters are illegal, outputting parameter error information on a user input interface in real time and prompting a modification suggestion to allow the user to input the requested parameters again.
The checking rule of the parameter validity is as follows:
1) during capacity expansion, whether the parameters are 10 parameters or not is judged;
2) whether all parameters are letter or number only;
3) capacity: must be a number;
4) host1 name, host2 name: the length is less than 31 bits;
5) host1 type, host2 type: but only 0(linux),3(hp) or 4(aix) (of course, other systems are possible in other embodiments of the present application);
6) host1fc port1, host1fc port2, host2 fc port1, host2 fc port: the length is 16 bits, and only numbers and letters can be used;
7) checking the name of the deployment unit and the host name filled in the user service request, and whether the WWPN of the host exists or not, if not, prompting that the WWPN does not exist, and suggesting to replace the name or checking whether the filled information is correct or not by the intelligent self-checking module; if the host and the initiator are matched, the system automatically checks whether the host and the initiator are matched, and the criteria for checking whether the host and the initiator are matched are as follows: (a) querying hosts according to the input host1 name and host2 name, wherein each host name exists and is only 1; (b) according to the input host1fcport1, host1fc port2, host2 fc port1 and host2 fc port, carrying out initiator query under the corresponding host, wherein each initiator exists and only 1 initiator exists;
8) and determining the original target storage through the name of the deployment unit filled in the user service request, and checking whether the target storage meets the current capacity condition, such as whether the original pool utilization rate is less than 80%. If the current storage capacity is not satisfied, the intelligent self-checking module gives a corresponding solution or suggestion on a service request interface, if the original storage cannot be expanded, the intelligent self-checking module contacts an administrator or continues to click to submit, and if the original storage cannot be expanded, new storage is distributed to complete expansion operation.
And step 3: after the user service request sheet is successfully submitted, the system detects whether the target storage is executing the storage operation, and if so, the system continues to wait; and if not, acquiring the storage lock and performing subsequent storage service request operation.
And 4, step 4: when the system executes the storage service operation of the user, the required parameters are obtained through the parameter calling module.
And 5: the storage resource capacity expansion module starts to execute the following process:
1) inquiring 500G LUNs in batch to obtain LUN groups meeting capacity requirements;
2) carrying out LUN group SG query according to unit name deployment unit names, wherein the number of the unit name deployment unit names is only 1;
3) a mapping of LUNs to LUN group SGs is created.
And 8: the system prompts the successful expansion of the storage resources.
For the storage resource recovery module, the storage resource recovery module realizes the storage resource recovery function of the application system according to the service request of the user. And automatically recovering the storage resources corresponding to the application system according to parameter information such as the name of a deployment unit, the name of the host, the type of the operating system, the WWPN of the HBA card of the host and the like of the application system. The workflow thereof will be described in detail below.
Step 1: and selecting the storage resource recycling service by the user on a system service request interface.
Step 2, when a user inputs a service request list, the intelligent self-checking module acquires data in a configuration management library in real time, if the user inputs parameters wrongly or unreasonably, refined error information and related suggestions are prompted on a foreground in real time, and the user is helped to correct the parameters; if the user input is correct, the system executes the target storage determination logic to determine the target storage or storage pair. And clicking to submit the parameters without errors.
The main parameters of the storage resource reclamation module are shown in table 3.
TABLE 3 storage resource reclamation Module input parameters
Figure BDA0002339600060000151
In the intelligent self-checking process, the parameter validity check is carried out on the parameters input by the user in real time according to the data in the configuration management database and each parameter rule. If the parameters are illegal, outputting parameter error information on a user input interface in real time and prompting a modification suggestion to allow the user to input the requested parameters again.
The checking rule of the parameter validity is as follows:
1) when recovering, whether the parameters are 9 parameters or not;
2) whether all parameters are letter or number only;
3) capac item: must be a number;
4) host1 name, host2 name: the length is less than 31 bits;
5) host1 type, host2 type: but only 0(linux),3(hp) or 4(aix) (other systems are also possible, these three are taken as examples in this paper);
6) host1fc port1, host1fc port2, host2 fc port1, host2 fc port: the length is 16 bits, and only numbers and letters can be used;
7) checking the name of the deployment unit and the host name filled in the user service request, and whether the WWPN of the host exists or not, if not, prompting that the WWPN does not exist, and suggesting to replace the name or checking whether the filled information is correct or not by the intelligent self-checking module; if the host and the initiator are matched, the system automatically checks whether the host and the initiator are matched, and the criteria for checking whether the host and the initiator are matched are as follows: (a) querying hosts according to the input host1 name and host2 name, wherein each host name exists and is only 1; (b) according to the input host1fcport1, host1fc port2, host2 fc port1 and host2 fc port, the initiator query is carried out under the corresponding host, and each initiator exists and only has 1 initiator. s
And step 3: after the user service request sheet is successfully submitted, the system detects whether the target storage is executing the storage operation, and if so, the system continues to wait; and if not, acquiring the storage lock and performing subsequent storage service request operation.
And 4, step 4: when the system executes the storage service operation of the user, the required parameters are obtained through the parameter calling module.
And 5: the storage resource recycling module starts to execute the following process:
1) inquiring whether the IG of the main unit exists and only has 1 IG;
2) inquiring whether LUN group SG exists and only has 1;
3) inquiring whether the port group PG exists and is only 1;
4) inquiring whether Mapping View exists and only 1;
5) deleting the Mapping from the host group IG, the LUN group SG and the port group PG to Mapping View, and deleting the Mapping View;
6) deleting the mapping from the port to the port group PG and deleting the port group PG;
7) deleting the mapping from the LUN to the LUN group SG, and deleting the LUN group SG;
8) deleting the mapping from the host to the IG of the host group, and deleting the IG of the host group;
9) deleting the mapping from the starter to the host, and deleting the starter;
10) the host is deleted.
Step 6: and after the step 5 is finished, outputting the switch Zone recycle file for the switch Zone recycle module to use.
And 7: the system prompts the storage resource to be successfully recovered.
For the switch zone recovery module, after the SAN storage resource is successfully recovered, the switch zone recovery process needs to be automatically performed according to the switch zone recovery file output by the switch zone recovery module, so as to implement the recovery function of the storage network, and the work flow of the switch zone recovery module is described in detail below.
Step 1: and executing zone change database initialization operation.
Step 2: with the switch-activated zone file, a show _ zone file is generated, and a zone info table is created.
And step 3: after step 1, creating a zoneaddinfo table according to the switch zone recycle file output by the storage resource recycle module.
And 4, step 4: after step 3, a differential comparison analysis is performed. If the same items are not zonedelfo tables, outputting an error log, starting an intelligent self-checking module by the system, analyzing the error log, outputting an error checking result, and prompting error reasons and suggesting a solution; if the same items are all zonedenfo tables, a zone recycle command and a zoneset activation command are generated. After completion, the zone change database is initialized.
And 5: after step 4, the recycle storage zone is executed, and the system prompts the switch that the zone recycle is successful.
The automated operation and maintenance system of the SAN storage system provided in the embodiment of the present application is described below, and the automated operation and maintenance system of the SAN storage system described below may be referred to in correspondence with the automated operation and maintenance method of the SAN storage system described above.
Correspondingly, the embodiment of the application provides an automatic operation and maintenance system of an SAN storage system, which is realized based on a computing device and is used for managing the SAN storage system, wherein the SAN storage system comprises a configuration management library and a plurality of SAN storage units, and the configuration management library comprises a plurality of storage resource service modules; the automatic operation and maintenance system of the SAN storage system comprises:
the request acquisition module is used for acquiring a user service request, and the user service request comprises a storage resource service type;
the judging and executing module is used for judging whether a storage resource service module matched with the user service request exists in the configuration management library or not according to the user service request, and if not, prompting that the user service request is wrong;
if yes, determining at least one SAN storage unit as a target storage unit in the plurality of SAN storage units according to the user service request, and calling a storage resource service module corresponding to the storage resource service type included in the user service request when the target storage unit is in an idle state so as to execute the storage resource service corresponding to the user service request.
Optionally, the determining and executing module is further configured to, when a storage resource service module matching the user service request does not exist in the configuration management library, output parameter correction information;
the parameter correction information includes: and the service type and/or the error parameters and/or the error instructions of the error storage resources in the user service request and/or the service type correction suggestions and/or the error parameter correction suggestions and/or the error instruction correction suggestions of the error storage resources.
Optionally, the determining and executing module determines, according to the user service request, at least one SAN storage unit as a target storage unit in the plurality of SAN storage units, and when the target storage unit is in an idle state, invokes a storage resource service module corresponding to a storage resource service type included in the user service request to execute a storage resource service corresponding to the user service request specifically includes:
determining one of the SAN storage units or a pair of the SAN storage units as the target storage unit in a plurality of the SAN storage units;
judging whether the target storage unit is in a storage operation execution state, if so, returning to the step of judging whether the target storage unit is in the storage operation execution state, otherwise, acquiring a storage lock of the target storage unit, calling a storage resource service module corresponding to a storage resource service type included in the user service request to execute a storage resource service corresponding to the user service request, and releasing the storage lock of the target storage unit after the execution of the storage resource service corresponding to the user service request is finished.
Optionally, the process of acquiring the storage lock of the target storage unit by the determining and executing module specifically includes:
establishing an occupation identifier by taking the identifier of the target storage unit as a name;
the process of releasing the storage lock of the target storage unit by the judgment and execution module specifically includes:
and deleting the occupation identification established by taking the identification of the target storage unit as the name.
Optionally, the process of determining, by the determining and executing module, whether the target storage unit is in the storage operation executing state specifically includes:
when an occupation identification established by taking the identification of the target storage unit as a name exists, judging that the target storage unit is in a storage operation execution state;
and when the occupation identification established by taking the identification of the target storage unit as the name does not exist, judging that the target storage unit is in an idle state.
In summary, the embodiments of the present application provide an automated operation and maintenance method and an operation and maintenance system for a SAN storage system, wherein, the automatic operation and maintenance method of the SAN storage system is realized based on the arithmetic device, firstly, a user service request is obtained, and the user service request is intelligently self-checked (namely, whether a storage resource service module matched with the user service request exists in the configuration management library or not is judged), when the self-check is passed, determining a target storage unit, and calling a storage resource service module corresponding to the storage resource service type included in the user service request when the target storage unit is in an idle state, the storage resource service corresponding to the user service request is executed, the purpose of intelligently and automatically responding to the corresponding storage resource service according to the user service request is achieved, and the operation and maintenance efficiency of the SAN storage system is improved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An automatic operation and maintenance method of an SAN storage system is characterized in that the method is realized based on a computing device and is used for managing the SAN storage system, the SAN storage system comprises a configuration management library and a plurality of SAN storage units, and the configuration management library comprises a plurality of storage resource service modules; the automatic operation and maintenance method of the SAN storage system comprises the following steps:
acquiring a user service request, wherein the user service request comprises a storage resource service type;
judging whether a storage resource service module matched with the user service request exists in the configuration management library or not according to the user service request, and if not, prompting that the user service request is wrong;
if yes, determining at least one SAN storage unit as a target storage unit in the plurality of SAN storage units according to the user service request, and calling a storage resource service module corresponding to the storage resource service type included in the user service request when the target storage unit is in an idle state so as to execute the storage resource service corresponding to the user service request.
2. The method of claim 1, further comprising: when the storage resource service module matched with the user service request does not exist in the configuration management library, outputting parameter correction information;
the parameter correction information includes: and the service type and/or the error parameters and/or the error instructions of the error storage resources in the user service request and/or the service type correction suggestions and/or the error parameter correction suggestions and/or the error instruction correction suggestions of the error storage resources.
3. The method of claim 1, wherein the determining, according to the user service request, at least one SAN storage unit as a target storage unit from among a plurality of SAN storage units, and when the target storage unit is in an idle state, invoking a storage resource service module corresponding to a storage resource service type included in the user service request to execute a storage resource service corresponding to the user service request comprises:
determining one of the SAN storage units or a pair of the SAN storage units as the target storage unit in a plurality of the SAN storage units;
judging whether the target storage unit is in a storage operation execution state, if so, returning to the step of judging whether the target storage unit is in the storage operation execution state, otherwise, acquiring a storage lock of the target storage unit, calling a storage resource service module corresponding to a storage resource service type included in the user service request to execute a storage resource service corresponding to the user service request, and releasing the storage lock of the target storage unit after the execution of the storage resource service corresponding to the user service request is finished.
4. The method of claim 3, wherein the acquiring the storage lock of the target storage unit comprises:
establishing an occupation identifier by taking the identifier of the target storage unit as a name;
the releasing the storage lock of the target storage unit comprises:
and deleting the occupation identification established by taking the identification of the target storage unit as the name.
5. The method of claim 4, wherein determining whether the target storage unit is in a storage operation executing state comprises:
when an occupation identification established by taking the identification of the target storage unit as a name exists, judging that the target storage unit is in a storage operation execution state;
and when the occupation identification established by taking the identification of the target storage unit as the name does not exist, judging that the target storage unit is in an idle state.
6. An automatic operation and maintenance system of an SAN storage system is characterized in that the automatic operation and maintenance system is realized based on a computing device and is used for managing the SAN storage system, the SAN storage system comprises a configuration management library and a plurality of SAN storage units, and the configuration management library comprises a plurality of storage resource service modules; the automatic operation and maintenance system of the SAN storage system comprises:
the request acquisition module is used for acquiring a user service request, and the user service request comprises a storage resource service type;
the judging and executing module is used for judging whether a storage resource service module matched with the user service request exists in the configuration management library or not according to the user service request, and if not, prompting that the user service request is wrong;
if yes, determining at least one SAN storage unit as a target storage unit in the plurality of SAN storage units according to the user service request, and calling a storage resource service module corresponding to the storage resource service type included in the user service request when the target storage unit is in an idle state so as to execute the storage resource service corresponding to the user service request.
7. The system of claim 6, wherein the determining and executing module is further configured to output parameter modification information when a storage resource service module matching the user service request does not exist in the configuration management library;
the parameter correction information includes: and the service type and/or the error parameters and/or the error instructions of the error storage resources in the user service request and/or the service type correction suggestions and/or the error parameter correction suggestions and/or the error instruction correction suggestions of the error storage resources.
8. The system according to claim 6, wherein the determining and executing module determines at least one SAN storage unit as a target storage unit among the plurality of SAN storage units according to the user service request, and when the target storage unit is in an idle state, invokes a storage resource service module corresponding to a storage resource service type included in the user service request to execute the storage resource service corresponding to the user service request specifically includes:
determining one of the SAN storage units or a pair of the SAN storage units as the target storage unit in a plurality of the SAN storage units;
judging whether the target storage unit is in a storage operation execution state, if so, returning to the step of judging whether the target storage unit is in the storage operation execution state, otherwise, acquiring a storage lock of the target storage unit, calling a storage resource service module corresponding to a storage resource service type included in the user service request to execute a storage resource service corresponding to the user service request, and releasing the storage lock of the target storage unit after the execution of the storage resource service corresponding to the user service request is finished.
9. The system according to claim 8, wherein the determining and executing module obtains the storage lock of the target storage unit specifically comprises:
establishing an occupation identifier by taking the identifier of the target storage unit as a name;
the process of releasing the storage lock of the target storage unit by the judgment and execution module specifically includes:
and deleting the occupation identification established by taking the identification of the target storage unit as the name.
10. The system according to claim 9, wherein the determining and executing module determines whether the target storage unit is in the storage operation executing state specifically includes:
when an occupation identification established by taking the identification of the target storage unit as a name exists, judging that the target storage unit is in a storage operation execution state;
and when the occupation identification established by taking the identification of the target storage unit as the name does not exist, judging that the target storage unit is in an idle state.
CN201911370781.2A 2019-12-26 2019-12-26 Automatic operation and maintenance method and operation and maintenance system of SAN storage system Pending CN111026336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911370781.2A CN111026336A (en) 2019-12-26 2019-12-26 Automatic operation and maintenance method and operation and maintenance system of SAN storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911370781.2A CN111026336A (en) 2019-12-26 2019-12-26 Automatic operation and maintenance method and operation and maintenance system of SAN storage system

Publications (1)

Publication Number Publication Date
CN111026336A true CN111026336A (en) 2020-04-17

Family

ID=70214890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911370781.2A Pending CN111026336A (en) 2019-12-26 2019-12-26 Automatic operation and maintenance method and operation and maintenance system of SAN storage system

Country Status (1)

Country Link
CN (1) CN111026336A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650646A (en) * 2009-09-22 2010-02-17 杭州华三通信技术有限公司 Method and device for realizing shared data consistency
CN102622189A (en) * 2011-12-31 2012-08-01 成都市华为赛门铁克科技有限公司 Storage virtualization device, data storage method and system
CN104063331A (en) * 2014-07-03 2014-09-24 龙芯中科技术有限公司 Processor, shared storage region access method and lock manager
CN104346317A (en) * 2013-07-23 2015-02-11 中兴通讯股份有限公司 Shared resource access method and device
CN107239479A (en) * 2017-03-28 2017-10-10 阿里巴巴集团控股有限公司 A kind of method and device of data storage and inquiry based on block chain
CN107786616A (en) * 2016-08-30 2018-03-09 江苏蓝创聚联数据与应用研究院有限公司 Main frame intelligent monitor system based on high in the clouds
CN110389710A (en) * 2018-04-20 2019-10-29 华为技术有限公司 The method and apparatus for distributing storage resource

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650646A (en) * 2009-09-22 2010-02-17 杭州华三通信技术有限公司 Method and device for realizing shared data consistency
CN102622189A (en) * 2011-12-31 2012-08-01 成都市华为赛门铁克科技有限公司 Storage virtualization device, data storage method and system
CN104346317A (en) * 2013-07-23 2015-02-11 中兴通讯股份有限公司 Shared resource access method and device
CN104063331A (en) * 2014-07-03 2014-09-24 龙芯中科技术有限公司 Processor, shared storage region access method and lock manager
CN107786616A (en) * 2016-08-30 2018-03-09 江苏蓝创聚联数据与应用研究院有限公司 Main frame intelligent monitor system based on high in the clouds
CN107239479A (en) * 2017-03-28 2017-10-10 阿里巴巴集团控股有限公司 A kind of method and device of data storage and inquiry based on block chain
CN110389710A (en) * 2018-04-20 2019-10-29 华为技术有限公司 The method and apparatus for distributing storage resource

Similar Documents

Publication Publication Date Title
EP2156310B1 (en) Virtual machine migration
US10222983B2 (en) Storage management computer and management method of storage apparatus
US7130909B2 (en) Storage path control method
EP3285439B1 (en) Network service lifecycle management method and device
JP5427574B2 (en) Virtual computer migration management method, computer using the migration management method, virtualization mechanism using the migration management method, and computer system using the migration management method
CN103345470B (en) A kind of database disaster recovery method, system and server
US11232065B2 (en) Using a Unix-based file system to manage and serve clones to windows-based computing clients
CN110377456A (en) A kind of management method and device of virtual platform disaster tolerance
US11829247B2 (en) Method, device, and computer program product for rebuilding data of a failed storage device in a storage system
US10055445B2 (en) Transaction processing method and apparatus
CN112199157B (en) Cloud environment management method
EP3442201A1 (en) Cloud platform construction method and cloud platform
CN111787045A (en) Migration method and device from private cloud to public cloud
CN111782353A (en) Method and device for migrating from public cloud to private cloud
US8056052B2 (en) Populating service requests
US20130036326A1 (en) Acquiring a storage system into copy services management software
CN111026336A (en) Automatic operation and maintenance method and operation and maintenance system of SAN storage system
CN111158595A (en) Enterprise-level heterogeneous storage resource scheduling method and system
US20190250994A1 (en) Backup control method and backup control system
EP4080827A1 (en) Cloud system migration method and device, and hybrid cloud system
CN114138182B (en) Cross-storage online cloning method, system and device for distributed cloud hard disk
US7296193B2 (en) Technique for processing an error using write-to-operator-with-reply in a ported application
CN107438110A (en) A kind of terminal data moving method and system based on lucidification disposal
US9811421B1 (en) Managing multi-step storage management operations by using fault recovery policies
US20230342190A1 (en) Context-driven framework to migrate the applications and its dependencies by analyzing the relationships

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