CN107704354B - Test method for port virtualization of multi-control storage system - Google Patents
Test method for port virtualization of multi-control storage system Download PDFInfo
- Publication number
- CN107704354B CN107704354B CN201710997095.2A CN201710997095A CN107704354B CN 107704354 B CN107704354 B CN 107704354B CN 201710997095 A CN201710997095 A CN 201710997095A CN 107704354 B CN107704354 B CN 107704354B
- Authority
- CN
- China
- Prior art keywords
- storage
- port
- state
- virtualization
- outputting
- 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
Links
- 238000010998 test method Methods 0.000 title claims abstract description 7
- 238000012360 testing method Methods 0.000 claims abstract description 47
- 238000000034 method Methods 0.000 claims abstract description 34
- 230000000694 effects Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/261—Functional testing by simulating additional hardware, e.g. fault simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/263—Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a test method for port virtualization of a multi-control storage system, which comprises the steps of building a test environment of the multi-control storage system; configuring the virtualization state of a storage port; and acquiring the working conditions of the IO stream, the server multipath and the virtual port between the multiple controllers in different states, and outputting the test result. The method fills the blank of the port virtualization test of the multi-control storage system and ensures the working performance of the port virtualization of the multi-control storage system.
Description
Technical Field
The invention relates to the technical field of computer storage, in particular to a test method for port virtualization of a multi-control storage system.
Background
With the advent of the big data age, data has become the most important wealth for businesses, institutions, and individuals. Data concentration has become a trend, and more enterprises select a self-built (cloud) storage system or directly migrate data to a cloud. As a result, the storage system is convenient and has higher requirements for stability and reliability.
At present, most of storage systems adopt a multi-controller redundancy mode, and the safety and reliability of the systems are improved. However, when one node in the multi-control storage system is down, the server will report a large amount of abnormal logs of port down and switching. The storage system may also be in a degraded state and performance may degrade under high load. The extremely poor experience is brought to the user, and the acceptance of the user to the product is reduced.
The above problems are solved by virtualizing the storage system ports, which is to display a single fibre channel protocol port as multiple distinct ports, and to provide a separate port identification for each operating system image behind the port, as if each operating system image had its own unique physical port. The function is realized on the storage, which is embodied in that when the node is down, the WWPN (World wide port number) of the virtual port is automatically migrated to other nodes, the host end cannot sense the WWPN and the multicast cannot be changed, so that the service performance is improved. However, there is no suitable method for testing the virtualized storage system port, and for products shipped from factories, it cannot be guaranteed whether the storage system with the virtualized port can work normally.
Disclosure of Invention
The invention aims to provide a test method for port virtualization of a multi-control storage system, which is used for solving the problem that the performance of factory products cannot be ensured due to the lack of a method for testing a virtualized storage system port in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a test method for port virtualization of a multi-control storage system comprises the following steps:
building a test environment of the multi-control storage system;
configuring the virtualization state of a storage port;
and acquiring the working conditions of the IO stream, the server multipath and the virtual port between the multiple controllers in different states, and outputting the test result.
Further, the specific process of building the test environment of the multi-control storage system is as follows:
connecting the storage with a server through a switch;
logging in a server, and carrying out long-time IO service flow on a storage disk;
logging in the switch and opening the virtualization function of the storage port.
Further, the state of the storage port virtualization includes disabled, transitionable, and enabled.
Further, the specific process of configuring the virtualization state of the storage port as disabled is as follows:
logging in storage, calling a forbidden command, and configuring a storage port virtualization function as forbidden;
setting any node to be in a service state;
and putting the service node back to the active state to rejoin the cluster.
Further, when the virtualization state of the storage port is disabled, the working conditions of the IO stream, the server multipath and the virtual port between the multiple controllers in the storage are obtained, and the specific process of outputting the test result is as follows:
if the state of the IO stream is stable and in the node service state, only the forbidden port of the server end is active, the storage end has no virtual port, and no drift occurs, outputting a test result pass;
if not, outputting a test result fail.
Further, the specific process of configuring the virtualization state of the storage port as transitionable is as follows:
logging in storage, calling a transitionable command, and configuring a virtualization function of a storage port to be transitionable;
setting any node to be in a service state;
and putting the service node back to the active state to rejoin the cluster.
Further, when the virtualization state of the storage port is transitionable, the working conditions of the IO stream, the server multipath and the virtual port between the multiple controllers on the storage are obtained, and the specific process of outputting the test result is as follows:
if the state of the IO stream is stable and in the node service state, the server end virtual port and the physical port are both in an active state, and the storage end virtual port is migrated to the other control nodes, outputting a test result pass;
if not, outputting a test result fail.
Further, the specific process of configuring the virtualization state of the storage port as enabled is as follows:
logging in storage, calling a starting command, and configuring a storage port virtualization function as starting;
setting any node to be in a service state;
and putting the service node back to the active state to rejoin the cluster.
Further, when the virtualization state of the storage port is enabled, the working conditions of the IO stream, the server multipath and the virtual port between the multiple controllers on the storage are obtained, and the specific process of outputting the test result is as follows:
if the state of the IO stream is stable and in the node service state, only the virtual port path of the server end is active, and the virtual port of the storage end is migrated to other control nodes, then a test result pass is output;
if not, outputting a test result fail.
The effect provided in the summary of the invention is only the effect of the embodiment, not all the effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
1. the virtualization state of the storage port is changed, the corresponding IO stream, the server multipath and the working condition of the virtual port between the multiple controllers in storage in different states are obtained to judge whether the multiple-controller storage system passes the test, the blank of the port virtualization test of the multiple-controller storage system is filled, and the working performance of the port virtualization of the multiple-controller storage system is improved.
2. In the testing process, the configuration of the virtualization state of the storage port comprises disabling, transitionable and enabling, all conditions of the virtual port in the using process are covered, the testing is more comprehensive, and the reliability and the accuracy of the testing result are improved.
3. When the virtualization state of the storage port is changed, the virtualization state is realized by calling a corresponding command, the operation is simple, and the testing efficiency is high.
4. When logging in the server, the switch and the storage, the server, the switch and the storage are logged in through SSH, and the safety of the test and the reliability of the test result are ensured.
Drawings
FIG. 1 is a flow chart of a method of the present invention;
fig. 2 is a diagram showing the correspondence between the state of port virtualization and the system operating state when the test is passed.
Detailed Description
In order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and procedures are omitted so as to not unnecessarily limit the invention.
As shown in fig. 1, a method for testing port virtualization of a multi-control storage system according to the present invention includes the following steps:
s1, building a test environment of the multi-control storage system;
s2, configuring the virtualization state of the storage port;
and S3, acquiring the working conditions of IO (input and output, input and output port) streams, server multipath and virtual ports between the stored multiple controllers in different states, and outputting the test results.
In step S1, the building process of the test environment specifically includes:
s11, connecting the storage with the server through the switch;
s12, logging in a server, and carrying out long-time IO service flow on a storage disk;
and S13, logging in the switch and opening the virtualization function of the storage port.
The storage in step S11 is a multi-control storage system. The logging-in modes of the server and the switch in the steps S12 and S13 are SSH, and SSH is an abbreviation of Secure Shell Protocol, means a security Protocol, and can be implemented in a form of a key, so that the real identity of a tester is ensured, and the safety of a test process and the accuracy of a test result are ensured.
In step S2, the configured storage port virtualization states include disabled, transitionable, and enabled. The forbidding, transitionable and enabling cover all conditions of the virtual port in the using process, so that the test is more comprehensive, and the reliability and the accuracy of the test result are improved.
The specific process of configuring the virtualization state of the storage port as disabled includes: logging in storage, calling a forbidden command, and configuring a storage port virtualization function as forbidden; setting any node to be in a service state (namely the node is in an off-line state); the service node is put back active (i.e., the node is in line state) to rejoin the cluster.
The specific process of configuring the virtualization state of the storage port to be transitionable is as follows: logging in storage, calling a transitionable command, and configuring a virtualization function of a storage port to be transitionable; setting any node to be in a service state; and putting the service node back to the active state to rejoin the cluster.
The specific process of configuring the virtualization state of the storage port as enabled is as follows: logging in storage, calling a starting command, and configuring a storage port virtualization function as starting; setting any node to be in a service state; and putting the service node back to the active state to rejoin the cluster.
The above-mentioned login storage manner is also through the SSH protocol.
As shown in fig. 2, in step S3, when the virtualization states of the storage ports are different, the working conditions of the IO stream, the server multipath and the virtual port between the multiple controllers on the storage are obtained, and the specific result of outputting the test result as pass is:
IO service flow:
starting: stable, no interruption, no error;
transiting: stable, no interruption, no error;
and (3) disabling: stable, no interruption, no error.
A server side:
starting: when the node serves, only the virtual port path is active;
transiting: when the node service is carried out, the virtual port and the physical port are in an active state;
and (3) disabling: when the node serves, only the physical port path is active.
A storage end:
starting: when the node serves, the virtual port is migrated to other control nodes;
transiting: when the node serves, the virtual port is migrated to other control nodes;
and (3) disabling: when the node serves, no virtual port exists, and no drift occurs.
The foregoing is only a preferred embodiment of the present invention, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the invention, and such modifications and improvements are also considered to be within the scope of the invention.
Claims (5)
1. A test method for port virtualization of a multi-control storage system is characterized by comprising the following steps: the method comprises the following steps:
building a test environment of the multi-control storage system;
configuring the virtualization state of a storage port;
obtaining the working conditions of IO streams, server multi-paths and virtual ports on a storage multi-control room in different states, and outputting test results;
the state of the storage port virtualization includes disabled, transitionable, and enabled;
the specific process of configuring the virtualization state of the storage port as disabled is as follows:
logging in storage, calling a forbidden command, and configuring a storage port virtualization function as forbidden;
setting any node to be in a service state;
the service node is placed back to the active state to rejoin the cluster;
the specific process of configuring the virtualization state of the storage port to be transitionable is as follows:
logging in storage, calling a transitionable command, and configuring a virtualization function of a storage port to be transitionable;
setting any node to be in a service state;
the service node is placed back to the active state to rejoin the cluster;
the specific process of configuring the virtualization state of the storage port as enabled is as follows:
logging in storage, calling a starting command, and configuring a storage port virtualization function as starting;
setting any node to be in a service state;
and putting the service node back to the active state to rejoin the cluster.
2. The method of claim 1, further comprising: the specific process of building the test environment of the multi-control storage system comprises the following steps:
connecting the storage with a server through a switch;
logging in a server, and carrying out long-time IO service flow on a storage disk;
logging in the switch and opening the virtualization function of the storage port.
3. The method of claim 1, further comprising: when the virtualization state of the storage port is disabled, the working conditions of the IO stream, the server multipath and the virtual port between the multiple controllers in the storage are obtained, and the specific process of outputting the test result is as follows:
if the state of the IO stream is stable and in the node service state, only the forbidden port of the server end is active, the storage end has no virtual port, and no drift occurs, outputting a test result pass;
if not, outputting a test result fail.
4. The method of claim 1, further comprising: when the virtualization state of the storage port is transitive, the working conditions of the IO stream, the server multipath and the virtual port between the multiple controllers in the storage are obtained, and the specific process of outputting the test result is as follows:
if the state of the IO stream is stable and in the node service state, the server end virtual port and the physical port are both in an active state, and the storage end virtual port is migrated to the other control nodes, outputting a test result pass;
if not, outputting a test result fail.
5. The method of claim 1, further comprising: when the virtualization state of the storage port is enabled, the working conditions of the IO stream, the server multipath and the virtual port between the multiple controllers in the storage are acquired, and the specific process of outputting the test result is as follows:
if the state of the IO stream is stable and in the node service state, only the virtual port path of the server end is active, and the virtual port of the storage end is migrated to other control nodes, then a test result pass is output;
if not, outputting a test result fail.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710997095.2A CN107704354B (en) | 2017-10-20 | 2017-10-20 | Test method for port virtualization of multi-control storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710997095.2A CN107704354B (en) | 2017-10-20 | 2017-10-20 | Test method for port virtualization of multi-control storage system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107704354A CN107704354A (en) | 2018-02-16 |
CN107704354B true CN107704354B (en) | 2021-06-29 |
Family
ID=61182112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710997095.2A Active CN107704354B (en) | 2017-10-20 | 2017-10-20 | Test method for port virtualization of multi-control storage system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107704354B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107911247A (en) * | 2017-11-27 | 2018-04-13 | 郑州云海信息技术有限公司 | A kind of NPIV implementation methods based on more control MCS systems |
CN109144592B (en) * | 2018-09-10 | 2022-03-22 | 郑州云海信息技术有限公司 | Port mode-based driving service execution system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101944953A (en) * | 2010-09-26 | 2011-01-12 | 浪潮(北京)电子信息产业有限公司 | Method and device for transmitting data in optical network |
CN102469025A (en) * | 2010-11-18 | 2012-05-23 | 株式会社日立制作所 | Multipath switching over multiple storage systems |
CN103561128A (en) * | 2013-11-04 | 2014-02-05 | 福建星网锐捷网络有限公司 | FC ID recycling method and network equipment |
CN104484293A (en) * | 2014-11-20 | 2015-04-01 | 浪潮(北京)电子信息产业有限公司 | Method and apparatus for implementing front-end protocol in multi-control storage system |
CN106888111A (en) * | 2016-12-30 | 2017-06-23 | 北京同有飞骥科技股份有限公司 | A kind of method of solution dual computer group FC SAN switchings |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2519314A (en) * | 2013-10-16 | 2015-04-22 | Ibm | Managing virtual network ports |
-
2017
- 2017-10-20 CN CN201710997095.2A patent/CN107704354B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101944953A (en) * | 2010-09-26 | 2011-01-12 | 浪潮(北京)电子信息产业有限公司 | Method and device for transmitting data in optical network |
CN102469025A (en) * | 2010-11-18 | 2012-05-23 | 株式会社日立制作所 | Multipath switching over multiple storage systems |
CN103561128A (en) * | 2013-11-04 | 2014-02-05 | 福建星网锐捷网络有限公司 | FC ID recycling method and network equipment |
CN104484293A (en) * | 2014-11-20 | 2015-04-01 | 浪潮(北京)电子信息产业有限公司 | Method and apparatus for implementing front-end protocol in multi-control storage system |
CN106888111A (en) * | 2016-12-30 | 2017-06-23 | 北京同有飞骥科技股份有限公司 | A kind of method of solution dual computer group FC SAN switchings |
Also Published As
Publication number | Publication date |
---|---|
CN107704354A (en) | 2018-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10606496B1 (en) | Host device with multi-path layer implementing automatic standby setting for active-active configuration | |
US10263850B2 (en) | Network testing device for automated topology validation | |
US8644132B2 (en) | Maintaining a communication path from a host to a storage subsystem in a network | |
EP2979180B1 (en) | Methods, systems, and computer readable media for emulating virtualization resources | |
CN105607590B (en) | Method and apparatus to provide redundancy in a process control system | |
US8661287B2 (en) | Automatically performing failover operations with a load balancer | |
US10257041B2 (en) | Deep network validation of configuration inputs for a network-dependent system | |
CN108270726B (en) | Application instance deployment method and device | |
CN108139925A (en) | The high availability of virtual machine | |
CN112395041A (en) | Underlay-overlay correlation | |
US20150309901A1 (en) | Emulating a stretched storage device using a shared storage device | |
JP2005025483A (en) | Failure information management method and management server in network equipped with storage device | |
US10270712B1 (en) | Virtual storage network connectivity service | |
US20140317437A1 (en) | Automatic cluster-based failover handling | |
CN113285822B (en) | Method and system for troubleshooting hardware devices of a network switching fabric | |
EP2740255A1 (en) | Hardware failure mitigation | |
CN107729190B (en) | IO path failover processing method and system | |
US9654421B2 (en) | Providing real-time interrupts over ethernet | |
US10102088B2 (en) | Cluster system, server device, cluster system management method, and computer-readable recording medium | |
CN107704354B (en) | Test method for port virtualization of multi-control storage system | |
Zopellaro Soares et al. | SDN‐based teleprotection and control power systems: A study of available controllers and their suitability | |
CN107818035B (en) | NPIV authenticity verification method based on multi-control MCS system | |
US10833918B2 (en) | Automatic rule based grouping of compute nodes for a globally optimal cluster | |
Lee et al. | Fault localization in NFV framework | |
KR102623414B1 (en) | Fault handling system for network apparatus and control method thereof |
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 |