CN115396301A - Switch zone configuration method, system and preset management platform - Google Patents

Switch zone configuration method, system and preset management platform Download PDF

Info

Publication number
CN115396301A
CN115396301A CN202211025877.7A CN202211025877A CN115396301A CN 115396301 A CN115396301 A CN 115396301A CN 202211025877 A CN202211025877 A CN 202211025877A CN 115396301 A CN115396301 A CN 115396301A
Authority
CN
China
Prior art keywords
port
switch
target
zone
host
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
CN202211025877.7A
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.)
Zhengzhou Inspur Data Technology Co Ltd
Original Assignee
Jinan Inspur Data 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 Jinan Inspur Data Technology Co Ltd filed Critical Jinan Inspur Data Technology Co Ltd
Priority to CN202211025877.7A priority Critical patent/CN115396301A/en
Publication of CN115396301A publication Critical patent/CN115396301A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a system for configuring a switch zone and a preset management platform, which relate to the field of switch management, and are characterized in that a first acquisition instruction is sent to managed equipment comprising switches, storage equipment and hosts to determine port connection information of the managed equipment, a second acquisition instruction is sent to a target host to determine target storage equipment with service transmission with a target host port and a corresponding target storage port, and a first zone is controlled to be created on the target switch so as to configure target identification information corresponding to the target host port, the target switch port and the target storage port in the first zone. Compared with the prior art, the scheme is provided with the preset management platform, the port connection information is acquired without manually inputting instructions by a user, and the zone is configured on the switch without manual operation, so that the automation degree is high, simplicity and convenience are realized, the human resources are saved, and the practical application is facilitated.

Description

