Configuration method and device of high-performance computing network, electronic equipment, storage medium and computer program product

Through the automated configuration method, network configuration information is sent to the subnet manager using the network management module, which solves the inefficiency problem caused by the dependence of manual operations on traditional high-performance computing network configuration methods, and realizes efficient network configuration and resource isolation.

CN120017498AActive Publication Date: 2025-05-16JINAN INSPUR DATA TECH CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202510491037.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-18
Publication Date
2025-05-16
Estimated Expiration
2045-04-18

AI Technical Summary

Technical Problem

Traditional high-performance computing network configuration methods rely on manual operations, resulting in low configuration efficiency, especially in a multi-tenant environment, it is difficult to achieve effective isolation and rapid allocation of resources.

Method used

By obtaining network configuration information of the high-performance computing network and sending this information to the subnet manager through the network management module, we can realize the automated configuration of the high-performance computing network.

Benefits of technology

The automated configuration of high-performance computing network is realized, the configuration efficiency is improved, and the inefficiency problem caused by manual operation in traditional methods is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120017498A_ABST
    Figure CN120017498A_ABST
Patent Text Reader

Abstract

The invention discloses a configuration method and device of a high-performance computing network, electronic equipment, a storage medium and a computer program product, and relates to the technical field of high-performance computing, and the method comprises the following steps: obtaining network configuration information of the high-performance computing network; and sending the network configuration information to a subnet manager of the high-performance computing network through a network management module of the high-performance computing network, so that the subnet manager configures the high-performance computing network according to the network configuration information, the technical problem that a traditional high-performance computing network configuration method depends on manual operation, so that the configuration efficiency is low is solved, and the technical effect of improving the configuration efficiency is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of high performance computing technology, and in particular to a configuration method and device for a high performance computing network, an electronic device, a storage medium, and a computer program product. Background Art

[0002] In recent years, with the rapid development of artificial intelligence and high-performance computing (HPC), the demand for data exchange across server nodes has increased significantly, especially when training large-scale machine learning models, which puts unprecedented high demands on network latency and throughput. Traditional Ethernet technology is unable to cope with these demands, especially when the amount of data is huge, the network becomes a bottleneck for system performance. To solve this problem, Remote Direct Memory Access (RDMA) technology came into being. Its efficient data transmission capability greatly reduces the latency of data exchange between servers and significantly improves throughput. As a specific implementation of RDMA technology, high-performance computing networks (such as InfiniBand networks) have become an ideal choice for connecting servers, storage systems, and network devices in HPC and artificial intelligence applications due to their extremely low latency and high data transmission rate.

[0003] However, with the rise of intelligent computing centers, the management and configuration of high-performance computing networks face new challenges. In order to meet the needs of high-performance computing networks in multi-tenant scenarios, cloud platforms need to support automated and isolated network configuration. Traditional high-performance computing network configuration methods rely on manual operations, which are not only inefficient, but also difficult to achieve effective isolation and rapid allocation of resources in a multi-tenant environment.

[0004] In the related technology, the traditional high-performance computing network configuration method relies on manual operation, resulting in low configuration efficiency, and no effective solution has been proposed yet. Summary of the invention

[0005] The present application provides a configuration method and device for a high-performance computing network, an electronic device, a storage medium, and a computer program product, so as to at least solve the problem that the traditional high-performance computing network configuration method in the related art relies on manual operation, resulting in low configuration efficiency.

[0006] The present application provides a configuration method for a high-performance computing network, comprising: obtaining network configuration information of the high-performance computing network; sending the network configuration information to a subnet manager of the high-performance computing network through a network management module of the high-performance computing network, so that the subnet manager configures the high-performance computing network according to the network configuration information.

[0007] The present application also provides a configuration device for a high-performance computing network, including: an acquisition module for acquiring network configuration information of the high-performance computing network; a configuration module for sending the network configuration information to a subnet manager of the high-performance computing network through a network management module of the high-performance computing network, so that the subnet manager configures the high-performance computing network according to the network configuration information.

[0008] The present application also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned methods for configuring a high-performance computing network when executing the computer program.

[0009] The present application also provides a computer-readable storage medium, in which a computer program is stored, wherein when the computer program is executed by a processor, the steps of any of the above-mentioned methods for configuring a high-performance computing network are implemented.

[0010] The present application also provides a computer program product, including a computer program, which implements the steps of any of the above-mentioned methods for configuring a high-performance computing network when the computer program is executed by a processor.

[0011] Through this application, the high-performance computing network is configured by sending network configuration information to the subnet manager through the network management module, thereby realizing the automated configuration of the high-performance computing network, improving the configuration efficiency, and solving the problem that the traditional high-performance computing network configuration method relies on manual operation, resulting in low configuration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0013] Figure 1 It is a hardware structure block diagram of a configuration method of a high performance computing network according to an embodiment of the present application;

[0014] Figure 2 is a flow chart of a method for configuring a high performance computing network according to an embodiment of the present application;

[0015] Figure 3 is a schematic diagram of a network management module according to an embodiment of the present application;

[0016] Figure 4 is a working diagram of a network adaptation module according to an embodiment of the present application;

[0017] Figure 5 is a schematic diagram of allocating a partitioned network to a cloud host according to an embodiment of the present application;

[0018] Figure 6 It is a structural block diagram of the configuration of a high-performance computing network according to an embodiment of the present application. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0020] It should be noted that, in the description of this application, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence.

[0021] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0022] In conjunction with the specific application environment architecture or specific hardware architecture on which the execution of the configuration method of the high-performance computing network depends, the specific application environment architecture or the specific hardware architecture is described herein.

[0023] The method embodiments provided in the embodiments of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 1 is a hardware structure diagram of a configuration method of a high performance computing network according to an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned server device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0024] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the startup method of the operating system in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0025] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0026] The embodiment of the present application provides a configuration method for a high-performance computing network, and the method is described in detail in conjunction with the execution flow of the configuration method for a high-performance computing network.

[0027] The following is an explanation of the professional terms that appear in this application:

[0028] Infiniband: A high-performance network protocol standard, mainly used in high-performance computing and artificial intelligence fields;

[0029] OpenStack: The industry's mainstream open source cloud platform, providing computing, storage, networking and other services;

[0030] RDMA: Remote Direct Memory Access technology;

[0031] SR-IOV: Single Root Virtualization, a hardware device virtualization technology that can divide a single physical device into multiple virtualized devices.

[0032] In this embodiment, a configuration method for a high-performance computing network is provided, including but not limited to being applied to a cloud platform (including but not limited to an OpenStack cloud platform). Figure 2 is a flow chart of a method for configuring a high performance computing network according to an embodiment of the present application, such as Figure 2 As shown, the method includes the following steps S202-S204:

[0033] Step S202, obtaining network configuration information of the high performance computing network;

[0034] Step S204: Sending network configuration information to a subnet manager of the high-performance computing network through a network management module of the high-performance computing network, so that the subnet manager configures the high-performance computing network according to the network configuration information.

