CN117278414A - Method and device for managing server based on HMC - Google Patents

Method and device for managing server based on HMC Download PDF

Info

Publication number
CN117278414A
CN117278414A CN202311322177.9A CN202311322177A CN117278414A CN 117278414 A CN117278414 A CN 117278414A CN 202311322177 A CN202311322177 A CN 202311322177A CN 117278414 A CN117278414 A CN 117278414A
Authority
CN
China
Prior art keywords
management
server
virtual network
hmc
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311322177.9A
Other languages
Chinese (zh)
Inventor
杨宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Power Commercial Systems Co Ltd
Original Assignee
Inspur Power Commercial Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Power Commercial Systems Co Ltd filed Critical Inspur Power Commercial Systems Co Ltd
Priority to CN202311322177.9A priority Critical patent/CN117278414A/en
Publication of CN117278414A publication Critical patent/CN117278414A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • H04L41/122Discovery or management of network topologies of virtualised topologies, e.g. software-defined networks [SDN] or network function virtualisation [NFV]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities

Landscapes

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

Abstract

The invention provides a method, a system, equipment and a storage medium for managing a server based on HMC, wherein the method comprises the following steps: the physical network card in the HMC is virtualized into a plurality of virtual network cards, and the plurality of virtual network cards are respectively connected to corresponding ports and network cards in the server; dividing the network in the server into different virtual networks to realize the logic isolation of ports between different servers and the HMC; establishing a partition in a server, and establishing a connection relation between the partition and a corresponding virtual network; and screening management functions of which the use frequencies of all the partitions are higher than a threshold according to the history record, and integrating the management functions. The invention obviously reduces the required number of the physical network cards of the management network and the occupied number of the ports of the network switch, realizes the optimization of the network environment, and obviously improves the safety of server management and the independence among servers.

Description

