Background technology
Optical-fibre channel (FC, Fiber Channel) agreement is most widely used a kind of agreement in the storage networking, purpose provides than Ethernet and transmission control protocol (TCP, Transmission Control Protocol)/Internet Protocol (IP, Internet Protocol) more at a high speed, efficiently large data transmission performance.
In the FC agreement, the division of virtual storage area networks (VSAN, Virtual Storage Area Network) has realized the storage networking of a physical connection is divided into a plurality of virtual memory networks in logic.Each VSAN isolates mutually, and independently provides service, has strengthened adaptability, the fail safe of network, can provide more effective service for the user.To the zone of the N port member Further Division in the VSAN (Zone), the member in the different Zone is isolated mutually, reach the purpose of access control.The user can set up arbitrarily Zone in VSAN inside flexibly, and can add any N port member according to different purposes in Zone.An equipment can belong to a plurality of Zone simultaneously.In Zone, can use global unique name (WWN, World Wide Name), the optical-fibre channel sign (FCID, Fiber Channel Identification) etc. of N port that the member is identified.
Fig. 1 is that existing Zone uses the networking schematic diagram, and as shown in Figure 1, a VSAN comprises 3 station servers (Server) and 3 disk arrays (Disk), and they access in the Fabric network jointly, and this VSAN is divided into 3 Zone.Wherein:
Zone1 comprises Server1, Disk1;
Zone2 comprises Server2, Disk1, Disk2, Disk3;
Zone3 comprises Server3, Disk3.
From configuration: a Zone can comprise a plurality of N port members; And a specific N port member also can belong to a plurality of Zone, such as Disk1, Disk3;
Can access all disks from access rights: Server2, and Server1 can only access Disk1, same Server3 can only access Disk3.
According to the agreement regulation, the Zone database is organized according to Zone set (Set), Zone, three grades of basic objects of Zone member (member).Zone Set is to liking the set of Zone object; Zone member object refers to the N port member in the Zone.Fig. 2 has provided existing Zone data structure schematic diagram, as shown in Figure 2, can dispose a plurality of Zone Set objects in each VSAN, can comprise a plurality of Zone objects in each Zone Set object, each Zone object can comprise a plurality of Zone member objects equally.In order to dispose convenience, Zone member's configuration also supports to use another name, and namely Zone Alias object is called the set that is equivalent to a Zone member object, it can be done as a whole use.
Although can dispose a plurality of Zone Set in each VSAN, only have one can activate, be called activation (Active) Zone Set, i.e. final N port member's access control is all mated in Active Zone Set.Active Zone Set need to explicitly activate at local device by ordering, and carries out synchronously it being consistent in network-wide basis to whole Fabric network by the diffusion message again.
When two Fabric networks were merged together, possible each Fabric network internal existed Active Zone Set and Zone database, at this moment they will be merged.The equipment that merges can select only to carry Active Zone Set, or carries simultaneously Active Zone Set and whole Zone database merges.
When switch is found newly-increased neighbours, just begin to carry out merging process with these neighbours, if variation has occured the data after merging, the data after changing are sent to all neighbor switch carry out again the Zone merging, until the data of all switches of the whole network all obtain upgrading.
Fig. 3 has provided existing two switches and has carried out the process schematic diagram that Zone merges, as shown in Figure 3, its process is specially: suppose that switch A at first sends merging requests resource allocation (MRRA, Merge Request Resource Allocation) request message, big or small with the data scale that will send in the message, if switch b can receive the data of this scale, then respond and accept (ACC, Accept) message; After switch A is received the ACC message, send merging request (MR, Merge Request) message to switch b, comprise the Zone data of local terminal in the message, switch b merges according to the data that receive; Because through merging, variation has occured the Zone data on the switch b, the data after switch b will upgrade comprise switch A to all coupled neighbours' diffusions, and switch A merges after receiving data after the switch b renewal; After switch A has merged, again comprise that to all neighbours switch b sends the data after upgrading, after switch b is received data, relatively confirm consistency with data with existing, and send the ACC message to switch A.
When multiple devices carry out the Zone merging, for example: switch A, B, C carry out Zone and merge, its process as shown in Figure 4, at first, switch b and switch A are carried out process shown in Figure 3, then switch C and switch b carry out process shown in Figure 3, and last switch A and switch b carry out process shown in Figure 3.
Summary of the invention
The invention provides the Zone merging method of Fabric network and the edge switch in the Fabric network, Zone manager (ZA, Zone Administrator), the effectiveness of performance that merges with the Zone that improves the Fabric network.
Technical scheme of the present invention is achieved in that
A kind of region merging method of fiber channel network framework Fabric network has a regional managers ZA in each Fabric network, this ZA is an equipment in this network; The method comprises:
When the second edge device of the first edge device discovery self of a Fabric network and the 2nd Fabric network is direct-connected, send the ZA information of a Fabric network to the second edge device, be made as a ZA information; Simultaneously, the first edge device receives the ZA information of the 2nd Fabric network that the second edge device sends, and is made as the 2nd ZA information;
The first edge device is according to a ZA information and the 2nd ZA information, in a ZA, the 2nd ZA, elect one as the new ZA of the network after first and second Fabric network merging, if and new ZA is the 2nd ZA, then send the merging request of the area data of carrying a Fabric network to the 2nd ZA, so that: the 2nd ZA merges the area data of first and second Fabric network, and each equipment in the area data after will merging and the new ZA diffusion of information network after merge.
After the second edge device in described the first edge device discovery self and the 2nd Fabric network is direct-connected, before the second edge device sends the ZA information of a Fabric network, further comprise:
Judge whether domain identifier distribution and route learning in the network after merging are finished, if carry out the described action that sends the ZA information of a Fabric network to the second edge device; Otherwise, after the distribution of wait domain identifier and route learning are finished, carry out the described action that sends the ZA information of a Fabric network to the second edge device.
The size of the regional database of a Fabric network is further carried in described merging request, so that: the 2nd ZA judges according to the size of the regional database of a Fabric network whether own resource satisfies the zone and merge requirement, if then carry out the described action that the area data of first and second Fabric network is merged; Otherwise definite area merges unsuccessfully.
Described this ZA for an equipment in this network is:
This ZA is the equipment that has obtained from user's active region data grant,
Perhaps: this ZA is the highest equipment of ZA priority, and wherein, ZA priority is pre-configured on this equipment for the user.
Described ZA information comprises: global unique name WWN of ZA priority and ZA,
The described new ZA that elects a network after merging as first and second Fabric network in a ZA, the 2nd ZA comprises:
Compare the ZA priority of a ZA, the 2nd ZA, that priority is high is new ZA; If the ZA priority of first and second ZA is identical, then the little person of WWN is new ZA.
Each equipment in area data after described the 2nd ZA will merge and the new ZA diffusion of information network after merge comprises:
The 2nd ZA after the merging of the area data of finishing first and second Fabric network, postpone default duration after, the last time is carried out each equipment in the area data that obtains after area data merges and the new ZA diffusion of information network after merge.
A kind of edge device, this edge device are positioned at a Fabric network, have a ZA in each Fabric network, and this ZA is an equipment in the Fabric network of its place; This edge device comprises:
ZA Switching Module: when finding that this equipment and the second edge device in the 2nd Fabric network are direct-connected, send the ZA information of a Fabric network to the second edge device, be made as a ZA information; Simultaneously, receive the ZA information of the 2nd Fabric network that the second edge device sends, be made as the 2nd ZA information, first and second ZA information is sent to the zone merge request module;
The zone merges request module: according to a ZA information and the 2nd ZA information, in a ZA, the 2nd ZA, elect one as the new ZA of the network after first and second Fabric network merging, if and new ZA is the 2nd ZA, then send the merging request of the area data of carrying a Fabric network to the 2nd ZA, so that: the 2nd ZA merges the area data of first and second Fabric network, and each equipment in the area data after will merging and the new ZA diffusion of information network after merge.
Described ZA Switching Module is further used for, after this equipment of discovery and the second edge device in the 2nd Fabric network are direct-connected, judge whether domain identifier distribution and route learning in the network after merging are finished, if carry out the described action that sends the ZA information of a Fabric network to the second edge device; Otherwise, after the distribution of wait domain identifier and route learning are finished, carry out the described action that sends the ZA information of a Fabric network to the second edge device.
Described zone merges request module and is further used for, the size of in merging request, carrying the regional database of a Fabric network, so that: the 2nd ZA judges according to the size of the regional database of a Fabric network whether own resource satisfies the zone and merge requirement, if then carry out the described action that the area data of first and second Fabric network is merged; Otherwise definite area merges unsuccessfully.
Described ZA Switching Module is further used for, in a ZA information that sends to the second edge device, comprise: the WWN of ZA priority and ZA, and, when in a ZA, the 2nd ZA, electing the new ZA of a network after merging as first and second Fabric network, compare the ZA priority of a ZA, the 2nd ZA, that priority is high is 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 arranged in the 2nd Fabric network, has a ZA in each Fabric network, and this ZA is an equipment in the Fabric network of its place; This ZA comprises:
The zone merges module: when first and second Fabric network merges, receive the merging request of the area data of carrying a Fabric network that the edge device in the Fabric network sends, area data to first and second Fabric network merges, and the data after merging are sent to the area data diffuse module;
Area data diffuse module: each equipment in the network after the area data after will merging and this ZA diffusion of information merge to first and second Fabric network.
Described zone merges module and is further used for, when finding that regional database big or small of a Fabric network carried in described merging request, whether the resource of judging this ZA satisfies zone merging requirement, if then carry out the described action that the area data of first and second Fabric network is merged; Otherwise definite area merges unsuccessfully.
Described zone merges module and is further used for, after the merging of the area data of finishing first and second Fabric network, after postponing default duration, area data and this ZA information that the last time is carried out obtaining after area data merges send to the area data diffuse module.
As seen, the present invention has improved the effectiveness of performance of the Zone merging of Fabric network.
Embodiment
The inventor analyzes existing Zone Merge Scenarios, finds that it has following defective:
One) single merges and has redundant operation
The purpose that Zone merges is when two Fabric network integrations are a network, obtains the consistent public Zone data of the whole network, and keeps as much as possible in two Fabric networks configuration separately simultaneously.As shown in Figure 3, realize at present according to agreement, when port direct-connected between two switches adds (Up), begin to carry out Zone and merge negotiation, send altogether four messages, and when the Zone configuration changes on the switch, initiate again new merging, just stop until final discovery merges the data in the request and the machine is in full accord.
It is a bidirectional-movement that the Zone of agreement regulation merges negotiation, be that each needs to merge once two same piece of data on the equipment of both link ends, and produce different union operations according to local data separately, be equivalent between two equipment once complete data and merge, be actually two equipment and merged separately twice.
Carry out simple following statistics:
As shown in Figure 3, according to existing protocol, suppose to finish merging between two switches, totally four of the MRRA of transmission and MR request and back message usings form one " Zone merges negotiation element ".If current have two equipment, device A and equipment B, then under the worst case, i.e. when two equipment configurations were identical, A merged with B first, and merging the negotiation element number is 1; The upper data of B this moment change, and initiatively initiate to merge with A, and merging the negotiation element number increases by 1, is 2; The upper data of A change again and merge with B, and the present data of the upper discovery of B are consistent, finish to merge, and merging the negotiation element number finally is 3.Namely only two equipment need altogether three merge cellses totally 12 messages just can finish once merge mutual.
Two) there is extensive situation about repeatedly merging under the complicated networking
Above-mentioned one) problem of mentioning in can grow in intensity in the network that many switches form.Each switch is owing to merge separately, and amalgamation result is different separately with behavior, just triggers new merging as long as data change; Also only have simultaneously ceaselessly repeatedly to merge and finally to obtain a complete consistent result.Along with network expansion, the switch that wherein comprises increases, and when the especially new individual device that adds all comprised different Zone configuration, the degree that repeatedly merges can be more and more stronger, so that the negotiation flow process is very complicated loaded down with trivial details.
Suppose that the n platform equipment in the Fabric network carries different separately Zone configurations, continue to add the Fabric network and finally finish merging with linear connected mode, newly added equipment always is positioned at a linear end that connects, be that the newly-increased Zone configuration that needs to merge only has a switch to experience in each Fabric network, belong to the worst case networking.
Fig. 5 has provided the schematic diagram that Zone merges in the worst existing networking situation, as shown in Figure 5, the flow process that Zone merges is discussed according to sending direction rather than time sequencing: this moment is newly-increased equipment whenever, go the merging negotiation element number of direction can increase by 3, return on the direction and can increase 2*(current number of links-1 newly) individual unit number; Expand under the n platform equipment scale, the negotiation element number that networking amounts to be needed is discussed, go direction n platform equipment to amount to and will carry out 3*(n-1) inferior negotiation, return direction and will carry out 2*(n-2)+2*(n-3)+2*(n-4)+...+consult for 2*3+2*2+2*1 time, set up according to number of switches that the negotiation element number concerns such as following table 1 in the worst networking situation.As seen Zone merges the negotiation element number and is exponential growth with equipment scale, and n platform equipment is finally finished merging needs n altogether
2-1 negotiation element, altogether 4n
2An order of magnitude message, complexity has reached O(n
2).
Table 1 switch quantity and Zone merge the relation table of negotiation element number
Three) exist Zone to merge and consult to seize the hidden danger that the Fabric network foundation is consulted the space
Present Zone merging is consulted to belong to not need to issue route, needs only the formula that floods the in twos negotiation that designated port can carry out, and therefore needs only link negotiation and finishes, and port Up namely begins Zone and merges negotiation; Meanwhile when port Up, the Fabric network also will carry out a series of bases to be consulted, and comprises the host exchange election, and domain identifier (Domain ID) distributes in the Fabric network, route learning etc. in the Fabric network.And belong to Fabric network normal operation necessary basis negotiation for host exchange election and territory ID distribution, other Fabric network functions can run well and be based upon on these basis negotiations, are equivalent to possess higher function priority.And Zone merging repeatedly consults to follow in this process the Fabric basic network to consult to carry out, especially as two) in the worst networking situation described, virtually consult to have made network traffics pressure for the Fabric network foundation, exist the impact basis to consult the hidden danger of stability.
In order to eliminate the defects of existing Zone Merge Scenarios, the inventor has provided solution of the present invention:
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Among the present invention, newly-increased role: ZA has a ZA in each Fabric network in the Fabric network, and this ZA is a switch in the Fabric network of its place, and this ZA informational needs is synchronized to whole Fabric network.
The synchronous method flow diagram of ZA information in the Fabric network that Fig. 6 provides for the embodiment of the invention, as shown in Figure 6, its concrete steps are as follows:
Step 601: for the arbitrary switch in arbitrary Fabric network, be made as switch A, after switch A starts, if receive the Active Zone Set order of user's input, think that then oneself is ZA, activate corresponding Zone Set according to this order, and other switches in this Fabric network send the mandate (ACA that acquires change, Acquire Change Authorization) message has obtained mandate from user's activation Zone Set to notify other these switch As of switch; Other switches receive this ACA message, return the ACC message.
Carry the Zone Set sign that will activate in the Active Zone Set order of user's input, switch A activates corresponding Zone Set according to this sign.
ACA message in this step is identical with existing ACA message, and its effect is that announcement has obtained mandate from user's activation Zone Set to end switch oneself.After this switch, is ignored the ACA message that other switches are sent after receiving the ACA message that another switch sends, and, only approves that first switch of sending the ACA message has obtained activating the mandate of Zone Set that is.
Step 602: switch A sends exchange ZA(EZA to other switches in this Fabric network, Exchange Zone Administrator) message, to announce 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 configured on the switch for the user.
The EZA message is the newly-increased message of the embodiment of the invention.
The EZA message belongs to the interior service of the switch-link (SW_ILS of the F rank (Class F) that sends between the switch in the FC agreement, Switch_InterLinkService) message, be used for announcement ZA information, source address in the FC head of message and destination address use the domain controller address of shape such as 0xFFCxx to carry out alternately, and xx wherein partly represents the territory ID of source or 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 the ZA information in this message, return EZA and accept (EZA Accept) message.
Here, the ZA information of record comprises: the territory ID of ZA, ZA priority and WWN.
It is as shown in table 3 that EZA accepts the form of message:
Table 3EZA accepts the form of message
Step 604: switch A sends stage F abric config update (SFC, Stage Fabric Configuration Update) message to other switches in this Fabric network, to notify synchronously Active Zone Set data of other switches.
SFC message in this step is identical with existing SFC message.
Step 605: switch A sends to other switches in this Fabric network and upgrades Fabric configuration (UFC, Update Fabric Configuration) message, and this message carries synchronous Active Zone Set data; Other switches receive this UFC message, and the Active Zone Set data in this message are synchronized to self.
UFC message in this step is identical with existing UFC message.
Step 606: switch A sends to discharge to change to other switches in this Fabric network authorizes (RCA, Release Change Authorization) message, to notify the mandate of other switch releasing users to the activation Zone Set of oneself.
RCA message in this step is identical with existing RCA message.
Need to prove, in flow process shown in Figure 6, be to carry out the switch of Active Zone Set order as ZA.In actual applications, can in each Fabric network, switch of manual configuration be ZA also, particularly, it is the highest the ZA priority of this switch can be configured to the whole network.At this moment, after this switch starts, announce ZA information by step 602 to other switches in this Fabric network; Simultaneously, the switch of carrying out Active Zone Set order is still the same with prior art, and execution in step 601,604~606 is to be synchronized to the whole network with Active Zone Set data.
By flow process shown in Figure 6, each Fabric network has elected a ZA, and the whole network of also having finished the Zone data simultaneously is synchronous.
The Zone that below provides when two Fabric networks merge merges flow process.
Fig. 7 merges method flow diagram for the Zone of the Fabric network that the embodiment of the invention provides, and as shown in Figure 7, its concrete steps are as follows:
Step 701: when the edge switch 2 in the edge switch 1 in the Fabric network and the 2nd Fabric network is direct-connected, when being first and second Fabric network merging, after the territory ID distribution and route learning in the Fabric network of edge switch 1,2 after finishing merging, send the EZA message to the other side respectively, this message carries the ZA information of self former Fabric network in place.
For example: before establishing first and second Fabric network and not merging, the ZA of a Fabric network is switch A, and the ZA of the 2nd Fabric network is switch b; Then in this step, the ZA information in the EZA message that edge switch 1 sends to edge switch 2 is the information of switch A, and the ZA information in the EZA message that edge switch 2 sends to edge switch 1 is the information of switch b.
The form of the EZA message in this step sees Table 2.
Here, need to prove that the territory ID of the ZA in the EZA message is the neofield ID in the Fabric network of ZA after merging.Wherein, in the territory ID distribution and route learning process of after first and second Fabric network merges, carrying out, mutual WWN and the neofield ID separately of meeting between each switch, each switch will record the territory ID of all switches in the new Fabric network and the corresponding relation of WWN, and according to this corresponding relation, search neofield ID corresponding to WWN in the ZA information of self record, with this neofield ID territory ID in the ZA information of new record more.
Step 702: edge switch 1,2 receives the EZA message that the other side send, and the ZA information of the ZA information in this message and self record is compared, and according to default ZA election regulation, elects the new ZA of one of them new Fabric network after as merging.
Here, the ZA election regulation can be as follows:
At first compare ZA priority, that priority is high is new ZA; If priority is identical, then compare WWN, that WWN is little is new ZA.
Step 703: new ZA is not the edge switch of the ZA of self former Fabric network in place is issued to merging request (MRZA from ZA to new ZA, Merge Request to Zone Administrator) message, this message carries the Zone data of self former Fabric network in place, carry simultaneously the Zone Database size of self former Fabric network in place, carry out Zone with request and merge.
The MRZA message is the newly-increased message of the embodiment of the 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 (Version Specific Payload) based on version |
x |
The form of table 4MRZA message
Wherein, based on the load (Version Specific Payload) of version: be used for carrying Zone data, these Zone data can be Active Zone Set, perhaps Active Zone Set and whole Zone database.
For example: the switch A of establishing a Fabric network is selected for new ZA, then the edge switch 2 of the 2nd Fabric network sends the MRZA message to switch A, carry Zone Database size and the Zone data of the 2nd Fabric network in the message, carry out Zone with the request switch A and merge.
Step 704: new ZA receives this MRZA message, reads the Zone Database size from message, judges whether own resource satisfies Zone and merge requirement, if, execution in step 706; Otherwise, execution in step 705.
Step 705: new ZA returns refusal (RJT, Reject) message to the edge switch of sending the MRZA message, and this edge switch receives this message, determines that Zone merges unsuccessfully, the port between isolation and the opposite end edge switch, and this flow process finishes.
Step 706: new ZA returns MRZA to the edge switch of sending the MRZA message and accepts message, carries out Zone according to the Zone data in the MRZA message and merges.
It is as shown in table 5 that MRZA accepts the form of message:
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) when local data be empty, during to the end data non-NULL, with the opposite end data Replica to local;
(2) when local data be non-NULL, when being empty to end data, local data is copied to the opposite end;
(3) when the equal non-NULL of two end datas, if Zone is Set, Zone or Zone alias name and member are just the same, do not process; If there is the different Zone Set of name, or also different Zone, Zone another name of name difference and member, directly merge; If the name of Active Zone Set is different, then merge into unified value;
(4) when existing identical but Zone, Zone that the member the is different another name of name then to merge unsuccessfully; If Active Zone Set merges unsuccessfully, then need to isolate the port of current two switchboard direct connections.
Step 707:Zone merges and to finish, and other switches in the Fabric network of new ZA after merge send the ACA message.
In order to prevent having switch repeatedly to add, leave the route oscillation that causes in the Fabric network, new ZA can be after the Zone merging be finished, and the Zone data after will merging again after the delay preset time T are diffused into whole net, namely postpone to send the ACA message after the preset time T again.In the time T of this delay, to proceed Zone if new ZA receives new MRZA message and merge, the Zone data that postpone to spread behind the T are the last Zone data that obtain that merge.
Step 708: other switches in the Fabric network of new ZA after merge send the EZA message, and to announce other these switch As of switch as new ZA, this message carries territory ID, ZA priority and the WWN of this switch; Other switches receive this EZA message, record the ZA information in this message, return EZA and accept message.
The form of EZA message sees Table 2.Wherein, the territory ID of ZA is the territory ID in the Fabric network of ZA after merging.
Step 709: other switches in the Fabric network of new ZA after merge send the SFC message, to notify synchronously Zone data of other switches.
Step 710: other switches in the Fabric network of new ZA after merge send the UFC message, and this message carries synchronous Zone data; Other switches receive this UFC message, and the Zone data in this message are synchronized to self.
Equally, synchronous Zone data can be Active Zone Set, perhaps Active Zone Set and whole Zone database.
Step 711: other switches in the Fabric network of new ZA after merge send the RCA message, to notify the mandate of other switch releasing users to the activation Zone Set of oneself.
The composition schematic diagram of the edge device in the Fabric network that Fig. 8 provides for the embodiment of the invention is established this edge device and is positioned at a Fabric network, wherein, has a ZA in each Fabric network, and this ZA is an equipment in the Fabric network of its place; As shown in Figure 8, this edge device comprises: ZA Switching Module 81 and zone merge request module 82, wherein:
ZA Switching Module 81: when finding that this equipment and the second edge device in the 2nd Fabric network are direct-connected, send the ZA information of a Fabric network to the second edge device, be made as a ZA information; Simultaneously, receive the ZA information of the 2nd Fabric network that the second edge device sends, be made as the 2nd ZA information, first and second ZA information is sent to the zone merge request module 82.
The zone merges request module 82: receive a ZA information and the 2nd ZA information that ZA Switching Module 81 is sent, according to a ZA information and the 2nd ZA information, in a ZA, the 2nd ZA, elect one as the new ZA of the network after first and second Fabric network merging, if and new ZA is the 2nd ZA, then send the merging request of the area data of carrying a Fabric network to the 2nd ZA, so that: the 2nd ZA merges the area data of first and second Fabric network, and each equipment in the area data after will merging and the new ZA diffusion of information network after merge.
ZA Switching Module 81 is further used for, after this equipment of discovery and the second edge device in the 2nd Fabric network are direct-connected, judge whether domain identifier distribution and route learning in the network after merging are finished, if carry out the action that sends the ZA information of a Fabric network to the second edge device; Otherwise, after the distribution of wait domain identifier and route learning are finished, carry out the action that sends the ZA information of a Fabric network to the second edge device.
The zone merges request module 82 and is further used for, the size of in merging request, carrying the regional database of a Fabric network, so that: the 2nd ZA judges according to the size of the regional database of a Fabric network whether own resource satisfies the zone and merge requirement, if then carry out the action that the area data to first and second Fabric network merges; Otherwise definite area merges unsuccessfully.
ZA Switching Module 81 is further used for, in a ZA information that sends to the second edge device, comprise: the WWN of ZA priority and ZA, and, when in a ZA, the 2nd ZA, electing the new ZA of a network after merging as first and second Fabric network, compare the ZA priority of a ZA, the 2nd ZA, that priority is high is 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 ZA in the Fabric network that Fig. 9 provides for the embodiment of the invention is established this ZA and is arranged in the 2nd Fabric network, wherein, has a ZA in each Fabric network, and this ZA is an equipment in the Fabric network of its place; As shown in Figure 9, this ZA comprises: the zone merges module 91 and area data diffuse module 92, wherein:
The zone merges module 91: when first and second Fabric network merges, receive the merging request of the area data of carrying a Fabric network that the edge device in the Fabric network sends, area data to first and second Fabric network merges, and the data after merging are sent to area data diffuse module 92.
Area data diffuse module 92: the receiving area merges the area data after the merging that module 91 sends, each equipment in the network after the area data after this is merged and this ZA diffusion of information merge to first and second Fabric network.
The zone merges module 91 and is further used for, when find merging request and carry regional database big or small of a Fabric network, whether the resource of judging this ZA satisfies the zone and merges requirement, if then carry out the action that the area data to first and second Fabric network merges; Otherwise definite area merges unsuccessfully.
The zone merges module 91 and is further used for, after the merging of the area data of finishing first and second Fabric network, after postponing default duration, area data and this ZA information that the last time is carried out obtaining after area data merges send to area data diffuse module 92.
Can find out that from the embodiment of the invention merge owing to only carry out Zone at an equipment, therefore, single merges needs the equipment of computing can reduce half, is equivalent to discharge 1/2 capacity of equipment, combined efficiency is doubled.And since be equipment merge, with amalgamation result the whole network broadcast announcement, do not have situation about repeatedly merging yet, can greatly improve combined efficiency.Simultaneously, amalgamation result is to finish by One Diffusion Process, enlarges the unidirectional linearity that the message number can be extremely low with network and increases, and complexity is O (n), much smaller than the interaction complexity of existing index level; And wait for that network has finished that territory ID distributes and route learning after just merge, guaranteed that basic negotiation carries out smoothly, can not interfere with each other.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.