Nothing Special   »   [go: up one dir, main page]

CN106789168B - Deployment method of data center server management network and rack top type switch - Google Patents

Deployment method of data center server management network and rack top type switch Download PDF

Info

Publication number
CN106789168B
CN106789168B CN201611067150.XA CN201611067150A CN106789168B CN 106789168 B CN106789168 B CN 106789168B CN 201611067150 A CN201611067150 A CN 201611067150A CN 106789168 B CN106789168 B CN 106789168B
Authority
CN
China
Prior art keywords
management network
mac address
tor
network
network card
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
CN201611067150.XA
Other languages
Chinese (zh)
Other versions
CN106789168A (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.)
Shenzhen Huawei Cloud Computing Technology Co ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201611067150.XA priority Critical patent/CN106789168B/en
Publication of CN106789168A publication Critical patent/CN106789168A/en
Application granted granted Critical
Publication of CN106789168B publication Critical patent/CN106789168B/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/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • 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
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application relates to the field of data centers, in particular to a deployment method of a data center server management network and a top-of-rack switch. The method comprises the steps that the TOR obtains an MAC address of a network card accessed to an access port of the TOR, obtains a corresponding relation between a preset MAC address of a management network card and a management network, and if the management network corresponding to the MAC address is determined according to the corresponding relation between the MAC address of the management network card and the management network, the network card corresponding to the MAC address is accessed to a virtual local area network VLAN corresponding to the management network. According to the method and the device, the network configuration process and the engineering construction part, namely the physical plugging process, can be separated and decoupled, the network card can be plugged into any port on the TOR in a blind manner, and the TOR can complete the access of the corresponding management network only according to the MAC address of the accessed network card, so that the configuration and deployment process is simplified, the configuration and deployment efficiency is greatly improved, and the hidden danger of misconnection is eliminated.

Description