Method and device for managing server based on HMC
Technical Field
The present invention relates to the field of distributed file systems, and more particularly, to a method, system, device, and storage medium for managing servers based on HMCs.
Background
In the existing K1Power server design, the connection between the HMC (Hardware Management Console ) and the server needs to be managed through two different network segments by using an ethernet connection mode. The current HMC needs to configure two different management addresses by means of at least two physical network cards, and perform management on different functions of the K1Power in two different management network segments, where each network is responsible for connection and expansion of a part of the functions.
Problems of the prior art:
1) The physical network card of the HMC cannot be effectively and fully utilized, and the problem of insufficient network card may occur when one HMC manages a plurality of servers.
2) The management such as access security and isolation control between two management networks requires external additional network security equipment to control, the server management interface has no such design and security management control function in the current design, and can not effectively isolate and admit external data access requests, so that effective security access policies are difficult to guarantee to be implemented on the server.
3) The network card on the hardware console has single function and only has the capability of two-layer network connection, and timely and effective alarming and automatic processing capability can not be achieved when the physical network card is managed to be faulty.
4) The usual functions for the partition cannot be easily and quickly operated.
Disclosure of Invention
Therefore, an object of the embodiments of the present invention is to provide a method, a system, an electronic device, and a computer readable storage medium for managing a server based on HMC, where the method and the system enable a network card to implement a one-to-many connection mode by a virtual network card mode, improve the number requirements of network connection of the server on the network card, and reduce the number of network cards and physical switch ports used; on the basis of virtual network card application, the functions of the network card are expanded, so that the network card can support the capabilities of access isolation, access control and automatic fault switching, and the safety and the robustness of the HMC management server are enhanced; the server side and the virtual network card side add the function of partition quick management through the function preposition, so that a user can conveniently use some common quick functions, and the management efficiency and the user experience are improved.
Based on the above object, an aspect of the embodiments of the present invention provides a method for managing a server based on HMC, including the steps of: the physical network card in the HMC is virtualized into a plurality of virtual network cards, and the plurality of virtual network cards are respectively connected to corresponding ports and network cards in the server; dividing the network in the server into different virtual networks to realize the logic isolation of ports between different servers and the HMC; establishing a partition in a server, and establishing a connection relation between the partition and a corresponding virtual network; and screening management functions of which the use frequencies of all the partitions are higher than a threshold according to the history record, and integrating the management functions.
In some embodiments, the step of virtualizing the physical network card in the HMC into a plurality of virtual network cards, and connecting the plurality of virtual network cards to corresponding ports and network cards in the server respectively includes: and virtualizing a physical network card in the HMC into a first virtual network card and a second virtual network card, and respectively setting a first virtual network segment and a second virtual network segment of the first virtual network card and the second virtual network card.
In some embodiments, the step of setting the first virtual network card and the second virtual network card to operate respectively includes: the first virtual network segment is configured to provide the functions of discovering servers in a management interface and providing basic management, and the second virtual network segment is configured to realize the functions of high-level management of system partitions.
In some embodiments, the step of dividing the network in the server into different virtual networks to achieve logical isolation of ports between different servers and HMCs includes: ports of the virtual network segments are defined according to requirements to isolate ports in different networks.
In some embodiments, the step of dividing the network in the server into different virtual networks to achieve logical isolation of ports between different servers and HMCs includes: the correspondence rules are configured based on the IP address, the server user name, and the MAC address to limit communication between the corresponding ports.
In some embodiments, the method further comprises: in response to detecting the virtual network card failure, a new virtual network card is established and switched to, and IP is rewritten to establish communication between the new virtual network card and the server.
In some embodiments, the method further comprises: the virtual network management interface at the management console end is connected with the management command in the partition through the integrated partition management function.
In another aspect of the embodiments of the present invention, there is provided a HMC management server-based system, including: the virtual module is used for virtualizing the physical network card in the HMC into a plurality of virtual network cards and respectively connecting the plurality of virtual network cards to corresponding ports and network cards in the server; the network module is used for dividing the network in the server into different virtual networks so as to realize the logical isolation of ports between different servers and the HMC; the partition module is used for establishing partitions on the server and establishing connection relations between the partitions and the corresponding virtual networks; and the management module is used for screening management functions of which the use frequency of all the partitions is higher than a threshold value according to the history record and integrating the management functions.
In still another aspect of the embodiment of the present invention, there is also provided an electronic device, including: at least one processor; and a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method as above.
In yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method steps as described above.
The invention has the following beneficial technical effects: the number of physical network cards of the management network and the number of occupied ports of the network switch are obviously reduced, particularly, under the condition that a hardware console manages a plurality of servers at the same time, the network optimization effect is more obvious, the structure of the management network is simplified in the whole client machine room environment, the number of the adopted network cards, network lines and switch ports is reduced, the occurrence frequency of hardware faults is also reduced along with the reduction, the high-availability effect of the equipment is integrally improved, the existing virtual network environment can be reused in the redundant management network environment where a second hardware console is deployed, and the purpose of overall management of K1Power of the management network is realized; the functions of realizing virtual network segment isolation, access control and fault switching are added on the network card, so that the optimization of a network environment can be realized, the safety of server management and the independence among servers are obviously improved, the quick switching capability can also ensure the autonomous repairing capability of a control console in an unmanned management environment, the overall high availability of the system is improved, when a large number of managed servers are needed to be managed in a client environment, part of common high-frequency functions are extracted, the management difficulty of an administrator and the possibility of misoperation can be greatly reduced, and the overall efficiency of operation and maintenance is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an embodiment of a method for HMC-based management server provided by the present invention;
FIG. 2 is a block diagram of an embodiment of an HMC management server based method provided by the present invention;
FIG. 3 is a block diagram of another embodiment of an HMC management server based method provided by the present invention;
FIG. 4 is a schematic diagram of adding functions to a network card according to the present invention;
FIG. 5 is a schematic diagram of partition quick management provided by the present invention;
FIG. 6 is a general architecture diagram of an HMC management server-based approach provided by the present invention;
FIG. 7 is a schematic diagram of an embodiment of an HMC management server-based system provided by the present invention;
fig. 8 is a schematic hardware structure of an embodiment of an HMC management server-based electronic device provided in the present invention;
fig. 9 is a schematic diagram of an embodiment of a HMC management server-based computer storage medium provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
It should be noted that, in the embodiments of the present invention, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present invention, and the following embodiments are not described one by one.
In a first aspect of the embodiments of the present invention, an embodiment of a method for managing a server based on HMC is provided. Fig. 1 is a schematic diagram of an embodiment of a HMC management server-based method provided by the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, virtualizing a physical network card in an HMC into a plurality of virtual network cards, and respectively connecting the plurality of virtual network cards to corresponding ports and network cards in a server;
s2, dividing the network in the server into different virtual networks to realize the logical isolation of ports between different servers and the HMC;
s3, establishing a partition in the server, and establishing a connection relation between the partition and a corresponding virtual network; and
and S4, screening management functions of which the use frequency of all the partitions is higher than a threshold according to the history record, and integrating the management functions.
And virtualizing the physical network card in the HMC into a plurality of virtual network cards, and respectively connecting the plurality of virtual network cards to corresponding ports and network cards in the server. According to the embodiment of the invention, the original physical network card function in the HMC is improved to the function of supporting the virtual network card, so that the occupation of the management physical network card and the network resource expenditure can be effectively reduced, and a convenient network management architecture is realized.
In some embodiments, the step of virtualizing the physical network card in the HMC into a plurality of virtual network cards, and connecting the plurality of virtual network cards to corresponding ports and network cards in the server respectively includes: and virtualizing a physical network card in the HMC into a first virtual network card and a second virtual network card, and respectively setting a first virtual network segment and a second virtual network segment of the first virtual network card and the second virtual network card. Fig. 2 is a schematic diagram of an embodiment of a method based on an HMC management server according to the present invention, as shown in fig. 2, in the embodiment of the present invention, a network card of an HMC is changed to a network card supporting a virtual network, each virtual network may be independently connected to a respective virtual network segment, and two virtual network segments are mutually independent and mutually isolated.
In some embodiments, the step of setting the first virtual network card and the second virtual network card to operate respectively includes: the first virtual network segment is configured to provide the functions of discovering servers in a management interface and providing basic management, and the second virtual network segment is configured to realize the functions of high-level management of system partitions. In the embodiment of the invention, only 1 physical network card is needed for network connection of the HMC and the K1Power server, the network card can be virtualized into a plurality of virtual network cards, and the first virtual network card and the second virtual network card are marked as a virtual network card 1 and a virtual network card 2 in the figure. Through the connection of the virtual network card 1 and the virtual network card 2 to the HMC1 port of the K1Power server and the network card of each partition, in the embodiment of the present invention, a first virtual network segment (i.e., virtual network segment 1, such as using 172 network segments) and a second virtual network segment (i.e., virtual network segment 2, such as using 192 network segments) where the first virtual network card and the second virtual network card work are defined respectively. Wherein the virtual network segment 1 provides the functionality to discover servers in the management interface and provide underlying management. The virtual network segment 2 can realize advanced management functions of system partition, such as dynamic memory expansion, dynamic partition migration and the like. After the improvement, the effect of the previous two physical network cards can be realized by using one physical network card.
The network card 2 of the HMC is also designed to support a virtual network, so that when the network card 1 fails, the network card can be quickly changed into the network card 2 through manual network cable plugging, thereby realizing the quick switching of redundant network cards. By the technical design, on the premise of ensuring the normal management function of the HMC, the number of physical ports occupied on the HMC is reduced from 2 to 1, so that the occupied number of the physical ports is saved, the structure of a management network is simplified, and the network architecture is simplified for the HMC architecture with high available demand write redundancy.
Fig. 3 is a schematic diagram of another embodiment of the HMC management server-based method provided by the present invention, as shown in fig. 3, which is a high-availability redundant HMC, in a redundant management network environment where a second HMC is deployed, an environment where a virtual network may still be reused, and the whole is still a management network, so as to achieve the purpose of optimizing and managing K1 powers in total.
The network in the server is divided into different virtual networks to achieve logical isolation of ports between different servers and HMCs. After the HMC end adopts the virtual network card mode, since it is possible to manage multiple network segments of multiple servers at the same time, an improvement in access control on the virtual network card is required. The improvement aim is to achieve the following improvements: the network traffic is isolated, and the management traffic on different server ports can be isolated by dividing the network into different virtual networks, so that communication among different networks is ensured not to be interfered with each other, and the situation that the management of other servers is influenced due to the fact that the traffic of one server is large can be avoided; the network security is enhanced, communication between the HMC and different servers can be distinguished through the access control function, effective control of access authority is achieved, and the access security is improved.
In some embodiments, the step of dividing the network in the server into different virtual networks to achieve logical isolation of ports between different servers and HMCs includes: ports of the virtual network segments are defined according to requirements to isolate ports in different networks.
In some embodiments, the step of dividing the network in the server into different virtual networks to achieve logical isolation of ports between different servers and HMCs includes: the correspondence rules are configured based on the IP address, the server user name, and the MAC address to limit communication between the corresponding ports.
Fig. 4 is a schematic diagram of adding a function to a network card according to the present invention, as shown in fig. 4, where functions of implementing virtual network segment isolation, access control and failover are added to the network card of the HMC, so as to improve the capability of managing a network in the overall HMC management server.
Virtual segment isolation: and realizing the logical isolation of ports between different servers and HMCs. This upgrade functionality may be divided into a plurality of logically isolated networks, with communication between ports on different isolated networks being restricted so that only communication and access between devices of the same isolated network is possible. The user can customize the port definition of the virtual network segment according to the own use requirement, so that different virtual network cards can communicate according to the user requirement.
Access control: defining and implementing customized policies for network traffic. Policies may be based on multidimensional metrics such as IP address, server user name, MAC address, etc., and may restrict communications between particular ports by configuring rules.
Through virtual network segment isolation and access control, the access risk of an external attacker to the control console can be effectively reduced. Unauthorized access and attacks may be prevented by restricting communications between different ports. Even if a certain device or port is breached, the design of the isolation may prevent further penetration of other network resources by an attacker. Thus, the overall security management of the control console on all the managed servers is effectively realized.
In some embodiments, the method further comprises: in response to detecting the virtual network card failure, a new virtual network card is established and switched to, and IP is rewritten to establish communication between the new virtual network card and the server.
Failover: the capability of automatic virtual network card switching is enhanced on the basis of the high availability of the HMC physical redundancy network card. After detecting a fault and abnormal communication of a certain virtual network card, the module can automatically establish and switch to a new virtual network card and automatically complete the rewriting of an IP address, thereby realizing the automatic isolation and automatic repair of the fault under the condition of no monitoring.
And establishing a partition in the server, and establishing a connection relation between the partition and the corresponding virtual network.
And screening management functions of which the use frequency of all the partitions is higher than a threshold value according to the historical record, and integrating the management functions. In an actual customer service environment, some common functions of partition management, such as start-stop of a partition, simple fault clearing, partition alarm closing and the like, are usually required to be extracted, so that a customer can be quickly managed in a virtual network management environment, and overall management efficiency is improved.
In some embodiments, the method further comprises: the virtual network management interface at the management console end is connected with the management command in the partition through the integrated partition management function.
FIG. 5 is a schematic diagram of the rapid partition management provided in the present invention, as shown in FIG. 5, after a server establishes a partition, a part of basic management functions used in high frequency are screened out, and an administrator can customize the screened management functions. The virtual network management interface at the management console end is connected with the management command in the partition through the partition rapid management function, so that rapid management of the common functions is realized. An administrator can realize quick management on a virtual network management interface of the HMC, so that complicated repeated simple operation after the administrator logs in a lot of partitions is avoided, and the management efficiency can be greatly improved. Only when there is a major failure problem or an important management change, the system partitions need to be logged in one by one for processing.
FIG. 6 is a general architecture diagram of a method based on an HMC management server provided by the invention, as shown in FIG. 6, the invention can realize a one-to-many connection mode by a virtual network card mode, improve the number requirement of network connection of the server on the network card, and reduce the number of network cards and physical switch ports; on the basis of virtual network card application, the functions of the network card are expanded, so that the network card can support the capabilities of access isolation, access control and automatic fault switching, and the safety and the robustness of the HMC management server are enhanced; the server side and the virtual network card side add the function of partition quick management through the function preposition, so that a user can conveniently use some common quick functions, and the management efficiency and the user experience are improved.
The embodiment of the invention obviously reduces the required number of the physical network cards of the management network and the occupied number of the ports of the network switch. Especially, under the condition that the hardware console manages a plurality of servers simultaneously, the network optimization effect is better and more obvious. In the whole client machine room environment, the structure of the management network is simplified, the number of the adopted network cards, network cables and switch ports is reduced, the occurrence frequency of hardware faults is reduced accordingly, and the high available effect of the equipment is improved integrally. In the redundant management network environment where the second hardware console is deployed, the existing virtual network environment can still be reused, and one management network overall realizes the purpose of K1Power management; the functions of realizing virtual network segment isolation, access control and fault switching are added on the network card, so that the optimization of a network environment can be realized, the safety of server management and the independence among servers are obviously improved, the quick switching capability can also ensure the autonomous repairing capability of a console in an unmanned environment, and the overall high availability of the system is improved; when a large number of managed servers are needed to be managed in the client environment, part of common high-frequency functions are extracted, so that the management difficulty and the possibility of misoperation of an administrator can be greatly reduced, and the overall operation and maintenance efficiency is improved.
It should be noted that, the steps in the embodiments of the HMC management server-based method may be intersected, replaced, added and deleted, so that the HMC management server-based method is also included in the protection scope of the present invention, and the protection scope of the present invention should not be limited to the embodiments.
Based on the above object, in a second aspect of the embodiment of the present invention, a system based on an HMC management server is provided. As shown in fig. 7, the system 200 includes the following modules: the virtual module is used for virtualizing the physical network card in the HMC into a plurality of virtual network cards and respectively connecting the plurality of virtual network cards to corresponding ports and network cards in the server; the network module is used for dividing the network in the server into different virtual networks so as to realize the logical isolation of ports between different servers and the HMC; the partition module is used for establishing partitions on the server and establishing connection relations between the partitions and the corresponding virtual networks; and the management module is used for screening management functions of which the use frequency of all the partitions is higher than a threshold value according to the history record and integrating the management functions.
In some embodiments, the virtual module is to: and virtualizing a physical network card in the HMC into a first virtual network card and a second virtual network card, and respectively setting a first virtual network segment and a second virtual network segment of the first virtual network card and the second virtual network card.
In some embodiments, the virtual module is to: the first virtual network segment is configured to provide the functions of discovering servers in a management interface and providing basic management, and the second virtual network segment is configured to realize the functions of high-level management of system partitions.
In some embodiments, the network module is to: ports of the virtual network segments are defined according to requirements to isolate ports in different networks.
In some embodiments, the network module is to: the correspondence rules are configured based on the IP address, the server user name, and the MAC address to limit communication between the corresponding ports.
In some embodiments, the system further comprises a switching module for: in response to detecting the virtual network card failure, a new virtual network card is established and switched to, and IP is rewritten to establish communication between the new virtual network card and the server.
In some embodiments, the system further comprises an integration module for: the virtual network management interface at the management console end is connected with the management command in the partition through the integrated partition management function.
In view of the above object, a third aspect of an embodiment of the present invention provides an electronic device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, virtualizing a physical network card in an HMC into a plurality of virtual network cards, and respectively connecting the plurality of virtual network cards to corresponding ports and network cards in a server; s2, dividing the network in the server into different virtual networks to realize the logical isolation of ports between different servers and the HMC; s3, establishing a partition in the server, and establishing a connection relation between the partition and a corresponding virtual network; and S4, screening management functions of which the use frequency of all the partitions is higher than a threshold according to the history record, and integrating the management functions.
In some embodiments, the step of virtualizing the physical network card in the HMC into a plurality of virtual network cards, and connecting the plurality of virtual network cards to corresponding ports and network cards in the server respectively includes: and virtualizing a physical network card in the HMC into a first virtual network card and a second virtual network card, and respectively setting a first virtual network segment and a second virtual network segment of the first virtual network card and the second virtual network card.
In some embodiments, the step of setting the first virtual network card and the second virtual network card to operate respectively includes: the first virtual network segment is configured to provide the functions of discovering servers in a management interface and providing basic management, and the second virtual network segment is configured to realize the functions of high-level management of system partitions.
In some embodiments, the step of dividing the network in the server into different virtual networks to achieve logical isolation of ports between different servers and HMCs includes: ports of the virtual network segments are defined according to requirements to isolate ports in different networks.
In some embodiments, the step of dividing the network in the server into different virtual networks to achieve logical isolation of ports between different servers and HMCs includes: the correspondence rules are configured based on the IP address, the server user name, and the MAC address to limit communication between the corresponding ports.
In some embodiments, the steps further comprise: in response to detecting the virtual network card failure, a new virtual network card is established and switched to, and IP is rewritten to establish communication between the new virtual network card and the server.
In some embodiments, the steps further comprise: the virtual network management interface at the management console end is connected with the management command in the partition through the integrated partition management function.
Fig. 8 is a schematic hardware structure of an embodiment of the electronic device based on the HMC management server according to the present invention.
Taking the example of the apparatus shown in fig. 8, a processor 301 and a memory 302 are included in the apparatus.
The processor 301 and the memory 302 may be connected by a bus or otherwise, for example in fig. 8.
The memory 302 is used as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer executable programs, and modules, such as program instructions/modules corresponding to the HMC management server-based method in the embodiments of the present application. The processor 301 executes various functional applications of the server and data processing, i.e., implements the HMC-based method of managing the server, by running non-volatile software programs, instructions, and modules stored in the memory 302.
Memory 302 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the HMC management server-based method, and the like. In addition, memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 302 may optionally include memory located remotely from processor 301, which may be connected to the local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Computer instructions 303 corresponding to one or more HMC management server-based methods are stored in memory 302 that, when executed by processor 301, perform the HMC management server-based method of any of the method embodiments described above.
Any one embodiment of an electronic device that performs the HMC management server-based method described above may achieve the same or similar effects as any one of the method embodiments described above that corresponds to it.
The invention also provides a computer readable storage medium storing a computer program which when executed by a processor performs a method based on an HMC management server.
Fig. 9 is a schematic diagram of an embodiment of the HMC management server-based computer storage medium according to the present invention. Taking a computer storage medium as shown in fig. 9 as an example, the computer-readable storage medium 401 stores a computer program 402 that when executed by a processor performs the above method.
Finally, it should be noted that, as will be understood by those skilled in the art, implementing all or part of the above-described methods in the embodiments may be implemented by a computer program to instruct related hardware, and the program of the HMC management server-based method may be stored in a computer readable storage medium, where the program, when executed, may include the steps of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (RAM), or the like. The computer program embodiments described above may achieve the same or similar effects as any of the method embodiments described above.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that as used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and many other variations of the different aspects of the embodiments of the invention as described above exist, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.