Switchboard zone configuration method, system and preset management platform
Technical Field
The invention relates to the technical field of switch management, in particular to a switch zone configuration method, a switch zone configuration system and a preset management platform.
Background
The zone function of the switch can logically divide the host and the storage device connected in the storage area network into different zones, so that the devices in different zones cannot directly access each other through the FC network, that is, the devices in the same zone can communicate with each other, and the devices in different zones cannot directly communicate with each other, thereby realizing the mutual isolation between the devices in different zones.
Therefore, in the prior art, in order to configure storage devices, switches, and hosts related to services in the same zone, a port of a storage device is connected to a port of a switch by using an optical fiber, and another port of the switch is connected to a port of a host, so that when the zones of multiple storage devices, switches, and hosts are configured, for example, the switch is used, a technician manually inputs an inquiry command on the switch to acquire which ports of the switch are connected and which storage devices and hosts are correspondingly connected to respectively, the storage devices and the hosts also need to acquire information by manually inputting the inquiry command, and then manually inputs an instruction on the switch according to service conditions to implement zone configuration. However, the above configuration process is complex, consumes human resources, and particularly, when a storage device and/or a host is newly added, the step of manually inputting instructions on the switch, the storage device, and the host needs to be repeated to realize port connection query and reconfiguration, which is not favorable for practical application.
Disclosure of Invention
The invention aims to provide a method and a system for configuring a zone of an exchanger and a preset management platform, wherein the preset management platform is arranged, so that a user does not need to manually input instructions to obtain port connection information respectively, and the zone is not manually configured on the exchanger, the automation degree is high, the method and the system are simple and convenient, the human resources are saved, and the practical application is facilitated.
In order to solve the technical problem, the invention provides a switch zone configuration method, which is applied to a preset management platform and comprises the following steps:
sending a first acquisition instruction to managed equipment to determine port connection information of the managed equipment, wherein the managed equipment comprises all switches, all storage equipment and all hosts;
sending a second acquisition instruction to a target host to determine a target storage device having service transmission with a target host port and a corresponding target storage port, wherein the target host port is any host port in a connected state on the target host;
and controlling to create a first zone on a target switch for the service transmission, so as to configure target identification information corresponding to each of the target host port, the target switch port and the target storage port in the first zone, wherein the target identification information is determined based on the corresponding port connection information.
Preferably, before sending the first obtaining instruction to the managed device, the method further includes:
based on all the pre-stored information of the managed equipment, determining the IP address and the pre-stored login information of the managed equipment to be accessed currently;
and accessing the IP address and logging in the managed equipment to be accessed currently according to the pre-stored login information so as to establish communication connection corresponding to a preset communication protocol with the managed equipment.
Preferably, the port connection information includes a port label-unique identifier correspondence relationship of each first port in a connected state, and a unique identifier of an opposite port connected to each first port.
Preferably, after determining the port connection information of the managed device, the method further includes:
respectively aiming at each storage device, determining a first switch which is physically connected with a first storage port based on port connection information of the storage device and port connection information of each switch; the first storage port is a storage port of any one of the storage devices in a connected state, and the first switch is one of the switches;
controlling to create a second zone on the first switch, so as to configure, in the second zone, the first storage port and identification information, which is physically connected with the first storage port and corresponds to the first switch port on the first switch, respectively, wherein the identification information is determined based on port connection information corresponding to the first storage port;
respectively aiming at each host, determining a second switch which is physically connected with a first host port based on port connection information of the host and port connection information of each switch; the first host port is a host port of any one of the hosts in a connected state, and the second switch is one of the switches;
controlling to create a third zone on the second switch, so as to configure, in the third zone, identification information corresponding to each of the first host port and a second switch port on the second switch, which is physically connected to the first host port, wherein the identification information is determined based on port connection information corresponding to the first host port;
controlling creation of a first zone at a target switch for the traffic transmission, comprising:
determining a third zone corresponding to the target host port;
determining a second zone corresponding to the target storage port;
determining a switch simultaneously comprising the second zone and the third zone as a target switch;
controlling creation of a first zone on the target switch;
and controlling to configure the information configured in the second zone and the third zone as target identification information in the first zone.
Preferably, after controlling the creation of the second zone on the first switch, the method further comprises:
after the physical connection between the first storage port and the first switch port is determined to be interrupted, sending a first deleting signal representing the deletion of the second zone to the first switch;
controlling, after creating the third zone on the second switch, further comprises:
and after the physical connection between the first host port and the second switch port is determined to be interrupted, sending a second deleting signal representing the deletion of the third zone to the second switch.
Preferably, after controlling to configure information configured in the second zone and the third zone as target identification information in the first zone, the method further includes:
after the service transmission interruption is determined, controlling to create a fourth zone and a fifth zone on the target switch; the fourth zone comprises target identification information corresponding to the target storage port and target identification information of a target switch port which is physically connected with the target storage port; the fifth zone comprises target identification information of a target host port and target identification information of a target switch port which is physically connected with the target host port;
and controlling to delete the first zone.
Preferably, after controlling the creation of the first zone at the target switch for the traffic transmission, the method further includes:
respectively aiming at each switch, acquiring the data throughput of each switch port of the switch;
determining a correlation of port groups based on the data throughput, the port groups comprising any two of the switch ports that are not identical;
judging whether a first target port group with the correlation larger than a first preset threshold exists, wherein first zones corresponding to two switch ports in the first target port group are not the same;
if yes, a prompt module is controlled to output first prompt information, and the first prompt information represents that two first zones corresponding to the first target port group are combined.
Preferably, after determining the correlation of the port group based on the data throughput, the method further includes:
judging whether a second target port group with the correlation smaller than a second preset threshold exists, wherein the first zones corresponding to two switch ports in the second target port group are not the same;
if yes, recording second prompt information so as to control the prompt module to output the second prompt information when receiving a combined signal representing that two first zones corresponding to the second target port group are combined, wherein the second prompt information represents that the two first zones corresponding to the second target port group are kept separated.
In order to solve the above technical problem, the present invention further provides a switch zone configuration system, which is applied to a preset management platform, and the switch zone configuration system includes:
the management system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for sending a first acquisition instruction to a managed device so as to determine port connection information of the managed device, and the managed device comprises all switches, all storage devices and all hosts;
a second obtaining unit, configured to send a second obtaining instruction to a target host to determine a target storage device and a corresponding target storage port that have service transmission with a target host port, where the target host port is any host port on the target host that is in a connected state;
a zone creating unit, configured to control to create a first zone on a target switch for the service transmission, so as to configure target identification information corresponding to each of the target host port, the target switch port, and the target storage port in the first zone, where the target identification information is determined based on the corresponding port connection information.
In order to solve the above technical problem, the present invention further provides a preset management platform, including:
a memory for storing a computer program;
a processor configured to perform the steps of the switch zone configuration method as described above.
The application provides a switch zone configuration method, a switch zone configuration system and a preset management platform, which are applied to the preset management platform, wherein a first acquisition instruction is sent to managed equipment comprising switches, storage equipment and hosts to determine port connection information of the managed equipment, a second acquisition instruction is sent to a target host to determine target storage equipment with service transmission with a target host port and a corresponding target storage port, and then a first zone is established on the target switch for service transmission to configure target identification information corresponding to the target host port, the target switch port and the target storage port in the first zone, wherein the target identification information is determined based on the corresponding port connection information. Compared with the prior art, the scheme is provided with the preset management platform, the port connection information is acquired without manually inputting instructions by a user, and the zone is configured on the switch without hand, so that the automation degree is high, simplicity and convenience are realized, the human resources are saved, and the practical application is facilitated.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a zone configuration method of a switch according to the present invention;
fig. 2 is a schematic structural diagram of a zone configuration system of a switch according to the present invention;
fig. 3 is a schematic structural diagram of a default management platform according to the present invention.
Detailed Description
The core of the invention is to provide a method and a system for configuring a switch zone and a preset management platform, wherein the preset management platform is arranged, so that a user does not need to manually input instructions to obtain the port connection information, and the zone configuration is not manually realized on the switch, the automation degree is high, the method and the system are simple and convenient, the human resources are saved, and the practical application is facilitated.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for configuring a switch zone according to the present invention.
In this embodiment, in view of the problem of zone configuration for the switch, the method adopted in the prior art is as follows: after the physical connection among the switch, the host and the storage device is established, a technician manually inputs query commands on the switch, the host and the storage device respectively to obtain information of the port and the opposite port on the switch, and manually inputs a configuration instruction on the switch to realize the configuration of the zone. In order to solve the technical problem, the application provides a method for configuring a zone of an exchanger, which has high automation degree and saves manpower.
The switch zone configuration method is applied to a preset management platform, and comprises the following steps:
s11: sending a first acquisition instruction to managed equipment to determine port connection information of the managed equipment, wherein the managed equipment comprises all switches, all storage equipment and all hosts;
specifically, the preset management platform is a preset computer device for managing each managed device, and the computer device includes but is not limited to a server; the storage device may be understood as a storage server for providing storage for the host. More specifically, in the step S11, the first obtaining instruction may be periodically sent to the managed device depending on a first preset period, so as to timely grasp the port connection condition of the managed device, where the first preset period may be set according to an actual requirement, if the port connection interruption, the newly added managed device, the newly added corresponding physical connection, and the like exist. It should be noted that the preset management platform and the managed device all communicate with each other according to the same preset communication protocol to send the command and receive the information, where the preset communication protocol includes, but is not limited to, an SSH protocol (Secure Shell protocol).
It can be understood that, before step S11, physical connection lines (for example, optical fiber connections are established between each switch, each storage device, and each host) according to actual service needs, for example, the a port of the storage device is connected to the B port of the switch, and the C port of the switch is connected to the D port of the host, so that the physical connection is completed.
Furthermore, the port connection information essentially includes: the information of the port of the managed device itself in the connected state and the information of the opposite port connected to the port.
It should be further noted that, the switch in the present application may specifically be a switch (the type of which includes, but is not limited to, a fiber switch), or a switch group formed by cascading multiple switches, and when the switch group is a switch group, the step S11 determines port connection information between the switch group as a whole and the storage device, and between the switch group as a whole and the host, and how to implement cascading therein is not particularly limited herein.
S12: sending a second acquisition instruction to the target host to determine a target storage device having service transmission with the target host port and a corresponding target storage port, wherein the target host port is any host port in a connected state on the target host;
specifically, the host computer has information to be stored in the storage device, and the transmission of the information is the service transmission described in the present application. The target host is any one of the hosts, and the hosts can be sequentially used as the target host according to the application. The step S12 may specifically be to send a second obtaining instruction according to the preset communication protocol, so as to determine a target storage device having service transmission with a target host port and a corresponding target storage port, where it is understood that the target storage port is a storage port on the target storage device, physically connected to the target host port, and corresponding to the service transmission.
In addition, more specifically, in the step S12, a second obtaining instruction may be periodically sent to the target host depending on a second preset period, so as to timely grasp service transmission conditions of the target host, where the conditions include whether there is a service transmission interruption or a new service transmission, and the like. The second preset period is set according to actual requirements.
S13: and controlling to create a first zone on a target switch for service transmission so as to configure target identification information corresponding to a target host port, a target switch port and a target storage port in the first zone, wherein the target identification information is determined based on corresponding port connection information.
Specifically, target identification information of a target host port and target identification information of a target switch port which is physically connected with the target host port can be determined based on corresponding port connection information of the target host port; target identification information of a target storage port and target identification information of a target switch port which is physically connected with the target storage port can be determined based on corresponding port connection information of the target storage port; the determination method of the target switch includes but is not limited to: and determining according to the target identification information of the target switch port and the port connection information of each switch.
The target identification information is essentially unique identification information, such as a World Wide Name (WWN) identification, and more specifically, such as a World Wide Port Name (WWPN) identification.
It should be further noted that, when the target switch is a target switch group including a plurality of cascaded target switch groups, the configuration of the first zone may be specifically configured on a master switch on the target switch group.
Of course, the step of determining the target switch in step S13 includes, but is not limited to: based on the description of the above embodiments, it can be seen that the target switches determined by the two methods are necessarily the same, and therefore, the determination may be made in any manner.
For example, still taking an example that the port a of the storage device is connected to the port B of the switch, and the port C of the switch is connected to the port D of the host, assuming that there is traffic transmission between the port D of the host and the port a of the storage device, the port a is a target storage port, the port D is a target host port, and the port B and the port C are both target switch ports, and executing step S13, the identification information of the port a, the port B, the port C, and the port D is configured in the same first zone as the target identification information.
In summary, the present application provides a switch zone configuration method, which controls to create a first zone on a target switch for service transmission, so as to configure target identification information corresponding to a target host port, a target switch port, and a target storage port in the first zone. Compared with the prior art, the scheme is provided with the preset management platform, the port connection information can be acquired without manually inputting instructions by a user, the zone configuration on the switch can be manually realized, the automation degree is high, the method is simple and convenient, the human resources are saved, and the practical application is convenient.
On the basis of the above-described embodiment:
as a preferred embodiment, before sending the first obtaining instruction to the managed device, the method further includes:
based on all the pre-stored information of the managed equipment, determining the IP address and the pre-stored login information of the managed equipment to be accessed currently;
and accessing the IP address and logging in the managed equipment to be accessed currently according to the prestored logging information so as to establish communication connection corresponding to a preset communication protocol with the managed equipment.
In this embodiment, a step of establishing a communication connection between a preset management platform and a managed device is provided, where the preset management platform prestores all information of the managed device corresponding to the managed device (specifically, the information includes an IP address and prestored login information of each host, an IP address and prestored login information of each switch, and an IP address and prestored login information of each storage device, where the prestored login information corresponds to a preset communication protocol, for example, when the preset communication protocol is an SSH protocol, the prestored login information is an SSH user name and login password information).
And then before sending a first acquisition instruction to the managed equipment, the preset management platform determines the IP address and the pre-stored login information of the managed equipment to be accessed currently, accesses the IP address, logs in the managed equipment to be accessed currently according to the pre-stored login information, and establishes communication connection corresponding to a preset communication protocol with the managed equipment to be accessed currently.
Therefore, the communication connection between the preset management platform and the managed device can be simply, reliably and safely realized through the setting of the execution logic.
As a preferred embodiment, the port connection information includes a port label-unique identifier correspondence relationship of each first port in the connected state and a unique identifier of a peer port connected to each first port.
In this embodiment, specific contents of the port connection information are given, and it should be noted that the unique identifiers may specifically be WWN identifiers, and more specifically, may be WWPN identifiers. The first port refers to a storage port when the managed device is a storage device, refers to a host port when the managed device is a host, and refers to a switch port when the managed device is a switch.
Here, the following description will be given by taking an example in which the a port of the storage device is connected to the B port of the switch, and the C port of the switch is connected to the D port of the host:
for the storage device, assuming that only the a port is a port in a connected state, the port connection information of the storage device includes: the port identifier-unique identifier correspondence (i.e., the unique identifier of the a port-a port) and the unique identifier of the opposite port connected to the a port (i.e., the B port of the switch) (specifically, the WWN identifier of the B port, or more specifically, the WWPN identifier).
For the switch, assuming that only the B port and the C port are ports in a connected state, the port connection information of the switch includes: corresponding to port B is: a port label-unique identifier correspondence (B port-unique identifier of B port), and a unique identifier (specifically, WWN identifier of a port, or more specifically, WWPN identifier) of an opposite port (i.e., a port of a storage device) connected to the B port; corresponding to the C port is: the port identifier-unique identifier correspondence (unique identifiers of the C port and the C port), and the unique identifier of the opposite port connected to the C port (i.e. the D port of the host) (specifically, the WWN identifier of the D port, or more specifically, the WWPN identifier).
For the host, assuming that only the D port is the port in the connected state, the port connection information of the host includes: the port identifier-unique identifier correspondence (i.e., the unique identifier of the D port-D port), and the unique identifier of the opposite port (i.e., the C port of the switch) connected to the D port (specifically, the WWN identifier of the C port, or more specifically, the WWPN identifier).
As a preferred embodiment, after determining the port connection information of the managed device, the method further includes:
respectively aiming at each storage device, determining a first switch which is physically connected with a first storage port based on port connection information of the storage device and port connection information of each switch; the first storage port is a storage port of any one of the storage devices in a connected state, and the first switch is one of the switches;
controlling to create a second zone on the first switch, so as to configure the first storage port and identification information which is physically connected with the first storage port and corresponds to the first switch port on the first switch in the second zone, wherein the identification information is determined based on port connection information corresponding to the first storage port;
respectively aiming at each host, determining a second switch which is physically connected with the port of the first host based on the port connection information of the host and the port connection information of each switch; the first host port is a host port of any one of the hosts in a connected state, and the second switch is one of the switches;
controlling to create a third zone on the second switch, so as to configure the first host port and identification information which is physically connected with the first host port and respectively corresponds to a second switch port on the second switch in the third zone, wherein the identification information is determined based on port connection information corresponding to the first host port;
controlling creation of a first zone at a target switch for traffic transmission, comprising:
determining a third zone corresponding to the target host port;
determining a second zone corresponding to the target storage port;
determining a switch which simultaneously comprises a second zone and a third zone as a target switch;
controlling creation of a first zone on a target switch;
and controlling to configure the information configured in the second zone and the third zone as target identification information in the first zone.
In this embodiment, an execution logic for creating the first zone on the target switch for service transmission is provided in a manner of creating the minimum granular zones (i.e., the second zone and the third zone), which is specifically described above.
First, for each storage device, the port information of the storage device includes a port identifier-unique identifier correspondence relationship of each storage port in a connected state and a unique identifier of an opposite port connected to the storage port, but a preset management platform may manage multiple switches at the same time, and based on the port connection information of the storage device, only the unique identifier of the opposite port connected to the storage port can be grasped, and which switch the unique identifier of the opposite port belongs to cannot be grasped. The port connection information of the switch includes a port label-unique identifier correspondence relationship of each switch port in the connected state and a unique identifier of an opposite port connected to the switch port, and the switch used for establishing the second zone can be determined by combining the port label-unique identifier correspondence relationship and the unique identifier of the opposite port connected to the switch port, that is, the first switch having a physical connection with the first storage port is determined based on the port connection information of the storage device and the port connection information of each switch in this embodiment.
The port connection information corresponding to the first storage port of the storage device includes a port label and identification information corresponding relationship of the first storage port itself, and identification information of a first switch port physically connected to the first storage port, and further sends a control instruction for representing creation of a second zone to the first switch, so as to create the second zone thereon, and configures the identification information of the first storage port and the identification information of the first switch port therein, thereby implementing establishment of the minimum particle zone. It should be noted that, in order to perform a more intuitive display on the default management platform, the first storage port may be connected with the corresponding first switch port by a solid line to indicate that the corresponding second zone is controlled to be established on the first switch.
For each host, although the port information of the host includes the correspondence between the port identifier and the unique identifier of each host port in a connected state and the unique identifier of the opposite port connected to the host port, the preset management platform may simultaneously manage a plurality of switches, and based on the port connection information of the host, only the unique identifier of the opposite port connected to the host port can be grasped, and which switch the unique identifier of the opposite port belongs to cannot be grasped. The port connection information of the switch includes a port label-unique identifier correspondence relationship of each switch port in a connected state and a unique identifier of an opposite port connected to the switch port, and the combination of the two can determine that the switch for establishing the third zone can be determined, that is, the second switch having a physical connection with the first host port is determined based on the port connection information of the host and the port connection information of each switch in this embodiment.
The port connection information corresponding to a first host port of the host includes a port number and identification information corresponding relationship of the first host port itself, and identification information of a second switch port physically connected to the first host port, and further sends a control instruction for characterizing creation of a third zone to the second switch, so as to create the third zone thereon, and configures the identification information of the first host port and the identification information of the second switch port therein, thereby implementing establishment of the minimum-particle zone.
It is to be understood that, in the above embodiments, by way of example: for example, according to the logic in this embodiment, corresponding to the above example, the first switch and the second switch are essentially the same switch, the a port of the storage device is the first storage port, the B port of the switch is the first switch port, the C port of the switch is the second switch port, and the D port of the host is the first host port.
Then, the preset management platform determines a third zone and a second zone respectively corresponding to the target host port and the target storage port, and further determines that the switch including the second zone and the third zone is the target switch, so that it is sufficient to create the first zone in the target switch, and configure information that has been configured in the second zone and the third zone before as target identification information in the first zone, and it can be understood that, subsequently, it may also be controlled to delete the second zone and the third zone.
It should be noted that, in order to perform a more intuitive display on the default management platform, the target switch port connected to the target host port and the target switch port connected to the target storage port may be connected by a dotted line to represent that the corresponding first zone is established on the target switch under control.
In addition, since the first obtaining signal is specifically sent periodically, no matter a new switch and/or storage device and/or host is added, or a physical connection between the switch and the host, and/or between the switch and the storage device is added, the above situation can be determined by the first obtaining signal, and further, the update can be realized by the creation process of the second zone and the third zone.
Therefore, the minimum particle zone and the subsequent establishment of the first zone can be realized through the setting of the execution logic, and the reliable realization of service transmission is ensured.
As a preferred embodiment, after controlling the creation of the second zone on the first switch, the method further comprises:
after the physical connection between the first storage port and the first switch port is judged to be interrupted, a first deleting signal representing that the second zone is deleted is sent to the first switch;
controlling, after creating the third zone on the second switch, further comprises:
and after the physical connection between the first host port and the second switch port is determined to be interrupted, sending a second deleting signal for representing the deletion of the third zone to the second switch.
In this embodiment, the inventor further considers that a technician may have a case of interrupting a physical connection between the first storage port and the first switch port, at this time, the inventor may send first deletion information to the first switch to delete the second zone on the first switch, and for the same deletion control of the third zone, see the above specifically, and will not be described herein again.
As a preferred embodiment, after controlling to configure information configured in the second zone and the third zone as target identification information in the first zone, the method further includes:
after the interruption of service transmission is determined, controlling to create a fourth zone and a fifth zone on a target switch; the fourth zone comprises target identification information corresponding to the target storage port and target identification information of a target switch port which is physically connected with the target storage port; the fifth zone comprises target identification information of a target host port and target identification information of a target switch port which is physically connected with the target host port;
control deletes the first zone.
In this embodiment, the inventor further considers that the service transmission may be interrupted after a period of time elapses, but the original physical connection line still remains, so that the above step may be performed after determining that the service transmission is interrupted, where the step is essentially to split the first zone into the fourth zone and the fifth zone, and then to control to delete the first zone. In addition, the split fourth zone and the split fifth zone may be recombined into the first zone after the subsequent service transmission is recovered, and the implementation may be performed according to the control logic in the present application.
As a preferred embodiment, after controlling the creation of the first zone at the target switch for traffic transmission, the method further includes:
respectively aiming at each switch, acquiring the data throughput of each switch port of the switch;
determining a correlation of port groups based on data throughput, the port groups including any two non-identical switch ports;
judging whether a first target port group with the correlation larger than a first preset threshold exists, wherein the first zones corresponding to two switch ports in the first target port group are not the same;
if so, controlling the prompt module to output first prompt information, wherein the first prompt information represents that two first zones corresponding to the first target port group are merged.
In the present embodiment, the inventor further considers that for any switch, first zones respectively used for multiple traffic transmissions may be created at the same time, but a technician may have a need for further merging of the first zones, and therefore, a proposal may be further made.
Specifically, considering that the data throughputs of the switch ports related to the service transmission are approximately the same or similar, then, for each switch, the data throughputs of the ports of the switch are obtained, and then the correlation of the port groups is determined based on the data throughputs, specifically, the data throughputs may be obtained periodically in a third preset period, where the third preset period is set according to actual requirements, and includes but is not limited to 1 hour; furthermore, the specific manner of determining the correlation is not particularly limited herein, and includes but is not limited to implementation by means of covariance matrix; the first preset threshold value can be set according to actual requirements.
Then, executing the above-mentioned judgment logic to determine whether a first target port group exists, and for the first target port group, first recording a first prompt message, and when receiving a merging signal representing that two first zones corresponding to the first target port group are merged, controlling a prompt module to output the first prompt message to represent that the two first zones are suggested to be merged; of course, the prompt module may also be directly controlled to output the first prompt information so as to prompt the technician to combine the first prompt information as soon as possible, which is not particularly limited herein and is determined according to the actual needs.
In addition, the prompting module includes but is not limited to a human-computer interaction display interface, and therefore, a manner of outputting the first prompting information may be specifically expressed as: and connecting the two switch ports in the first target port group on the display interface in a double-dashed manner.
As a further description, taking the switch as an example that the switch includes 4 ports, i.e., an a port, a B port, a C port, and a D port, assuming that there exists one first zone (including target identification information corresponding to the a port and the B port respectively) and another first zone (including target identification information corresponding to the C port and the D port respectively) on the switch, if it is determined that the correlation between the port group formed by the B port and the C port is greater than the first preset threshold and the two zones are in different first zones, it is determined that the port group is the first target port group, and the prompting module may be controlled to output first prompting information representing that the first zone corresponding to the B port and the first zone corresponding to the C port are merged.
Therefore, by judging the port group correlation, a more accurate switch zone configuration scheme can be provided for a user, and the method is more beneficial to practical application.
As a preferred embodiment, after determining the correlation of the port group based on the data throughput, the method further includes:
judging whether a second target port group with the correlation smaller than a second preset threshold exists or not, wherein the first zones corresponding to two switch ports in the second target port group are not the same;
if yes, recording second prompt information so as to control the prompt module to output the second prompt information when receiving a combined signal representing that two first zones corresponding to a second target port group are combined, wherein the second prompt information represents that the two first zones corresponding to the second target port group are kept separated.
In this embodiment, in view of a second target port group whose correlation of the port group is smaller than a second preset threshold, a suggestion of keeping separation may be given for a merging requirement of a technician on the second target port group, which is specifically described in the above steps and is not described herein again.
It can be understood that, as the data throughput of each switch port of the switch is periodically obtained in the third preset period, both the first prompt message and the second prompt message will be updated in the third preset period; in addition, the second preset threshold is smaller than the first preset threshold, and is set according to actual requirements.
In addition, the prompting module includes, but is not limited to, a human-computer interaction display interface, and therefore, the manner of outputting the second prompting message specifically includes, but is not limited to, the following: and connecting the two switch ports in the second target port group in a cross mark form on the display interface.
Further, still taking the example that the switch includes 4 ports, i.e., an a port, a B port, a C port, and a D port, assuming that there exists one first zone (including target identification information corresponding to the a port and the B port respectively) and another first zone (including target identification information corresponding to the C port and the D port respectively) on the switch, if it is determined that the correlation between the port group formed by the B port and the C port is smaller than the second preset threshold and the two zones are in different first zones, it is determined that the port group is the second target port group, and second prompt information indicating that the first zone corresponding to the B port and the first zone corresponding to the C port are kept separated may be recorded for prompting.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a switch zone configuration system according to the present invention.
The switch zone configuration system is applied to a preset management platform, and comprises:
a first obtaining unit 21, configured to send a first obtaining instruction to a managed device to determine port connection information of the managed device, where the managed device includes each switch, each storage device, and each host;
a second obtaining unit 22, configured to send a second obtaining instruction to the target host to determine a target storage device and a corresponding target storage port that have service transmission with a target host port, where the target host port is any host port on the target host that is in a connected state;
a zone creating unit 23, configured to control to create a first zone on a target switch for service transmission, so as to configure target identification information corresponding to each of a target host port, a target switch port, and a target storage port in the first zone, where the target identification information is determined based on corresponding port connection information.
For the introduction of the switch zone configuration system provided in the present invention, please refer to the above embodiment of the switch zone configuration method, which is not described herein again.
As a preferred embodiment, the switch zone configuration system further includes:
a first determining unit, configured to determine, before the first obtaining unit 21, an IP address and pre-stored login information of a managed device to be currently accessed based on all pre-stored information of the managed device;
and the communication connection establishing unit is used for accessing the IP address and logging in the managed equipment to be accessed currently according to the pre-stored login information so as to establish communication connection corresponding to a preset communication protocol with the managed equipment.
As a preferred embodiment, the switch zone configuration system further includes:
a second determining unit, configured to determine, for each storage device after the first obtaining unit 21, a first switch that is physically connected to a first storage port based on port connection information of the storage device and port connection information of each switch; the first storage port is a storage port of any one of the storage devices in a connected state, and the first switch is one of the switches;
a second zone creating unit, configured to control to create a second zone on the first switch, so as to configure, in the second zone, the first storage port and identification information corresponding to a first switch port on the first switch, where the identification information is determined based on port connection information corresponding to the first storage port;
a third determining unit, configured to determine, for each host, a second switch that is physically connected to a port of the first host based on port connection information of the host and port connection information of each switch; the first host port is a host port of any one of the hosts in a connected state, and the second switch is one of the switches;
a third zone creating unit, configured to control to create a third zone on the second switch, so as to configure, in the third zone, the first host port and identification information corresponding to each of second switch ports on the second switch, where the identification information is determined based on port connection information corresponding to the first host port;
the zone creating unit 23 specifically includes:
a fourth determining unit, configured to determine a third zone corresponding to the target host port;
a fifth determining unit, configured to determine a second zone corresponding to the target storage port;
a target switch determining unit configured to determine a switch that includes the second zone and the third zone at the same time as a target switch;
a first control unit for controlling the creation of a first zone on the target switch;
and a second control unit configured to control to configure information configured in the second zone and the third zone as target identification information in the first zone.
As a preferred embodiment, the switch zone configuration system further includes:
a first deleting unit, configured to, after the second zone creating unit, send a first deleting signal indicating that the second zone is deleted to the first switch after determining that the physical connection between the first storage port and the first switch port is interrupted;
and a second deleting unit, configured to, after the third zone creating unit, send a second deleting signal to the second switch, where the second deleting signal indicates that the third zone is deleted, after it is determined that the physical connection between the first host port and the second switch port is interrupted.
As a preferred embodiment, the switch zone configuration system further includes:
a third control unit, configured to control, after it is determined that the service transmission is interrupted, a fourth zone and a fifth zone to be created on the target switch; the fourth zone comprises target identification information corresponding to the target storage port and target identification information of a target switch port which is physically connected with the target storage port; the fifth zone comprises target identification information of the target host port and target identification information of a target switch port which is physically connected with the target host port;
and the third deleting unit is used for controlling the deletion of the first zone.
As a preferred embodiment, the switch zone configuration system further includes:
a data throughput acquiring unit, configured to acquire, for each switch, data throughput of each switch port of the switch after the zone creating unit 23;
a correlation determination unit, configured to determine a correlation of a port group based on the data throughput, where the port group includes any two different switch ports;
a first determining unit, configured to determine whether a first target port group with the correlation larger than a first preset threshold exists, where first zones corresponding to two switch ports in the first target port group are not the same; if yes, triggering a first prompting unit;
the first prompt unit is configured to control a prompt module to output first prompt information, where the first prompt information represents that two first zones corresponding to the first target port group are merged.
As a preferred embodiment, the switch zone configuration system further includes:
a second determining unit, configured to determine, after the correlation determining unit, whether a second target port group with the correlation smaller than a second preset threshold exists, where first zones corresponding to two switch ports in the second target port group are not the same; if yes, triggering a second prompting unit;
the second prompting unit is configured to record second prompting information, so that when a merging signal indicating that two first zones corresponding to the second target port group are merged is received, the prompting module is controlled to output the second prompting information, where the second prompting information indicates that the two first zones corresponding to the second target port group are kept separated.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a default management platform according to the present invention.
This predetermine management platform includes:
a memory 31 for storing a computer program;
a processor 32 configured to perform the steps of the switch zone configuration method as described above.
For the introduction of the preset management platform provided in the present invention, please refer to the embodiment of the switch zone configuration method described above, which is not described herein again.
In the present specification, the embodiments 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. Relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
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. The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. 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 invention. Thus, the present invention 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. A switch zone configuration method is applied to a preset management platform, and comprises the following steps:
sending a first acquisition instruction to managed equipment to determine port connection information of the managed equipment, wherein the managed equipment comprises all switches, all storage equipment and all hosts;
sending a second acquisition instruction to a target host to determine a target storage device having service transmission with a target host port and a corresponding target storage port, wherein the target host port is any host port in a connected state on the target host;
controlling to create a first zone on a target switch for the service transmission, so as to configure target identification information corresponding to each of the target host port, the target switch port, and the target storage port in the first zone, where the target identification information is determined based on the corresponding port connection information.
2. The switch zone configuration method according to claim 1, before sending the first get instruction to the managed device, further comprising:
based on all the pre-stored information of the managed equipment, determining the IP address and the pre-stored login information of the managed equipment to be accessed currently;
and accessing the IP address and logging in the managed equipment to be accessed currently according to the pre-stored login information so as to establish communication connection corresponding to a preset communication protocol with the managed equipment.
3. The switch zone configuration method according to claim 1, wherein the port connection information includes a port label-unique identifier correspondence relationship of each of the first ports in the connected state and a unique identifier of a peer port connected to each of the first ports.
4. The switch zone configuration method of claim 1, further comprising, after determining the port connection information of the managed device:
respectively aiming at each storage device, determining a first switch which is physically connected with a first storage port based on port connection information of the storage device and port connection information of each switch; the first storage port is a storage port of any one of the storage devices in a connected state, and the first switch is one of the switches;
controlling to create a second zone on the first switch, so as to configure, in the second zone, the first storage port and identification information, which is physically connected with the first storage port and corresponds to the first switch port on the first switch, respectively, wherein the identification information is determined based on port connection information corresponding to the first storage port;
respectively aiming at each host, determining a second switch which is physically connected with a first host port based on port connection information of the host and port connection information of each switch; the first host port is a host port of any one of the hosts in a connected state, and the second switch is one of the switches;
controlling to create a third zone on the second switch, so as to configure, in the third zone, the first host port and identification information, which is physically connected with the first host port and corresponds to each of second switch ports on the second switch, wherein the identification information is determined based on port connection information corresponding to the first host port;
controlling creation of a first zone at a target switch for the traffic transport, comprising:
determining a third zone corresponding to the target host port;
determining a second zone corresponding to the target storage port;
determining a switch simultaneously comprising the second zone and the third zone as a target switch;
controlling creation of a first zone on the target switch;
and controlling to configure the information configured in the second zone and the third zone as target identification information in the first zone.
5. The switch zone configuration method of claim 4, wherein controlling further comprises, after creating a second zone on the first switch:
after determining that the physical connection between the first storage port and the first switch port is interrupted, sending a first deleting signal representing that the second zone is deleted to the first switch;
after controlling the creation of the third zone on the second switch, further comprising:
and after the physical connection between the first host port and the second switch port is determined to be interrupted, sending a second deleting signal representing the deletion of the third zone to the second switch.
6. The switch zone configuring method according to claim 4, wherein controlling to configure the information configured in the second zone and the third zone as target identification information in the first zone further includes:
after the service transmission interruption is determined, controlling to create a fourth zone and a fifth zone on the target switch; the fourth zone comprises target identification information corresponding to the target storage port and target identification information of a target switch port which is physically connected with the target storage port; the fifth zone comprises target identification information of a target host port and target identification information of a target switch port which is physically connected with the target host port;
and controlling to delete the first zone.
7. The switch zone configuration method according to any of claims 1 to 6, wherein controlling, after creating the first zone at the target switch for the traffic transmission, further comprises:
respectively aiming at each switch, acquiring the data throughput of each switch port of the switch;
determining a correlation of port groups based on the data throughput, the port groups comprising any two of the switch ports that are not identical;
judging whether a first target port group with the correlation larger than a first preset threshold exists, wherein first zones corresponding to two switch ports in the first target port group are not the same;
if yes, controlling a prompt module to output first prompt information, wherein the first prompt information represents that two first zones corresponding to the first target port group are merged.
8. The switch zone configuration method of claim 7, after determining the correlation of port groups based on the data throughput, further comprising:
judging whether a second target port group with the correlation smaller than a second preset threshold exists, wherein the first zones corresponding to two switch ports in the second target port group are not the same;
if yes, recording second prompt information so as to control the prompt module to output the second prompt information when receiving a combined signal representing that two first zones corresponding to the second target port group are combined, wherein the second prompt information represents that the two first zones corresponding to the second target port group are kept separated.
9. A switch zone configuration system, which is applied to a preset management platform, the switch zone configuration system comprising:
the management system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for sending a first acquisition instruction to a managed device so as to determine port connection information of the managed device, and the managed device comprises all switches, all storage devices and all hosts;
a second obtaining unit, configured to send a second obtaining instruction to a target host to determine a target storage device and a corresponding target storage port that have service transmission with a target host port, where the target host port is any host port on the target host that is in a connected state;
a zone creating unit, configured to control to create a first zone on a target switch for the service transmission, so as to configure target identification information corresponding to each of the target host port, the target switch port, and the target storage port in the first zone, where the target identification information is determined based on the corresponding port connection information.
10. A provisioning management platform, comprising:
a memory for storing a computer program;
a processor for performing the steps of the switch zone configuration method according to any of claims 1 to 8.
CN202211025877.7A 2022-08-25 2022-08-25 Switch zone configuration method, system and preset management platform Pending CN115396301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211025877.7A CN115396301A (en) 2022-08-25 2022-08-25 Switch zone configuration method, system and preset management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211025877.7A CN115396301A (en) 2022-08-25 2022-08-25 Switch zone configuration method, system and preset management platform