Deployment method of data center server management network and rack top type switch
Technical Field
The application relates to the field of data centers, in particular to a deployment method of a data center server management network and a top-of-rack switch.
Background
The data center is the most important Internet Technology (IT) infrastructure for providing a bearer for a key business system of an enterprise, and is an enterprise core data management center. The data center main assembly includes: civil engineering (room sites), power supply systems, refrigeration systems, comprehensive wiring systems, network systems (data networks, storage networks and management networks), servers (containing related operating systems and application software), storage devices, safety systems, corresponding operation and maintenance systems and the like.
The high performance and reliability of the data center bearer network become the core problems for the development of the current enterprise business. In evolving to the cloud computing phase, data centers will face many changes. A Virtualized Data Center (VDC) is a new data center modality that combines traditional enterprise business with cloud computing technology. The VDC abstracts and integrates physical resources through a virtualization technology, and enhances service capability; the resource utilization capacity and the service reliability are improved through dynamic resource allocation and intelligent scheduling; and the operation and maintenance cost is reduced through network fusion. The data center needs modularization in design principle, is convenient to expand, manage and maintain, and has the characteristics of high reliability, safety isolation according to business and authority, and the safety isolation can adopt logical isolation or physical isolation.
When a data center adopted by an enterprise is configured and deployed, a server is physically connected with a top of rack switch (TOR) through a management network card, and the TOR is configured to ensure that the management network card is accessed into a management network. In the specific configuration and deployment process, engineering deployment personnel need to access the management network card of the server to the TOR, and then the management network card is configured to the corresponding management network on the TOR according to the accessed port.
Configured in the above manner, it is equivalent to that the port of the TOR and the management network are related, and a management network card of the server is easily mistakenly connected to a port of another management network card in the actual deployment process; in addition, since the network cards of the server include the management network card and the service network card, even the network cards may be misconnected to the ports of the service network, the deployment process is complex, errors are easy to occur, and the deployment efficiency is low.
Disclosure of Invention
The embodiment of the application provides a deployment method of a data center server management network to solve the problems of complex deployment process, easy error and low deployment efficiency in the prior art.
In view of this, a first aspect of the present application provides a deployment method for a data center server management network. In the method, after a network card of a certain server is accessed to the TOR, the TOR can acquire a Media Access Control (MAC) address of the network card and can acquire a corresponding relation between a preset management network card and a management network, wherein in the corresponding relation, each management network card has a unique MAC address, and each management network corresponds to a VLAN; the corresponding relationship is already laid out when the data center is deployed, then, a management network corresponding to the MAC address is tried to be determined according to the corresponding relationship, if the management network of the MAC address can be determined, the inserted network card is the management network card of the server, and at this time, the network card is accessed to a Virtual Local Area Network (VLAN) corresponding to the management network.
It can be seen that, in the deployment process, because the corresponding relationship between the management network card and the management network is preset in advance, each management network corresponds to a VLAN, and the MAC address of each management network card is different, therefore, after the TOR identifies the MAC address of the accessed network card from the access port, the TOR can match the MAC address with the preset corresponding relation, as long as the TOR can match the management network, the TOR can access the network card to the VLAN corresponding to the management network, thereby completing the deployment process, in the mode, the network configuration process and the engineering construction part are carried out, namely, the physical plugging process is separated and decoupled, the network card can be plugged into any port on the TOR in a blind way, the TOR can complete the access of the corresponding management network only according to the MAC address of the accessed network card, therefore, the configuration and deployment process is simplified, the configuration and deployment efficiency is greatly improved, and the hidden trouble of misconnection is eliminated.
In some embodiments, if it is found that the management network corresponding to the MAC address cannot be found according to the correspondence between the preset management network card and the management network, that is, the MAC address does not have a corresponding management network, at this time, configuration information of an access port of the network card access TOR is queried, and the network card is accessed to the VLAN corresponding to the configuration information according to the configuration information when the configuration information exists.
In some embodiments, if the corresponding management network cannot be found according to the MAC address and the access port on the TOR does not have configuration information, in this case, the network card is added to a VLAN preset by the TOR, the access port without configuration information is referred to as an air interface, and the preset VLAN does not correspond to a local area network inside the TOR of any functional network. Further enhancing the realizability of the deployment method.
In some embodiments, a management network corresponding to the MAC address is searched for through the correspondence between the MAC address and the storage, and if the management network can be found, the network card is managed when the network card corresponding to the MAC address is determined, instead of the network card with other functions, such as a service network card.
In some embodiments, the manner in which the TOR obtains the corresponding relationship between the preset management network card and the management network is different according to different storage locations of the corresponding relationship, if the corresponding relationship is directly stored on the TOR, the TOR directly reads an internal memory to obtain the corresponding relationship, and if the corresponding relationship is stored on the network, the TOR needs to be connected to the network and obtain the corresponding relationship by sending a request. The realizability of the deployment method can be enhanced.
In some embodiments, the preset corresponding relationship between the MAC address of the management network card and the management network may be configured by the TOR, and the configuration process may be that the TOR first acquires the MAC addresses of the management network cards of all servers under the TOR, and this manner may be that the MAC addresses of all network cards are directly input according to a deployment plan, or of course, all network cards may be directly plugged into access ports of the TOR and acquired by the TOR; and then the TOR respectively configures the management network cards of all the servers to the VLAN (virtual local area network) based on the MAC address of the corresponding management network according to the MAC address, each management network corresponds to one VLAN, and the configuration process of the corresponding relation is completed. It can be seen that the configuration process can make the corresponding relationship be a one-to-one relationship for the network card, and a one-to-one or one-to-many relationship for the VLAN managing the network. The realizability of the scheme can be enhanced.
A second aspect of an embodiment of the present application further provides a top-rack switch including at least one module configured to perform the deployment method of the data center server management network provided in the first aspect or any embodiment of the first aspect of the present application.
A third aspect of an embodiment of the present application further provides a top-rack switch, including a processor, a memory, a transceiver, and an access port, where the processor, the memory, and the transceiver are all connected to a bus, the access port is connected to the transceiver to implement data transceiving, a program code is stored in the memory, and the processor executes the program code in the memory to implement the deployment method of the data center server management network provided in any one of the first aspect or the first aspect of the present application.
A fourth aspect of the embodiments of the present application further provides a computer storage medium, where a program code, such as a program code of an application layer, is stored in the computer storage medium, and when the program code is executed by a processor, the cache scrubbing method provided in the first aspect or any one of the implementation manners of the first aspect is executed. The computer storage medium includes, but is not limited to, a flash memory (english: flash memory), a hard disk (HDD) or a Solid State Disk (SSD).
Drawings
FIG. 1 is a diagram of an application scenario in an embodiment of the present application;
fig. 2 is a diagram of an embodiment of a deployment method of a data center server management network according to an embodiment of the present application;
fig. 3 is a diagram of another embodiment of a deployment method of a data center server management network according to an embodiment of the present application;
FIG. 4 is a diagram of one embodiment of a top-of-rack switch of an embodiment of the present application;
fig. 5 is a diagram of one embodiment of a top-of-rack switch of an embodiment of the present application.
Detailed Description
The embodiment of the application provides a deployment method of a management network of a data center server, which enables a network card accessed to a TOR to be automatically accessed to a VLAN (virtual local area network) of a corresponding management network by the TOR through presetting a corresponding relation between an MAC (media access control) address of a configured management network card and the management network, and realizes an automatic configuration process and blind plugging of an interface on the TOR.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments.
The following are detailed below.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein.
Some of the features of the data center are briefly described below, wherein,
the modularization of the data center should take the adjustment and development of services into consideration, and the network structure and the system structure should be modularized and easy to expand. The modular deployment has the following advantages: the system is easy to expand, flexible in modular design mode, and capable of expanding according to business requirements and shortening planning and deployment periods. The investment utilization rate is improved, and the maintenance cost is reduced. The energy utilization rate is improved, the cold and hot channels are separated, and the requirements of the green and energy-saving principle are met.
The data center has high reliability in that a redundant network design is adopted in the network design to realize the redundancy of key equipment and links; the key equipment selects high-reliability products, and can realize single board, module hot plug, control module design redundancy and power supply redundancy; by reducing the network hierarchy, the network structure is simplified, and the reliability is improved from the networking architecture.
The data center is in safe isolation, namely partition logic isolation is carried out according to services and authorities, and particularly important services are physically isolated. The service taking the server as the center, IP storage backup, a management network and other networks are logically isolated, and the management network adopts physical isolation.
The manageability and maintainability of a data center is that the network should have good manageability. In order to facilitate maintenance, a product with high integration level and universal modules should be selected as far as possible.
The current data center network construction is based on a design principle of flexibility, high availability and easy management, firstly partitions are divided according to service requirements and security levels, each partition is connected to a service core, and a modular design method is adopted in each partition.
The following describes a current data center based on a TOR architecture, please refer to fig. 1, where fig. 1 is an application scenario diagram of an embodiment of the present application, where a TOR is connected to a gateway, a plurality of servers are connected to a bottom of each TOR, the servers are connected to the TOR through network cards, each network card includes a service network card and a management network card, the management network and the service network are established based on the servers, each management network or the service network may be correspondingly allocated with one or more servers, and for a server, generally, the server only corresponds to one management network or one service network, before specific configuration, a corresponding relationship between the management network card and the management network and a corresponding relationship between the service network card and the service network are preset.
In specific configuration (for example, a management network card configuration), a management network card of a server is first plugged into a certain physical port of a TOR, then a port number of the port is recorded, then the management platform of the TOR is logged in, the port is configured into a corresponding management network, configuration of one management network card is completed, when the management network cards of a plurality of servers need to be configured, the physical port numbers plugged into the TOR need to be recorded one by one, and then the management platform of the TOR is configured one by one.
When configuration change is needed, namely, a management network card is changed to access a port of the TOR, the management network card of the server is checked to be connected to an original port number of the TOR, then the management network card of the server is unplugged and plugged into the change port of the TOR, the change port number is recorded, then the management platform of the TOR is logged in, the change port is configured in a corresponding management network, the management network configuration under the original port is removed, and the configuration change process is completed.
It can be seen that, in the above manner, both configuring a new port and changing a port need to perform a physical port access process and a software configuration process, that is, it is equivalent to binding a management network card or a service network card of a server with a port number of a TOR, so that configuration is not allowed to be changed randomly after configuration is completed, and when the management network card changes a port accessed to the TOR, the port needs to be reconfigured so as to be configured into a corresponding management network; secondly, in this method, since the server network card includes the service network card and the management network card, the network card is bound by the port number, so that the deployment process becomes very complicated, and the problem of port plugging error is easily caused, that is, the service network card is plugged into the port of the management network card, or the management network card is plugged into the port of the service network card, and the management network card is plugged into the port corresponding to the management network which is not self-corresponding, and the error easily causes unnecessary problem in the data center.
To solve the above problem, an embodiment of the present application adopts a method for deploying a data center server management network, please refer to fig. 2, where fig. 2 is a diagram of an embodiment of the method for deploying a data center server management network according to the embodiment of the present application, and the method may include:
201. the TOR acquires the MAC address of the network card of the server accessed to the access port of the TOR.
In the data center architecture, when a network card of a server accesses to a TOR in a physical connection manner, the TOR first obtains a MAC address of the network card. Since the MAC address is unique for each network card, it is already allocated before the network card leaves the factory, and thus there are no two network cards with the same MAC address.
202. The TOR acquires the corresponding relation between the MAC address of the preset management network card and the management network.
The corresponding relationship between the management network card and the management network is divided in advance according to a pre-established network deployment plan, that is, specifically, the management network cards are allocated to one management network, the corresponding relationship between the MAC address and the management network can be preset due to the uniqueness of the MAC address of the management network card, in addition, each management network corresponds to one VLAN, and the network card added to the VLAN is equivalent to be accessed to the management network.
Optionally, according to different storage manners of the correspondence between the MAC address of the management network card and the management network, the manner in which the TOR obtains the correspondence is also different, and if the correspondence is stored in the TOR, the TOR reads the local storage to obtain the correspondence, and for example, if the correspondence is stored in a network to which the TOR can be connected, the manner in which the TOR obtains the correspondence is to obtain the correspondence by accessing the network.
203. The TOR judges whether the MAC address has a corresponding management network according to the correspondence between the MAC address of the management network card and the management network, and if so, executes step 204.
It can be understood that, after acquiring the correspondence between the MAC address of the management network card and the management network and the MAC address of the network card accessed to the TOR, the TOR makes a determination to match the MAC address of the network card with the MAC address in the correspondence, and if the MAC address can be matched, it indicates that the network card is the preset management network card, and at this time, the procedure goes to step 204.
204. And the TOR accesses the network card corresponding to the MAC address into the VLAN corresponding to the management network.
After the management network corresponding to the MAC address is determined, the VLAN of the management network corresponding to the MAC address is found, and the MAC address is added into the VLAN, so that the process that the network card is added into the management network is completed.
It can be seen that, in the deployment process, because the corresponding relationship between the management network card and the management network is preset in advance, each management network corresponds to a VLAN, and the MAC address of each management network card is different, therefore, after the TOR identifies the MAC address of the accessed network card from the access port, the TOR can match the MAC address with the preset corresponding relation, as long as the TOR can match the management network, the TOR can access the network card to the VLAN corresponding to the management network, thereby completing the deployment process, in the mode, the network configuration process and the engineering construction part are carried out, namely, the physical plugging process is separated and decoupled, the network card can be plugged into any port on the TOR in a blind way, the TOR can complete the access of the corresponding management network only according to the MAC address of the accessed network card, therefore, the configuration and deployment process is simplified, the configuration and deployment efficiency is greatly improved, and the hidden trouble of misconnection is eliminated.
Optionally, if the TOR determines that the MAC address does not have a corresponding management network according to a preset correspondence between a management network card and a management network, that is, the network card is not one of the pre-planned management network cards, at this time, the TOR queries configuration information of an access port to which the network card is accessed, and accesses the network card corresponding to the MAC address to a VLAN corresponding to the configuration information according to an indication of the configuration information, so as to complete configuration of the network card, thereby ensuring that the network card accessed to the TOR can be correctly identified and allocated.
Of course, if no configuration information is provided on the access port of the TOR, that is, the interface is an air interface, the network card corresponding to the MAC address is accessed to a VLAN preset by the TOR, where the preset VLAN is designed corresponding to the air interface, and at this time, the interface does not correspond to any service network or management network, but is an independent network.
In addition, as for the correspondence between the MAC address of the management network card and the management network, which can be configured by the TOR, specifically referring to fig. 3, fig. 3 is a diagram of another embodiment of the deployment method of the data center server management network according to the embodiment of the present application, in the diagram, a process of configuring the correspondence between the MAC address of the management network card and the management network by the TOR may be:
301. and acquiring MAC addresses of the management network cards of all servers under the TOR.
All servers under the TOR refer to servers which are allocated to the TOR in the process of deploying all data centers, and the management network cards of the servers are connected to the TOR, so that the TOR can match the network cards which access the TOR in the process of actual configuration by acquiring the MAC addresses of the management network cards of the servers.
302. And the TOR respectively configures the management network cards of all the servers to the VLAN based on the MAC address of different management networks according to the MAC address.
After the MAC addresses of the management network cards of all the servers are obtained, each MAC address is assigned to a VLAN of the corresponding management network based on the MAC address according to the function corresponding to each server in the deployment plan, and each management network corresponds to one VLAN. It can be understood that the correspondence between the MAC address and the VLAN is one-to-one correspondence, but the correspondence between the MAC address and the VLAN corresponding to one VLAN can be one-to-many correspondence, that is, the management network cards of a plurality of servers can be added to the same management network, and the management network card of one server cannot be added to two management networks at the same time.
In the above description, a deployment method of a data center server management network of the present application is described, and referring to fig. 4, fig. 4 is a diagram of an embodiment of a switch assumed in the present application, where the top-of-rack switch 4 includes:
an obtaining module 401, configured to obtain an MAC address of a network card of a server accessing to the TOR access port;
the obtaining module 401 is further configured to obtain a correspondence between a preset MAC address of a management network card and a management network, where each management network card has a unique MAC address, and each management network corresponds to one VLAN;
the processing module 402 is configured to access the network card corresponding to the MAC address to the virtual local area network VLAN corresponding to the management network when the management network corresponding to the MAC address is determined according to the correspondence between the MAC address of the management network card and the management network.
It should be noted that the deployment process of the management network of the top-of-rack switch is similar to that of the data center management network in the embodiment shown in fig. 2, and is not described here again.
Optionally, the processing module 402 is further configured to: if the MAC address does not have a corresponding management network according to the corresponding relation between a preset management network card and the management network, inquiring the configuration information of an access port accessed by the network card; and accessing the network card corresponding to the MAC address into the VLAN corresponding to the configuration information according to the configuration information.
It should be noted that the processing procedure is similar to that described in the embodiment shown in fig. 2 with respect to step 204, and is not described here again.
Optionally, the processing module 402 is further configured to: and if the access port accessed by the network card is determined to have no configuration information, accessing the network card corresponding to the MAC address to the VLAN preset by the TOR.
It should be noted that the access port without configuration information is referred to as an air interface, and the preset VLAN does not correspond to a local area network within a TOR of any functional network. The processing procedure is similar to that described with respect to step 204 in the embodiment shown in fig. 2, and is not described here again.
Optionally, the network card of the server includes a service network card and a management network card, and the processing module 402 is further configured to: and when the MAC address has a corresponding management network, determining that the network card corresponding to the MAC address is a management network card.
It should be noted that the processing procedure is similar to that described in the embodiment shown in fig. 2 with respect to step 204, and is not described here again.
Optionally, a preset corresponding relationship between the management network card and the management network is stored in the TOR or in the network, and the obtaining module is specifically configured to: reading a local storage to obtain a corresponding relation between a preset management network card and a management network; or the like, or, alternatively,
and acquiring the corresponding relation between the preset management network card and the management network through the network.
It should be noted that the obtaining process in the embodiment shown in fig. 2 is similar to the description of step 202, and is not described here again.
Optionally, the preset corresponding relationship between the MAC address of the management network card and the management network is configured by the processing module, and the obtaining module 401 is further specifically configured to: acquiring MAC addresses of management network cards of all servers under the TOR; the processing module 402 is further specifically configured to: and respectively configuring the management network cards of all the servers to the VLAN (virtual local area network) based on the MAC address of the corresponding management network according to the MAC address, wherein each management network corresponds to one VLAN.
It should be noted that the manner of acquiring the MAC address may be directly inputting the MAC addresses of all the network cards according to the deployment plan, and certainly, all the network cards may also be directly plugged into the access ports of the TOR and acquired by the TOR, and in addition, the configuration process of the correspondence is similar to the configuration process of the correspondence between the MAC address of the management network card and the management network in the embodiment shown in fig. 3, and is not described here again.
The structure of a top-of-rack switch in the embodiments of the present application is described below with reference to fig. 5, where fig. 5 is a diagram of one embodiment of a top-of-rack switch in the embodiments of the present application, where the top-of-rack switch 5 may include at least one processor 501, at least one transceiver 502, a memory 503, and access ports 504, all connected to a bus, where the top-of-rack switch in the embodiments of the present application may have more or fewer components than shown in fig. 5, may combine two or more components, or may have a different configuration or arrangement of components, and each component may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
Specifically, for the embodiment shown in fig. 4, the processor 501 can implement the functions of the processing module 402 and the obtaining module 401 in the embodiment shown in fig. 4, the transceiver 502 is connected to the access port 504 for transceiving data of the top-rack switch, the memory 503 is used for storing instructions and data to be executed by the processor 501, and the processor 501 is used for executing the instructions in the memory to implement the deployment process of the data center management network.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be replaced; and the modifications or the substitutions do not make the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (12)