[0035] Through the above steps, the high-performance computing network is configured by sending network configuration information to the subnet manager through the network management module, thereby realizing the automatic configuration of the high-performance computing network, improving the configuration efficiency, and solving the problem that the traditional high-performance computing network configuration method relies on manual operation, resulting in low configuration efficiency.

[0036] In the embodiment provided in step S202, a network administrator or a cloud platform user may input network configuration information in an interactive interface of the cloud platform.

[0037] In the embodiment provided in step S204, the network configuration information can be sent to the network management module by calling the API interface of the network management module, and then the network configuration information is sent to the subnet manager of the high-performance computing network through the network management module of the high-performance computing network.

[0038] It should be noted that the subnet manager is OpenSM (Open Subnet Manage).

[0039] It should be noted that after receiving the network configuration information, the network management module will convert the network configuration information into OpenSM configuration through its own configuration management submodule and send it to OpenSM.

[0040] It should be noted that after receiving the network configuration information, the subnet manager will perform specific configuration operations based on the information, such as setting network partitions, allocating ports, adjusting QoS parameters, etc. During the operation, the subnet manager should also have a monitoring function to detect any anomalies or errors in the configuration process and provide timely feedback to the network management module for correction or troubleshooting.

[0041] Optionally, after completing the network configuration, the subnet manager will feed back the configuration results to the network management module, including configuration status, execution results, error information, etc. The network management module can further confirm the configuration results and perform secondary configuration or adjustment to ensure that the network configuration fully meets expectations.

[0042] The above steps and automated configuration methods not only improve configuration efficiency and reduce errors caused by manual intervention, but also make network configuration more flexible and intelligent, and can quickly respond to the personalized needs of multiple tenants in the cloud platform and changes in the network environment, thereby significantly improving the management capabilities and performance levels of high-performance computing networks.

[0043] As an optional implementation, the above step S202 includes: obtaining partition configuration information, and / or network topology information, and / or port configuration information, and / or routing configuration information, and / or service quality configuration information, and / or security configuration information of the high-performance computing network; wherein the network configuration information includes at least one of the following: partition configuration information, network topology information, port configuration information, routing configuration information, service quality configuration information, and security configuration information.

[0044] Optionally, partition configuration information: In high-performance computing networks, partition configuration information is used to define the logical separation of the network, especially in InfiniBand networks, through PKeys and GUIDs (globally unique identifiers) to achieve subnet division of the network and ensure network resource isolation between different tenants. Obtaining partition configuration information can include determining the number of subnets that need to be divided in the network, the PKey range of each subnet, and the devices and services associated with the subnet.

[0045] Network topology information: Network topology information describes the connection mode and structure of devices in the network, including the connection relationship between servers, switches and storage devices, the hierarchical structure of the network, the location and type of network devices, etc. For high-performance computing networks, topology information is crucial for optimizing data flow paths, balancing network loads, and planning network expansion.

[0046] Port configuration information: Port configuration information involves the settings of ports on network devices, such as port speed, duplex mode, flow control, error recovery capability, etc. In InfiniBand networks, it is also necessary to configure the PKey association of ports to implement port access control for network partitions.

[0047] Routing configuration information: Routing configuration information defines the transmission path of data packets in the network, including the setting of routing tables, priority allocation, failover strategies, etc. In the field of high-performance computing, optimized routing strategies can reduce network latency and improve data transmission efficiency.

[0048] Quality of Service configuration information: QoS configuration information allows network administrators to set data transmission priorities, bandwidth limits, delay sensitivity, etc. to ensure that the network resource requirements of critical tasks are met. In multi-tenant scenarios, QoS configuration can also achieve fair allocation of network resources among different tenants.

[0049] Security configuration information: Security configuration information involves network access control, encryption settings, firewall rules, etc. to protect the network from unauthorized access and potential attacks. Security configuration is particularly important in high-performance computing networks to ensure the secure transmission of sensitive data and access control of storage resources.

[0050] The above configuration information will be used in the subsequent automated configuration process to ensure that the network can be intelligently adjusted according to pre-set policies and requirements to meet various needs in high-performance computing scenarios, such as AI model training, HPC task execution, etc. By automatically obtaining and applying this configuration information, network administrators can significantly reduce the burden of manual configuration, improve the accuracy and efficiency of network configuration, and enhance the flexibility and responsiveness of the network to adapt to dynamic changes in high-performance computing environments.

[0051] In an exemplary embodiment, before the above step S204, the method further includes the following steps S11-S12:

[0052] Step S11: converting the acquired configuration information into configuration information of a target format through a network adapter module, wherein the target format is a format corresponding to an application program interface of a network management module, and the configuration information carries network configuration information;

[0053] Step S12: calling the application program interface of the network management module, and sending the configuration information in the target format to the network management module.

[0054] It should be noted that, in this embodiment, OpenSM is configured through an API interface rather than a configuration file, thereby realizing automatic configuration of the high-performance computing network.

[0055] In an exemplary embodiment, when a high-performance computing network has N partitions, each of the N partitions corresponds to a network service in the cloud platform, and the network management module is located in the cloud platform.

[0056] It should be noted that if Figure 4 As shown, the present application develops a cloud platform network interface adapter module, receives cloud platform requests, converts them into Infiniband network management module interface format data, calls the Infiniband network management module interface, and implements configuration management of the Infiniband network.

[0057] Taking the OpenStack cloud platform as an example, the cloud platform network adapter module needs to meet the ML2 writing specifications of OpenStack Neutron to implement business logic such as OpenStack network, subnet, port, etc. For example, in the concept of network isolation, Ethernet uses virtual local area network VLAN for subnet isolation, and different subnets have different VLAN IDs. Infiniband uses the concept of partitions, and different partitions are isolated using PKey. Therefore, each partition needs to correspond to an OpenStack network concept.

[0058] It should be noted that when the high-performance computing network uses N partitions, each partition is mapped as an independent network service in the cloud platform to achieve logical isolation and on-demand allocation of resources. As a core component of the cloud platform, the network management module manages these services in a unified manner and dynamically configures network parameters such as bandwidth, latency, and security policies according to user needs to ensure efficient and secure network operation in a multi-tenant environment. This architecture improves resource utilization, simplifies network management, and enhances the flexibility and responsiveness of the cloud platform.

[0059] In an exemplary embodiment, in the process of sending network configuration information to a subnet manager of a high-performance computing network through a network management module of the high-performance computing network, the method further includes: synchronizing the network configuration information to a target database through the network management module.

[0060] like Figure 3 As shown, the network configuration information can be synchronized to the target database through the data synchronization submodule in the network management module.

