CN107276809A - A kind of activity and the implementation method and device of activity IPMP groups - Google Patents

A kind of activity and the implementation method and device of activity IPMP groups Download PDF

Info

Publication number
CN107276809A
CN107276809A CN201710477697.5A CN201710477697A CN107276809A CN 107276809 A CN107276809 A CN 107276809A CN 201710477697 A CN201710477697 A CN 201710477697A CN 107276809 A CN107276809 A CN 107276809A
Authority
CN
China
Prior art keywords
activity
ipmp
address
groups
active interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710477697.5A
Other languages
Chinese (zh)
Inventor
王野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710477697.5A priority Critical patent/CN107276809A/en
Publication of CN107276809A publication Critical patent/CN107276809A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a kind of activity and the implementation method and device of activity IPMP groups, wherein, this method includes:Configuration script is predefined, the outside configuration-direct sent is received;According to the configuration-direct, performed using the configuration script:Create IPMP interfaces and at least two Active Interface;At least two Active Interface is added in the IPMP interfaces, generation activity and activity IPMP groups.The scheme that the present invention the is provided activity of can improving and activity IPMP groups realize efficiency.

Description

A kind of activity and the implementation method and device of activity IPMP groups
Technical field
The present invention relates to field of computer technology, the implementation method and dress of more particularly to a kind of activity and activity IPMP groups Put.
Background technology
IPMP (IP Network Multipathing, IP Network Multipathing) is the 3rd layer of skill of network of solaris system Multiple IP interface packets a to logic interfacing can be formed IPMP groups by art by the technology.In the use process of server In, in order to improve network reliability, it is necessary to IPMP be assembled to the activity of being set to and active state, when one of network interface goes wrong When, other network interfaces still work on, and improve the reliability of network;And multiple network interfaces work simultaneously, net can be lifted Network bandwidth.
At present, activity and activity IPMP groups are mainly realized by artificial, still, due to the configuration life under solaris system Order is more complicated, causes manual type to be realized less efficient.
The content of the invention
The embodiments of the invention provide a kind of activity and the implementation method and device of activity IPMP groups, it is possible to increase it is movable and Movable IPMP groups realize efficiency.
In a first aspect, the embodiments of the invention provide a kind of activity and the implementation method of activity IPMP groups, predefining and matching somebody with somebody Script is put, in addition to:
Receive the outside configuration-direct sent;
According to the configuration-direct, performed using the configuration script:
Create IPMP interfaces and at least two Active Interface;
At least two Active Interface is added in the IPMP interfaces, generation activity and activity IPMP groups.
Preferably,
After the establishment IPMP interfaces and at least two Active Interface, further comprise:
Determine the first IP address and at least two second IP address;
First IP address is configured for the IPMP interfaces;
Second IP address is configured for Active Interface each described, wherein, second IP address connects with the activity Mouth is corresponded.
Preferably,
At least two Active Interface is added in the IPMP interfaces described, generation activity and activity IPMP groups Afterwards, further comprise:
According to first IP address and each described second IP address, generation activity and activity IPMP group configuration informations;
To the outside output activity and activity IPMP group configuration informations.
Second aspect, the embodiments of the invention provide a kind of device of realizing of movable and activity IPMP groups, including:
Determining unit, for determining configuration script;
Receiving unit, the configuration-direct for receiving outside transmission;
Execution unit, it is true using the determining unit for the configuration-direct received according to the receiving unit Fixed configuration script is performed:Create IPMP interfaces and at least two Active Interface;At least two Active Interface is added to In the IPMP interfaces, generation activity and activity IPMP groups.
Preferably,
The execution unit, is further used for determining the first IP address and at least two second IP address;For the IPMP Interface configures first IP address;Second IP address is configured for Active Interface each described, wherein, the 2nd IP Location is corresponded with the Active Interface.
Preferably,
Further comprise:
Output unit, for according to first IP address and each described second IP address, generation activity and activity IPMP group configuration informations;To the outside output activity and activity IPMP group configuration informations.
The third aspect, the embodiments of the invention provide a kind of computer-readable recording medium, including execute instruction, when the place of storage control When managing the device execution execute instruction, the storage control performs the method described in any of the above-described embodiment.
Fourth aspect, the embodiments of the invention provide a kind of storage control, including:Processor, memory and bus;
The memory is used to store execute instruction, and the processor is connected with the memory by the bus, when During the storage control operation, the execute instruction of memory storage described in the computing device, so that the storage Controller performs the method described in any of the above-described embodiment.
The embodiments of the invention provide a kind of activity and the implementation method and device of activity IPMP groups, wherein, this method can To create IPMP interfaces and at least two Active Interface using configuration script, at least two Active Interface are grouped into IPMP interfaces In, generation activity and activity IPMP groups.This method is by configuration script realization activity and activity IPMP groups, with manual type phase Than, it is possible to increase activity and activity IPMP groups realize efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is the implementation method flow chart of a kind of activity that one embodiment of the invention is provided and activity IPMP groups;
Fig. 2 is the implementation method flow chart of a kind of activity that another embodiment of the present invention is provided and activity IPMP groups;
Fig. 3 is a kind of activity and the structural representation for realizing device of activity IPMP groups that one embodiment of the invention is provided Figure;
Fig. 4 is a kind of activity and the structural representation for realizing device of activity IPMP groups that another embodiment of the present invention is provided Figure.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of activity and the implementation method of activity IPMP groups, this method can be with Comprise the following steps:
Step 101:Determine configuration script;
Step 102:Receive the outside configuration-direct sent;
Step 103:According to configuration-direct, performed using configuration script:Create IPMP interfaces and at least two Active Interface; At least two Active Interface are added in IPMP interfaces, generation activity and activity IPMP groups.
In the embodiment of the present invention shown in Fig. 1, this method can create IPMP interfaces and at least two using configuration script Individual Active Interface, at least two Active Interface are grouped into IPMP interfaces, generation activity and activity IPMP groups.This method passes through Configuration script realization activity and activity IPMP groups, compared with manual type, it is possible to increase activity and the realization of activity IPMP groups effect Rate.
In one embodiment of the invention, in order to realize the Active Interface broken down with outside communication, determination, Create after IPMP interfaces and at least two Active Interface, further comprise:
Determine the first IP address and at least two second IP address;
The first IP address is configured for IPMP interfaces;
The second IP address is configured for each Active Interface, wherein, the second IP address is corresponded with Active Interface.
Wherein, the first IP address belongs to the same network segment with the second IP address.
In one embodiment of the invention, when activity and activity IPMP are assembled after the completion of putting, in order that outside technology Personnel record to relevant configuration information, are added to by least two Active Interface in IPMP interfaces, generation activity and work After dynamic IPMP groups, in addition to:
According to the first IP address and each second IP address, generation activity and activity IPMP group configuration informations;
To outside output activity and activity IPMP group configuration informations.
It should be noted that activity and activity IPMP groups configuration information can also include:The title and IPMP of Active Interface Interface name etc..
As shown in Fig. 2 the embodiment of the present invention is exemplified by two Active Interface, to activity and the realization side of activity IPMP groups Method is described in detail, and this method includes:
Step 201:Determine configuration script.
Step 202:Receive the outside configuration-direct sent.
Step 203:According to configuration-direct, performed using configuration script:Create IPMP interfaces and two Active Interface.
IPMP interfaces are created, interface name is defaulted as ipmp0, can manual modification as needed.
Realize that code is:ipadm create-ipmp ipmp0.
Two Active Interface are created, Active Interface title is defaulted as net0 and net1, can manual modification as needed.
Realize that code is:ipadm create-ip net0
ipadm create-ip net1。
Step 204:Determine the first IP address and two the second IP address;The first IP address is configured for IPMP interfaces;To be each Individual Active Interface configures the second IP address, wherein, the second IP address is corresponded with Active Interface.
The first IP address is configured for ipmp0 interfaces, interface net0 and net1 configure the second IP address, and the second IP address can be with For fault detect, when detecting Active Interface and going wrong, automatically by network switching to another interface.First IP address, Second IP address can be changed as needed.
Realize code:ipadm create-addr-a 192.168.10.10/24 ipmp0;
ipadm create-addr-a 192.168.10.30/24 net0;
ipadm create-addr-a 192.168.10.32/24 net1。
Step 205:At least two Active Interface are added in IPMP interfaces, generation activity and activity IPMP groups.
ipadm add-ipmp-i net0-i net1 ipmp0。
Step 206:According to the first IP address and each second IP address, generation activity and activity IPMP group configuration informations; To outside output activity and activity IPMP group configuration informations.
Activity and activity IPMP groups configuration information can include:IPMP interface names, each Active Interface title, the first IP Address and each second IP address.
Realize code:
echo“THE IPMP INTERFACE:ipmp0 AND IP:192.168.10.10/24”
echo“THE UNDERLYING INTERFACE:net0 net1 AND IP:192.168.10.30/24、 192.168.10.32/24”
echo“THE ACTIVE INTERFACE:net0 and net1”
echo“Configuration of Active-Active IPMP Group Finished!!!”
As shown in figure 3, the embodiments of the invention provide a kind of device of realizing of movable and activity IPMP groups, including:
Determining unit 301, for determining configuration script;
Receiving unit 302, the configuration-direct for receiving outside transmission;
Execution unit 303, for the configuration-direct received according to receiving unit 302, is determined using determining unit 301 Configuration script is performed:Create IPMP interfaces and at least two Active Interface;At least two Active Interface are added to IPMP interfaces In, generation activity and activity IPMP groups.
In one embodiment of the invention, execution unit 303, are further used for determining the first IP address and at least two Second IP address;The first IP address is configured for IPMP interfaces;The second IP address is configured for each Active Interface, wherein, the 2nd IP Address is corresponded with Active Interface.
In one embodiment of the invention, as shown in figure 4, the device also includes:
Output unit 304, for being assembled according to the first IP address and each second IP address, generation activity and activity IPMP Confidence ceases;To outside output activity and activity IPMP group configuration informations.
The embodiments of the invention provide a kind of computer-readable recording medium, including execute instruction, when the computing device of storage control During execute instruction, the method that storage control performs any of the above-described embodiment.
The embodiments of the invention provide a kind of storage control, including:Processor, memory and bus;
Memory is used to store execute instruction, and processor is connected with memory by bus, when storage control is run, The execute instruction of computing device memory storage, so that the method that storage control performs any of the above-described embodiment.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
To sum up, each embodiment of the invention at least has the effect that:
1st, in embodiments of the present invention, this method can create IPMP interfaces using configuration script and at least two activities connect Mouthful, at least two Active Interface are grouped into IPMP interfaces, generation activity and activity IPMP groups.This method passes through configuration script Realization activity and activity IPMP groups, compared with manual type, it is possible to increase activity and activity IPMP groups realize efficiency.
2nd, in embodiments of the present invention, different IP address can be configured for each Active Interface, it is different to distinguish Active Interface, the Active Interface for determining to go wrong by IP address.Also, when one of network interface goes wrong, other Network interface still work on, improve the reliability of network.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation makes a distinction with another entity or operation, and not necessarily require or imply exist between these entities or operation Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non- It is exclusive to include, so that process, method, article or equipment including a series of key elements not only include those key elements, But also other key elements including being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, by sentence " including the key element that a 〃 〃 " is limited, it is not excluded that Also there is other identical factor in the process including the key element, method, article or equipment.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in the storage medium of embodied on computer readable, the program Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention, Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.