Publications (1)

Publication Number Publication Date
CN115396301A true CN115396301A (en) 2022-11-25

Family

ID=84122655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211025877.7A Pending CN115396301A (en) 2022-08-25 2022-08-25 Switch zone configuration method, system and preset management platform

Country Status (1)

Country Link
CN (1) CN115396301A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090157846A1 (en) * 2007-12-13 2009-06-18 Hitachi, Ltd. Storage system comprising function for migrating virtual communication port added to physical communication port
CN105337750A (en) * 2014-07-22 2016-02-17 华为技术有限公司 Fiber channel storage area network configuration method and apparatus
US20160142489A1 (en) * 2014-11-19 2016-05-19 Fujitsu Limited Connection control apparatus, storage apparatus, and non-transitory computer-readable recording medium having stored therein control program
CN107317765A (en) * 2016-04-26 2017-11-03 华为技术有限公司 The method and apparatus for managing routing information
CN107888517A (en) * 2016-09-30 2018-04-06 华为技术有限公司 A kind of method and apparatus that domain is drawn for main frame
CN112579007A (en) * 2020-12-26 2021-03-30 中国建设银行股份有限公司 Method and device for acquiring full storage link and electronic equipment
CN112698820A (en) * 2020-12-30 2021-04-23 平安证券股份有限公司 Unified monitoring and management method and device for memory and switch and computer equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090157846A1 (en) * 2007-12-13 2009-06-18 Hitachi, Ltd. Storage system comprising function for migrating virtual communication port added to physical communication port
CN105337750A (en) * 2014-07-22 2016-02-17 华为技术有限公司 Fiber channel storage area network configuration method and apparatus
US20160142489A1 (en) * 2014-11-19 2016-05-19 Fujitsu Limited Connection control apparatus, storage apparatus, and non-transitory computer-readable recording medium having stored therein control program
CN107317765A (en) * 2016-04-26 2017-11-03 华为技术有限公司 The method and apparatus for managing routing information
CN107888517A (en) * 2016-09-30 2018-04-06 华为技术有限公司 A kind of method and apparatus that domain is drawn for main frame
CN112579007A (en) * 2020-12-26 2021-03-30 中国建设银行股份有限公司 Method and device for acquiring full storage link and electronic equipment
CN112698820A (en) * 2020-12-30 2021-04-23 平安证券股份有限公司 Unified monitoring and management method and device for memory and switch and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SURESH MUKNAHALLIPATNA等: "Performance analysis of a fibre channel switch supporting node port identifier virtualization :preliminary results", 《2009 IEEE 34TH CONFERENCE ON LOCAL COMPUTER NETWORKS》 *
张玺;: "存储区域网分区技术的实现", 北京工商大学学报(自然科学版), no. 06, 15 November 2007 (2007-11-15) *

Similar Documents

Publication Publication Date Title
US8909758B2 (en) Physical server discovery and correlation
US8589520B2 (en) Network merge testing
TWI245510B (en) Secure system and method for san management in a non-trusted server environment
CN109474508B (en) VPN networking method, VPN networking system, VPN master node equipment and VPN master node medium
CN101557417A (en) Method and apparatus for HBA migration
US7523176B2 (en) Method, apparatus, and computer program product for reconfiguring a storage area network to support the execution of an application automatically upon execution of the application
US20210288878A1 (en) MULTICAST DOMAIN NAME SYSTEM (mDNS)-BASED PULL REGISTRATION
CN102098233B (en) Method and system for controlling communication window in instant messenger
US11240308B2 (en) Implicit discovery controller registration of non-volatile memory express (NVMe) elements in an NVME-over-fabrics (NVMe-oF) system
US20050250494A1 (en) Method of assigning unique network code to devices in a home network and a home network system therefor
CN108933680A (en) A kind of method and apparatus of SPTN equipment resource management
US20110055276A1 (en) Systems and methods for automatic inclusion of entities into management resource groups
US7206823B2 (en) Computer system having a plurality of storage networks and method for setting information
KR101395830B1 (en) Session checking system via proxy and checkhing method thereof
US10841163B2 (en) Autoinitialization of clustered storage
CN115396301A (en) Switch zone configuration method, system and preset management platform
KR20220006605A (en) Cloud communication method and device, user device, network device
US20050125492A1 (en) Integrated network element management system and method
EP1479192B1 (en) Method and apparatus for managing configuration of a network
EP3570495A1 (en) Device management method and related device
JP4554949B2 (en) Management computer and storage device management method
CN116170274A (en) Web application access method, device, system and computing equipment
CN111343010B (en) Method and equipment for configuring storage IP network port
CN109104499B (en) Session establishing method, device, equipment and storage medium
US7302476B1 (en) Method and apparatus for configuring a device that is non-conforming with a management system using configurations provided by the management system over a network

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
TA01 Transfer of patent application right

Effective date of registration: 20240425

Address after: Room 1801, 18th Floor, Jiyun Investment Building, No. 278 Xinyi Road, Zhengdong New District, Zhengzhou City, Henan Province, 450047

Applicant after: Zhengzhou Inspur Data Technology Co.,Ltd.

Country or region after: China

Address before: 250101 room s311, building S05, Inspur Science Park, No. 1036, Inspur Road, Jinan pilot Free Trade Zone, Jinan, Shandong Province

Applicant before: Ji'nan tide data Technology Co.,Ltd.

Country or region before: China

TA01 Transfer of patent application right