[0061] In the configuration and management process of the high-performance computing network, the network management module is responsible for synchronizing this configuration information to the target database while sending network configuration information to the subnet manager. This synchronization mechanism ensures the persistent storage of configuration data and the consistency of network status. Even after a system restart or failure, the network configuration can be quickly restored, avoiding the complexity of manual configuration. Database synchronization also supports auditing and backtracking, which makes it easier for administrators to track the history of configuration changes, which is especially important for troubleshooting and compliance reviews in multi-tenant environments. In addition, this mechanism reduces human errors and improves the accuracy and efficiency of network configuration through automated synchronization operations, which is the key to building a stable, efficient, and secure high-performance computing network infrastructure.

[0062] In an exemplary embodiment, the above-mentioned sending of network configuration information to a subnet manager of a high-performance computing network through a network management module of the high-performance computing network includes: sending a target configuration file to the subnet manager through the network management module, wherein the target configuration file carries the network configuration information; or sending network configuration information to the subnet manager through the network management module based on a secure remote access protocol.

[0063] It should be noted that the network management module can be connected to the subnet manager via a secure remote access protocol. Optionally, the secure remote access protocol is a Secure Shell Protocol (SSH).

[0064] It should be noted that in the process of updating the high-performance computing network configuration by the network management module, sending network configuration information to the subnet manager (such as OpenSM) is a key step to achieve network status update. This process can be carried out in two ways: one is to send the target configuration file, and the other is to directly send configuration information based on the secure remote access protocol.

[0065] In the method of sending the target configuration file, the network management module will create a file containing the latest network configuration information, usually in XML or JSON format, and then transfer this configuration file to the node where the subnet manager is located through a file transfer protocol (such as SCP). The subnet manager reads and parses the file and applies the configuration to update the network status. This method is suitable for scenarios where the configuration information is relatively complex and changes frequently, and can ensure the consistency and integrity of the configuration.

[0066] Based on the secure remote access protocol (such as SSH), the network management module directly connects to the subnet manager through the network, uses the SSH protocol to encrypt and transmit network configuration information, and the subnet manager immediately updates the configuration after receiving this information. This method is more suitable for scenarios with high requirements for real-time configuration information or frequent configuration information updates, and can achieve rapid response and improve the efficiency and security of network configuration.

[0067] Through these two methods, the network management module can ensure that network configuration information is accurately and timely communicated to the subnet manager, realizing dynamic management and optimization of high-performance computing networks.

[0068] In an exemplary embodiment, the method further includes: synchronizing the network configuration data in the subnet manager to the target database through the network management module at every preset time interval.

[0069] In an exemplary embodiment, the method further includes: when a data synchronization instruction is obtained, synchronizing the network configuration data in the subnet manager to the target database through the network management module.

[0070] Optional, such as Figure 3 As shown, in order to maintain data consistency between the Infiniband network management module and OpenSM, the data between the two can be synchronized regularly and manually through the data synchronization submodule in the network management module.

[0071] Optionally, to ensure the consistency and persistence of the configuration data of the high-performance computing network between the cloud platform and the subnet manager, the network management module implements a regular and on-demand data synchronization strategy. At preset time intervals, such as every hour or every day, the network management module actively extracts the latest network configuration data from the subnet manager (such as OpenSM) and synchronizes it to the target database to achieve real-time backup of the configuration data. This regular synchronization mechanism can promptly discover and correct potential differences in configuration data, ensuring that the cloud platform can quickly restore the correct network configuration state when the system is restarted or fault recovery occurs, thereby improving the stability and reliability of the system.

[0072] In addition, upon receiving a specific data synchronization instruction, the network management module will immediately start the on-demand synchronization process, and can quickly synchronize the network configuration data of the subnet manager to the target database, whether after a configuration change or manually triggered by the operation and maintenance personnel. This mechanism enhances the flexibility of network management, allowing operation and maintenance personnel to synchronize configuration data in real time according to actual needs, effectively respond to sudden changes in network status or urgent troubleshooting needs, and improve the efficiency of network management and maintenance.

[0073] By combining regular and on-demand data synchronization strategies, the network management module can not only maintain the real-time and consistency of network configuration data, but also provide a flexible response mechanism to ensure the stable operation and efficient management of high-performance computing networks in a multi-tenant environment.

[0074] In an exemplary embodiment, the method further includes: determining a network status of the high performance computing network according to the network configuration data in the target database.

[0075] It should be noted that since the data synchronization submodule supports timed and manual synchronization mechanisms, it realizes data consistency synchronization between the OpenSM configuration file and the target database. When OpenSM or underlying equipment fails, it can be automatically synchronized to the method database and then synchronized to the management platform, thereby improving the overall availability of the method.

[0076] It should be noted that determining the network status of the high-performance computing network is a key link to ensure the reasonable allocation of cloud platform resources, monitor network health and security, and optimize network performance. The network management module can accurately depict the current network topology, the configuration parameters of each subnet (partition), and the association status between the cloud host and the Infiniband network card by analyzing the network configuration data stored in the target database, so as to fully grasp the real-time status of the network.

[0077] Specifically, the network management module reads network configuration data from the target database, including but not limited to the port configuration of each Infiniband switch, PKey partition information, the allocation of SR-IOV virtual function (VF) network cards, and the connection status between the cloud host and the Infiniband network. By parsing and processing these data, the network management module can generate a network status report, which includes the current status of each network component, the validity of the configuration information, and any possible configuration conflicts or abnormalities.

[0078] Further, the determination of the network status helps the network management module to perform the following functions:

[0079] 1. Resource allocation and optimization: Based on the current network status, network resources are rationally planned and allocated, such as bandwidth, latency and other key performance indicators, to ensure the network service quality of each tenant.

[0080] 2. Fault detection and recovery: If an anomaly is found in the network status report, the problem can be quickly located and measures can be taken to recover from the fault or reallocate resources, thus reducing the impact of network interruptions on cloud platform services.

[0081] 3. Security policy implementation: Adjust security policies, such as access control lists (ACLs), based on network status to ensure the security of network communications and prevent unauthorized access or malicious attacks.

[0082] 4. Performance monitoring and tuning: By continuously monitoring the network status and collecting network performance data, such as throughput, packet loss rate, end-to-end delay, etc., network performance can be optimized to improve overall network efficiency.

[0083] 5. User service support: Based on accurate network status, provide users with customized network service support, such as dynamically adjusting network configuration to meet the computing task requirements of specific tenants, thereby improving user satisfaction.

[0084] Through the network configuration data in the target database, the network management module can accurately grasp the status of the high-performance computing network, provide dynamic, secure, and high-performance network management services for the cloud platform, and meet the complex and changeable computing needs in multi-tenant scenarios.

[0085] In an exemplary embodiment, the method further comprises the following steps S21-S22:

[0086] Step S21: when the target user applies to create a target cloud host in the target server, determine the partition of the high-performance computing network selected by the target user and obtain a target partition identifier;

[0087] Step S22: The target cloud host is scheduled through the network configuration module so that the target cloud host runs in the network environment corresponding to the target partition identifier.

