A method, device and medium for device management based on SDN
By using an SDN-based device management method and binding rack information to SDN controllers and alerters, efficient management of data center network devices is achieved, solving the problems of device management difficulty and cost, and improving operation and maintenance efficiency.
Patent Information
- Application Number
- CN202310590918.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-23
- Publication Date
- 2026-03-03
- Estimated Expiration
- 2043-05-23
AI Technical Summary
As the number of data centers increases, the difficulty and cost of equipment management rise sharply, and existing technologies are struggling to manage network equipment efficiently.
An SDN-based device management approach is adopted, which manages network devices through an SDN controller, sets up rack information and binds them to alerts, and uses the alerts to indicate changes in device status, enabling fast and accurate device mounting and demounting operations.
It improved the efficiency of equipment management, reduced management and labor costs, and saved on subsequent maintenance costs caused by improper management.
Smart Images

Figure CN116614371B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of SDN, specifically to an SDN-based device management method, device, and medium. Background Technology
[0002] With the popularization and development of network technology, more and more things are related to the network. In order to improve office efficiency, some companies choose to build their own data centers or small computer rooms, and the number of data centers and small computer rooms is constantly increasing.
[0003] With the increase in data centers, the number of operation and maintenance personnel and the demand for their technical skills have risen sharply, which in turn has led to a continuous increase in the difficulty and cost of equipment management. Summary of the Invention
[0004] To address the aforementioned issues, this application proposes an SDN-based device management method, comprising:
[0005] Determine the access information of network devices currently deployed in the data center that require management, and manage the network devices based on the access information through the deployed SDN controller;
[0006] Access the management system corresponding to the SDN controller, and in the management system, set the purpose category for the cabinet where the network device is located, and add the cabinet information of the cabinet under the purpose category. The cabinet information includes at least one of the following: cabinet name, number of cabinet units, cabinet size, cabinet location, maximum number of deployed devices, and purpose category.
[0007] Identify the indicator installed on the rack and control the SDN controller to establish a connection with the indicator to bind the indicator to the corresponding rack;
[0008] If a change in the status of a network device within the cabinet is detected, the SDN controller will modify the cabinet information of the corresponding cabinet based on the change in status and issue a notification through a corresponding prompt, so that staff can operate the network device with the changed status in the corresponding cabinet. The change in status includes at least one of mounting or removing from the rack.
[0009] On the other hand, this application also proposes an SDN-based device management device, including:
[0010] At least one processor; and,
[0011] A memory communicatively connected to the at least one processor; wherein,
[0012] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to perform actions such as:
[0013] Determine the access information of network devices currently deployed in the data center that require management, and manage the network devices based on the access information through the deployed SDN controller;
[0014] Access the management system corresponding to the SDN controller, and in the management system, set the purpose category for the cabinet where the network device is located, and add the cabinet information of the cabinet under the purpose category. The cabinet information includes at least one of the following: cabinet name, number of cabinet units, cabinet size, cabinet location, maximum number of deployed devices, and purpose category.
[0015] Identify the indicator installed on the rack and control the SDN controller to establish a connection with the indicator to bind the indicator to the corresponding rack;
[0016] If a change in the status of a network device within the cabinet is detected, the SDN controller will modify the cabinet information of the corresponding cabinet based on the change in status and issue a notification through a corresponding prompt, so that staff can operate the network device with the changed status in the corresponding cabinet. The change in status includes at least one of mounting or removing from the rack.
[0017] On the other hand, this application also proposes a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:
[0018] Determine the access information of network devices currently deployed in the data center that require management, and manage the network devices based on the access information through the deployed SDN controller;
[0019] Access the management system corresponding to the SDN controller, and in the management system, set the purpose category for the cabinet where the network device is located, and add the cabinet information of the cabinet under the purpose category. The cabinet information includes at least one of the following: cabinet name, number of cabinet units, cabinet size, cabinet location, maximum number of deployed devices, and purpose category.
[0020] Identify the indicator installed on the rack and control the SDN controller to establish a connection with the indicator to bind the indicator to the corresponding rack;
[0021] If a change in the status of a network device within the cabinet is detected, the SDN controller will modify the cabinet information of the corresponding cabinet based on the change in status and issue a notification through a corresponding prompt, so that staff can operate the network device with the changed status in the corresponding cabinet. The change in status includes at least one of mounting or removing from the rack.
[0022] The SDN-based device management method proposed in this application can bring the following beneficial effects:
[0023] By setting up an SDN controller, operations and maintenance personnel can quickly and accurately put on and take off the corresponding network devices when operating and maintaining the data center. Through classification and management, the subsequent maintenance costs caused by improper management are saved, and the labor costs of managing network devices are also reduced. Attached Figure Description
[0024] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0025] Figure 1 This is a flowchart illustrating the SDN-based device management method in an embodiment of this application.
[0026] Figure 2 This is a schematic diagram of an SDN-based device management device in an embodiment of this application. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0028] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0029] like Figure 1 As shown, this application provides an SDN-based device management method, including:
[0030] S101: Determine the access information of network devices currently deployed in the data center that require management, and manage the network devices according to the access information through the deployed SDN controller.
[0031] A data center contains multiple network devices, and these devices that require management are managed together. A data center can also refer to a server room, network equipment center, etc.
[0032] Specifically, identify the network devices currently deployed within the data center that require management. These network devices include switches, servers, and other network equipment. Obtain access information for these network devices, including server management addresses and device management information.
[0033] Deploy an SDN controller, an application in Software Defined Networking (SDN) responsible for flow control to ensure intelligent networking. The SDN controller is based on protocols such as OpenFlow, allowing servers to tell switches where to send data packets.
[0034] The SDN controller establishes physical links and a management network based on access information. Physical links refer to passive, point-to-point physical connections, while the management network refers to the SDN network. Initial configuration is performed on network devices to enable the SDN controller to communicate with the managed network devices using appropriate protocols, such as SSH and SNMP. At this point, network device management can be achieved through communication between the SDN controller and the network devices.
[0035] Furthermore, during the management process, the system corresponding to the SDN controller is accessed. This system is a software management system containing a visual operation interface, through which access, operation, and management are achieved. Device management information for the network devices is entered into the management system, including the management network IP, management username and password, and SNMP configuration.
[0036] After the SDN controller verifies the device management information through the corresponding protocol and the verification is successful, the device management information is saved to the SDN controller's database so that the SDN controller can control the network (i.e., the SDN network) where the network device is located based on the device management information.
[0037] In addition, by enabling the log service function through the SDN controller, the log service function can be configured for network devices via command line during the management of network devices. This allows the network devices to report their own log information to the SDN controller, which in turn can issue alarms based on the log information.
[0038] S102: Access the management system corresponding to the SDN controller, and in the management system, set the purpose category for the cabinet where the network device is located, and add the cabinet information of the cabinet under the purpose category. The cabinet information includes at least one of the following: cabinet name, number of cabinet units, cabinet size, cabinet location, maximum number of deployed devices, and purpose category.
[0039] The usage categories can be various and are set based on requirements. Rack U is a unit representing the external dimensions of a server; the rack U number can be understood as the rack's height information. Rack location can be set according to the layout within the data center, with corresponding standards set; for example, it could be rack number 1 in area A. The maximum number of deployed devices refers to the maximum number of devices that can be mounted within that rack.
[0040] S103: Determine the indicator installed on the rack, and control the SDN controller to establish a connection with the indicator to bind the indicator to the corresponding rack.
[0041] Specifically, a display unit is located on one side of the rack. This unit includes multiple vertically arranged indicator lights, the number of which matches the rack's unit number (U). Each indicator light corresponds to a specific height within the rack's unit. The indicator lights can emit various colors based on control settings. The display unit can be an LED strip, in which case the indicator lights are individual LEDs. The equipment is mounted on the rack at the mounting lugs or other vertical locations using methods such as adhesive or drilling.
[0042] The system establishes a connection between the SDN controller and the indicator. The LED light strip consists of multiple multi-color LEDs controlled by processes within the SDN controller. The LED light strip is connected to the server where the SDN controller is located via an RS232 serial interface.
[0043] The system activates the indicator and uses the SDN controller to illuminate any indicator lights that have not completed binding in a specified color (e.g., yellow), marking these lights in the management system. Based on the actual location of the marked indicator light, the system binds the light to the rack U located at that location. Once bound, the indicator light is made available, and it is periodically checked for a first preset duration (e.g., 10 seconds). If no signal is detected from the indicator light within a specified number of cycles (e.g., 3 cycles), the indicator light is marked as offline, and an alarm is issued.
[0044] S104: Determine that a network device in the cabinet has a status change. Based on the status change, modify the cabinet information of the corresponding cabinet through the SDN controller and issue a prompt through the corresponding prompt device so that the staff can operate the network device with the status change in the corresponding cabinet. The status change includes at least one of racking up and racking down.
[0045] Specifically, when a network device in the rack experiences a status change, and the status change is to be racked, the racking detection function is executed.
[0046] Obtain and enter the device management information of the first network device to be racked into the management system. The device management information includes the device IP address, management username, and password. Based on the device management information of the first network device and the pre-set location plan, allocate racking locations for the first network device.
[0047] The indicator light corresponding to the shelf location is illuminated in a first color (e.g., yellow) to guide the user to the shelf location for shelf placement. The first network device is periodically checked for a first preset duration (e.g., 10 seconds). After confirming that the first network device has been properly shelfd and that its device management information has been entered, the indicator light is switched to a second color (solid green) to indicate to the user that shelf placement is complete.
[0048] Furthermore, when allocating rack locations, the management system activates an automatic allocation function. From the already created usage categories, the system selects the usage category corresponding to the first network device and enters the corresponding racking information, including quantity and rack unit (U). A database query is used to retrieve unused racks within the usage category that match the racking information, and these are displayed to the user. Among all racks, unused racks are first searched, and then vacant racks whose U and quantity both match are selected as the matching racks.
[0049] Once the user has confirmed the matching cabinet, the racking location is determined based on the location of the matching cabinet, thus completing the racking location allocation.
[0050] On the other hand, when it is determined that the network device in the cabinet has a status change, and the status change is to be removed from the rack, the second network device that needs to be removed from the rack is identified, and the rack location and rack U corresponding to the second network device are determined. Based on the rack location and rack U, the bound indicator light is determined, and the color of the bound indicator light is changed to a third color (for example, blue) to guide the user to the location of the corresponding indicator light to remove the device.
[0051] The second network device is periodically checked for a second preset duration (e.g., 30 seconds). Once the check confirms that the second network device has been completely removed from the network, the indicator light is turned off to notify the user that the removal is complete, and the corresponding changes are made in the database of the SDN controller.
[0052] For example, if the device cannot connect to the second network device through device management information within ten cycles, it is determined that the device has been delisted. The SDN controller then controls the LED strip at the corresponding location to turn off the LEDs, indicating that there is no device at that location. The SDN controller database is then modified to mark the location as idle and without device, which can be used for subsequent automatic allocation.
[0053] In addition, during the management of switches and server devices, the SDN controller will configure a log service function for each managed network device via command line. This allows the network device to report its own logs to the SDN controller. The SDN controller will determine the operating status of the devices in the managed network based on the log information. When the device reports an alarm message in its log, and the alarm message level is higher than the set alarm threshold, the SDN controller will control the corresponding indicator light strip to turn red based on the location information of the alarm device. Users can discover device alarms or quickly locate the alarm device based on the indicator color, saving troubleshooting time and improving operation and maintenance efficiency.
[0054] In one embodiment, after managing the network devices, the SDN controller obtains the port information, port usage status, and link topology of the network devices (using switches as an example). After completing the SDN deployment, SDN-controlled cable indicator lights (a type of indicator, which can also be LED strips) are set up at the data center cable storage locations. Cables are categorized according to their purpose, type, length, and other attributes, and then placed according to these attributes. The SDN-controlled indicator lights are then installed at each category storage location, completing the cable indicator light deployment.
[0055] After the maintenance personnel complete the deployment of the cable indicator lights, they should fill in the number of unused cables under the current category in the SDN controller, set the required parameters such as the prompt timeout time and statistical delay, and then the indicator lights can be activated.
[0056] As mentioned above, device uploading and deloading detection is required. At this time, the SDN controller will calculate the number of cables currently in use based on the port and link information obtained from the switch. When a port in use becomes disconnected, and the disconnection time exceeds the statistical delay, the SDN controller will determine that the cable for that port can be unplugged, thus confirming that the device has been deloaded. It will then match the cable classification and storage location based on the cable attributes obtained from the switch, increasing the number of corresponding storage location indicator lights to inform maintenance personnel of the number of cables that should be stored there.
[0057] When expanding equipment or adding new connections to the topology within the environment, users can drag and drop cables between switches and select ports to add links in the graphical topology (visual page) provided by the SDN controller's web interface. The SDN controller will determine the link attributes based on the selected switch port type, select currently available links according to the attributes, inform maintenance personnel of the available cables, and display the number of cables available on the corresponding indicator light. Users can preset the current number of cables with different attributes in the SDN controller. The SDN controller will calculate the current cable usage in the data center based on the number of cables available and provide corresponding prompts when the number of cables is insufficient. If the cable access is not confirmed in the SDN controller interface, the access prompt for the corresponding cable will no longer be displayed after the cable access information prompt timeout, facilitating subsequent management.
[0058] After completing the above steps, the SDN controller's management system's visual page can be accessed via PC. This page displays statistical switch management information, including the SDN controller's reachable management network IP, management username and password, and SNMP-related configurations. By entering this management information into the SDN management page, SDN will verify the information via SSH or SNMP. Once verified, the switch management information will be saved to its database. In subsequent use, SDN will use this saved device management information to perform network control and obtain various switch information. At this point, the SDN controller has completed the management of the switches within the data center.
[0059] After managing the switches, the SDN controller connects to each successfully managed switch via SNMP to obtain its port information and port status, and uses LLDP to obtain the link relationships between the switch and other managed switches. Port information is used to determine the number of ports on the switch, supported port speeds, and port types (optical / electrical), which can be used for subsequent port attribute matching or adding topology links. Port usage status determines whether a port on the switch is currently in use or in an abnormal state. If a port is in use, the controller obtains the cable information currently used on that port, including cable speed, cable brand, cable length, and cable attributes. The SDN controller saves this information to the SDN database for subsequent cable management operations. If a port is found to be in an abnormal state, special handling is performed during subsequent cable management. Link relationships are used by the SDN controller to obtain the overall network topology information. Based on the topology connections of all switches in the network, a graphical topology is generated that can be operated by maintenance personnel on the SDN web interface for link management and other operations.
[0060] While deploying LED light strips, the SDN controller can categorize cables according to their purpose, type, length, and brand. Before enabling cable access prompts, maintenance personnel need to determine the classification mode in the above-mentioned classification attributes and record the quantity of currently existing cables by category in the SDN controller's cable management module according to the actual situation. Purpose is a custom attribute, meaning maintenance personnel can customize the attribute name based on the actual purpose. This customization allows for the classification of purpose categories, and the selection of attributes matching the purpose from standard attributes (type, length, brand), such as 10GSFP+-LC / 10M / abcd. After determining a purpose, a category is created, and the SDN controller will classify cables for subsequent steps based on the attributes contained within that category. Type, length, and brand are all standard attributes. After the maintenance personnel select this attribute, the SDN controller will provide multiple preset parameter options under this attribute, such as type including 1GSFP-LC / 10GSFP+-LC / 40GQSFP+-LC / other, etc. After the user selects this attribute, a category will be created. The SDN controller will classify the cables for subsequent steps according to the attributes contained in this category.
[0061] If the cable attributes are not included in the SDN controller's preset parameters, they are stored in other categories for managing that type of cable.
[0062] After creating all the necessary operational categories (i.e., usage categories), you need to deploy a number of racks or cabinets (no specific size or specifications required) in the data center or designated area to store and access cables. Install the same number of indicator lights next to the cabinets in prominent locations, completing the circuit connections and other cabling work. After the indicator lights are installed, SDN will control the lights to randomly display different numbers based on the number installed, ranging from 1 to 1000. Afterward, operations personnel can bind the numbers to the created categories in the SDN controller web interface according to the actual placement. The indicator lights will then display the category name corresponding to the corresponding cabinet category, thus completing the cable indicator light deployment.
[0063] After the cable indicator lights are deployed, maintenance personnel need to add the current cable quantity in each locker for each category in the SDN controller web interface, based on the actual organization situation. This will provide a cable availability indicator when retrieving cables later. After adding the cable quantity and availability, it is also necessary to set the timeout period and statistical delay for the indicator message. This ensures that if the user does not confirm the information within the set time after a cable access notification is generated, the information will be automatically confirmed after the set time, and the access quantity generated by that message will no longer be displayed on the indicator light.
[0064] To avoid statistical errors caused by plugging, unplugging, or intermittent disconnection of cables connected to the switch, the SDN controller will obtain the corresponding log information after a cable is connected / unplugged from the switch, and wait for the statistical delay based on the date and time. Since each cable has a different SN number to identify it, the SDN controller will determine whether the connected or unplugged cable is the same cable based on the SN number, and use this as a basis for different judgments.
[0065] If the cable unplugged after the statistical delay ends and is still not connected to another port, there are two scenarios. First, based on the cable's attributes, if there is no demand for that cable category, the storage quantity is increased by 1, a storage entry is generated, and the user is prompted to store the cable there. If the cable is reconnected or connected to another switch during the statistical delay, no prompt is generated. Second, based on the cable's attributes, if there is demand for that cable category, the storage quantity is increased by 1, and the quantity in the oldest created storage demand entry under that category is also increased by 1. If the cable is unplugged during the statistical delay, no prompt is adjusted.
[0066] If a newly connected cable is not unplugged after the statistical delay ends, there are two scenarios: First, based on the cable's attributes, if there is a demand for that cable category, the number of cables used is reduced by 1, and the number of cables in the oldest created demand information within that category is also reduced by 1. If the cable is unplugged within the statistical delay, no notification message is adjusted. Second, based on the cable's attributes, if there is no demand for that cable category, a notification message indicating that the cable in that category has been used is generated, and the current stored or used quantity is not adjusted. If the cable is unplugged within the statistical delay, no notification message is adjusted.
[0067] The default statistical delay is 30 seconds, with a setting range of 10 seconds to 30 minutes. This delay helps prevent statistical errors caused by short-term cable plugging / unplugging or intermittent disconnections. After completing the above settings, the link access prompt function can be enabled.
[0068] After the link access indication function is enabled, the indication light will light up. The SDN controller manages the characters displayed on the indication light, and the display format is category name and storage / retrieval quantity. The calculation method for the indication light content can include: when there is no retrieval demand under the same category, the result is the category name and storage quantity. When there is a retrieval demand under the same category, it is necessary to determine the storage and retrieval quantities.
[0069] When the number of cables to be stored exceeds the number to be retrieved, the result will be displayed as category name and stored quantity (stored quantity - retrieved quantity). When the number of cables to be retrieved under the same category exceeds the number to be retrieved, the result will be displayed as category name and retrieved quantity (retrieved quantity - stored quantity). When there is no retrieval requirement under the same category and the stored quantity is zero or the stored quantity is the same as the retrieved quantity, only the category name will be displayed to indicate the purpose of the locker.
[0070] When a user enables the link hinting function, the SDN controller uses port information, port usage status, and the topology of link relationships between adjacent switches previously obtained via SSH or SNMP protocols to match the selected attributes under the created categories, thus determining the number of cables in use under each category. Since both ends of a cable have the same serial number (SN) to identify it, when information about a cable with the same SN is obtained, that cable will not be counted twice during the calculation.
[0071] When a port on a switch goes offline, a corresponding log is generated and sent to the SDN controller. The log information includes the reason for the port disconnection. Upon receiving the log information, the SDN controller queries the pre-configured logs from various vendors. If the reason for the port disconnection is found to be a cable being unplugged, a delay calculation is performed based on the disconnection time recorded in the log. If the reason for the disconnection is a fault or a command to shut down the port, no delay calculation is performed, meaning no subsequent cable access notifications are provided.
[0072] According to the statistical delay calculation rules, when the port disconnection time exceeds the statistical delay, the number of accesses will be calculated. After the SDN controller completes the calculation, it will adjust the content displayed on the indicator light.
[0073] When an unused port on a switch becomes connected, a corresponding log is generated and sent to the SDN controller. After receiving the log information, the SDN controller will obtain the cable information (SN number) connected to the port via the SNMP protocol and save the corresponding cable information to the SDN controller database. After the statistical delay ends, the display content of the light board will be adjusted according to the calculation rules, and various prompt information entries in the SDN controller will be adjusted.
[0074] When expanding the number of devices or adding new connections to the topology within the environment, SDN will update the saved topology information after the new devices are added to the management system. Users can view the expanded graphical topology on the SDN controller web interface, add links between switches by dragging the mouse in the graphical interface, and specify the ports between the two switches connected at both ends of the cable according to the actual plan, thus creating a cable utilization plan.
[0075] When creating a cable allocation plan, the SDN controller will automatically select a suitable cable category from existing cable types based on the selected port type. Users can also manually select cable categories. After adding all links according to the actual plan, a cable allocation plan will be created. The SDN controller will generate cable allocation prompts based on the cable type and usage quantity for each category in the plan. If the cable reserve is insufficient, an insufficient reserve alarm will also be issued. After generating the cable allocation prompt, the current number of cables to be allocated will be calculated according to the calculation method of the prompt light content. The SDN controller will then adjust the content displayed on the prompt light. Users can use the cable allocation quantity displayed on the prompt light to allocate the correct number of cables when expanding capacity or changing the topology.
[0076] The insufficient cable reserve alarm is used so that when a user receives the alarm message, they can add the corresponding type of cable to the locker with the alarm in the category, and click on the reserve replenishment in the alarm message in the SDN controller, fill in the actual number of cables placed, the alarm message will be cleared, and the SDN controller will update the cable reserve record under that category with the number of replenished cables filled in.
[0077] Users can manually confirm the generated storage or retrieval information in the SDN controller web interface. Confirmed information will no longer be included in the storage and retrieval quantity calculation. The manual confirmation method is used to solve the problem of abnormal cable statistics in certain special scenarios.
[0078] Based on the user-defined timeout period, when the cable access information is generated after the timeout period, the cable access information will be automatically confirmed and the access prompt will be cleared, facilitating subsequent cable maintenance and management. The default timeout period is 24 hours, with a setting range of 1 hour to 72 hours.
[0079] like Figure 2 As shown in the illustration, this application also provides an SDN-based device management device, including:
[0080] At least one processor; and,
[0081] A memory communicatively connected to the at least one processor; wherein,
[0082] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to perform actions such as:
[0083] Determine the access information of network devices currently deployed in the data center that require management, and manage the network devices based on the access information through the deployed SDN controller;
[0084] Access the management system corresponding to the SDN controller, and in the management system, set the purpose category for the cabinet where the network device is located, and add the cabinet information of the cabinet under the purpose category. The cabinet information includes at least one of the following: cabinet name, number of cabinet units, cabinet size, cabinet location, maximum number of deployed devices, and purpose category.
[0085] Identify the indicator installed on the rack and control the SDN controller to establish a connection with the indicator to bind the indicator to the corresponding rack;
[0086] If a change in the status of a network device within the cabinet is detected, the SDN controller will modify the cabinet information of the corresponding cabinet based on the change in status and issue a notification through a corresponding prompt, so that staff can operate the network device with the changed status in the corresponding cabinet. The change in status includes at least one of mounting or removing from the rack.
[0087] This application embodiment also provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:
[0088] Determine the access information of network devices currently deployed in the data center that require management, and manage the network devices based on the access information through the deployed SDN controller;
[0089] Access the management system corresponding to the SDN controller, and in the management system, set the purpose category for the cabinet where the network device is located, and add the cabinet information of the cabinet under the purpose category. The cabinet information includes at least one of the following: cabinet name, number of cabinet units, cabinet size, cabinet location, maximum number of deployed devices, and purpose category.
[0090] Identify the indicator installed on the rack and control the SDN controller to establish a connection with the indicator to bind the indicator to the corresponding rack;
[0091] If a change in the status of a network device within the cabinet is detected, the SDN controller will modify the cabinet information of the corresponding cabinet based on the change in status and issue a notification through a corresponding prompt, so that staff can operate the network device with the changed status in the corresponding cabinet. The change in status includes at least one of mounting or removing from the rack.
[0092] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.
[0093] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0094] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0095] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0096] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0097] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0098] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0099] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0100] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0101] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0102] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A device management method based on SDN, characterized in that, include: Determine the access information of network devices currently deployed in the data center that require management, and manage the network devices based on the access information through the deployed SDN controller; Access the management system corresponding to the SDN controller, and in the management system, set the purpose category for the cabinet where the network device is located, and add the cabinet information of the cabinet under the purpose category. The cabinet information includes at least one of the following: cabinet name, number of cabinet units, cabinet size, cabinet location, maximum number of deployed devices, and purpose category. Identify the indicator installed on the rack and control the SDN controller to establish a connection with the indicator to bind the indicator to the corresponding rack; If a change in the status of a network device in the cabinet is detected, the SDN controller will modify the cabinet information of the corresponding cabinet based on the change in status and issue a prompt through the corresponding prompt device so that the staff can operate the network device with the change in status in the corresponding cabinet. The change in status includes at least one of racking up and racking down. Upon determining that a status change has occurred in the network equipment within the rack, the SDN controller updates the rack information accordingly and issues a notification via a corresponding indicator. This facilitates operations by staff on the network equipment with the status change within the rack. Specifically, this includes: If a status change is detected in the network device within the cabinet, and the status change is "listening to the rack", then the racking detection function is executed. Obtain and enter the device management information of the first network device to be racked in the management system. The device management information includes the racked device IP, management username and password. Based on the device management information of the first network device and the pre-set location plan, allocate racking positions for the first network device. The indicator light corresponding to the shelf location is controlled to illuminate in a first color to guide the user to the shelf location for shelf placement. The first network device is periodically checked for a first preset duration. After the check confirms that the first network device has been successfully installed and the device management information of the first network device has been entered, the indicator light is switched to illuminate in a second color to indicate to the user that the installation has been completed. Based on the device management information of the first network device and the pre-set location plan, a rack location is allocated to the first network device, specifically including: In the management system, the automatic allocation function is activated; Select the usage category corresponding to the first network device in the already created usage category, and determine the corresponding racking information for the first network device, including quantity and rack U; By querying the database, unused cabinets under the stated purpose category that match the listed information are obtained and displayed to the user; Once it is confirmed that the user has confirmed the matched cabinet, a racking location is allocated to the first network device based on the location of the matched cabinet; Upon determining that a status change has occurred in the network equipment within the rack, the SDN controller updates the rack information accordingly and issues a notification via a corresponding indicator. This facilitates operations by staff on the network equipment with the status change within the rack. Specifically, this includes: It is determined that the network device in the cabinet has undergone a status change, and the status change is that it has been removed from the rack; Identify the second network device that needs to be removed from the rack, and determine the rack location and rack U corresponding to the second network device. Based on the rack location and rack U, determine the associated indicator light and control the color of the associated indicator light to change to a third color to guide the user to the location of the corresponding indicator light for removal. The second network device is periodically checked for a second preset duration. Once the check confirms that the second network device has been completely removed from the network, the indicator light is turned off to notify the user that the removal is complete, and the corresponding changes are made in the database of the SDN controller.
2. The method according to claim 1, characterized in that, Determine the access information of network devices currently deployed within the data center that require management, and manage these network devices based on the access information using the deployed SDN controller. Specifically, this includes: Identify the network devices currently deployed within the data center that require management, including at least one of switches and servers; Obtain access information for the network device, including server management address and device management information; Deploy an SDN controller, and through the SDN controller, build physical links and management networks based on the access information, and perform initial configuration on the network devices so that the SDN controller can communicate with the network devices that need to be managed based on corresponding protocols, including at least one of SSH protocol and SNMP protocol; The SDN controller communicates with the network device to complete the management of the network device.
3. The method according to claim 2, characterized in that, The management of the network device is accomplished through communication between the SDN controller and the network device, specifically including: Access the management system corresponding to the SDN controller, and enter the device management information of the network device into the management system. The device management information includes the management network IP, management username and password, and SNMP configuration. After the SDN controller verifies the device management information through the corresponding protocol, it saves the device management information to the SDN controller's database so that the SDN controller can control the network to which the network device is located based on the device management information.
4. The method according to claim 1, characterized in that, After managing the network device based on the access information, the method further includes: By enabling the log service function through the SDN controller, the network devices can be configured with the log service function via command line during the management of the network devices. This enables the network devices to report their log information to the SDN controller, thereby allowing the SDN controller to issue alarms based on the log information.
5. The method according to claim 1, characterized in that, The system identifies the indicator installed on the rack and controls the SDN controller to establish a connection with the indicator, thereby binding the indicator to the corresponding rack. Specifically, this includes: A prompter is located on one side of the rack. The prompter includes multiple vertically arranged indicator lights. The number of indicator lights is the same as the number of rack U-shaped units. Each indicator light corresponds to a height position of the rack U-shaped unit. The indicator lights can emit multiple colors based on control. Control the establishment of a connection between the SDN controller and the indicator; The indicator is activated, and the SDN controller causes the indicator light that has not completed binding to light up with a specified color, and marks the indicator light that has not completed binding. Based on the actual location of the marked indicator light, the indicator light is bound to the cabinet U located at that actual location in the management system; Once the indicator light is bound, it will be turned into an available state. The indicator light will be checked periodically for a first preset duration. If no signal is detected from the indicator light within a specified number of periods, the indicator light will be marked as offline and an alarm will be issued.
6. An SDN-based device management device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to perform actions such as: Determine the access information of network devices currently deployed in the data center that require management, and manage the network devices based on the access information through the deployed SDN controller; Access the management system corresponding to the SDN controller, and in the management system, set the purpose category for the cabinet where the network device is located, and add the cabinet information of the cabinet under the purpose category. The cabinet information includes at least one of the following: cabinet name, number of cabinet units, cabinet size, cabinet location, maximum number of deployed devices, and purpose category. Identify the indicator installed on the rack and control the SDN controller to establish a connection with the indicator to bind the indicator to the corresponding rack; If a change in the status of a network device in the cabinet is detected, the SDN controller will modify the cabinet information of the corresponding cabinet based on the change in status and issue a prompt through the corresponding prompt device so that the staff can operate the network device with the change in status in the corresponding cabinet. The change in status includes at least one of racking up and racking down. Upon determining that a status change has occurred in the network equipment within the rack, the SDN controller updates the rack information accordingly and issues a notification via a corresponding indicator. This facilitates operations by staff on the network equipment with the status change within the rack. Specifically, this includes: If a status change is detected in the network device within the cabinet, and the status change is "listening to the rack", then the racking detection function is executed. Obtain and enter the device management information of the first network device to be racked in the management system. The device management information includes the racked device IP, management username and password. Based on the device management information of the first network device and the pre-set location plan, allocate racking positions for the first network device. The indicator light corresponding to the shelf location is controlled to illuminate in a first color to guide the user to the shelf location for shelf placement. The first network device is periodically checked for a first preset duration. After the check confirms that the first network device has been successfully installed and the device management information of the first network device has been entered, the indicator light is switched to illuminate in a second color to indicate to the user that the installation has been completed. Based on the device management information of the first network device and the pre-set location plan, a rack location is allocated to the first network device, specifically including: In the management system, the automatic allocation function is activated; Select the usage category corresponding to the first network device in the already created usage category, and determine the corresponding racking information for the first network device, including quantity and rack U; By querying the database, unused cabinets under the stated purpose category that match the listed information are obtained and displayed to the user; Once it is confirmed that the user has confirmed the matched cabinet, a racking location is allocated to the first network device based on the location of the matched cabinet; Upon determining that a status change has occurred in the network equipment within the rack, the SDN controller updates the rack information accordingly and issues a notification via a corresponding indicator. This facilitates operations by staff on the network equipment with the status change within the rack. Specifically, this includes: It is determined that the network device in the cabinet has undergone a status change, and the status change is that it has been removed from the rack; Identify the second network device that needs to be removed from the rack, and determine the rack location and rack U corresponding to the second network device. Based on the rack location and rack U, determine the associated indicator light and control the color of the associated indicator light to change to a third color to guide the user to the location of the corresponding indicator light for removal. The second network device is periodically checked for a second preset duration. Once the check confirms that the second network device has been completely removed from the network, the indicator light is turned off to notify the user that the removal is complete, and the corresponding changes are made in the database of the SDN controller.
7. A non-volatile computer storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are set as follows: Determine the access information of network devices currently deployed in the data center that require management, and manage the network devices based on the access information through the deployed SDN controller; Access the management system corresponding to the SDN controller, and in the management system, set the purpose category for the cabinet where the network device is located, and add the cabinet information of the cabinet under the purpose category. The cabinet information includes at least one of the following: cabinet name, number of cabinet units, cabinet size, cabinet location, maximum number of deployed devices, and purpose category. Identify the indicator installed on the rack and control the SDN controller to establish a connection with the indicator to bind the indicator to the corresponding rack; If a change in the status of a network device in the cabinet is detected, the SDN controller will modify the cabinet information of the corresponding cabinet based on the change in status and issue a prompt through the corresponding prompt device so that the staff can operate the network device with the change in status in the corresponding cabinet. The change in status includes at least one of racking up and racking down. Upon determining that a status change has occurred in the network equipment within the rack, the SDN controller updates the rack information accordingly and issues a notification via a corresponding indicator. This facilitates operations by staff on the network equipment with the status change within the rack. Specifically, this includes: If a status change is detected in the network device within the cabinet, and the status change is "listening to the rack", then the racking detection function is executed. Obtain and enter the device management information of the first network device to be racked in the management system. The device management information includes the racked device IP, management username and password. Based on the device management information of the first network device and the pre-set location plan, allocate racking positions for the first network device. The indicator light corresponding to the shelf location is controlled to illuminate in a first color to guide the user to the shelf location for shelf placement. The first network device is periodically checked for a first preset duration. After the check confirms that the first network device has been successfully installed and the device management information of the first network device has been entered, the indicator light is switched to illuminate in a second color to indicate to the user that the installation has been completed. Based on the device management information of the first network device and the pre-set location plan, a rack location is allocated to the first network device, specifically including: In the management system, the automatic allocation function is activated; Select the usage category corresponding to the first network device in the already created usage category, and determine the corresponding racking information for the first network device, including quantity and rack U; By querying the database, unused cabinets under the stated purpose category that match the listed information are obtained and displayed to the user; Once it is confirmed that the user has confirmed the matched cabinet, a racking location is allocated to the first network device based on the location of the matched cabinet; Upon determining that a status change has occurred in the network equipment within the rack, the SDN controller updates the rack information accordingly and issues a notification via a corresponding indicator. This facilitates operations by staff on the network equipment with the status change within the rack. Specifically, this includes: It is determined that the network device in the cabinet has undergone a status change, and the status change is that it has been removed from the rack; Identify the second network device that needs to be removed from the rack, and determine the rack location and rack U corresponding to the second network device. Based on the rack location and rack U, determine the associated indicator light and control the color of the associated indicator light to change to a third color to guide the user to the location of the corresponding indicator light for removal. The second network device is periodically checked for a second preset duration. Once the check confirms that the second network device has been completely removed from the network, the indicator light is turned off to notify the user that the removal is complete, and the corresponding changes are made in the database of the SDN controller.
Citation Information
Patent Citations
Network equipment configuration method, cabinet, network management system and network configuration system
CN114363166A
Data center cabinet management method and device and electronic equipment
CN115202980A