1. A deployment method of a data center server management network is characterized by comprising the following steps:
the method comprises the steps that a TOR (Top-mounted switch) acquires a Media Access Control (MAC) address of a network card of a server accessed to an access port of the TOR;
the TOR acquires a corresponding relation between a preset MAC address of a management network card and a management network, each management network card has a unique MAC address, and each management network corresponds to a VLAN (virtual local area network);
and if the TOR determines the management network corresponding to the MAC address according to the corresponding relation between the MAC address of the management network card and the management network, the TOR accesses the network card corresponding to the MAC address into the virtual local area network VLAN corresponding to the management network.
2. The method for deploying a data center server management network according to claim 1, further comprising:
if the TOR determines that the MAC address does not have a corresponding management network according to a preset corresponding relationship between a management network card and the management network, inquiring configuration information of an access port accessed by the network card;
and accessing the network card corresponding to the MAC address into the VLAN corresponding to the configuration information according to the configuration information.
3. The method for deploying a data center server management network according to claim 2, further comprising:
and if the access port accessed by the network card is determined to have no configuration information, accessing the network card corresponding to the MAC address to a preset VLAN (virtual local area network) of the TOR, wherein the preset VLAN is a local area network in the TOR which does not correspond to any functional network.
4. The deployment method of the data center server management network according to claim 1, wherein the network card of the server includes a service network card and a management network card, and the method further includes:
and if the MAC address has a corresponding management network, determining that the network card corresponding to the MAC address is a management network card.
5. The deployment method of the data center server management network according to claim 1, wherein the correspondence between the preset management network card and the management network is stored on the TOR or on the network, and the TOR acquiring the correspondence between the preset management network card and the management network includes:
the TOR obtains a corresponding relation between a preset management network card and a management network by reading a local storage; or the like, or, alternatively,
and the TOR acquires the corresponding relation between a preset management network card and a management network through the network.
6. The deployment method of the management network of the data center server according to any one of claims 1 to 5, wherein the correspondence between the MAC address of the preset management network card and the management network is configured by a TOR, and configuring the correspondence between the MAC address of the management network card and the management network by the TOR includes:
the TOR acquires MAC addresses of management network cards of all servers under the TOR;
and the TOR respectively configures the management network cards of all the servers to the VLAN (virtual local area network) based on the MAC address of the corresponding management network according to the MAC address, and each management network corresponds to one VLAN.
7. A top-of-rack switch, comprising:
the acquisition module is used for acquiring a Media Access Control (MAC) address of a network card of a server accessed to the access port of the TOR of the top-rack switch;
the acquisition module is further used for acquiring the corresponding relation between the MAC address of a preset management network card and a management network, each management network card has a unique MAC address, and each management network corresponds to one VLAN;
and the processing module is used for accessing the network card corresponding to the MAC address to the virtual local area network VLAN corresponding to the management network when the management network corresponding to the MAC address is determined according to the corresponding relation between the MAC address of the management network card and the management network.
8. The top-of-rack switch of claim 7, wherein the processing module is further to:
if the MAC address does not have a corresponding management network according to the corresponding relation between a preset management network card and the management network, inquiring the configuration information of an access port accessed by the network card;
and accessing the network card corresponding to the MAC address into the VLAN corresponding to the configuration information according to the configuration information.
9. The top-of-rack switch of claim 8, wherein the processing module is further to:
and if the access port accessed by the network card is determined to have no configuration information, accessing the network card corresponding to the MAC address to a preset VLAN (virtual local area network) of the TOR, wherein the preset VLAN is a local area network in the TOR which does not correspond to any functional network.
10. The top-of-rack switch of claim 7, wherein the network cards of the server comprise a business network card and a management network card, the processing module further configured to:
and if the MAC address has a corresponding management network, determining that the network card corresponding to the MAC address is a management network card.
11. The rack-top switch according to claim 7, wherein the correspondence between the preset management network card and a management network is stored on the TOR or on the network, and the obtaining module is specifically configured to:
reading a local storage to obtain a corresponding relation between a preset management network card and a management network; or the like, or, alternatively,
and acquiring the corresponding relation between the preset management network card and the management network through the network.
12. The rack-top switch according to any of claims 7-11, wherein the correspondence between the MAC address of the predetermined management network card and the management network is configured by the processing module, and the obtaining module is further specifically configured to:
acquiring MAC addresses of management network cards of all servers under the TOR;
the processing module is further specifically configured to:
and respectively configuring the management network cards of all the servers to the VLAN (virtual local area network) based on the MAC address of the corresponding management network according to the MAC address, wherein each management network corresponds to one VLAN.
CN201611067150.XA 2016-11-28 2016-11-28 Deployment method of data center server management network and rack top type switch Active CN106789168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611067150.XA CN106789168B (en) 2016-11-28 2016-11-28 Deployment method of data center server management network and rack top type switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611067150.XA CN106789168B (en) 2016-11-28 2016-11-28 Deployment method of data center server management network and rack top type switch

Publications (2)

Publication Number Publication Date
CN106789168A CN106789168A (en) 2017-05-31
CN106789168B true CN106789168B (en) 2020-03-20

Family

ID=58902138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611067150.XA Active CN106789168B (en) 2016-11-28 2016-11-28 Deployment method of data center server management network and rack top type switch

Country Status (1)

Country Link
CN (1) CN106789168B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107453927A (en) * 2017-09-22 2017-12-08 深圳安腾创新科技有限公司 A kind of method and system for automatically accessing the miniature data center products Centralized Monitoring of type
CN107979614A (en) * 2017-12-30 2018-05-01 杭州华为数字技术有限公司 Data packet detection method and device
WO2020113478A1 (en) * 2018-12-05 2020-06-11 北京比特大陆科技有限公司 Address information processing method and apparatus, electronic device, and storage medium
CN111953508B (en) * 2019-05-17 2023-05-26 阿里巴巴集团控股有限公司 Equipment control method and device, switch and electronic equipment
CN110932884B (en) * 2019-11-08 2022-11-29 苏州浪潮智能科技有限公司 Method and device for adding multiple networks to cloud physical machine
CN110808867B (en) * 2020-01-08 2020-04-07 深圳市乙辰科技股份有限公司 Network equipment configuration method and network equipment system
CN114679634B (en) * 2020-12-24 2024-10-01 广州视源电子科技股份有限公司 Control system of interaction panel and interaction panel
CN112751949A (en) * 2020-12-28 2021-05-04 紫光云技术有限公司 Method for self-adaptive distributing management network address
CN113162944B (en) * 2021-04-29 2022-08-02 杭州安恒信息安全技术有限公司 Network communication method, device and equipment for security operation platform and security component
CN113794588A (en) * 2021-08-30 2021-12-14 携程旅游信息技术(上海)有限公司 Method, system, electronic device and medium for synchronizing port information of network device
CN115333932B (en) * 2022-08-11 2024-04-19 北京蔚领时代科技有限公司 Automatic networking method of server, storage medium and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612538A (en) * 2003-10-30 2005-05-04 华为技术有限公司 Method for binding hardware address and port for Ethernet two-hier exchange equipment
CN1738213A (en) * 2004-08-18 2006-02-22 华为技术有限公司 Method for preventing error connection
CN101980490A (en) * 2010-12-01 2011-02-23 杭州华三通信技术有限公司 Link establishment method for virtual switch and physical switch and device thereof
CN102571450A (en) * 2012-02-16 2012-07-11 华为技术有限公司 Port configuration method and device of network interface module and frame communication device
CN102710468A (en) * 2011-03-28 2012-10-03 华为技术有限公司 Customer service access method and system and access equipment
CN103220235A (en) * 2013-04-26 2013-07-24 华为技术有限公司 Distributed virtual switcher management method, relevant device and relevant system
CN103441935A (en) * 2013-08-16 2013-12-11 北京星网锐捷网络技术有限公司 Method and device capable of automatically recognizing adjacency relation between server and access switch
CN104394223A (en) * 2014-12-03 2015-03-04 浪潮集团有限公司 Automatic rapid deployment method for large-scale computer cluster system nodes
CN105162674A (en) * 2015-10-16 2015-12-16 上海斐讯数据通信技术有限公司 Method and network card for physical machine to access to virtual network
CN105376101A (en) * 2015-12-10 2016-03-02 中国科学院信息工程研究所 Method and system for enabling physical device to be connected into virtual network
CN103281248B (en) * 2013-06-09 2016-03-30 北京星网锐捷网络技术有限公司 The discover method of network topology, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9262295B2 (en) * 2007-07-09 2016-02-16 International Business Machines Corporation Multiple configuration item status value analysis

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612538A (en) * 2003-10-30 2005-05-04 华为技术有限公司 Method for binding hardware address and port for Ethernet two-hier exchange equipment
CN1738213A (en) * 2004-08-18 2006-02-22 华为技术有限公司 Method for preventing error connection
CN101980490A (en) * 2010-12-01 2011-02-23 杭州华三通信技术有限公司 Link establishment method for virtual switch and physical switch and device thereof
CN102710468A (en) * 2011-03-28 2012-10-03 华为技术有限公司 Customer service access method and system and access equipment
CN102571450A (en) * 2012-02-16 2012-07-11 华为技术有限公司 Port configuration method and device of network interface module and frame communication device
CN103220235A (en) * 2013-04-26 2013-07-24 华为技术有限公司 Distributed virtual switcher management method, relevant device and relevant system
CN103281248B (en) * 2013-06-09 2016-03-30 北京星网锐捷网络技术有限公司 The discover method of network topology, device and system
CN103441935A (en) * 2013-08-16 2013-12-11 北京星网锐捷网络技术有限公司 Method and device capable of automatically recognizing adjacency relation between server and access switch
CN104394223A (en) * 2014-12-03 2015-03-04 浪潮集团有限公司 Automatic rapid deployment method for large-scale computer cluster system nodes
CN105162674A (en) * 2015-10-16 2015-12-16 上海斐讯数据通信技术有限公司 Method and network card for physical machine to access to virtual network
CN105376101A (en) * 2015-12-10 2016-03-02 中国科学院信息工程研究所 Method and system for enabling physical device to be connected into virtual network