[0088] It should be noted that when the target user applies to create a cloud host on the target server of the cloud platform and explicitly indicates the need to use a high-performance computing network, such as an InfiniBand network, the network partition selected by the user must be determined first. Network partition is a key concept used to isolate network traffic of different tenants in the InfiniBand network and is identified by a specific PKey. The user's partition selection is received through the user interface or API request, and then the network configuration module executes the scheduling and configuration process of the cloud host based on this target partition identification.

[0089] The above steps not only improve the automation level of cloud host creation, but also optimize the efficiency of resource allocation, ensuring that each created cloud host can obtain the required InfiniBand network resources, thereby supporting high-demand computing tasks such as artificial intelligence training and reasoning, while reducing the complexity and cost of operation and maintenance, and improving the overall service quality and user experience of the cloud platform.

[0090] In an exemplary embodiment, the target cloud host is scheduled through a network configuration module, including: scheduling a virtual network card for the target cloud host through the network configuration module; associating the network card information of the virtual network card to the partition corresponding to the target partition identifier through the network configuration module, so that the target cloud host runs in the network environment corresponding to the target partition identifier.

[0091] It should be noted that after the target user applies to create a cloud host and specifies a specific partition of the high-performance computing network, the network configuration module first schedules a virtual network card (VF) based on SR-IOV technology for the cloud host within the cloud platform. This VF network card is virtualized from the physical network card (PF) of the high-performance computing network and has independent network resources, including MAC address, IP address, and InfiniBand-specific Port GUID and Node GUID.

[0092] Next, the network configuration module associates the scheduled VF network card information, including its Port GUID and Node GUID, with the target partition identifier selected by the user. This process achieves refined control of the network access rights of the cloud host, ensures network isolation between cloud hosts of different users, and meets the strict control requirements for network resources in multi-tenant scenarios.

[0093] In an exemplary embodiment, scheduling a virtual network card for a target cloud host through a network configuration module includes: determining a virtual network card in an unmounted state from a virtual network card resource pool; and mounting the virtual network card to the target cloud host.

[0094] It should be noted that in order to ensure that the target cloud host can obtain and use the virtual network card resources of the high-performance computing network, the network configuration module executes a series of automated scheduling processes. First, the network configuration module checks the virtual network card resource pool, which contains multiple virtual function network cards (VFs) generated by the physical network card (PF) through SR-IOV technology virtualization. Each VF has independent network resources, such as MAC address, IP address, Port GUID and Node GUID, and the initial state is not mounted to any cloud host. The network configuration module screens the virtual network cards in the resource pool that are not mounted to ensure that the selected VF network card is not occupied by other cloud hosts, thereby avoiding network resource conflicts. This process may involve the evaluation of performance indicators such as the availability, network bandwidth and latency of the VF network cards in the resource pool to ensure that the target cloud host can obtain the best network access performance.

[0095] After selecting the appropriate VF network card, the network configuration module will perform the mounting operation to bind the VF network card to the target cloud host. The mounting process is usually implemented through the virtualization technology of the cloud platform. For example, in the OpenStack environment, the module will coordinate with the Nova computing service and the Neutron network service to mount the selected VF network card to the virtual machine instance of the target cloud host using PCIE pass-through or SR-IOV technology. This operation ensures that the target cloud host can directly access and utilize the network resources of the VF network card without going through an additional network stack or virtualization layer, thereby achieving efficient and low-latency network communication.

[0096] Through the above steps, the network configuration module not only provides high-performance network access capabilities for the cloud host, but also optimizes the resource allocation process, improves resource utilization, reduces operation and maintenance complexity, and provides strong network support for cloud services in a multi-tenant environment.

[0097] In an exemplary embodiment, associating the network card information of the virtual network card with the partition corresponding to the target partition identifier through the network configuration module includes the following steps S31-S32:

[0098] Step S31: Determine the port globally unique identifier corresponding to the virtual network card;

[0099] It should be noted that the Port GUID (port globally unique identifier) ​​and Node GUID (node ​​globally unique identifier) ​​corresponding to the virtual network card are pre-configured.

[0100] Step S32: scheduling the network management module through the network configuration module, so as to associate the port global unique identifier corresponding to the virtual network card with the partition corresponding to the target partition identifier through the network management module.

[0101] In an exemplary embodiment, the above step S32 includes: sending a configuration instruction to the subnet manager through the network management module, so that the subnet manager associates the port global unique identifier corresponding to the virtual network card with the partition corresponding to the target partition identifier.

[0102] It should be noted that ensuring that the virtual network card (VF) is correctly associated with the user-specified network partition in the high-performance computing network is the key to achieving multi-tenant isolation and accurate allocation of network resources. The network configuration module plays a core role in the automated configuration process and achieves this goal by working in collaboration with the network management module.

[0103] When a VF network card is assigned to the target cloud host, the network configuration module first needs to determine the port globally unique identifier (Port GUID) of the VF network card. Port GUID is a mark used to uniquely identify the device port in the InfiniBand network, which is crucial for associating the VF network card with a specific network partition.

[0104] Subsequently, the network configuration module will dispatch the network management module, which is responsible for communicating with the subnet manager (such as OpenSM) to perform specific configuration update operations. Specifically, the network management module will send configuration instructions to the subnet manager, including the Port GUID of the VF network card and the target partition identifier (such as PKey), requiring the subnet manager to update its configuration and set the selected VF network card port list (Port list) and PKey in the target partition. This operation ensures that the VF network card can only communicate in the specified network partition, achieving accurate allocation of network resources and isolation of multi-tenant networks.

[0105] To achieve this configuration update, the communication between the network management module and the subnet manager may use the SSH protocol to ensure the secure transmission of configuration instructions. After receiving the instructions, the subnet manager will update the configuration of the network partition, save the updated configuration information, and may trigger the recalculation and optimization of the network status to adapt to the new network resource allocation.

[0106] This series of automated processes not only reduces manual intervention and improves configuration efficiency, but also ensures that the high-performance computing network on the cloud platform can accurately respond to user needs and provide customized, securely isolated network environments for different tenants, supporting them to efficiently and securely perform artificial intelligence training, reasoning and other tasks. At the same time, it reduces operation and maintenance costs and improves the overall service quality and user experience of the cloud platform.

[0107] In an exemplary embodiment, the target cloud host is scheduled through the network configuration module so that the target cloud host runs in the network environment corresponding to the target partition identifier. The method also includes: when the target user requests to modify the network configuration of the network environment corresponding to the target partition identifier, determining the modification configuration information; sending the target instruction to the subnet manager through the network management module, so that the subnet manager modifies the network configuration of the partition corresponding to the target partition identifier according to the modification configuration information.

[0108] Optionally, after the target cloud host has successfully run in a specific network partition, the network management module also provides the ability to dynamically modify the network configuration to respond to the user's change requirements for the network environment. When the target user requests to adjust the configuration parameters of its network partition, such as changing the PKey or port list, the network management module will first capture this modification request, parse and determine the specific modified configuration information.