Claims (10)

1. A method for managing a server based on HMC, comprising the steps of:
the physical network card in the HMC is virtualized into a plurality of virtual network cards, and the plurality of virtual network cards are respectively connected to corresponding ports and network cards in the server;
dividing the network in the server into different virtual networks to realize the logic isolation of ports between different servers and the HMC;
establishing a partition in a server, and establishing a connection relation between the partition and a corresponding virtual network; and
and screening management functions of which the use frequency of all the partitions is higher than a threshold value according to the historical record, and integrating the management functions.
2. The HMC-based management server method of claim 1, wherein the step of virtualizing the physical network card in the HMC into a plurality of virtual network cards and connecting to corresponding ports and network cards in the server through the plurality of virtual network cards, respectively, comprises:
and virtualizing a physical network card in the HMC into a first virtual network card and a second virtual network card, and respectively setting a first virtual network segment and a second virtual network segment of the first virtual network card and the second virtual network card.
3. The HMC management server-based method of claim 2, wherein the step of setting first and second virtual segments in which the first and second virtual network cards operate, respectively, includes:
the first virtual network segment is configured to provide the functions of discovering servers in a management interface and providing basic management, and the second virtual network segment is configured to realize the functions of high-level management of system partitions.
4. The HMC management server-based method of claim 1, wherein the step of dividing the network in the server into different virtual networks to achieve logical isolation of ports between different servers and HMCs comprises:
ports of the virtual network segments are defined according to requirements to isolate ports in different networks.
5. The HMC management server-based method of claim 1, wherein the step of dividing the network in the server into different virtual networks to achieve logical isolation of ports between different servers and HMCs comprises:
the correspondence rules are configured based on the IP address, the server user name, and the MAC address to limit communication between the corresponding ports.
6. The HMC management server-based method of claim 1, further comprising:
in response to detecting the virtual network card failure, a new virtual network card is established and switched to, and IP is rewritten to establish communication between the new virtual network card and the server.
7. The HMC management server-based method of claim 1, further comprising:
the virtual network management interface at the management console end is connected with the management command in the partition through the integrated partition management function.
8. A HMC management server-based system, comprising:
the virtual module is used for virtualizing the physical network card in the HMC into a plurality of virtual network cards and respectively connecting the plurality of virtual network cards to corresponding ports and network cards in the server;
the network module is used for dividing the network in the server into different virtual networks so as to realize the logical isolation of ports between different servers and the HMC;
the partition module is used for establishing partitions on the server and establishing connection relations between the partitions and the corresponding virtual networks; and
and the management module is used for screening management functions of which the use frequency of all the partitions is higher than a threshold value according to the history record and integrating the management functions.
9. An electronic device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method of any one of claims 1-7.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any one of claims 1-7.
CN202311322177.9A 2023-10-12 2023-10-12 Method and device for managing server based on HMC Pending CN117278414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311322177.9A CN117278414A (en) 2023-10-12 2023-10-12 Method and device for managing server based on HMC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311322177.9A CN117278414A (en) 2023-10-12 2023-10-12 Method and device for managing server based on HMC