Also Published As

Publication number Publication date
CN106789168A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106789168B (en) Deployment method of data center server management network and rack top type switch
US8046627B2 (en) Server failover control method and apparatus and computer system group
EP2617157B1 (en) Performing partial subnet initialization in a middleware machine environment
EP3287906B1 (en) Method, system, and apparatus for cloud application redundancy
CN110301104B (en) Optical line terminal OLT equipment virtualization method and related equipment
CN114721764A (en) Service arrangement and deployment method, system, network equipment and storage medium
US7389367B2 (en) Method of managing I/O interface modules in a computer system
CN104346317B (en) Shared resource access method and device
US20100036948A1 (en) Zoning scheme for allocating sas storage within a blade server chassis
US20090063662A1 (en) Arrangements for Auto-Merging Processing Components
CN116501681B (en) CXL data transmission board card and method for controlling data transmission
CN105718785A (en) Authentication-Free Configuration For Service Controllers
CN110572439A (en) cloud monitoring method based on metadata service and virtual forwarding network bridge
US20070033366A1 (en) Method, apparatus, and computer program product for reconfiguring a storage area network to support the execution of an application automatically upon execution of the application
CN105095103A (en) Storage device management method and device used for cloud environment
CN104753707A (en) System maintenance method and network switching equipment
CN114124714B (en) Multi-level network deployment method, device, equipment and storage medium
CN112995335B (en) Position-aware container scheduling optimization system and method
CN118193408A (en) Memory resource access system and method, storage medium and electronic equipment
CN115348126A (en) Network target range entity equipment access method, device and implementation system
CN102801598A (en) Method and device for constructing virtual switching system, and switching devices
US9912534B2 (en) Computer system, method for starting a server computer, server computer, management station, and use
CN104052799B (en) A kind of method that High Availabitity storage is realized using resource ring
CN118214648A (en) Dual-computer hot standby management method and computing equipment
CN107623587B (en) Network topology management system and network management method

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220208

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technologies Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221206

Address after: 518000 Huawei Headquarters Office Building 101, Wankecheng Community, Bantian Street, Longgang District, Shenzhen, Guangdong

Patentee after: Shenzhen Huawei Cloud Computing Technology Co.,Ltd.

Address before: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee before: Huawei Cloud Computing Technologies Co.,Ltd.