[0109] Subsequently, the network management module sends a target instruction to the subnet manager (such as OpenSM), including the details of the modified configuration information. After receiving the instruction, the subnet manager will automatically update the network configuration of the target partition to ensure that it is consistent with the user's latest needs. This dynamic configuration capability greatly improves the flexibility of cloud platform network services, allowing users to adjust the network in real time according to actual business needs, optimize network performance, meet different computing and communication scenarios, and ensure efficient use of network resources and secure isolation in a multi-tenant environment.

[0110] Through this mechanism, users can flexibly adjust the parameters of network partitions, such as increasing or decreasing the number of ports, changing PKey settings, and even re-dividing network partitions when necessary, without downtime or interruption of service. The close collaboration between the network management module and the subnet manager realizes the automation and intelligence of network configuration, providing users with an efficient and stable network management and optimization tool, and enhancing the competitiveness of the cloud platform in the fields of high-performance computing and artificial intelligence.

[0111] In an exemplary embodiment, the above step S204 includes: verifying whether each server node of the high-performance computing network has a high-performance network driver installed and whether the target server node has a subnet manager; when each server node of the high-performance computing network has a high-performance network driver installed and the target server node has a subnet manager, sending network configuration information to the subnet manager of the high-performance computing network through the network management module of the high-performance computing network.

[0112] It should be noted that when implementing the network configuration update of a high-performance computing network (such as InfiniBand), the network management module will first conduct a comprehensive check of the network environment to ensure that all server nodes have correctly installed high-performance network drivers (such as OFED), which is a necessary condition for implementing InfiniBand network functions. At the same time, the network management module will also verify whether the target server node has a subnet manager (such as OpenSM) deployed, because the subnet manager is responsible for the distribution and management of network configurations.

[0113] Once the driver installation status of the server node and the existence of the subnet manager are confirmed, the network management module will send network configuration information to the subnet manager through the API interface instead of the traditional configuration file. This information may include specific parameters such as partition configuration update, port list adjustment or PKey setting. After receiving the configuration instruction, the subnet manager will automatically update its stored network configuration and may trigger the recalculation of the network status to ensure the optimization of network performance and the accuracy of resource allocation.

[0114] This verification and configuration sending process ensures the automated execution of network configuration, avoiding the complexity and error risk of manual configuration, while improving configuration efficiency and network response speed. Through close collaboration with the subnet manager, the network management module has become the core of high-performance computing network configuration, supporting the dynamic allocation and management of network resources in multi-tenant scenarios on cloud platforms, and providing users with a flexible, efficient and secure network environment.

[0115] In an exemplary embodiment, in a multi-tenant scenario, the business needs of different tenants often differ, especially in the fields of artificial intelligence training and high-performance computing, which have extremely high requirements for network bandwidth and latency. This application proposes to introduce an intelligent algorithm to dynamically adjust the bandwidth and latency of the Infiniband network to meet the real-time needs of tenants. Specifically:

[0116] 1. Demand perception layer: Through the cloud platform's monitoring system, tenants' network usage data, including traffic, latency, packet loss rate, etc., are collected in real time, and a network demand model for each tenant is built based on this data.

[0117] 2. Intelligent algorithm module: The intelligent algorithm module based on machine learning predicts future demand changes according to the tenant's network demand model and the real-time status of network resources, dynamically adjusts network resource allocation, and optimizes bandwidth and latency.

[0118] 3. Resource reservation mechanism: Network resources are reserved for high-priority tenants to ensure that they can still obtain stable network performance when the network is busy.

[0119] 4. Real-time adjustment of network parameters: The network management module will adjust network parameters such as MTU size, transmission protocol, etc. in real time according to the output of the algorithm module to reduce latency and improve transmission efficiency.

[0120] In an exemplary embodiment, in order to further improve the effect of InfiniBand network virtualization, the SR-IOV virtualization technology can be enhanced and managed to achieve more refined virtual function (VF) network card resource allocation and performance optimization. Specifically:

[0121] 1. VF resource pool optimization: Build a VF resource pool to integrate the VF resources generated by virtualization of all physical Infiniband network cards. The resource pool will record the usage status, performance parameters and associated cloud host information of the VF, and use an adaptive algorithm for resource scheduling.

[0122] 2. VF performance monitoring and optimization: Use VF performance monitoring tools to monitor the network performance of each VF in real time, such as throughput, latency, error rate, etc., and automatically adjust VF configuration parameters such as MAC address, IP address, Port GUID, and Node GUID based on monitoring data to optimize network resource usage.

[0123] 3. Automatic recovery of VF failures: A VF failure detection mechanism is designed. When a VF fails or its performance degrades, the failed VF is automatically removed from the resource pool and new VF resources are scheduled to the affected cloud host to ensure service continuity and stability.

[0124] In an exemplary embodiment, in order to enhance the security of the network, a role-based access control (RBAC) mechanism is introduced to provide more sophisticated control over access to the multi-tenant Infiniband network. Specifically:

[0125] 1. Role definition and permission allocation: define roles for different types of tenants and administrators, such as super administrator, general administrator, tenant, etc. Each role corresponds to different network operation permissions, such as creating a network, modifying network configuration, monitoring network status, etc.

[0126] 2. Network policy execution: The network management module will execute the corresponding network policy according to the user role and operation request. For example, a normal administrator may not be able to modify the PKey settings of a network partition, while a super administrator can perform all network operations.

[0127] 3. Audit and log: Audit logs that record all network operations, including who performed what operation, when and where, and the results of the operation, provide traceability for network events and enhance security audit capabilities.

[0128] In an exemplary embodiment, in order to improve the overall operation and maintenance efficiency of the cloud platform, an Infiniband network self-diagnosis and repair system is designed to automatically detect network failures and performance bottlenecks, and provide repair suggestions or automatic repairs. Specifically:

[0129] 1. Fault detection: Integrates network fault detection algorithms to monitor the health status of the Infiniband network, such as device failures, line problems, configuration errors, etc. Once a problem is detected, an alarm is immediately generated.

[0130] 2. Performance analysis: Analyze network performance data and identify performance bottlenecks, such as network congestion and latency anomalies, to provide data support for network optimization.

[0131] 3. Self-healing mechanism: Design a network self-healing algorithm that can automatically adjust the network configuration when a network failure or performance problem is detected, such as reconfiguring Pkey, optimizing the port list, etc., to restore network performance.

[0132] In an exemplary embodiment, in order to ensure the stability and traceability of the network configuration, a version control and rollback mechanism is introduced to manage the Infiniband network configuration of the cloud platform. Specifically:

[0133] 1. Version control: Infiniband network configuration is stored in a version control system. Each configuration update will create a new version record, including the update time, updater, update content, etc., to achieve historical traceability of configuration changes.

[0134] 2. Configuration rollback: Provides a configuration rollback function. When a new configuration causes network problems, it can quickly roll back to the previous stable version to ensure the continuity of network services.

[0135] 3. Difference comparison: Develop a configuration difference comparison tool that can compare the configuration differences between two versions, helping operation and maintenance personnel to quickly locate configuration problems and perform targeted repairs.