Publications (1)

Publication Number Publication Date
CN117278414A true CN117278414A (en) 2023-12-22

Family

ID=89206071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311322177.9A Pending CN117278414A (en) 2023-10-12 2023-10-12 Method and device for managing server based on HMC

Country Status (1)

Country Link
CN (1) CN117278414A (en)

Similar Documents

Publication Publication Date Title
EP3337097B1 (en) Network element upgrading method and device
US6128729A (en) Method and system for automatic configuration of network links to attached devices
CN107222320A (en) The method and apparatus that Cloud Server cluster sets up High Availabitity connection
US10938667B2 (en) Incremental intent checking for stateful networks
WO2008124609A1 (en) Logical partitioning of a physical device
US7020145B1 (en) Network topology manager
CN103856357A (en) Stack system fault processing method and stack system
WO2015088324A2 (en) System and method for managing a faulty node in a distributed computing system
CN110635928B (en) Control method, control device and computer storage medium
US9774675B2 (en) Automatic redundant logical connections
US11044148B2 (en) Optimistic and failsafe network configuration
US9774600B1 (en) Methods, systems, and computer readable mediums for managing infrastructure elements in a network system
US20150365341A1 (en) Cloud-based resource availability calculation of a network environment
US8990365B1 (en) Processing management packets
CN116566752B (en) Safety drainage system, cloud host and safety drainage method
CN117278414A (en) Method and device for managing server based on HMC
US10516625B2 (en) Network entities on ring networks
US10382301B2 (en) Efficiently calculating per service impact of ethernet ring status changes
CN116192885A (en) High-availability cluster architecture artificial intelligent experiment cloud platform data processing method and system
CN112003726B (en) High-availability configuration method for rapidly deploying Beegfs management service nodes
CN113904911A (en) Device management method, system, readable storage medium and computer
CN112131201A (en) Method, system, equipment and medium for high availability of network additional storage
CN115333944B (en) Virtual machine cluster IP resource configuration method, system, equipment and storage medium
US20210344563A1 (en) Automatic Network Assembly
CN115297113B (en) Private cloud private network and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination