CN112367184B - Configuration method and server of vBRAS - Google Patents

Configuration method and server of vBRAS Download PDF

Info

Publication number
CN112367184B
CN112367184B CN202011061712.6A CN202011061712A CN112367184B CN 112367184 B CN112367184 B CN 112367184B CN 202011061712 A CN202011061712 A CN 202011061712A CN 112367184 B CN112367184 B CN 112367184B
Authority
CN
China
Prior art keywords
virtual machine
switch
mvrp
vlan information
management
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.)
Active
Application number
CN202011061712.6A
Other languages
Chinese (zh)
Other versions
CN112367184A (en
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.)
New H3C Technologies Co Ltd Hefei Branch
Original Assignee
New H3C Technologies Co Ltd Hefei Branch
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 New H3C Technologies Co Ltd Hefei Branch filed Critical New H3C Technologies Co Ltd Hefei Branch
Priority to CN202011061712.6A priority Critical patent/CN112367184B/en
Publication of CN112367184A publication Critical patent/CN112367184A/en
Application granted granted Critical
Publication of CN112367184B publication Critical patent/CN112367184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45591Monitoring or debugging support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The present specification provides a method for configuring a vbrs and a server, where the method includes: according to the virtual machine types used for executing different functional attributes of vBRAS, a virtual machine starting script is set and issued to a virtual machine starting item, the virtual machine starting script comprises VLAN information aiming at different virtual machine types, a virtual machine is started, the virtual machine starting item is read, and therefore a switch accessed to the virtual machine configures VLAN information of a switch interface according to the VLAN information in the virtual machine starting script. The method can realize automatic configuration of interface information on the switch accessed to each virtual machine according to the virtual machine types executing different functional attributes of vBRAS.

Description

Configuration method and server of vBRAS
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and a server for configuring a vbrs.
Background
The BRAS equipment is a product of the business evolution of the metropolitan area network, the business of the metropolitan area network is continuously developed, and under the condition that only the access equipment and the backbone router are provided, a user does not have authentication and authorization management, so that the BRAS equipment is not beneficial to operation management and long-term network development. After BRAS equipment is introduced between a broadband access network and a backbone network, the BRAS equipment serves as an access gateway of network services, provides broadband access, authentication, authorization and charging for users, manages user bandwidth, converges user service flow, terminates user PPPOE connection, provides various service services and the like.
With the continuous evolution of metropolitan area networks and the continuous new service requirements, the traditional BRAS adopts special hardware, has poor flexibility and expansibility, and has insufficient support capability for new services.
The traditional hardware BRAS has strong flow forwarding capability, but due to the fact that the performance of the BRAS equipment such as CPU utilization rate, QOS strategy and queue number has bottlenecks, the concurrent number of users is limited, the number of single-board users cannot exceed 32000, and the forwarding capability cannot be fully utilized. When there is a lot of small-traffic, large concurrent traffic, the concurrency of the hardware BRAS will become a bottleneck.
Disclosure of Invention
The present specification provides a method and a server for configuring a vbrs, by which interface information on a switch accessing to each virtual machine can be automatically configured according to the types of virtual machines executing different functional attributes of the vbrs.
The present specification provides a method for configuring a vbrs, the method comprising:
according to the virtual machine types used for executing different functional attributes of vBRAS, setting a virtual machine starting script and issuing the virtual machine starting script to a virtual machine starting item, wherein the virtual machine starting script comprises VLAN information aiming at different virtual machine types;
and starting the virtual machine, and reading the virtual machine starting item to enable the switch accessed to the virtual machine to configure the VLAN information of the switch interface according to the VLAN information in the virtual machine starting script.
It can be seen from the above embodiments that, when the virtual machine is configured, the virtual machine start script is set according to the types of the virtual machines executing different functional attributes of the vbars, and when the virtual machine is started, the VLAN information in the script is obtained by reading the virtual machine start script, so that the interface of the switch accessing the virtual machine can configure the interface VLAN according to the VLAN information in the virtual machine start script.
Specifically, the virtual machine types for executing different functional attributes of the vbars include:
CTRL-VM: the system is used for executing control plane CP management, configuration management, address management, License management, CP disaster tolerance, elastic expansion and contraction capacity and forwarding plane UP management;
BRAS-VM: used for executing interface management, user management, access control, authentication authorization charging and UP backup;
FWD-VM: used for carrying out communication and message distribution of CP and UP;
DB-VM: and the source database is used for storing the list item storage of the user.
Specifically, the configuring, by the switch that is connected to the virtual machine, VLAN information of a switch interface according to the VLAN information in the virtual machine startup script specifically includes:
and sending an MVRP adding message to the switch accessed to the virtual machine through an MVRP protocol, wherein the MVRP adding message carries VLAN information, and the switch configures a switch interface through the VLAN information carried in the MVRP adding message after receiving the MVRP adding message through the switch interface.
Optionally, when the started virtual machine needs to be migrated, a revocation message of the MVRP is sent to the switch accessing the virtual machine, so that the switch revokes the VLAN information configured on the switch interface according to the revocation message of the MVRP.
The present specification also provides a server running virtual machine classes that perform different functional attributes of a vbars, the server comprising:
the virtual machine startup script comprises VLAN information aiming at different virtual machine types;
and the starting unit is used for starting the virtual machine and reading the virtual machine starting item so as to enable the switch accessed to the virtual machine to configure the VLAN information of the switch interface according to the VLAN information in the virtual machine starting script.
Specifically, the virtual machine types for executing different functional attributes of the vbars include:
CTRL-VM: the system is used for executing control plane CP management, configuration management, address management, License management, CP disaster tolerance, elastic expansion and contraction capacity and forwarding plane UP management;
BRAS-VM: used for executing interface management, user management, access control, authentication authorization charging and UP backup;
FWD-VM: used for carrying out communication and message distribution of CP and UP;
DB-VM: and the source database is used for storing the list item storage of the user.
Specifically, the starting unit is specifically configured to send an MVRP join message to the switch accessing the virtual machine through an MVRP protocol, where the MVRP join message carries VLAN information, and the switch configures a switch interface with the VLAN information carried in the MVRP join message after receiving the MVRP join message through the switch interface.
Optionally, the server further includes a revocation unit, where the revocation unit is configured to send a revocation message of an MVRP to a switch accessing the virtual machine when the started virtual machine needs to be migrated, so that the switch revokes VLAN information configured on an interface of the switch according to the revocation message of the MVRP.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present specification and together with the description, serve to explain the principles of the specification.
Fig. 1 is a schematic flowchart of a method for configuring a vbars according to an embodiment of the present disclosure;
fig. 2 is a schematic architecture diagram of a vbars according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the specification, as detailed in the appended claims.
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present specification. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
With the development of virtualization, the diversion separation vBRAS gradually becomes the mainstream of operator deployment. The vbars product is generally deployed by adopting server clusters, one cluster relates to 20-30 servers, and one server generally has 8 network interface interfaces, so that a plurality of 200 network cards are generally connected by using a plurality of switches, however, according to different functions of different virtual machines in the vbars, different VLANs need to be configured on the switch interfaces for isolation, and at present, the workload for manually configuring the interfaces on the switch is very huge, and configuration errors are very easy to occur.
As shown in fig. 1, an embodiment of the present specification provides a method for configuring a vbars, where the method includes:
s101, according to virtual machine types used for executing different functional attributes of vBRAS, setting a virtual machine starting script and issuing the virtual machine starting script to a virtual machine starting item, wherein the virtual machine starting script comprises VLAN information aiming at different virtual machine types;
s102, starting the virtual machine, reading the virtual machine starting item, so that the switch accessed to the virtual machine configures VLAN information of a switch interface according to the VLAN information in the virtual machine starting script.
In this embodiment, the virtual machine for performing the vbars function may be set by the server, where the types of virtual machines for performing the vbars function may include: CTRL-VM, BRAS-VM, FWD-VM, DB-VM.
Wherein CTRL-VM: the system is used for executing control plane CP management, configuration management, address management, License management, CP disaster tolerance, elastic expansion and contraction capacity and forwarding plane UP management.
BRAS-VM: the method is used for executing interface management, user management, access control, authentication authorization charging and UP backup.
FWD-VM: for performing communication and message distribution of CP and UP.
DB-VM: and the source database is used for storing the list item storage of the user.
Each virtual machine may be deployed in one server, or may be deployed in different servers respectively.
As shown in fig. 2, which is a distribution diagram of virtual machines of a vbars, it can be seen that virtual machines performing different functions of the vbars are deployed in different servers, and the virtual machines communicate with each other through independent tunnels. Because the number of interfaces in the server where each virtual machine is located is large, the switch 1 and the switch 2 are utilized to perform VLAN configuration on the interfaces on the switch 1 and the switch 2, thereby realizing isolation between different services and communication between the same services.
In this embodiment, an administrator may plan VLAN information of different virtual machines in the vbars in advance through the management platform, and set a virtual machine start script according to the planned VLAN information, the set virtual machine start script is issued to each virtual machine start, when a virtual machine starts, an MVRP join message is sent to a switch accessing the virtual machine through an MVRP protocol, the MVRP join message carries the VLAN information, and after the switch receives the MVRP join message through a switch interface, the VLAN information carried in the MVRP join message configures the switch to connect.
Therefore, in this embodiment, an administrator can plan VLAN information of each virtual machine in advance through the management platform and issue the VLAN information to each virtual machine in the form of a start script, and when a virtual machine is started, a switch accessing the virtual machine can automatically configure a VLAN of an interface according to the script, thereby completing an automatic configuration process.
Based on the same concept as the method embodiment, an embodiment of the present specification further provides a server, where the server runs virtual machine types that execute different functional attributes of vbars, and the server includes:
the virtual machine startup script comprises VLAN information aiming at different virtual machine types;
and the starting unit is used for starting the virtual machine and reading the virtual machine starting item so as to enable the switch accessed to the virtual machine to configure the VLAN information of the switch interface according to the VLAN information in the virtual machine starting script.
The virtual machine types for executing different functional attributes of the vBRAS comprise:
CTRL-VM: the system is used for executing control plane CP management, configuration management, address management, License management, CP disaster tolerance, elastic expansion and contraction capacity and forwarding plane UP management;
BRAS-VM: used for executing interface management, user management, access control, authentication authorization charging and UP backup;
FWD-VM: used for carrying out communication and message distribution of CP and UP;
DB-VM: and the source database is used for storing the list item storage of the user.
The starting unit is specifically configured to send an MVRP join message to a switch accessing the virtual machine through an MVRP protocol, where the MVRP join message carries VLAN information, and the switch configures a switch interface with the VLAN information carried in the MVRP join message after receiving the MVRP join message through the switch interface.
The server further comprises a revocation unit for revoking,
the revocation unit is configured to send a revocation message of the MVRP to a switch accessing the virtual machine when the started virtual machine needs to be migrated, so that the switch revokes VLAN information configured on a switch interface according to the revocation message of the MVRP.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Other embodiments of the present description will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following, in general, the principles of the specification and including such departures from the present disclosure as come within known or customary practice within the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It will be understood that the present description is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (8)