Claims (8)

1. a kind of activity and the implementation method of movable IP Network Multipathing IPMP groups, it is characterised in that predefine configuration script, Also include:
Receive the outside configuration-direct sent;
According to the configuration-direct, performed using the configuration script:
Create IPMP interfaces and at least two Active Interface;
At least two Active Interface is added in the IPMP interfaces, generation activity and activity IPMP groups.
2. activity according to claim 1 and the implementation method of activity IPMP groups, it is characterised in that
After the establishment IPMP interfaces and at least two Active Interface, further comprise:
Determine the first IP address and at least two second IP address;
First IP address is configured for the IPMP interfaces;
Second IP address is configured for Active Interface each described, wherein, second IP address and the Active Interface one One correspondence.
3. activity according to claim 2 and the implementation method of activity IPMP groups, it is characterised in that
At least two Active Interface is added in the IPMP interfaces described, generation activity and activity IPMP groups it Afterwards, further comprise:
According to first IP address and each described second IP address, generation activity and activity IPMP group configuration informations;
To the outside output activity and activity IPMP group configuration informations.
4. a kind of movable and activity IP Network Multipathing IPMP groups realize device, it is characterised in that including:
Determining unit, for determining configuration script;
Receiving unit, the configuration-direct for receiving outside transmission;
Execution unit, for the configuration-direct received according to the receiving unit, is determined using the determining unit Configuration script is performed:Create IPMP interfaces and at least two Active Interface;At least two Active Interface is added to described In IPMP interfaces, generation activity and activity IPMP groups.
5. activity according to claim 4 and activity IPMP groups realize device, it is characterised in that
The execution unit, is further used for determining the first IP address and at least two second IP address;For the IPMP interfaces Configure first IP address;Configure second IP address for Active Interface each described, wherein, second IP address with The Active Interface is corresponded.
6. activity according to claim 5 and activity IPMP groups realize device, it is characterised in that further comprise:
Output unit, for according to first IP address and each described second IP address, generation activity and activity IPMP groups Configuration information;To the outside output activity and activity IPMP group configuration informations.
7. a kind of computer-readable recording medium, it is characterised in that including execute instruction, refer to when being performed described in the computing device of storage control When making, the storage control perform claim requires any described method in 1-3.
8. a kind of storage control, it is characterised in that including:Processor, memory and bus;
The memory is used to store execute instruction, and the processor is connected with the memory by the bus, when described When storage control is run, the execute instruction of memory storage described in the computing device, so that the storage control Device perform claim requires any described method in 1-3.
CN201710477697.5A 2017-06-20 2017-06-20 A kind of activity and the implementation method and device of activity IPMP groups Pending CN107276809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710477697.5A CN107276809A (en) 2017-06-20 2017-06-20 A kind of activity and the implementation method and device of activity IPMP groups

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710477697.5A CN107276809A (en) 2017-06-20 2017-06-20 A kind of activity and the implementation method and device of activity IPMP groups

