[go: up one dir, main page]

CN108845825B - Storage system configuration method, device, equipment and readable storage medium - Google Patents

Storage system configuration method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN108845825B
CN108845825B CN201810661867.XA CN201810661867A CN108845825B CN 108845825 B CN108845825 B CN 108845825B CN 201810661867 A CN201810661867 A CN 201810661867A CN 108845825 B CN108845825 B CN 108845825B
Authority
CN
China
Prior art keywords
configuration
storage system
task
scene
target
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.)
Active
Application number
CN201810661867.XA
Other languages
Chinese (zh)
Other versions
CN108845825A (en
Inventor
靳国锋
袁鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810661867.XA priority Critical patent/CN108845825B/en
Publication of CN108845825A publication Critical patent/CN108845825A/en
Application granted granted Critical
Publication of CN108845825B publication Critical patent/CN108845825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

本发明公开了一种存储系统配置方法,该方法包括:接收对存储系统进行配置的配置请求,并获取配置请求对应用户类型;利用预设用户类型与预配场景的对应关系,在预配场景中确定出与用户类型匹配的目标预配场景;启动任务管理器,执行目标预配场景中各个配置任务对存储系统进行配置。无需用户或专业售后人员(技术人员)对每一个配置项目进行逐个配置,如此,便可简化存储系统的配置工作,提升配置效率。另外,因在现场配置工程中,减少了人工干预(人工操作),还可提高配置的准确率。本发明还公开了一种存储系统配置装置、设备及可读存储介质,具有相应的技术效果。

Figure 201810661867

The invention discloses a storage system configuration method. The method includes: receiving a configuration request for configuring a storage system, and obtaining a user type corresponding to the configuration request; Determine the target provisioning scenario that matches the user type; start the task manager and execute each configuration task in the target provisioning scenario to configure the storage system. There is no need for users or professional after-sales personnel (technical personnel) to configure each configuration item one by one. In this way, the configuration work of the storage system can be simplified and the configuration efficiency can be improved. In addition, because the manual intervention (manual operation) is reduced in the field configuration project, the accuracy of the configuration can also be improved. The invention also discloses a storage system configuration device, a device and a readable storage medium, which have corresponding technical effects.

Figure 201810661867

Description

Storage system configuration method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of storage technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for configuring a storage system.
Background
In general, a large number of configuration tasks need to be completed during initial installation of a storage system. For example, the primary tasks of creating clusters, creating pools, creating volumes, creating hosts, volume mapping hosts, etc., and other tasks that may be involved. Such as determining whether a timed snapshot volume, a mirror volume, etc., needs to be created when a volume is created.
In the current configuration mode, most of the configuration tasks are configured in different page flows. These complex configurations cannot be done by themselves for users who are not familiar with the system, and the system configuration work needs to be done with the help of professional after-sales teams. It should be noted that, when configuring, a professional after-sales team may also cause different items to be configured and corresponding configuration parameters due to different specific application environments of the storage system, and it is worried that each configuration of the storage system requires configuring each configuration item to be configured one by one, which is very tedious, and is prone to error, and the configuration efficiency is low.
In summary, how to effectively simplify the configuration of the storage system is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a storage system configuration method, a storage system configuration device, storage system configuration equipment and a readable storage medium, so that the configuration work of a storage system is simplified, and the configuration efficiency is improved.
In order to solve the technical problems, the invention provides the following technical scheme:
a storage system configuration method, comprising:
receiving a configuration request for configuring a storage system, and acquiring a user type corresponding to the configuration request;
determining a target pre-configured scene matched with the user type in a pre-configured scene by utilizing the corresponding relation between the preset user type and the pre-configured scene;
and starting a task manager, and executing each configuration task in the target pre-configuration scene to configure the storage system.
Preferably, after determining the target provisioning scenario, before starting the task manager, the method further includes:
and adjusting the configuration task in the target pre-configuration scene.
Preferably, adjusting the configuration task in the target provisioning scenario includes:
displaying each configuration task in the target pre-configuration scene in a visual interface;
acquiring adjustment information which is input by a user and used for adding, deleting or adjusting the configuration task of the target pre-configuration scene;
and adjusting the configuration task in the target pre-configuration scene by using the adjustment information.
Preferably, before receiving a configuration request for configuring a storage system and acquiring a user type corresponding to the configuration request, the method further includes:
respectively creating corresponding configuration tasks for configuration items of a storage system; when the configuration task is executed by the task manager, the configuration of the corresponding configuration project of the storage system can be automatically completed;
creating corresponding pre-configured scenes for different user types;
and respectively adding corresponding configuration tasks in each pre-configuration scene, and respectively setting corresponding priorities and configuration parameters for each configuration task.
Preferably, the executing each configuration task in the target provisioning scenario configures the storage system, including:
and executing each configuration task in the target pre-configuration scene according to the priority order of each configuration task to configure the storage system.
Preferably, the executing each configuration task in the target provisioning scenario to configure the storage system according to the priority order of each configuration task includes:
and executing configuration tasks of the same priority level in parallel.
Preferably, the starting task manager, executing each configuration task in the target provisioning scenario to configure the storage system, includes:
in the process of executing the configuration task, when the execution of the configuration task fails, the execution of the configuration task is stopped, and error prompt information is output.
A storage system configuration apparatus comprising:
the user type acquisition module is used for receiving a configuration request for configuring the storage system and acquiring a user type corresponding to the configuration request;
the target pre-configuration scene determining module is used for determining a target pre-configuration scene matched with the user type in the pre-configuration scene by utilizing the corresponding relation between the preset user type and the pre-configuration scene;
and the storage system parameter configuration module is used for starting a task manager and executing each configuration task in the target pre-configuration scene to configure the storage system.
A storage system configuration device comprising:
a memory for storing a computer program;
and the processor is used for realizing the steps of the storage system configuration method when executing the computer program.
A readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned storage system configuration method.
By applying the method provided by the embodiment of the invention, the configuration request for configuring the storage system is received, and the user type corresponding to the configuration request is obtained. And determining a target pre-configuration scene corresponding to the user type in the pre-configured scene by using the corresponding relation between the pre-configured user type and the pre-configured scene. It should be noted that, in each provisioning scenario, a corresponding executable configuration task is preset. And then starting a task manager, executing each configuration task in the target pre-configuration scene, and completing the configuration of the storage system. That is, as long as the configuration task is set for the corresponding configuration item in advance, then the corresponding configuration task is added to the pre-configuration scene based on the user type. After receiving a configuration request for configuring the storage system, the user type corresponding to the configuration request can be automatically obtained, a matched target pre-configuration scene is determined, and a task manager is utilized to execute a configuration task in the target pre-configuration scene, so that the configuration of the storage system can be completed. That is, it is not necessary for a user or a professional after-sales person (technician) to configure each configuration item one by one, so that the configuration work of the storage system can be simplified, and the configuration efficiency can be improved. In addition, because in the field configuration process, manual intervention (manual operation) is reduced, the configuration accuracy can be improved.
Accordingly, embodiments of the present invention further provide a storage system configuration apparatus, a device, and a readable storage medium corresponding to the storage system configuration method, which have the above technical effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating an implementation of a storage system configuration method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating creation of a provisioning scenario in an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a storage system configuration apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a storage system configuration device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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 invention.
The first embodiment is as follows:
referring to fig. 1, fig. 1 is a flowchart illustrating a method for configuring a storage system according to an embodiment of the present invention, the method including the following steps:
s101, receiving a configuration request for configuring the storage system, and acquiring a user type corresponding to the configuration request.
In an embodiment of the present invention, after receiving a configuration request for configuring a storage system, a user type may be determined using the configuration request. Specifically, the user type corresponding to the configuration request may be set in advance. The configuration request may be a configuration request that is actively sent by the storage system when a preset trigger condition (for example, when the storage system is powered on as a whole) is met when the storage system is configured on site, for example, initially set up and installed, or when the storage system is adjusted and modified. Of course, a user input instruction may also be used as the configuration request, for example, the configuration request may be a start instruction for starting configuration of the storage system, which is received by the user input.
The user type may be label information divided by categories such as an application scenario, an application requirement, and a rating of the user. For example, if the user type is divided into application scenes, the user type may be large, medium, or small. In addition, the manner of obtaining the user type includes directly receiving the user type input by the user or tag information indicating the user type (a corresponding relationship between the user type and a user input number is established in advance, for example, the user input "1" indicates that the user type is a high security level), or determining which type the user type satisfied by the user belongs to based on the requirement information input by the user.
S102, determining a target pre-configuration scene matched with the user type in the pre-configuration scene by using the corresponding relation between the preset user type and the pre-configuration scene.
In the embodiment of the invention, a lookup table of the corresponding relation between the user type and the pre-configured scene can be preset. The configuration scenario is a preset configuration mode, specifically, the configuration scenario includes a plurality of configuration tasks corresponding to the configuration scenario, and each configuration task can complete a corresponding configuration project on the storage system when being executed. That is, before performing field configuration, corresponding configuration tasks may be set in advance for each configuration item in the storage system, then, pre-configuration scenes respectively corresponding to each user type are created, and corresponding configuration tasks are added in each pre-configuration scene.
After the user type is obtained, a preset corresponding relation between the user type and the pre-configured scene can be used for determining a target pre-configured scene corresponding to the user type.
S103, starting a task manager, and executing each configuration task in the target pre-configuration scene to configure the storage system.
Since each configuration task in the target configuration scenario is an executable task, each configuration task in the target configuration scenario can be executed by using the task manager to complete each configuration work corresponding to the user type corresponding to the current storage system.
By applying the method provided by the embodiment of the invention, the configuration request for configuring the storage system is received, the user type corresponding to the configuration request is obtained, and the target pre-configuration scene corresponding to the user type is determined in the pre-configuration scene by utilizing the corresponding relation between the pre-set user type and the pre-configuration scene. It should be noted that, in each provisioning scenario, a corresponding executable configuration task is preset. And then starting a task manager, executing each configuration task in the target pre-configuration scene, and completing the configuration of the storage system. That is, as long as the configuration task is set for the corresponding configuration item in advance, then the corresponding configuration task is added to the pre-configuration scene based on the user type. When the storage system is configured on site, the matched target pre-configuration scene can be automatically determined under the condition of determining the user type, and the configuration task in the target pre-configuration scene is executed by utilizing the task manager, so that the configuration of the storage system can be completed. That is, it is not necessary for a user or a professional after-sales person (technician) to configure each configuration item one by one, so that the configuration work of the storage system can be simplified, and the configuration efficiency can be improved. In addition, in the field configuration project, manual intervention (manual operation) is reduced, and the configuration accuracy can be improved.
It should be noted that, based on the first embodiment, the embodiment of the present invention further provides a corresponding improvement scheme. In the following embodiments, steps that are the same as or correspond to those in the first embodiment may be referred to each other, and corresponding advantageous effects may also be referred to each other, which are not described in detail in the following modified embodiments.
Example two:
it is considered that in practical applications, the specific application scenarios may differ even if belonging to the same user type. In order to better meet the practical application requirements, the embodiment further provides an improvement measure for adjusting the determined target preset scene.
Specifically, after step S101 of the above embodiment is executed, before step S103 is executed, the following steps may also be executed:
and adjusting the configuration task in the target pre-configuration scene.
That is, after determining the target provisioning scenario, the configuration tasks in the target provisioning scenario may also be adjusted before starting the task manager.
Preferably, in order to facilitate user operation and improve user experience, a graphical interface can be used for friendly human-computer interaction with a user or a technician. The method specifically comprises the following steps:
firstly, displaying each configuration task in a target pre-configuration scene in a visual interface;
acquiring adjustment information input by a user for adding, deleting or adjusting the configuration task of the target pre-configuration scene;
and step three, adjusting the configuration task in the target pre-configuration scene by using the adjustment information.
For convenience of description, the above three steps will be described in combination.
In the embodiment, after the target provisioning scenario is determined, each configuration task in the target provisioning scenario may be presented in the visualization interface. Specifically, information such as configuration parameters in each configuration task may be displayed. In this way, the user or the technician can be made to know the configuration items to be configured and the corresponding parameters explicitly, so that the user or the technician can adjust the configuration task. The user can input the adjustment information for adding, deleting or adjusting the configuration task by means of mouse click or by means of input instruction. When the adjustment information input by the user is obtained, the configuration task in the target pre-configuration scene can be adjusted by using the adjustment information. For example, when the configuration task for creating the mirror volume is not involved in the target provisioning scenario, the user may check the mirror volume configuration task from the configuration tasks selected and added on the graphical interface, and further add the mirror volume configuration task in the current target provisioning scenario. The mirror volume may then be added to the storage system when a subsequent configuration task is performed.
Preferably, in order to let the user or technician know in time whether the progress of the configuration work is sequential after the task manager is started. And in the process of starting the task manager and executing the configuration task, when the execution of the configuration task fails, stopping executing the configuration task and outputting error prompt information. That is, when a certain configuration task fails to be executed, the execution of the configuration task is stopped, so that a user or a technician can know the current problem position, and the influence on the storage system caused by the association relationship among the configuration tasks is reduced. The timely initial error prompt information is convenient for users or technicians to configure various schemes in time, and can quickly deal with the scheme, so that the configuration efficiency is further improved.
Example three:
because the configuration tasks are in a sequence before, namely, the configuration tasks may have a mutual correlation relationship, in order to complete the configuration project smoothly and accurately, when the pre-configuration scene is created in advance, the corresponding priority can be set, and when the configuration tasks are executed, the execution is performed according to the priority of the configuration tasks. The specific implementation process is as follows:
referring to fig. 2, before field configuration of the storage system, that is, obtaining the user type, the following steps may be performed:
s201, respectively creating corresponding configuration tasks for configuration items of the storage system.
When the configuration task is executed by the task manager, the configuration of the corresponding configuration project of the storage system can be automatically completed.
In this embodiment, the configuration that is generally required to be completed when configuring the storage system can be divided into various configuration items. Then, corresponding configuration tasks are created for the respective configuration items. It should be noted that the configuration task may not necessarily be limited to a certain storage system or a certain usage scenario. The configuration task created is an executable task. Specifically, the specific operational steps required for configuration may be logical and programmed to result in a computer recognizable executable task, such as in the form of an executable file. That is, the configuration tasks may be performed by the computer and configured for the corresponding configuration items of the storage system.
S202, corresponding preset scenes are created for different user types.
Because the distance between the configurations required by the storage systems corresponding to different user types is large, the finally configured storage system can meet the requirements of each user type as much as possible. When creating a provisioning scenario, provisioning creations may be created separately for each different user type. Namely, the preset scene and the user type have a corresponding relationship. In practical application, the corresponding relation can be stored in a corresponding relation lookup table, so that the lookup is convenient.
And S203, respectively adding corresponding configuration tasks in each pre-configuration scene, and respectively setting corresponding priorities and configuration parameters for each configuration task.
After the pre-configuration scenes are created, corresponding configuration tasks can be added to the pre-configuration scenes respectively, and corresponding priorities and configuration parameters are not set by the configuration equipment. For the priority, the configuration tasks which have no management relation with other configuration tasks can be stored in the same priority, and the configuration tasks which correspond to the configuration tasks with the association relation are put into different priorities according to the sequence required by the configuration. The configuration parameters have various parameters involved in each configuration task, for example, when the configuration task is an operation of creating a pool, the parameters corresponding to the configuration task may be parameters of the size, number, hardware location, and the like of the pool.
Correspondingly, after the task manager is started, each configuration task in the target pre-configuration scene is executed according to the priority order of each configuration task to configure the storage system. That is, the configuration tasks are executed in the order of priority, so that the configuration tasks having the management relationship can be prevented from being executed in the wrong execution order. Preferably, in order to improve the configuration efficiency in the configuration process, the configuration tasks at the same priority level may be executed in parallel. Namely, the configuration time is shortened by means of parallel execution.
Corresponding to the above method embodiments, the embodiments of the present invention further provide a storage system configuration apparatus, and the storage system configuration apparatus described below and the storage system configuration method described above may be referred to correspondingly.
Referring to fig. 3, the apparatus includes the following modules
A user type obtaining module 101, configured to receive a configuration request for configuring a storage system, and obtain a user type corresponding to the configuration request;
the target pre-configuration scene determining module 102 is configured to determine a target pre-configuration scene matched with a user type in a pre-configuration scene by using a corresponding relationship between a preset user type and the pre-configuration scene;
and the storage system parameter configuration module 103 is configured to start a task manager, and execute each configuration task in the target provisioning scenario to configure the storage system.
The device provided by the embodiment of the invention is applied to receive the configuration request for configuring the storage system, acquire the user type corresponding to the configuration request and determine the target pre-configuration scene corresponding to the user type in the pre-configuration scene by utilizing the corresponding relation between the pre-set user type and the pre-configuration scene. It should be noted that, in each provisioning scenario, a corresponding executable configuration task is preset. And then starting a task manager, executing each configuration task in the target pre-configuration scene, and completing the configuration of the storage system. That is, as long as the configuration task is set for the corresponding configuration item in advance, then the corresponding configuration task is added to the pre-configuration scene based on the user type. When the storage system is configured on site, the matched target pre-configuration scene can be automatically determined under the condition of determining the user type, and the configuration task in the target pre-configuration scene is executed by utilizing the task manager, so that the configuration of the storage system can be completed. That is, it is not necessary for a user or a professional after-sales person (technician) to configure each configuration item one by one, so that the configuration work of the storage system can be simplified, and the configuration efficiency can be improved. In addition, in the field configuration project, manual intervention (manual operation) is reduced, and the configuration accuracy can be improved.
In one embodiment of the present invention, the method further comprises:
and the configuration task adjusting module is used for adjusting the configuration task in the target pre-configuration scene after the target pre-configuration scene is determined and before the task manager is started.
In a specific embodiment of the present invention, the configuration task adjusting module includes:
the configuration task display unit is used for displaying each configuration task in the target pre-configuration scene in a visual interface;
the system comprises an adjustment information acquisition unit, a configuration task generation unit and a configuration task scheduling unit, wherein the adjustment information acquisition unit is used for acquiring adjustment information which is input by a user and used for adding, deleting or adjusting a configuration task of a target pre-configuration scene;
and the configuration task adjusting unit is used for adjusting the configuration task in the target pre-configuration scene by using the adjusting information.
In one embodiment of the present invention, the method further comprises: a pre-configured scenario creation module, comprising:
the configuration task creating unit is used for receiving a configuration request for configuring the storage system and respectively creating corresponding configuration tasks for configuration items of the storage system before acquiring the configuration request corresponding to the user type; when the configuration task is executed by the task manager, the configuration of the corresponding configuration project of the storage system can be automatically completed;
the device comprises a preset scene creating unit, a preset scene creating unit and a preset scene creating unit, wherein the preset scene creating unit is used for creating corresponding preset scenes for different user types;
and the pre-configuration scene configuration unit is used for adding corresponding configuration tasks in each pre-configuration scene in the pre-configuration scene respectively and setting corresponding priority and configuration parameters for each configuration task respectively.
In a specific embodiment of the present invention, the storage system parameter configuration module 103 is specifically configured to execute each configuration task in a target provisioning scenario according to a priority order of each configuration task to configure the storage system.
In an embodiment of the present invention, the system parameter configuration module 103 is stored, and is specifically configured to execute configuration tasks of the same priority level in parallel.
In an embodiment of the present invention, the storage system parameter configuration module 103 is configured to, in the process of executing the configuration task, stop executing the configuration task when the execution of the configuration task fails, and output an error prompt message.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a storage system configuration device, and a storage system configuration device described below and a storage system configuration method described above may be referred to in correspondence.
Referring to fig. 4, the storage system configuration apparatus includes:
a memory D1 for storing computer programs;
and a processor D2, configured to implement the steps of the storage system configuration method of the above-described method embodiment when executing the computer program.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a readable storage medium, and a readable storage medium described below and a storage system configuration method described above may be referred to correspondingly.
A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the storage system configuration method of the above-mentioned method embodiment.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1.一种存储系统配置方法,其特征在于,包括:1. A storage system configuration method, characterized in that, comprising: 接收对存储系统进行配置的配置请求,并获取所述配置请求对应用户类型;Receive a configuration request for configuring the storage system, and obtain a user type corresponding to the configuration request; 利用预设用户类型与预配场景的对应关系,在预配场景中确定出与所述用户类型匹配的目标预配场景;Using the corresponding relationship between the preset user type and the pre-configured scene, in the pre-configured scene, determine a target pre-configured scene that matches the user type; 启动任务管理器,执行所述目标预配场景中各个配置任务对所述存储系统进行配置;Start the task manager, and perform each configuration task in the target provisioning scenario to configure the storage system; 其中,接收对存储系统进行配置的配置请求,并获取所述配置请求对应用户类型之前,还包括:Wherein, before receiving a configuration request for configuring the storage system and acquiring the user type corresponding to the configuration request, the method further includes: 为存储系统的配置项目分别创建对应的配置任务;其中,所述配置任务被任务管理器执行时,可自动完成对所述存储系统对应配置项目的配置;respectively creating corresponding configuration tasks for the configuration items of the storage system; wherein, when the configuration tasks are executed by the task manager, the configuration of the corresponding configuration items of the storage system can be automatically completed; 为不同的用户类型创建对应的预配场景;Create corresponding provisioning scenarios for different user types; 在各个预配场景中分别添加对应的配置任务,并为各个配置任务分别设置对应的优先级和配置参数;Add corresponding configuration tasks to each provisioning scenario, and set corresponding priorities and configuration parameters for each configuration task; 相应地,所述执行所述目标预配场景中各个配置任务对所述存储系统进行配置,包括:Correspondingly, performing each configuration task in the target provisioning scenario to configure the storage system includes: 按照各个配置任务的优先级顺序,执行所述目标预配场景中各个配置任务对所述存储系统进行配置。According to the priority order of each configuration task, each configuration task in the target provisioning scenario is executed to configure the storage system. 2.根据权利要求1所述的存储系统配置方法,其特征在于,在确定目标预配场景之后,在启动任务管理器之前,还包括:2. The storage system configuration method according to claim 1, wherein after determining the target provisioning scenario, before starting the task manager, further comprising: 对所述目标预配场景中的配置任务进行调整。The configuration tasks in the target provisioning scenario are adjusted. 3.根据权利要求2所述的存储系统配置方法,其特征在于,对所述目标预配场景中的配置任务进行调整,包括:3. The storage system configuration method according to claim 2, wherein adjusting the configuration tasks in the target provisioning scenario comprises: 在可视化界面中展示所述目标预配场景中的各个配置任务;Display each configuration task in the target provisioning scene in the visual interface; 获取用户输入的对所述目标预配场景的配置任务进行增加、删除或调整的调整信息;obtaining adjustment information input by the user for adding, deleting or adjusting the configuration tasks of the target provisioning scenario; 利用所述调整信息对所述目标预配场景中的配置任务进行调整。The configuration task in the target provisioning scenario is adjusted by using the adjustment information. 4.根据权利要求1所述的存储系统配置方法,其特征在于,所述按照各个配置任务的优先级顺序,执行所述目标预配场景中各个配置任务对所述存储系统进行配置,包括:4 . The storage system configuration method according to claim 1 , wherein the performing each configuration task in the target provisioning scenario to configure the storage system according to the priority order of each configuration task, comprising: 5 . 并行执行同一优先级的配置任务。Execute configuration tasks of the same priority in parallel. 5.根据权利要求1至4任一项所述的存储系统配置方法,其特征在于,所述启动任务管理器,执行所述目标预配场景中各个配置任务对所述存储系统进行配置,包括:5. The storage system configuration method according to any one of claims 1 to 4, wherein the starting a task manager performs each configuration task in the target provisioning scenario to configure the storage system, comprising: : 在执行配置任务的过程中,当出现配置任务执行失败时,停止执行配置任务,并输出错误提示信息。During the configuration task execution, when the configuration task fails to execute, the configuration task execution is stopped and an error message is output. 6.一种存储系统配置装置,其特征在于,包括:6. A storage system configuration device, comprising: 用户类型获取模块,用于接收对存储系统进行配置的配置请求,并获取所述配置请求对应用户类型;a user type obtaining module, configured to receive a configuration request for configuring the storage system, and obtain a user type corresponding to the configuration request; 目标预配场景确定模块,用于利用预设用户类型与预配场景的对应关系,在预配场景中确定出与所述用户类型匹配的目标预配场景;a target provisioning scene determination module, configured to determine a target provisioning scene matching the user type in the provisioning scene by using the corresponding relationship between the preset user type and the provisioning scene; 存储系统参数配置模块,用于启动任务管理器,执行所述目标预配场景中各个配置任务对所述存储系统进行配置;a storage system parameter configuration module, configured to start a task manager and perform each configuration task in the target provisioning scenario to configure the storage system; 预配场景创建模块,包括:Provisioning scene creation modules, including: 配置任务创建单元,用于接收对存储系统进行配置的配置请求,并获取所述配置请求对应用户类型之前,为存储系统的配置项目分别创建对应的配置任务;其中,所述配置任务被任务管理器执行时,可自动完成对所述存储系统对应配置项目的配置;A configuration task creation unit, configured to receive a configuration request for configuring the storage system, and create corresponding configuration tasks for the configuration items of the storage system before acquiring the user type corresponding to the configuration request; wherein, the configuration tasks are managed by tasks When the storage system is executed, the configuration of the corresponding configuration items of the storage system can be automatically completed; 预配场景创建单元,用于为不同的用户类型创建对应的预配场景;The provisioning scenario creation unit is used to create corresponding provisioning scenarios for different user types; 预配场景配置单元,用于在各个预配场景中分别添加对应的配置任务,并为各个配置任务分别设置对应的优先级和配置参数;The provisioning scenario configuration unit is used to add corresponding configuration tasks to each provisioning scenario, and set corresponding priorities and configuration parameters for each configuration task; 相应地,所述存储系统参数配置模块,具体用于按照各个配置任务的优先级顺序,执行所述目标预配场景中各个配置任务对所述存储系统进行配置。Correspondingly, the storage system parameter configuration module is specifically configured to perform each configuration task in the target provisioning scenario to configure the storage system according to the priority order of each configuration task. 7.一种存储系统配置设备,其特征在于,包括:7. A storage system configuration device, comprising: 存储器,用于存储计算机程序;memory for storing computer programs; 处理器,用于执行所述计算机程序时实现如权利要求1至5任一项所述存储系统配置方法的步骤。The processor is configured to implement the steps of the storage system configuration method according to any one of claims 1 to 5 when executing the computer program. 8.一种可读存储介质,其特征在于,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5任一项所述存储系统配置方法的步骤。8. A readable storage medium, wherein a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the storage system configuration method according to any one of claims 1 to 5 is implemented A step of.
CN201810661867.XA 2018-06-25 2018-06-25 Storage system configuration method, device, equipment and readable storage medium Active CN108845825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810661867.XA CN108845825B (en) 2018-06-25 2018-06-25 Storage system configuration method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810661867.XA CN108845825B (en) 2018-06-25 2018-06-25 Storage system configuration method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN108845825A CN108845825A (en) 2018-11-20
CN108845825B true CN108845825B (en) 2021-12-03

Family

ID=64202163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810661867.XA Active CN108845825B (en) 2018-06-25 2018-06-25 Storage system configuration method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN108845825B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579074A (en) * 2019-09-29 2021-03-30 中兴通讯股份有限公司 Hardware management method, terminal and storage medium
CN111273962B (en) * 2020-02-14 2022-02-18 腾讯科技(深圳)有限公司 Configuration management method, device, computer readable storage medium and computer equipment
CN113467717B (en) * 2021-06-24 2024-02-13 济南浪潮数据技术有限公司 Dual-machine volume mirror image management method, device and equipment and readable storage medium
CN114118763A (en) * 2021-11-22 2022-03-01 青岛海信日立空调系统有限公司 Central air conditioner and scene setting method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1266230A (en) * 1999-03-09 2000-09-13 德克萨斯仪器股份有限公司 Storing the system level mass storage device allocated data into its nonvolatile memory
CN1823324A (en) * 2003-07-17 2006-08-23 国际商业机器公司 System and method of relational configuration mirroring
CN104133723A (en) * 2014-08-11 2014-11-05 浪潮电子信息产业股份有限公司 Method for managing storage system
CN106445399A (en) * 2015-08-05 2017-02-22 中兴通讯股份有限公司 Control method of storage system, and storage system
CN106909382A (en) * 2017-02-24 2017-06-30 郑州云海信息技术有限公司 Output different type system starts the method and device of information
CN107273049A (en) * 2017-06-09 2017-10-20 郑州云海信息技术有限公司 A kind of volume management method applied on unified storage management system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9606865B2 (en) * 2015-02-23 2017-03-28 Sandisk Technologies Llc Method and apparatus for configuring a memory device
US10176028B2 (en) * 2015-09-25 2019-01-08 International Business Machines Corporation Upgrading a kernel or kernel module with a configured persistent memory unused by the kernel

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1266230A (en) * 1999-03-09 2000-09-13 德克萨斯仪器股份有限公司 Storing the system level mass storage device allocated data into its nonvolatile memory
CN1823324A (en) * 2003-07-17 2006-08-23 国际商业机器公司 System and method of relational configuration mirroring
CN104133723A (en) * 2014-08-11 2014-11-05 浪潮电子信息产业股份有限公司 Method for managing storage system
CN106445399A (en) * 2015-08-05 2017-02-22 中兴通讯股份有限公司 Control method of storage system, and storage system
CN106909382A (en) * 2017-02-24 2017-06-30 郑州云海信息技术有限公司 Output different type system starts the method and device of information
CN107273049A (en) * 2017-06-09 2017-10-20 郑州云海信息技术有限公司 A kind of volume management method applied on unified storage management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Optimizing Software of Memory Management on ARM;Dong Jingwei;《2012 Second International Conference on Instrumentation, Measurement, Computer, Communication and Control》;20130204;1390-1392 *

Also Published As

Publication number Publication date
CN108845825A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN108845825B (en) Storage system configuration method, device, equipment and readable storage medium
US9350623B2 (en) System and method for automated deployment of multi-component computer environment
CN106354645B (en) Test method and test platform based on background system service or interface
EP3394743B1 (en) Method and apparatus for creating and managing controller based remote solutions
EP3152650B1 (en) High-speed application for installation on mobile devices for permitting remote configuration of such mobile devices
CN112416318B (en) Microservice development method, device, storage medium and electronic device
CN104123219A (en) Method and device for testing software
US20150106153A1 (en) Workflow compilation
CN113778878A (en) Interface testing method and device, electronic equipment and storage medium
CN112306471A (en) Task scheduling method and device
CN115437351A (en) Automated test system, method, electronic device and storage medium
CN111158769A (en) Method and device for checking and modifying BIOS (basic input output System) options
CN112685040B (en) Method, device, equipment and storage medium for generating interface file in android system
CN110262871A (en) Container instance start and stop method, apparatus, computer equipment and the storage medium of container application
CN108259199B (en) Automatic command generation method and device
CN107203471B (en) Joint debugging method, service platform and computer storage medium
WO2015196805A1 (en) Batch command execution method and apparatus
CN111142954B (en) Startup control method and device and computer readable storage medium
JP2008123559A (en) Plc simulator device, program for simulation, and recording medium with the program recorded thereon
CN111488283B (en) Task generation method and device, electronic equipment and storage medium
CN107632838B (en) System building device and method, computer device and readable storage medium
US20140149169A1 (en) Impact analysis method, impact analysis apparatus and non-transitory computer-readable storage medium
CN107832212A (en) An automated test method, device, readable medium and storage controller
CN116521455A (en) Demand testing method and device, storage medium and electronic device
CN112582014A (en) Solid state disk batch production method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant