Background technology
Optical-fibre channel (FC, Fiber Channel) agreement is most widely used a kind of agreement in storage network,
Purpose be to provide than Ethernet and transmission control protocol (TCP, Transmission Control Protocol)/because of
Special fidonetFido (IP, Internet Protocol) more high speed, efficient big data transmission performance.
In FC agreement, virtual storage area networks (VSAN, Virtual Storage Area Network)
Divide to achieve and the storage network of a physical connection is divided into multiple virtual memory network in logic.Often
Individual VSAN is mutually isolated, and separately provides service, enhances the adaptability of network, safety so that it is energy
Enough provide the user more effectively service.To N-port member's Further Division region (Zone) in VSAN,
Make the member in different Zone mutually isolated, reach to access the purpose controlled.User can be flexibly at VSAN
Zone is arbitrarily set up in inside, it is possible to add any N-port member according to different purposes in Zone.One
Individual equipment can belong simultaneously to multiple Zone.The unique name in the whole world of N-port can be used in Zone
(WWN, World Wide Name), optical-fibre channel mark (FCID, Fiber Channel Identification)
It is identified Deng to member.
Fig. 1 is existing Zone application networking schematic diagram, as it is shown in figure 1, a VSAN includes 3 clothes
Business device (Server) and 3 disk arrays (Disk), they access in a Fabric network jointly, will
This VSAN is divided into 3 Zone.Wherein:
Zone1 includes Server1, Disk1;
Zone2 includes Server2, Disk1, Disk2, Disk3;
Zone3 includes Server3, Disk3.
From configuration: a Zone can include multiple N-port member;And a specific N-port
Member can also belong to multiple Zone, such as Disk1, Disk3;
In terms of access rights: Server2 can access all disks, and Server1 can only access Disk1,
Same Server3 can only access Disk3.
Specifying according to agreement, Zone data base is to gather (Set), Zone, Zone member according to Zone
(member) three grades of basic objects carry out organizing.The Zone Set set to liking Zone object;Zone
Member object refers to the N-port member in Zone.Fig. 2 gives the signal of existing Zone data structure
Figure, as in figure 2 it is shown, can configure multiple Zone Set object, each Zone Set couple in each VSAN
Can include multiple Zone object as interior, same each Zone object can include multiple Zone member
Object.In order to configure conveniently, Zone member's configuration is also supported to use to call, i.e. Zone Alias object, not
Name is equivalent to the set of a Zone member object, can use as an entirety.
Although multiple Zone Set can be configured in each VSAN, but only one of which can activate, it is referred to as swashing
Live (Active) Zone Set, and the access of i.e. final N-port member controls all to enter in Active Zone Set
Row coupling.Active Zone Set needs explicitly to be activated on the local device by order, then by diffusion message
Synchronize to whole Fabric network so that it is in network-wide basis, keep consistent.
When two Fabric networks are merged together, may each Fabric network internal exist
At this moment they to be merged by Active Zone Set and Zone data base.The equipment merged is permissible
Select only to carry Active Zone Set, or carry Active Zone Set and whole Zone data base enters simultaneously
Row merges.
When switch finds newly-increased neighbours, begin to merge process with these neighbours, if after He Binging
Data there occurs change, will change after data be sent to all neighbor switch carry out again Zone merge,
Until the data of all switches of the whole network are all updated.
Fig. 3 gives the process schematic that existing two switches carry out Zone merging, as it is shown on figure 3,
Its process is particularly as follows: assume that first switch A sends merging requests resource allocation (MRRA, Merge
Request Resource Allocation) request message, with the data scale size that will send in message,
If switch b can receive the data of this scale, then respond acceptance (ACC, Accept) message;Hand over
After the A that changes planes receives ACC message, send to switch b and merge request (MR, Merge Request) report
Literary composition, comprises the Zone data of local terminal in message, switch b merges according to the data received;Because
Through merging, the Zone data on switch b there occurs change, switch b will update after data to institute
Coupled all neighbours are had to spread, including switch A, after switch A receives switch b renewal
Data after, merge;After switch A has merged, again include that switch b is sent out to all neighbours
Send the data after renewal, after switch b receives data, compare confirmation concordance with data with existing, and to friendship
The A that changes planes sends ACC message.
When multiple devices carry out Zone merge time, such as: switch A, B, C carry out Zone merging, its
As shown in Figure 4, first, switch b and switch A perform process shown in Fig. 3, then switch to process
C and switch b carry out process shown in Fig. 3, and last switch A and switch b carry out process shown in Fig. 3.
Summary of the invention
The present invention provide the Zone of Fabric network merge the edge switch in method and Fabric network,
Zone manager (ZA, Zone Administrator), to improve what the Zone of Fabric network merged
Effectiveness of performance.
The technical scheme is that and be achieved in that:
The region merging method of a kind of fiber channel network framework Fabric network, has in each Fabric network
Having regional managers ZA, this ZA is an equipment in this network;The method includes:
When the first edge device of a Fabric network finds the second edge of self and the 2nd Fabric network
When equipment is direct-connected, send the ZA information of a Fabric network to the second edge device, be set to a ZA letter
Breath;Meanwhile, the first edge device receives the ZA information of the 2nd Fabric network that the second edge device is sent,
It is set to the 2nd ZA information;
First edge device is according to a ZA information and the 2nd ZA information, in a ZA, the 2nd ZA
Elect one merge as first and second Fabric network after the new ZA of network, and if new ZA be second
ZA, then send the merging request of the area data carrying a Fabric network to the 2nd ZA, in order to: the
The area data of first and second Fabric network is merged by two ZA, and area data after merging and new
ZA diffusion of information to merge after network in each equipment.
Described first edge device find the second edge device during self is with the 2nd Fabric network direct-connected it
Afterwards, farther included send the ZA information of a Fabric network to the second edge device before:
Judge that the distribution of the domain identifier in the network after merging and route learning complete the most, if so, perform
The action of the described ZA information sending a Fabric network to the second edge device;Otherwise, territory is waited
After mark distribution and route learning complete, perform described to the second edge device transmission the oneth Fabric network
The action of ZA information.
The size of the regional database of a Fabric network is carried in described merging request further, in order to:
According to the size of the regional database of a Fabric network, 2nd ZA judges whether own resource meets district
Territory merges requirement, the most then perform the described area data to first and second Fabric network and merge
Action;Otherwise, it determines region merging technique failure.
This ZA described is that an equipment in this network is:
This ZA is the equipment obtaining the active region data grant from user,
Or: this ZA is the equipment that ZA priority is the highest, and wherein, ZA priority is that user joins in advance
Put on the device.
Described ZA information includes: unique name WWN in the whole world of ZA priority and ZA,
Described elect in a ZA, the 2nd ZA one as first and second Fabric network merge after
The new ZA of network include:
A relatively ZA, the ZA priority of the 2nd ZA, priority high for new ZA;The first, if
The ZA priority of two ZA is identical, then the little person of WWN is new ZA.
Described 2nd ZA will merge after area data and new ZA diffusion of information to merge after network in
Each equipment include:
2nd ZA is after completing the merging of area data of first and second Fabric network, when postponing to preset
After length, the area data and the new ZA diffusion of information that obtain after the last time is carried out area data merging are arrived
Each equipment in network after merging.
A kind of edge device, this edge device is positioned at a Fabric network, in each Fabric network
Having a ZA, this ZA is an equipment in the Fabric network of its place;This edge device includes:
ZA Switching Module: when finding that this equipment is direct-connected with the second edge device in the 2nd Fabric network,
Send the ZA information of a Fabric network to the second edge device, be set to a ZA information;Meanwhile, connect
Receive the ZA information of the 2nd Fabric network that the second edge device is sent, be set to the 2nd ZA information, by first,
Two ZA information are sent to region merging technique request module;
Region merging technique request module: according to a ZA information and the 2nd ZA information, a ZA, second
ZA elects a new ZA as the network after first and second Fabric network merging, and if new ZA
It is the 2nd ZA, then sends the merging request of the area data carrying a Fabric network to the 2nd ZA, with
Just: the area data of first and second Fabric network is merged by the 2nd ZA, and will merge after number of regions
According to new ZA diffusion of information to merge after network in each equipment.
Described ZA Switching Module is further used for, when the found in this equipment and the 2nd Fabric network
After two edge devices are direct-connected, it is judged that the domain identifier distribution in the network after merging is with route learning the most
Complete, if so, perform the dynamic of the described ZA information sending a Fabric network to the second edge device
Make;Otherwise, wait domain identifier distribution and after route learning completes, perform described to send out to the second edge device
Send the action of the ZA information of a Fabric network.
Described region merging technique request module is further used for, and carries a Fabric network in merging request
The size of regional database, in order to: the 2nd ZA is according to the regional database of a Fabric network
Size judges whether own resource meets region merging technique requirement, the most then perform described to first and second
The action that the area data of Fabric network merges;Otherwise, it determines region merging technique failure.
Described ZA Switching Module is further used for, in the ZA information sent to the second edge device
Include: ZA priority and the WWN of ZA, and, when electing in a ZA, the 2nd ZA
One merge as first and second Fabric network after the new ZA of network time, compare a ZA, second
The ZA priority of ZA, priority high for new ZA;If the ZA priority of first and second ZA is identical,
Then the little person of WWN is new ZA.
A kind of ZA, is positioned in the 2nd Fabric network, has a ZA in each Fabric network, should
ZA is an equipment in the Fabric network of its place;This ZA includes:
Region merging technique module: when first and second Fabric network merges, receive in a Fabric network
The merging request of the area data carrying a Fabric network sent of edge device, to first and second
The area data of Fabric network merges, and the data after merging are sent to area data diffusion module;
Area data diffusion module: will merge after area data and this ZA diffusion of information to first and second
The each equipment in network after the merging of Fabric network.
Described region merging technique module is further used for, when finding that a Fabric net is carried in described merging request
During the size of the regional database of network, it is judged that whether the resource of this ZA meets region merging technique requirement, if so,
Then perform the described action that the area data of first and second Fabric network is merged;Otherwise, it determines
Region merging technique failure.
Described region merging technique module is further used for, when the area data completing first and second Fabric network
Merging after, postpone after preset duration, the number of regions obtained after the last time is carried out area data merging
It is sent to area data diffusion module according to this ZA information.
Visible, the present invention improves the effectiveness of performance that the Zone of Fabric network merges.
Detailed description of the invention
Existing Zone Merge Scenarios is analyzed by inventor, finds that it has the drawback that
One) single merges and there is redundant operation
The purpose that Zone merges is when two Fabric network integrations are a network, it is thus achieved that the whole network is consistent
Public Zone data, and retain respective configuration in two Fabric networks the most as much as possible.Such as Fig. 3 institute
Show, realize at present according to agreement, when port direct-connected between two switches adds (Up), start into
Row Zone merges negotiation, sends four messages altogether, and when on switch, Zone configuration changes, again
Initiating new merging, just stopping until finally found that the data merged in request are completely the same with the machine.
It is a bidirectional-movement that the Zone that agreement specifies merges negotiation, and two the most same numbers are according at both link ends
Equipment on each needs merge once, and each produce different union operations according to local data, be equivalent to
Data the most complete between two equipment merge, and actually two equipment individually incorporate twice.
Carry out adding up the most as follows:
As it is shown on figure 3, according to existing protocol, it is assumed that complete between two switches to merge, the MRRA of transmission
With MR request and back message totally four, form one " Zone merges negotiation element ".If currently having two
Platform equipment, device A and equipment B, then, under worst case, when i.e. two equipment configurations are different from, A is first
Merging with B, merging negotiation element number is 1;Now on B, data change, and actively initiate to merge with A,
Merge negotiation element number and increase by 1, be 2;The upper data of A change again and merge with B, and B is upper to be found at present
Data unanimously, terminate to merge, and merging negotiation element number is finally 3.The most only two equipment need three altogether
Individual combining unit totally 12 messages just can complete once to merge alternately.
Two) there is situation about repeatedly merging on a large scale under complicated networking
Above-mentioned one) problem mentioned in, can grow in intensity in the network of multiple stage switch composition.Each friendship
Changing planes owing to each merging, amalgamation result and behavior are the most different, as long as data change just triggers new merging;
The most repeatedly merge and can finally obtain a complete consistent result.Along with network expands
Greatly, the switch wherein comprised increases, and the individual device being especially newly added all comprises different Zone and joins
When putting, the degree repeatedly merged can be more and more stronger so that consults flow process sufficiently complex loaded down with trivial details.
Assume that the n platform equipment in Fabric network carries the most different Zone configurations, in linearly connected mode
Being continuously added into Fabric network and be finally completed merging, newly added equipment is always located in one end of linearly connected, i.e.
In Fabric network, the newly-increased Zone configuration only switch needing merging can be experienced every time, belongs to
Bad situation networking.
Fig. 5 gives the schematic diagram that Zone merges in the case of the worst existing networking, as it is shown in figure 5, by Zone
The flow process merged is discussed according to sending direction rather than time sequencing: the most often increases an equipment newly, goes
The merging negotiation element number in direction can increase by 3, returns and can increase 2*(current ink number-1 newly on direction) individual unit number;
Expand under n platform equipment scale, networking is discussed and amounts to the negotiation element number needed, go direction n platform equipment total
Meter 3*(n-1 to be carried out) secondary negotiation, return direction 2*(n-2 to be carried out)+2*(n-3)+2*(n-4)+...
+ 2*3+2*2+2*1 time consults, and sets up negotiation element number relation in the case of the worst networking according to number of switches
Such as table 1 below.Visible Zone merges negotiation element number and exponentially increases with equipment scale, and n platform equipment is final
Completing to merge needs n altogether2-1 negotiation element, altogether 4n2The order of magnitude message, complexity has reached O(n2).
Table 1 switch quantity merges the relation table of negotiation element number with Zone
Three) there is Zone and merge the hidden danger consulting to seize Fabric network foundation negotiation space
Current Zone merges negotiation and belongs to and need not issue route, if what designated port can be carried out
The formula that floods two-by-two is consulted, as long as therefore link negotiation completes, port Up i.e. starts Zone and merges negotiation;
Meanwhile as port Up, Fabric network is also performed to a series of basis to be consulted, including main exchange
Machine is elected, domain identifier (Domain ID) distribution, route learning etc. in Fabric network in Fabric network
Deng.And the necessary base of Fabric network normal operation is belonged to for host exchange election and territory ID distribution
Plinth is consulted, and other Fabric network functions can run well and be built upon on these basis negotiations,
Be equivalent to possess higher function priority.And the merging that Zone is repeatedly is consulted the most adjoint
Fabric basic network consult carry out, especially such as two) described in the worst networking in the case of, be virtually
Fabric network foundation is consulted to have manufactured network traffics pressure, there is impact basis and consults the hidden danger of stability.
In order to eliminate the drawbacks described above of existing Zone Merge Scenarios, inventor gives the solution of the present invention
Certainly scheme:
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail.
In the present invention, in Fabric network, newly-increased role a: ZA, has in each Fabric network
One ZA, this ZA are a switch in the Fabric network of its place, and this ZA information needs to synchronize
To whole Fabric network.
The method flow diagram of the ZA information that synchronizes in Fabric network that Fig. 6 provides for the embodiment of the present invention,
As shown in Figure 6, it specifically comprises the following steps that
Step 601: for the arbitrary switch in arbitrary Fabric network, be set to switch A, work as friendship
After the A that changes planes starts, if receiving the Active Zone Set order of user's input, then it is assumed that oneself be
ZA, activates corresponding Zone Set according to this order, and other switches in this Fabric network are sent out
Send acquisition to change and authorize (ACA, Acquire Change Authorization) message, to notify that other are handed over
This switch A of changing planes has obtained the mandate of the activation Zone Set from user;Other switches receive should
ACA message, returns ACC message.
The Active Zone Set order of user's input is carried Zone Set mark to be activated, switch
A activates corresponding Zone Set according to this mark.
ACA message in this step is identical with existing ACA message, and its effect is to notice opposite end exchange
Machine oneself has obtained the mandate of the activation Zone Set from user.One switch receives another exchange
After the ACA message that machine is sent, hereafter, the ACA message sent other switches is ignored, i.e.
Only first switch sending ACA message of accreditation has obtained activating the mandate of Zone Set.
Step 602: switch A other switches in this Fabric network send exchange ZA(EZA,
Exchange Zone Administrator) message, to notice other these switch As of switch as ZA,
This message carries the territory ID(Domain ID of this switch A), ZA priority and WWN.
ZA priority is that user configures on switches.
EZA message is the message that the embodiment of the present invention is newly-increased.
EZA message belongs to the switch of the F rank (Class F) sent between switch in FC agreement
In link, service (SW_ILS, Switch_InterLinkService) message, is used for noticing ZA information,
Source address and destination address in the FC head of message use the domain controller address of shape such as 0xFFCxx to carry out
Alternately, xx therein part represents source or the territory ID of purpose switch.
The form of EZA message is as shown in table 2:
The form of table 2EZA message
Step 603: other switches in this Fabric network receive this EZA message, record this message
In ZA information, return EZA accept (EZA Accept) message.
Here, the ZA information of record includes: territory ID, ZA priority of ZA and WWN.
The form that EZA accepts message is as shown in table 3:
Table 3EZA accepts the form of message
Step 604: switch A other switches in this Fabric network send stage Fabric and join
Put renewal (SFC, Stage Fabric Configuration Update) message, to notify other switches
Active Zone Set data will be synchronized.
SFC message in this step is identical with existing SFC message.
Step 605: switch A other switches in this Fabric network send renewal Fabric and join
Putting (UFC, Update Fabric Configuration) message, this message carries the Active Zone of synchronization
Set data;Other switches receive this UFC message, by the Active Zone Set data in this message
It is synchronized to self.
UFC message in this step is identical with existing UFC message.
Step 606: switch A other switches in this Fabric network send release and change mandate
(RCA, Release Change Authorization) message, to notify other switch releasing users pair
The mandate of the activation Zone Set of oneself.
RCA message in this step is identical with existing RCA message.
It should be noted that in flow process shown in Fig. 6, be the friendship by performing Active Zone Set order
Change planes as ZA.In actual applications, it is also possible to manual configuration one friendship in each Fabric network
Change planes as ZA, specifically, the ZA priority of this switch can be configured to the whole network the highest.Now,
After this switch starts, notice ZA by step 602 other switches in this Fabric network and believe
Breath;Meanwhile, perform the switch of Active Zone Set order the most like the prior art, perform step
Rapid 601,604~606, with by Active Zone Set data syn-chronization to the whole network.
By flow process shown in Fig. 6, each Fabric network has elected a ZA, also completes simultaneously
The whole network of Zone data synchronizes.
Zone when two Fabric networks merge given below merges flow process.
The Zone of the Fabric network that Fig. 7 provides for the embodiment of the present invention merges method flow diagram, such as Fig. 7
Shown in, it specifically comprises the following steps that
Step 701: when in the edge switch 1 in a Fabric network and the 2nd Fabric network
When edge switch 2 is direct-connected, when i.e. first and second Fabric network merges, edge switch 1,2 exists
After completing the territory ID distribution in the Fabric network after merging and route learning, send EZA to the other side respectively
Message, this message carries the ZA information of self place former Fabric network.
Such as: setting before first and second Fabric network do not merges, the ZA of a Fabric network is exchange
Machine A, the ZA of the 2nd Fabric network are switch b;Then in this step, edge switch 1 is to limit
The information that ZA information is switch A in the EZA message that edge switch 2 sends, edge switch 2
The information that ZA information is switch b in the EZA message that edge switch 1 sends.
The form of the EZA message in this step is shown in Table 2.
Here, it should be noted that the territory ID of ZA in EZA message is ZA Fabric after merging
Neofield ID in network.Wherein, first and second Fabric network merge after carry out territory ID distribution and
During route learning, meeting mutual respective WWN and neofield ID, each switch between each switch
Record the corresponding relation of territory ID and WWN of all switches in new Fabric network, and according to this
Corresponding relation, searches the neofield ID corresponding for WWN in the ZA information of self record, with this neofield ID
Territory ID in the ZA information of more new record.
Step 702: edge switch 1,2 receives the EZA message that the other side sends, by this message
ZA information compares with the ZA information of self record, according to default ZA election regulation, elects it
In one as the new ZA of new Fabric network after merging.
Here, ZA election regulation can be as follows:
First compare ZA priority, priority high for new ZA;If priority is identical, then compare WWN,
WWN little for new ZA.
Step 703: new ZA is not that the edge switch of the ZA of self place former Fabric network is to newly
ZA is issued to merging request (MRZA, Merge Request to Zone Administrator) of ZA
Message, this message carries the Zone data of self place former Fabric network, carries self place simultaneously
The Zone Database size of former Fabric network, carries out Zone merging with request.
MRZA message is the newly-increased message of the embodiment of the present invention, and its form is as shown in table 4:
Project (Item) |
Size (byte) |
Command code (Command Code) |
4 |
Protocol version (Protocol Version) |
4 |
Zone Database size (Zone Database Size) |
1 |
Load based on version (Version Specific Payload) |
x |
The form of table 4MRZA message
Wherein, load based on version (Version Specific Payload): be used for carrying Zone number
According to, these Zone data can be Active Zone Set, or Active Zone Set and whole Zone
Data base.
Such as: the switch A setting a Fabric network is selected for new ZA, then the 2nd Fabric net
The edge switch 2 of network sends MRZA message to switch A, carries the 2nd Fabric net in message
The Zone Database size of network and Zone data, to ask switch A to carry out Zone merging.
Step 704: new ZA receives this MRZA message, reads Zone Database size from message,
Judge whether own resource meets Zone and merge requirement, if so, performs step 706;Otherwise, step is performed
Rapid 705.
Step 705: new ZA returns refusal (RJT, Reject) to the edge switch sending MRZA message
Message, this edge switch receives this message, determines that Zone merges unsuccessfully, and isolation is handed over end edges
Port between changing planes, this flow process terminates.
Step 706: new ZA returns MRZA to the edge switch sending MRZA message and accepts message,
Zone merging is carried out according to the Zone data in MRZA message.
The form that MRZA accepts message is as shown in table 5:
Project (Item) |
Size (byte) |
0x02000000 |
4 |
Table 5MRZA accepts the form of message
Zone merges rule can be same as the prior art, specific as follows:
(1) it is empty when local data, during to end data non-NULL, end data will be copied to this locality;
(2) it is non-NULL when local data, when being empty to end data, local data is copied to opposite end;
(3) when the two equal non-NULLs of end data, if Zone Set, Zone or Zone alias name and member
Just the same, do not process;If there is the Zone Set that name is different, or name difference and member are the most not
Same Zone, Zone another name, directly merges;If the name of Active Zone Set is different, then
Merge into unified value;
(4) when having that name is identical but Zone, Zone another name that member is different, then failure is merged;As
Fruit is that Active Zone Set merges unsuccessfully, then need to isolate the port of current two switchboard direct connections.
Step 707:Zone has merged, other exchanges in new ZA Fabric network after merging
Machine sends ACA message.
In order to prevent Fabric network having switch repeatedly to add, leaves the route oscillation caused, new ZA
Can be after Zone have merged, the Zone data after merging again after postponing preset time T are diffused into whole
Net, sends ACA message after i.e. postponing preset time T again.In the time T of this delay, if newly
ZA receives new MRZA message and then proceeds Zone merging, the Zone data spread after postponing T
For merging the Zone data obtained for the last time.
Step 708: other switches in new ZA Fabric network after merging send EZA message,
Being new ZA to notice other these switch As of switch, this message carries territory ID, ZA of this switch
Priority and WWN;Other switches receive this EZA message, record the ZA information in this message,
Return EZA and accept message.
The form of EZA message is shown in Table 2.Wherein, the territory ID of ZA is ZA Fabric net after merging
Territory ID in network.
Step 709: other switches in new ZA Fabric network after merging send SFC message,
To notify that other switches will synchronize Zone data.
Step 710: other switches in new ZA Fabric network after merging send UFC message,
This message carries the Zone data of synchronization;Other switches receive this UFC message, by this message
Zone data syn-chronization is to self.
Equally, the Zone data of synchronization can be Active Zone Set, or Active Zone Set
With whole Zone data base.
Step 711: other switches in new ZA Fabric network after merging send RCA message,
To notify other switch releasing user mandates to oneself activating Zone Set.
The composition schematic diagram of the edge device in the Fabric network that Fig. 8 provides for the embodiment of the present invention, if
This edge device is positioned at a Fabric network, wherein, has a ZA in each Fabric network,
This ZA is an equipment in the Fabric network of its place;As shown in Figure 8, this edge device includes:
ZA Switching Module 81 and region merging technique request module 82, wherein:
ZA Switching Module 81: when finding that this equipment is direct-connected with the second edge device in the 2nd Fabric network,
Send the ZA information of a Fabric network to the second edge device, be set to a ZA information;Meanwhile, connect
Receive the ZA information of the 2nd Fabric network that the second edge device is sent, be set to the 2nd ZA information, by first,
Two ZA information are sent to region merging technique request module 82.
Region merging technique request module 82: receive a ZA information and the 2nd ZA that ZA Switching Module 81 is sent
Information, according to a ZA information and the 2nd ZA information, elects one in a ZA, the 2nd ZA
The new ZA of network after merging as first and second Fabric network, and if new ZA be the 2nd ZA, then to
2nd ZA sends the merging request of the area data carrying a Fabric network, in order to: the 2nd ZA is to the
One, the area data of two Fabric networks merges, and will merge after area data and new ZA information expand
The each equipment being scattered in the network after merging.
ZA Switching Module 81 is further used for, when finding this equipment and second in the 2nd Fabric network
After edge device is direct-connected, it is judged that domain identifier distribution and route learning in the network after merging are the completeest
Become, if so, perform to send to the second edge device the action of the ZA information of a Fabric network;No
Then, after waiting that domain identifier distribution and route learning complete, perform to send a Fabric to the second edge device
The action of the ZA information of network.
Region merging technique request module 82 is further used for, and carries a Fabric network in merging request
The size of regional database, in order to: the 2nd ZA is according to the regional database of a Fabric network
Size judges whether own resource meets region merging technique requirement, the most then perform first and second Fabric
The action that the area data of network merges;Otherwise, it determines region merging technique failure.
ZA Switching Module 81 is further used for, in the ZA information that the second edge device sends
Including: ZA priority and the WWN of ZA, and, when electing one in a ZA, the 2nd ZA
Individual merge as first and second Fabric network after the new ZA of network time, compare a ZA, second
The ZA priority of ZA, priority high for new ZA;If the ZA priority of first and second ZA is identical,
Then the little person of WWN is new ZA.
The composition schematic diagram of the ZA in the Fabric network that Fig. 9 provides for the embodiment of the present invention, if this ZA
Being positioned in the 2nd Fabric network, wherein, have a ZA in each Fabric network, this ZA is
An equipment in the Fabric network of its place;As it is shown in figure 9, this ZA includes: region merging technique module
91 and area data diffusion module 92, wherein:
Region merging technique module 91: when first and second Fabric network merges, receive a Fabric network
In the merging request of the area data carrying a Fabric network sent of edge device, to first,
The area data of two Fabric networks merges, and the data after merging are sent to area data diffusion mould
Block 92.
Area data diffusion module 92: receiving area merges the area data after the merging that module 91 is sent,
Net after area data after this merging and this ZA diffusion of information are merged to first and second Fabric network
Each equipment in network.
Region merging technique module 91 is further used for, when finding that merging request carries a Fabric network
During the size of regional database, it is judged that whether the resource of this ZA meets region merging technique requirement, the most then
Perform the action that the area data of first and second Fabric network is merged;Otherwise, it determines region is closed
And failure.
Region merging technique module 91 is further used for, when the area data completing first and second Fabric network
Merging after, postpone after preset duration, the number of regions obtained after the last time is carried out area data merging
It is sent to area data diffusion module 92 according to this ZA information.
From the embodiment of the present invention it can be seen that owing to only carrying out Zone merging on an equipment, therefore,
Single merges needs the equipment of computing can reduce half, is equivalent to the capacity of equipment of releasable 1/2, merges
Efficiency is doubled.And owing to being an equipment merging, the broadcast of amalgamation result the whole network notified, also
There is not situation about repeatedly merging, be greatly improved combined efficiency.Meanwhile, amalgamation result is by once
Diffusion completes, and expands, with network, the unidirectional linearity growth that message number only can be extremely low, and complexity is O (n), far
Interaction complexity less than existing index level;And network to be waited is complete territory ID distribution and route
Just merge after study, it is ensured that basis consults to be smoothed out, and will not interfere with each other.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this
Within the spirit of invention and principle, any modification, equivalent substitution and improvement etc. done, should be included in
Within the scope of protection of the invention.