[0136] It should be noted that the above solutions respectively focus on intelligent dynamic network adjustment, enhanced SR-IOV management, role-based network access control, self-diagnosis and repair system, and configuration version control and rollback mechanism, which comprehensively improve the performance, security and operation and maintenance efficiency of the cloud platform multi-tenant Infiniband network management method. By implementing these solutions, the cloud platform will be able to better meet the network requirements in the fields of high-performance computing and artificial intelligence, provide more stable, secure and efficient services, while reducing operation and maintenance costs and improving user experience.

[0137] In an exemplary embodiment, in a multi-tenant environment, different users and applications have different requirements for network quality of service (QoS), especially in high-performance computing and artificial intelligence scenarios, where traffic priority and scheduling are critical. This application proposes an adaptive QoS and traffic engineering solution to achieve intelligent management and optimization of traffic in Infiniband networks. Specifically:

[0138] 1. Traffic classification and marking: In the Infiniband network management module, DSCP (Differentiated Services Code Point) or similar marking mechanisms are introduced to classify and mark different types of traffic, such as training traffic, inference traffic, and management traffic.

[0139] 2. Intelligent QoS policy: Develop an AI-based QoS policy engine that can dynamically adjust network resource allocation, such as bandwidth, latency, and packet loss rate, based on network load, traffic type, and user priority, to ensure that critical applications receive the best network services.

[0140] 3. Traffic Engineering Optimization: Using TE (Traffic Engineering) technology, intelligently adjust network paths and traffic distribution to avoid network congestion and improve network resource utilization and application performance.

[0141] 4. User QoS configuration interface: In the cloud platform user interface, QoS configuration options are provided, allowing users to adjust network priority and resource allocation strategies according to their own needs.

[0142] Through adaptive QoS and traffic engineering, the cloud platform can provide higher quality network services. Especially in high-load scenarios, the network performance of key applications and services will be significantly improved, while reducing resource waste and improving overall network efficiency.

[0143] In an exemplary embodiment, the current integration of cloud storage systems and Infiniband networks is usually loose, which limits the efficiency of data processing and transmission. A deep integration solution is proposed, using the Infiniband network as a bridge to achieve high-speed, low-latency interconnection between cloud storage and computing resources. Specifically:

[0144] 1. Infiniband-aware storage: Develop an Infiniband-aware cloud storage system that enables storage devices to communicate with computing nodes directly through the Infiniband network, avoiding the transmission bottleneck of Ethernet in traditional network storage.

[0145] 2. Storage resource virtualization: Cloud storage resources are divided into multiple virtual storage partitions, which match the Infiniband network partitions to achieve storage resource isolation and on-demand allocation in a multi-tenant environment.

[0146] 3. Storage access optimization: Use RDMA (Remote Direct Memory Access) technology to optimize data storage and access processes, realize direct memory access between computing nodes and storage resources, significantly reduce data transmission latency, and improve data processing speed.

[0147] 4. Synchronization of storage and network configuration: Ensure the synchronization of cloud storage system configuration and Infiniband network configuration. For example, when the network partition configuration changes, automatically adjust the corresponding virtual storage partition settings in the storage system to maintain system consistency.

[0148] The deep integration of Infiniband and cloud storage has greatly improved data processing and transmission efficiency and reduced data access latency, which is particularly important for scenarios that require large amounts of data processing and fast data access (such as big data analysis and deep learning). At the same time, the virtualization and on-demand allocation of storage resources have improved the resource utilization of the cloud platform, reduced storage costs, and provided users with a more flexible and efficient data storage solution.

[0149] Obviously, the embodiments described above are only some embodiments of the present application, not all embodiments. In order to better understand the above method, the above process is described below in conjunction with the embodiments, but it is not intended to limit the technical solutions of the embodiments of the present application, specifically:

[0150] This application proposes a multi-tenant Infiniband network management method for a cloud platform, which can automatically configure the Infiniband network, implement a multi-tenant Infiniband network based on partitioning, provide Infiniband network card configuration for the cloud host, support tenants' artificial intelligence training, reasoning and other business scenarios, and reduce the overall cost of using the cloud platform.

[0151] The overall idea is as follows:

[0152] 1. Implement the management and configuration of infiniband network based on OpenSM, including the management and configuration of IB switches;

[0153] 2. Develop a network plug-in to connect to the OpenStack cloud platform to receive user network creation instructions and send them to the IB network through OpenSM;

[0154] 3. Cloud host network card management can provide a visual way to mount / unmount to the cloud host.

[0155] Specifically:

[0156] (1) Prerequisite: The OFED driver has been installed on each server node, and the OpenSM service is running on the corresponding server node.

[0157] (2) If Figure 3 As shown in the figure, an Infiniband network management module is developed to provide an API interface to the north and to manage and configure Infiniband network devices, network cards, and partitions to the south.

[0158] Specifically, the Infiniband network management module includes an external interface submodule, a configuration management submodule, and a data synchronization submodule, and also supports persisting the configuration to a database.

[0159] 1) External interface submodule: provides API services to the outside world, receives requests, and forwards them to the configuration management submodule;

[0160] 2) Configuration management submodule: Receive requests, convert them into OpenSM configurations and send them to OpenSM, and persist configuration information to the database, such as configuring Infiniband partitions, associating network ports with partitions, etc. Synchronization with OpenSM can be achieved by connecting to the server through the SSH protocol and sending configuration files.

[0161] 3) Data synchronization submodule: To maintain data consistency between the Infiniband network management module and OpenSM, this module is used to synchronize data between the two on a regular and manual basis.

[0162] 4) In terms of functions, the Infiniband network management module mainly supports partition configuration and port-partition association, where partition configuration is mainly Pkey configuration, and network port-partition association is mainly Port list configuration. This module can also be extended to other OpenSM configuration operations.

[0163] (3) If Figure 4 As shown, a cloud platform network interface adapter module is developed to receive cloud platform requests and convert them into Infiniband network management module interface format data, and the Infiniband network management module interface is called to realize the configuration management of the Infiniband network.

[0164] Taking the OpenStack cloud platform as an example, the cloud platform network adapter module needs to meet the ML2 writing specifications of OpenStack Neutron to implement business logic such as OpenStack network, subnet, port, etc. For example, in the concept of network isolation, Ethernet uses virtual local area network VLAN for subnet isolation, and different subnets have different VLAN IDs. Infiniband uses the concept of partitions, and different partitions are isolated using PKey. Therefore, each partition needs to correspond to an OpenStack network concept.

[0165] (4) Cloud host Infiniband network configuration module: Automatically configure the Infiniband network card for the cloud host. In this application, the cloud host Infiniband network card is implemented based on SR-IOV technology. The premise of using the method is to configure the Infiniband physical network card as multiple SR-IOV network cards in advance, and configure the Port GUID and Node GUID for each VF.

[0166] The specific process is as follows:

[0167] 1) During the configuration process, you must first schedule an available SR-IOV network card for the cloud host and mount the SR-IOV network card to the cloud host through PCIE pass-through;

