Summary of the invention
In view of this, the purpose of the present invention is to provide the redundant network management method and platform of a kind of group system, drop
In low group system host because of network segment failure segregate probability.Its concrete scheme is as follows:
A kind of redundant network management method of group system, the communication network segment in the group system includes principal communication net
Section and standby communication network segment;The described method includes:
It is utilized respectively the principal communication network segment and the standby communication network segment in advance, to the All hosts in the group system
Communication network connection is carried out, obtains corresponding main ring shape communication network and standby ring communication network, and with the main ring communication
Job network of the network as the group system;
Real-time monitoring is carried out to the main ring shape communication network and the standby ring communication network, if monitoring presently described
There is network interruption failure in main ring shape communication network and the standby ring communication network, then to every in presently described group system
The working condition of platform host internal communication network segment is monitored;
If monitoring, there is no the principal communication network segments and standby communication network segment inside same host in presently described group system
There is network segment failure, then utilizes a communication network segment for being currently able to work normally inside every host in the group system
To build the ring communication network in the group system again, and the job network of the group system is switched to the ring-type
Communication network.
Preferably, the redundant network management method, further includes:
In the mistake that the working condition to every host internal communication network segment in presently described group system is monitored
Cheng Zhong, if monitoring to occur there are the principal communication network segment inside same host in presently described group system and for communication network segment
Network segment failure, the then host for network segment failure occur to principal communication network segment in presently described group system and standby communication network segment carry out
Isolation processing.
Preferably, the redundant network management method, further includes:
It is normal using being currently able to inside every host not segregate in the group system after the isolation processing
One communication network segment of work builds the ring communication network in the group system again, and by the work of the group system
Making network switching is the ring communication network.
Preferably, the redundant network management method, further includes:
Described to the main ring shape communication network and during the standby ring communication network carries out real-time monitoring, if
It monitors that network interruption failure occurs in the only described main ring shape communication network, is then switched to the job network of the group system
The standby ring communication network.
Preferably, the communication network segment worked normally is currently able to inside every host in using the group system
Before process to build the ring communication network in the group system again, the redundant network management method further include:
The sum for counting the host that principal communication network segment can work normally in presently described group system obtains the first number
Amount;
The sum for counting the host that standby communication network segment can work normally in presently described group system, obtains the second number
Amount.
Preferably, described to utilize a communication network for being currently able to work normally inside every host in the group system
Section builds the process of the ring communication network in the group system again, comprising:
When first quantity be greater than or equal to second quantity, then be based on the first default network establishment principle, again
Build the ring communication network in the group system;
Wherein, the described first default network establishment principle specifically:
It is used for the standby communication network segment of the principal communication network segment of first kind host and the second class host to re-start ring communication
Network is built;Wherein, the first kind host includes that current principal communication network segment and standby communication network segment can work normally
Host, and the host that current only principal communication network segment can work normally;The second class host includes current only standby logical
The host that letter network segment can work normally.
Preferably, described to utilize a communication network for being currently able to work normally inside every host in the group system
Section builds the process of the ring communication network in the group system again, comprising:
When first quantity be less than second quantity, then be based on the second default network establishment principle, build institute again
State the ring communication network in group system;
Wherein, the described second default network establishment principle specifically:
It is used for the standby communication network segment of the principal communication network segment of third class host and the 4th class host to re-start ring communication
Network is built;Wherein, the third class host includes the host that current only principal communication network segment can work normally;Described
Four class hosts include the host that current principal communication network segment and standby communication network segment can work normally, and current only standby communication
The host that network segment can work normally.
The invention also discloses a kind of redundant networks of group system to manage platform, the communication network segment in the group system
It include principal communication network segment and standby communication network segment;The redundant network manages platform
Communication network successive module, for being utilized respectively the principal communication network segment and the standby communication network segment in advance, to institute
The All hosts stated in group system carry out communication network connection, obtain corresponding main ring shape communication network and standby ring communication net
Network, and using the main ring shape communication network as the job network of the group system;
Communications network monitors module, it is real-time for being carried out to the main ring shape communication network and the standby ring communication network
Monitoring;
Host network segment monitoring modular, for when the network monitoring module monitor presently described main ring shape communication network and
There is network interruption failure in the standby ring communication network, then to every host intercommunication network in presently described group system
The working condition of section is monitored;
Communication network reconnection module, for when the host network segment monitoring module monitors into presently described group system not
There is network segment failure there are the principal communication network segment inside same host and for communication network segment, then using every in the group system
The communication network segment worked normally is currently able to inside platform host to build the ring communication net in the group system again
Network, and the job network of the group system is switched to the ring communication network.
Preferably, the redundant network manages platform, further includes:
Host isolation module, for existing together when the host network segment monitoring module monitors into presently described group system
There is network segment failure in principal communication network segment and standby communication network segment inside one host, then to principal communication in presently described group system
The host that network segment failure occur in network segment and standby communication network segment carries out isolation processing.
Preferably, the communication network reconnection module is also used to carry out the isolation processing in the host isolation module
Afterwards, using a communication network segment for being currently able to work normally inside every host not segregate in the group system come weight
The ring communication network in the group system is newly built, and the job network of the group system is switched to the ring communication
Network.
As it can be seen that there are the feelings of network interruption failure in current main ring shape communication network and standby ring communication network in the present invention
Under condition, real-time monitoring is carried out to the working condition of the communication network segment inside current every host, if monitoring that there is no same
There is network segment failure in principal communication network segment and standby communication network segment inside host, that is, if monitoring current cluster system
At least there is a communication network segment in every host can work normally, then current using every host inside in group system
The communication network segment that can be worked normally builds the ring communication network in group system again, and by the work of group system
Making network switching is the ring communication network.From the foregoing, it will be observed that going out in current main ring shape communication network and standby ring communication network
In the case where existing network interruption failure, as long as there is also at least one communication network segments to work normally inside certain host, that
This host can be still added in new ring communication network, be isolated without being forced, thus present invention drop
In low group system host because of network segment failure segregate probability.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Communication the embodiment of the invention discloses a kind of redundant network management method of group system, in above-mentioned group system
Network segment includes principal communication network segment and standby communication network segment;The above method includes:
Step S11: the principal communication network segment and standby communication network segment being utilized respectively in group system in advance, in group system
All hosts carry out communication network connection, obtain corresponding main ring shape communication network and standby ring communication network, and with main ring shape
Job network of the communication network as group system.
That is, All hosts in group system are successively established into communication connection using the principal communication network segment in group system,
It is correspondingly made available above-mentioned main ring shape communication network;It similarly, will be by institute in group system using the standby communication network segment in group system
There is host successively to establish communication connection, is correspondingly made available above-mentioned standby ring communication network.As it can be seen that the group system in the present embodiment
There are two sets of communication networks, a set of is above-mentioned main ring shape communication network, another set of, is above-mentioned standby ring communication network.
It is understood that in the case where above-mentioned two sets of communication networks of group system can work normally, cluster system
System only need to be using above-mentioned main ring shape communication network as current job network, and above-mentioned standby ring communication network is then in
The state to stand ready.
Step S12: real-time monitoring is carried out to main ring shape communication network and standby ring communication network, if monitoring current main ring
There is network interruption failure in shape communication network and standby ring communication network, then logical to every host inside in current cluster system
The working condition of letter network segment is monitored.
That is, monitoring current main ring shape communication network and the feelings of network interruption failure occur for ring communication network
Under condition, the working condition of current every host internal communication network segment is obtained, by monitoring means to determine current cluster system
In which host inside there is network segment failure and occur in the host of network segment failure be specifically which communication network segment occur
Failure.
Step S13: if monitoring in current cluster system there is no the principal communication network segment inside same host and for communication
There is network segment failure in network segment, then utilizes a communication network segment for being currently able to work normally inside every host in group system
To build the ring communication network in group system again, and the job network of group system is switched to the ring communication net
Network.
That is, in the case where network interruption failure occur in main ring shape communication network and standby ring communication network, if
Monitor network segment failure occur there is no the principal communication network segment inside same host in current cluster system and for communication network segment,
Then mean that at least there is also a communication network segments to work normally in every host of current cluster system, and current
At least there are two hosts in group system and different types of network segment failure occur, one of them is principal communication network segment failure, separately
One is then standby communication network segment fault.In order to repair network interruption failure, the present invention passes through using every in group system at this time
The communication network segment worked normally is currently able to inside host to build the ring communication network in group system again, and will
The job network of group system is switched to the ring communication network.
For example, it is assumed that above-mentioned main ring shape communication network and standby ring communication network are the phenomenon that there is network interruption failure
By occurring caused by occurring standby communication network segment fault inside principal communication network segment failure and host C inside host A, then subsequent
When carrying out network restoration, host A can be connected into new ring communication network by the standby communication network segment that can also be worked normally, and host
C can then be connected into new ring communication network by the principal communication network segment that can also be worked normally, and other hosts can both pass through master
Network segment is communicated, new ring communication network can also be connected by standby communication network segment, certainly, the present embodiment preferentially enables other all
The host that communication network segment can work normally is connected into new ring communication network by principal communication network segment.And in traditional technology
In, above-mentioned host A and host C can not be participated in during new network struction by carry out forced quarantine, cause to collect in this way
A large amount of business migration is generated in group's system.As it can be seen that the embodiment of the present invention reduces in group system host due to network segment failure
Segregate probability avoids the business migration that host is frequently carried out in group system.
As it can be seen that there is network interruption event in current main ring shape communication network and standby ring communication network in the embodiment of the present invention
In the case where barrier, real-time monitoring is carried out to the working condition of the communication network segment inside current every host, if monitoring not deposit
There is network segment failure in principal communication network segment and standby communication network segment inside same host, that is, if monitoring current cluster
At least there is a communication network segment in every host of system can work normally, then using in every host in group system
Portion is currently able to the communication network segment worked normally to build the ring communication network in group system again, and by cluster system
The job network of system is switched to the ring communication network.From the foregoing, it will be observed that in current main ring shape communication network and standby ring communication net
It, being capable of normal work as long as there is also at least one communication network segments inside certain host in the case that network interruption failure occurs in network
Make, then this host can be still added in new ring communication network, is isolated without being forced, thus this hair
Bright embodiment reduce in group system host because of network segment failure segregate probability.
The embodiment of the invention discloses a kind of redundant network management methods of specific group system, implement relative to upper one
Example, the present embodiment have made further instruction and optimization to technical solution.It is specific:
Relative to a upper embodiment, redundant network management method in the present embodiment be can further include: to working as
During the working condition of every host internal communication network segment is monitored in preceding group system, if monitoring current cluster system
There is network segment failure there are the principal communication network segment inside same host and for communication network segment in system, then in current cluster system
The host that network segment failure occur in principal communication network segment and standby communication network segment carries out isolation processing.
That is, meaning if monitoring that failure occur in the principal communication network segment of certain host and standby communication network segment
The host can not carry out network communication connection, can carry out forced quarantine to it at this time, be sent to it with completely cutting off other hosts
All communication connection requests.
Further, the redundant network management method in the present embodiment can also include: the benefit after above-mentioned isolation processing
Collection is built again with a communication network segment for being currently able to work normally inside every host not segregate in group system
Ring communication network in group's system, and the job network of group system is switched to the ring communication network.
That is, at least there are one communications inside remaining not segregate host after carrying out above-mentioned isolation processing
Network segment can work normally, and then utilize a communication for being currently able to work normally inside these not segregate every hosts
Network segment builds the ring communication network in group system again, and then it is logical that the job network of group system is switched to the ring-type
Communication network.
In addition, the redundant network management method in the present embodiment, can also include: to main ring shape communication network and standby ring
During shape communication network carries out real-time monitoring, if monitoring, only there is network interruption failure in main ring shape communication network,
The job network of group system is switched to standby ring communication network.
In upper embodiment step S13, the one of normal work is currently able to inside every host in using group system
It further include step S130 before process of a communication network segment to build the ring communication network in group system again;Specifically:
Step S130: the sum of host that principal communication network segment can work normally in statistics current cluster system obtains the
The sum for the host that standby communication network segment can work normally in one quantity, and statistics current cluster system, obtains the second quantity.
In the present embodiment, the difference of the size relation between above-mentioned first quantity and above-mentioned second quantity, it will after so that
Continuing the building process of new ring communication network, there is also differences.Specifically:
In the case where above-mentioned first quantity is greater than or equal to above-mentioned second quantity, in upper embodiment step S13, utilize
The communication network segment worked normally is currently able in group system inside every host to build the ring in group system again
The process of shape communication network, specifically: it is based on the first default network establishment principle, builds the ring communication in group system again
Network;
Wherein, the first default network establishment principle specifically: by the principal communication network segment of first kind host and the second class host
Standby communication network segment for re-starting building for ring communication network;Wherein, first kind host includes current principal communication network segment
The host that can be worked normally with standby communication network segment, and the host that current only principal communication network segment can work normally;The
Two class hosts include the host that current only standby communication network segment can work normally.
And in the case where above-mentioned first quantity is less than above-mentioned second quantity, in upper embodiment step S13, utilize cluster
It is logical to build the ring-type in group system again to be currently able to the communication network segment worked normally in system inside every host
The process of communication network, specifically: it is based on the second default network establishment principle, builds the ring communication net in group system again
Network;
Wherein, the second default network establishment principle specifically: by the principal communication network segment and the 4th class host of third class host
Standby communication network segment for re-starting building for ring communication network;Wherein, third class host includes currently only principal communication
The host that network segment can work normally;4th class host includes that current principal communication network segment and standby communication network segment can work normally
Host, and the host that current only standby communication network segment can work normally.
Correspondingly, the embodiment of the present invention further discloses a kind of redundant network management platform of group system, above-mentioned collection
Communication network segment in group's system includes principal communication network segment and standby communication network segment;Shown in Figure 2, above-mentioned redundant network management is flat
Platform includes:
Communication network successive module 21, for being utilized respectively principal communication network segment and standby communication network segment in advance, to group system
In All hosts carry out communication network connection, obtain corresponding main ring shape communication network and standby ring communication network, and with master
Job network of the ring communication network as group system;
Communications network monitors module 22, for carrying out real-time monitoring to main ring shape communication network and standby ring communication network;
Host network segment monitoring modular 23, for monitoring current main ring shape communication network and standby ring-type when network monitoring module
There is network interruption failure in communication network, then to the working condition of every host internal communication network segment in current cluster system into
Row monitoring;
Communication network reconnection module 24, for there is no same into current cluster system when host network segment monitoring module monitors
There is network segment failure in principal communication network segment and standby communication network segment inside one host, then utilize in group system inside every host
The communication network segment worked normally is currently able to build the ring communication network in group system again, and by group system
Job network be switched to the ring communication network.
As it can be seen that there is network interruption event in current main ring shape communication network and standby ring communication network in the embodiment of the present invention
In the case where barrier, real-time monitoring is carried out to the working condition of the communication network segment inside current every host, if monitoring not deposit
There is network segment failure in principal communication network segment and standby communication network segment inside same host, that is, if monitoring current cluster
At least there is a communication network segment in every host of system can work normally, then using in every host in group system
Portion is currently able to the communication network segment worked normally to build the ring communication network in group system again, and by cluster system
The job network of system is switched to the ring communication network.From the foregoing, it will be observed that in current main ring shape communication network and standby ring communication net
It, being capable of normal work as long as there is also at least one communication network segments inside certain host in the case that network interruption failure occurs in network
Make, then this host can be still added in new ring communication network, is isolated without being forced, thus this hair
Bright embodiment reduce in group system host because of network segment failure segregate probability.
Further, the redundant network in the present embodiment manages platform, can also include:
Host isolation module, for there are in same host into current cluster system when host network segment monitoring module monitors
There is network segment failure in the principal communication network segment in portion and standby communication network segment, then to principal communication network segment in current cluster system and standby communication
The host that network segment failure occurs in network segment carries out isolation processing.
In addition, above-mentioned communication network reconnection module, can also be further used for being isolated in above-mentioned host isolation module
After processing, using a communication network segment for being currently able to work normally inside every host not segregate in group system come weight
The ring communication network in group system is newly built, and the job network of group system is switched to the ring communication network.
Redundant network in the present embodiment manages platform, can further include: the direct switching module of network is used for
There is network interruption failure to only main ring shape communication network in above-mentioned communications network monitors module monitors, then by the work of group system
Making network switching is standby ring communication network.
It can refer to the related content in previous embodiment about the more detailed course of work of above-mentioned modules, herein not
It is repeated one by one again.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Detailed Jie has been carried out to the redundant network management method and platform of a kind of group system provided by the present invention above
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair
Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage
Solution is limitation of the present invention.