Publications (1)

Publication Number Publication Date
CN107276809A true CN107276809A (en) 2017-10-20

Family

ID=60068121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710477697.5A Pending CN107276809A (en) 2017-06-20 2017-06-20 A kind of activity and the implementation method and device of activity IPMP groups

Country Status (1)

Country Link
CN (1) CN107276809A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104488251A (en) * 2012-08-22 2015-04-01 甲骨文国际公司 System and method for supporting high available (HA) network communication in a middleware machine environment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104488251A (en) * 2012-08-22 2015-04-01 甲骨文国际公司 System and method for supporting high available (HA) network communication in a middleware machine environment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ORACLE和/或其附属公司: ""管理Oracle Solaris 11.1网络性能——配置IPMP组"", 《检索自互联网:<URL: HTTPS://DOCS.HUIHOO.COM/SOLARIS/11.1/SIMPLIFIED-CHINESE/HTML/E36609/GFBAD.HTML >》 *
PLUSBOY: ""在Solaris下使用IPMP(IP Multipathing)"", 《检索自互联网:<URL: HTTPS://BLOG.CSDN.NET/PLUSBOY/ARTICLE/DETAILS/1677031 》 *

Similar Documents

Publication Publication Date Title
CN108322351A (en) Generate method and apparatus, fault determination method and the device of topological diagram
CN103441861B (en) A kind of data record generation method and device
CN108011846A (en) The method and device of management business in network function virtualization architecture
CN105653630A (en) Data migration method and apparatus for distributed database
US20170004423A1 (en) Systems and methods for simulating orders and workflows in an order entry and management system to test order scenarios
CN107171897A (en) A kind of interface test method and data-interface test system
CN107666493A (en) A kind of configuration method for database and its equipment
CN107632937A (en) A kind of method, apparatus tested cluster virtual machine, readable storage medium storing program for executing
CN107911251A (en) A kind of method for configuring network equipment, device and medium
CN106776820A (en) Obtain method and system, block chain, the centralized system of different blocks chain data
CN109492310A (en) A kind of method and check device of the inspection of line
CN109471784A (en) A kind of NAS test macro, method and computer readable storage medium
CN102724272B (en) A kind of backup method of TV station&#39;s service distribution data
CN106850316A (en) A kind of optical fiber into end graphically managing method and system
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN102299849B (en) Service capability calling system and method
CN105933154A (en) Management method of cloud calculation resources
CN104023039A (en) Data packet transmission method and device
CN109819064A (en) Method, operating system module and the meeting plate of intermodule communication
CN109450768A (en) The method of container interconnection and the system interconnected for container
CN109743202A (en) Management method, device, equipment and the readable storage medium storing program for executing of data
CN104516734B (en) Operation flow configuration method and device
CN110532305A (en) A kind of business datum method for cutting over and system
CN107704362A (en) A kind of method and device based on Ambari monitoring big data components
CN107276809A (en) A kind of activity and the implementation method and device of activity IPMP groups

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171020

RJ01 Rejection of invention patent application after publication