1. A method for configuring vBRAS is characterized in that,
according to the virtual machine types used for executing different functional attributes of vBRAS, setting a virtual machine starting script and issuing the virtual machine starting script to a virtual machine starting item, wherein the virtual machine starting script comprises VLAN information aiming at different virtual machine types;
and starting the virtual machine, and reading the virtual machine starting item to enable the switch accessed to the virtual machine to configure the VLAN information of the switch interface according to the VLAN information in the virtual machine starting script.
2. The method of claim 1, wherein the virtual machine classes for performing the different functional attributes of vbars comprise:
CTRL-VM: the system is used for executing control plane CP management, configuration management, address management, License management, CP disaster tolerance, elastic expansion and contraction capacity and forwarding plane UP management;
BRAS-VM: used for executing interface management, user management, access control, authentication authorization charging and UP backup;
FWD-VM: used for carrying out communication and message distribution of CP and UP;
DB-VM: and the source database is used for storing the list item storage of the user.
3. The method of claim 1, wherein the configuring, by the switch accessing the virtual machine, the VLAN information of the switch interface according to the VLAN information in the virtual machine startup script specifically includes:
and sending an MVRP adding message to the switch accessed to the virtual machine through an MVRP protocol, wherein the MVRP adding message carries VLAN information, and the switch configures a switch interface through the VLAN information carried in the MVRP adding message after receiving the MVRP adding message through the switch interface.
4. The method of claim 1, further comprising:
when the started virtual machine needs to be migrated, sending a withdrawal message of MVRP to a switch accessed to the virtual machine, so that the switch withdraws VLAN information configured on a switch interface according to the withdrawal message of MVRP.
5. A server, wherein the server operates with classes of virtual machines that perform different functional attributes of vbars, the server comprising:
the virtual machine startup script comprises VLAN information aiming at different virtual machine types;
and the starting unit is used for starting the virtual machine and reading the virtual machine starting item so as to enable the switch accessed to the virtual machine to configure the VLAN information of the switch interface according to the VLAN information in the virtual machine starting script.
6. The server according to claim 5, wherein the virtual machine classes for performing the different functional attributes of the vbars comprise:
CTRL-VM: the system is used for executing control plane CP management, configuration management, address management, License management, CP disaster tolerance, elastic expansion and contraction capacity and forwarding plane UP management;
BRAS-VM: used for executing interface management, user management, access control, authentication authorization charging and UP backup;
FWD-VM: used for carrying out communication and message distribution of CP and UP;
DB-VM: and the source database is used for storing the list item storage of the user.
7. The server according to claim 5,
and the starting unit is specifically used for sending an MVRP adding message to the switch accessed to the virtual machine through an MVRP protocol, wherein the MVRP adding message carries VLAN information, and after the switch receives the MVRP adding message through a switch interface, the VLAN information carried in the MVRP adding message configures the switch interface.
8. The server according to claim 5, wherein the server further comprises a revocation unit,
the revocation unit is configured to send a revocation message of the MVRP to a switch accessing the virtual machine when the started virtual machine needs to be migrated, so that the switch revokes VLAN information configured on a switch interface according to the revocation message of the MVRP.
CN202011061712.6A 2020-09-30 2020-09-30 Configuration method and server of vBRAS Active CN112367184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011061712.6A CN112367184B (en) 2020-09-30 2020-09-30 Configuration method and server of vBRAS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011061712.6A CN112367184B (en) 2020-09-30 2020-09-30 Configuration method and server of vBRAS

Publications (2)

Publication Number Publication Date
CN112367184A CN112367184A (en) 2021-02-12
CN112367184B true CN112367184B (en) 2022-02-22

Family

ID=74507010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011061712.6A Active CN112367184B (en) 2020-09-30 2020-09-30 Configuration method and server of vBRAS

Country Status (1)

Country Link
CN (1) CN112367184B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994071A (en) * 2015-05-28 2015-10-21 杭州华三通信技术有限公司 Backup method and device for BRAS equipment
CN107819602A (en) * 2016-09-14 2018-03-20 中国电信股份有限公司 Customer flow distribution method and system
CN108880971A (en) * 2018-05-30 2018-11-23 新华三技术有限公司 The expansion method and device of virtual broadband remote access server vBRAS resource pool
CN109525513A (en) * 2017-09-20 2019-03-26 中国移动通信集团四川有限公司 Carry method and system, the interchanger of terminal integrated management business

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9240961B2 (en) * 2013-03-29 2016-01-19 Alcatel Lucent VLAN bridging path for virtual machines in MVRP environment without administrator intervention

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994071A (en) * 2015-05-28 2015-10-21 杭州华三通信技术有限公司 Backup method and device for BRAS equipment
CN107819602A (en) * 2016-09-14 2018-03-20 中国电信股份有限公司 Customer flow distribution method and system
CN109525513A (en) * 2017-09-20 2019-03-26 中国移动通信集团四川有限公司 Carry method and system, the interchanger of terminal integrated management business
CN108880971A (en) * 2018-05-30 2018-11-23 新华三技术有限公司 The expansion method and device of virtual broadband remote access server vBRAS resource pool

Also Published As

Publication number Publication date
CN112367184A (en) 2021-02-12

Similar Documents

Publication Publication Date Title
CN110324164B (en) Network slice deployment method and device
US9999030B2 (en) Resource provisioning method
CN103270507B (en) According to the physical location of blade, realize the automatic supply of blade and the integrated software of configuration and hardware system
US20180041578A1 (en) Inter-Telecommunications Edge Cloud Protocols
CN105760214A (en) Equipment state and resource information monitoring method, related equipment and system
CN109196828A (en) A kind of method for managing resource and device of network slice
CN104601680B (en) A kind of method for managing resource and device
US10810095B2 (en) Assigning network device subnets to perform network activities using network device information
CN110830574B (en) Method for realizing intranet load balance based on docker container
KR20170114923A (en) Method and apparatus for communicating using network slice
EP2846577B1 (en) Mobile communication system, call processing node, and communication control method
CN112351106B (en) Service grid platform containing event grid and communication method thereof
CN111836261A (en) Data management method, LEPM and MEPM
CN112367184B (en) Configuration method and server of vBRAS
CN103067476B (en) A kind of dynamic network reconstruction method based on virtual machine
CN106464541A (en) Fault processing method and device based on network function virtualization
CN113138833A (en) Method and related device for deploying virtual machine
CN112770196A (en) Virtualization method and device
CN116095145A (en) Data control method and system of VPC cluster
CN111953571B (en) vBRAS, server and storage medium
CN113055195B (en) Multi-domain controller cluster based on SDON and SDON system
CN111885140B (en) Cloud application mixing method and device based on Flannel network
CN113098705B (en) Authorization method and device for life cycle management of network service
CN110018898B (en) Method and apparatus for selecting virtualized infrastructure manager
CN110167028B (en) System and method for realizing decentralized WIFI roaming authentication function

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
GR01 Patent grant
GR01 Patent grant