[0168] 2) Call the Infiniband network management module to add the information of the above VF network card to the associated partition to realize the cloud host's support for multi-tenant Infiniband network.

[0169] Optionally, a diagram of allocating partitioned networks to cloud hosts is shown below: Figure 5 shown.

[0170] It should be noted that this application proposes a cloud platform multi-tenant Infiniband network management method, which can automatically configure the Infiniband network, implement multi-tenant Infiniband network based on partitioning, provide Infiniband network card configuration for cloud hosts, support tenants' artificial intelligence training, reasoning and other business scenarios, and reduce the overall cost of using the cloud platform. Specifically:

[0171] (1) Supports configuring OpenSM through API interfaces instead of configuration files, thereby achieving automatic configuration of Infiniband networks;

[0172] (2) Supports persisting Infiniband network configuration to the database, which improves retrieval and configuration efficiency compared to OpenSM's native file-based storage method;

[0173] (3) Supports scheduled and manual synchronization mechanisms to achieve data consistency synchronization between the OpenSM configuration file and the method database. When an OpenSM or underlying device failure occurs, it can be automatically synchronized to the method database and then synchronized to the management platform, thereby improving the overall availability of the method;

[0174] (4) Provide cloud platform docking plug-ins to map traditional Ethernet network concepts to Infiniband networks without changing the original network interface of the cloud platform, thereby reducing the workload of the method. At the same time, the scalability of the method is improved. Based on this method, it can be extended to docking heterogeneous cloud platforms such as OpenStack, AWS, Alibaba Cloud, etc. At the same time, it can be extended to docking Kubernetes based on the plug-in mechanism and to scenarios where containers use Infiniband networks.

[0175] (5) By using SR-IOV to split the physical Infiniband into multiple VFs and automatically mounting the VFs to the cloud host, the virtualization of a single physical network card device is achieved, improving resource utilization and reducing usage costs;

[0176] (6) Through automated partition configuration and associated configuration of cloud host network cards, different Infiniband partitions can be mounted on the network cards of multi-tenant cloud hosts, thereby realizing the configuration of multi-tenant Infiniband networks, meeting the needs of multi-tenant scenarios for Infiniband networks and expanding the service capabilities of the cloud platform.

[0177] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.

[0178] The embodiment of the present application also provides a configuration device for a high performance computing network. Figure 6 is a structural block diagram of a configuration of a high performance computing network according to an embodiment of the present application, such as Figure 6 As shown, the device comprises:

[0179] An acquisition module 602 is used to acquire network configuration information of a high performance computing network;

[0180] The configuration module 604 is used to send network configuration information to the subnet manager of the high-performance computing network through the network management module of the high-performance computing network, so that the subnet manager configures the high-performance computing network according to the network configuration information.

[0181] Through the above device, the high-performance computing network is configured by sending network configuration information to the subnet manager through the network management module, thereby realizing the automatic configuration of the high-performance computing network, improving the configuration efficiency, and solving the problem that the traditional high-performance computing network configuration method relies on manual operation, resulting in low configuration efficiency.

[0182] Optionally, the acquisition module 602 includes an acquisition unit for acquiring partition configuration information, and / or network topology information, and / or port configuration information, and / or routing configuration information, and / or service quality configuration information, and / or security configuration information of the high-performance computing network; wherein the network configuration information includes at least one of the following: partition configuration information, network topology information, port configuration information, routing configuration information, service quality configuration information, and security configuration information.

[0183] Optionally, the device also includes: a sending module, which is used to convert the acquired configuration information into configuration information in a target format through a network adapter module before sending the network configuration information to the subnet manager of the high-performance computing network through the network management module of the high-performance computing network, wherein the target format is a format corresponding to the application program interface of the network management module, and the configuration information carries the network configuration information; calling the application program interface of the network management module to send the configuration information in the target format to the network management module.

[0184] Optionally, the device further includes: a synchronization module for synchronizing the network configuration information to the target database through the network management module during the process of sending the network configuration information to the subnet manager of the high-performance computing network through the network management module of the high-performance computing network.

[0185] Optionally, the configuration module 604 includes a first configuration unit, which is used to send a target configuration file to the subnet manager through the network management module, wherein the target configuration file carries network configuration information; or to send network configuration information to the subnet manager through the network management module based on a secure remote access protocol.

[0186] Optionally, the synchronization module is further used to synchronize the network configuration data in the subnet manager to the target database through the network management module at every preset time interval.

[0187] Optionally, the synchronization module is further used to synchronize the network configuration data in the subnet manager to the target database through the network management module when a data synchronization instruction is obtained.

[0188] Optionally, the device further includes: a determination module, configured to determine a network status of the high performance computing network according to network configuration data in the target database.

[0189] Optionally, when the high-performance computing network has N partitions, each of the N partitions corresponds to a network service in the cloud platform, and the network management module is located in the cloud platform.

[0190] Optionally, the device also includes: a processing module, which is used to determine the partition of the high-performance computing network selected by the target user and obtain the target partition identifier when the target user applies to create a target cloud host in the target server; and schedule the target cloud host through the network configuration module so that the target cloud host runs in the network environment corresponding to the target partition identifier.

[0191] Optionally, the processing module includes a first processing unit, which is used to schedule a virtual network card for the target cloud host through the network configuration module; and associate the network card information of the virtual network card to the partition corresponding to the target partition identifier through the network configuration module, so that the target cloud host runs in the network environment corresponding to the target partition identifier.

[0192] Optionally, the first processing unit includes: a first processing sub-unit, used to determine a virtual network card that is not mounted from a virtual network card resource pool; and mount the virtual network card to a target cloud host.

[0193] Optionally, the first processing unit includes: a second processing sub-unit, used to determine the port global unique identifier corresponding to the virtual network card; schedule the network management module through the network configuration module to associate the port global unique identifier corresponding to the virtual network card with the partition corresponding to the target partition identifier through the network management module.

[0194] Optionally, the second processing sub-unit is used to associate the port globally unique identifier corresponding to the virtual network card with the partition corresponding to the target partition identifier in the following manner: sending a configuration instruction to the subnet manager through the network management module, so that the subnet manager associates the port globally unique identifier corresponding to the virtual network card with the partition corresponding to the target partition identifier.

[0195] Optionally, the processing module is also used to schedule the target cloud host through the network configuration module so that the target cloud host runs in the network environment corresponding to the target partition identifier, and when the target user requests to modify the network configuration of the network environment corresponding to the target partition identifier, determine the modified configuration information; and send the target instruction to the subnet manager through the network management module so that the subnet manager modifies the network configuration of the partition corresponding to the target partition identifier according to the modified configuration information.

[0196] Optionally, the configuration module 604 includes a second configuration unit, which is used to verify whether each server node of the high-performance computing network has a high-performance network driver installed and whether the target server node has a subnet manager; when each server node of the high-performance computing network has a high-performance network driver installed and the target server node has a subnet manager, network configuration information is sent to the subnet manager of the high-performance computing network through the network management module of the high-performance computing network.

[0197] For the description of the features in the embodiment corresponding to the configuration device of the high-performance computing network, please refer to the relevant description of the embodiment corresponding to the configuration method of the high-performance computing network, which will not be repeated here.

[0198] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned embodiments of the configuration method for a high-performance computing network.

[0199] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned high-performance computing network configuration method embodiments when running.

[0200] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0201] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any of the above-mentioned configuration method embodiments of the high-performance computing network are implemented.

[0202] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps in any of the above-mentioned high-performance computing network configuration method embodiments are implemented.

[0203] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0204] The above is a detailed introduction to a configuration method and device for a high-performance computing network, an electronic device, a storage medium, and a computer program product provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. A method for configuring a high performance computing network, characterized in that: include: Obtain network configuration information for high performance computing networks; The network configuration information is sent to a subnet manager of the high-performance computing network through a network management module of the high-performance computing network, so that the subnet manager configures the high-performance computing network according to the network configuration information.

2. The method for configuring a high performance computing network according to claim 1, characterized in that: Get network configuration information for the high performance computing network, including: Obtaining partition configuration information, and / or network topology information, and / or port configuration information, and / or routing configuration information, and / or quality of service configuration information, and / or security configuration information of the high performance computing network; The network configuration information includes at least one of the following: the partition configuration information, the network topology information, the port configuration information, the routing configuration information, the quality of service configuration information, and the security configuration information.

3. The method for configuring a high performance computing network according to claim 1, characterized in that: Before sending the network configuration information to the subnet manager of the high performance computing network through the network management module of the high performance computing network, the method further includes: The acquired configuration information is converted into configuration information of a target format through a network adapter module, wherein the target format is a format corresponding to an application program interface of the network management module, and the configuration information carries the network configuration information; The application program interface of the network management module is called to send the configuration information in the target format to the network management module.

4. The method for configuring a high performance computing network according to claim 1, characterized in that: In the process of sending the network configuration information to the subnet manager of the high performance computing network through the network management module of the high performance computing network, the method further includes: The network configuration information is synchronized to the target database through the network management module.

5. The method for configuring a high performance computing network according to claim 1, characterized in that: Sending the network configuration information to a subnet manager of the high performance computing network through a network management module of the high performance computing network includes: Sending a target configuration file to the subnet manager through the network management module, wherein the target configuration file carries the network configuration information; or The network configuration information is sent to the subnet manager through the network management module based on a secure remote access protocol.

6. The method for configuring a high performance computing network according to claim 1, characterized in that: The method further comprises: At every preset time interval, the network configuration data in the subnet manager is synchronized to the target database through the network management module.

7. The method for configuring a high performance computing network according to claim 1, characterized in that: The method further comprises: When a data synchronization instruction is obtained, the network configuration data in the subnet manager is synchronized to the target database through the network management module.

8. The method for configuring a high performance computing network according to claim 6 or 7, characterized in that: The method further comprises: The network status of the high performance computing network is determined according to the network configuration data in the target database.

9. The method for configuring a high performance computing network according to claim 1, characterized in that: In the case where the high-performance computing network has N partitions, each of the N partitions corresponds to a network service in the cloud platform, and the network management module is located in the cloud platform.

10. The method for configuring a high performance computing network according to claim 1, characterized in that: The method further comprises: When a target user applies to create a target cloud host in a target server, determining a partition of the high performance computing network selected by the target user, and obtaining a target partition identifier; The target cloud host is scheduled through a network configuration module so that the target cloud host runs in a network environment corresponding to the target partition identifier.

11. The method for configuring a high performance computing network according to claim 10, characterized in that: Scheduling the target cloud host through a network configuration module includes: Scheduling a virtual network card for the target cloud host through the network configuration module; The network card information of the virtual network card is associated with the partition corresponding to the target partition identifier through the network configuration module, so that the target cloud host runs in the network environment corresponding to the target partition identifier.

12. The method for configuring a high performance computing network according to claim 11, characterized in that: Scheduling a virtual network card for the target cloud host through the network configuration module includes: Determine the virtual network card that is not mounted from the virtual network card resource pool; Mount the virtual network card to the target cloud host.

13. The method for configuring a high performance computing network according to claim 11, characterized in that: Associating the network card information of the virtual network card with the partition corresponding to the target partition identifier through the network configuration module, including: Determine a globally unique port identifier corresponding to the virtual network card; The network management module is scheduled by the network configuration module, so as to associate the port global unique identifier corresponding to the virtual network card with the partition corresponding to the target partition identifier by the network management module.

14. The method for configuring a high performance computing network according to claim 13, characterized in that: Associating the port global unique identifier corresponding to the virtual network card with the partition corresponding to the target partition identifier through the network management module, including: A configuration instruction is sent to the subnet manager through the network management module, so that the subnet manager associates the port global unique identifier corresponding to the virtual network card with the partition corresponding to the target partition identifier.

15. The method for configuring a high performance computing network according to claim 10, characterized in that: The target cloud host is scheduled by a network configuration module so that the target cloud host runs in a network environment corresponding to the target partition identifier, and the method further includes: When the target user requests to modify the network configuration of the network environment corresponding to the target partition identifier, determining to modify the configuration information; The target instruction is sent to the subnet manager through the network management module, so that the subnet manager modifies the network configuration of the partition corresponding to the target partition identifier according to the modified configuration information.

16. The method for configuring a high performance computing network according to claim 1, characterized in that: Sending the network configuration information to a subnet manager of the high performance computing network through a network management module of the high performance computing network includes: Verify whether each server node of the high-performance computing network has a high-performance network driver installed and whether the target server node has a subnet manager; When each server node of the high-performance computing network is installed with a high-performance network driver and the target server node has a subnet manager, the network configuration information is sent to the subnet manager of the high-performance computing network through the network management module of the high-performance computing network.

17. A configuration device for a high performance computing network, characterized in that: include: An acquisition module, used to acquire network configuration information of a high performance computing network; A configuration module is used to send the network configuration information to a subnet manager of the high-performance computing network through a network management module of the high-performance computing network, so that the subnet manager configures the high-performance computing network according to the network configuration information.

18. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the method for configuring a high-performance computing network as claimed in any one of claims 1 to 16 when executing the computer program.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for configuring a high-performance computing network as claimed in any one of claims 1 to 16.

20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method for configuring a high-performance computing network as claimed in any one of claims 1 to 16 are implemented.

Citation Information

Patent Citations

  • Virtualization system based on InfiniBand cloud computing network

    CN102882864A

  • System and method for supporting inter subnet partitions in a high performance computing environment

    CN107925634A

  • Multi-tenant resource allocation method and device, computer equipment and storage medium

    CN116302478A

  • Core, convergence and access three-layer network system based on infinite bandwidth network

    CN118214731A

  • Network detection method, device, system, medium, equipment and program product

    CN118869547A