CN115333933A - Automatic management method, medium and equipment for server on rack in machine room - Google Patents

Automatic management method, medium and equipment for server on rack in machine room Download PDF

Info

Publication number
CN115333933A
CN115333933A CN202210960477.9A CN202210960477A CN115333933A CN 115333933 A CN115333933 A CN 115333933A CN 202210960477 A CN202210960477 A CN 202210960477A CN 115333933 A CN115333933 A CN 115333933A
Authority
CN
China
Prior art keywords
server
address
virtual machine
network card
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.)
Granted
Application number
CN202210960477.9A
Other languages
Chinese (zh)
Other versions
CN115333933B (en
Inventor
李艳波
王鑫哲
贾宏伟
郭建君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Weiling Times Technology Co Ltd
Original Assignee
Beijing Weiling Times Technology 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 Beijing Weiling Times Technology Co Ltd filed Critical Beijing Weiling Times Technology Co Ltd
Priority to CN202210960477.9A priority Critical patent/CN115333933B/en
Publication of CN115333933A publication Critical patent/CN115333933A/en
Application granted granted Critical
Publication of CN115333933B publication Critical patent/CN115333933B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to an automatic management method of servers on rack in a machine room, which is applied to the servers on rack in the machine room and comprises the following steps: acquiring a network card address of a server, and sending the network card address to an IDC console; acquiring a first temporary network based on the installed operating system, acquiring a server IP address corresponding to the network card address from the IDC console based on the first temporary network, and replacing the IP address of the first temporary network with the server IP address; generating configuration information of a virtual machine of a server, acquiring a network card address of the virtual machine in the server corresponding to the network card address from an IDC console, and replacing the network card address in the configuration information of the virtual machine with the network card address of the virtual machine in the server; starting the virtual machine and obtaining a second temporary network, and obtaining an IP address of the virtual machine in the server corresponding to the network card address from the IDC console based on the second temporary network; and replacing the IP address of the second temporary network with the IP address of the virtual machine in the server. The method and the device have the effect of improving the management efficiency of the server.

Description

Automatic management method, medium and equipment for server on rack in machine room
Technical Field
The application relates to the technical field of servers, in particular to an automatic management method, medium and equipment for servers on shelves in a machine room.
Background
With the development of technology, the role of the server is very important for the modern network, and the terminal cannot operate normally without the support of the server. The server is mainly used for responding to the service request of the terminal and processing the service request. When a user surfs the internet, the user is difficult to directly connect with the network and needs to connect with the network through a server. The server responds to the user's networking request in an available state and can be networked after processing. In addition, the server plays a great role in the development of cloud computing, and a huge number of server clusters are required to serve as hardware supports for a cloud computing platform, so that tens of thousands of data can be processed in a short time, and strong network service is achieved.
In the related art, each server that is erected in a machine room needs to be manually installed, configured with network information of the server, and automatically configured with a virtual machine in the server, so that the server is finally in an available state, otherwise, unified management and use cannot be performed.
With respect to the related art among the above, the inventors consider that the following drawbacks exist: when the number of servers on the rack in the machine room is large, the manual mode is adopted to complete the process, more manpower and time are needed to be spent, and the management efficiency of the servers is low.
Disclosure of Invention
In order to improve the management efficiency of the server, the application provides an automatic management method, medium and equipment for the server on shelf in a machine room.
In a first aspect of the present application, an automatic management method for servers on rack in a machine room is provided, which is applied to the servers on rack in the machine room, and specifically includes:
acquiring a network card address of a server, and sending the network card address to an IDC (Internet data center) console so as to enable the IDC console to add the network card address to an IP information generation list corresponding to the server, wherein the IP information generation list also comprises a server management IP address, a server IP address, a network card address of a virtual machine in the server, an IP address of the virtual machine in the server, a serial number and position information of a cabinet corresponding to the server;
acquiring a first temporary network based on the installed operating system, acquiring a server IP address corresponding to the network card address from the IDC console based on the first temporary network, and replacing the IP address of the first temporary network with the server IP address;
generating configuration information of a virtual machine of the server, acquiring a network card address of the virtual machine in the server corresponding to the network card address from the IDC console, and replacing the network card address in the configuration information of the virtual machine with the network card address of the virtual machine in the server;
starting the virtual machine and obtaining a second temporary network, and obtaining an IP address of the virtual machine in the server corresponding to the network card address from the IDC console based on the second temporary network;
and replacing the IP address of the second temporary network with the IP address of the virtual machine in the server.
By adopting the technical scheme, the network card address is obtained through the server management IP address and is uploaded to the IDC console, so that the server management IP address, the server IP address, the network card address of the virtual machine in the server, the IP address of the virtual machine in the server and the serial number form a one-to-one correspondence relationship. After an operating system is installed on a server, automatic networking is completed by replacing the IP address of a first temporary network with the IP address of the server, the server generates configuration information of a virtual machine, a network card address of the virtual machine in the server is obtained, the network card address in the configuration information of the virtual machine is replaced with the network card address of the virtual machine in the server, then the virtual machine is started and a second temporary network is obtained, an IDC console is requested to obtain the corresponding IP address of the virtual machine in the server from the IDC console, the IP address of the second temporary network is replaced with the IP address of the virtual machine in the server, so that the virtual machine is automatically configured, further, the server automatic installation system on the machine room is enabled to obtain networking capacity and automatic configuration of the virtual machine in batches, and the management efficiency of the server is improved.
Optionally, the acquiring the network card address includes:
acquiring a server management IP address configured according to a server label;
and acquiring the network card address of the server corresponding to the cabinet according to the server management IP address.
By adopting the technical scheme, the network card address cannot be directly acquired when the server is newly erected in a machine room, and based on a system in the server, the corresponding network card address is acquired through the server management IP address configured by the server label on the cabinet, and the server management IP address also establishes a corresponding relation with the network card address.
Optionally, the obtaining, from the IDC console, the network card address of the virtual machine in the server corresponding to the network card address includes:
and requesting the API of the IDC console according to the network card address, and acquiring the corresponding network card address of the virtual machine in the server from the IDC console through the API.
By adopting the technical scheme, after the server generates the configuration information of the virtual machine, the server sends a request carrying the network card address to the IDC console, so that the IDC console searches the network card address of the virtual machine in the server corresponding to the network card address in the IP information generation list, and sends the network card address of the virtual machine in the server to the virtual machine of the corresponding server through the API, so that the network card address is replaced by the network card address of the virtual machine in the server subsequently, and the installation of the virtual machine is completed.
Optionally, the starting the virtual machine in the server and obtaining the second temporary network includes:
controlling the virtual machine to install an operating system based on the operating system copied from the mirror image server so as to start the virtual machine;
and controlling the virtual machine to obtain the second temporary network based on the IP address of the second temporary network allocated by the DHCP server.
By adopting the technical scheme, the server copies the operating system from the mirror image server in the machine room, the virtual machine is started after the operating system is installed, and the DHCP server in the machine room allocates the IP address of the second temporary network to the virtual machine, so that the virtual machine can surf the internet temporarily.
Optionally, the obtaining, from the IDC console, the IP address of the virtual machine in the server corresponding to the network card address based on the second temporary network includes:
based on the second temporary network, requesting an API of the IDC console according to the network card address, and obtaining a corresponding IP address of the virtual machine in the server from the IDC console through the API.
By adopting the technical scheme, based on the second temporary network, the virtual machine can temporarily surf the internet, the server controls the virtual machine to send a request to the API of the IDC console, and after the IDC console receives the request, the server acquires the IP address of the corresponding virtual machine in the server through the same API.
Optionally, an automatic management method for a server on shelf in a machine room is applied to an IDC console, and includes:
receiving an operation instruction of an IP information generation page of an IDC console, and generating an IP information generation list corresponding to at least one server on the machine room based on the operation instruction, wherein the IP information generation list comprises a server management IP address, a server IP address, a network card address of a virtual machine in the server, the IP address of the virtual machine in the server, a serial number and position information of a machine cabinet;
acquiring network card addresses corresponding to the management IP addresses of the servers, and adding the network card addresses to an IP information generation list corresponding to the servers;
receiving an address acquisition request sent by each server based on the acquired first temporary network after an operating system is installed, respectively searching a server IP address corresponding to each network card address in the IP information generation list, and sending each server IP address to the corresponding server so that each server replaces the IP address of the first temporary network with the server IP address, wherein the network card address is carried in the address acquisition request;
receiving a request sent by each server after the configuration information of the virtual machine is generated, respectively searching the network card address of the virtual machine in the server corresponding to each network card address in the IP information generation list, and sending the network card address of the virtual machine in each server to the corresponding server, so that each server replaces the network card address in the configuration information of the virtual machine with the network card address of the virtual machine in the server;
and receiving a request sent by the virtual machine of each server based on the acquired second temporary network after the virtual machine of each server is started, respectively searching the IP address of the virtual machine in the server corresponding to each network card address in the IP information generation list, and sending the IP address of the virtual machine in each server to the corresponding server so that each server replaces the IP address of the second temporary network with the IP address of the virtual machine in the server.
By adopting the technical scheme, the operation instruction generated by the operation of personnel on the IP information generation page on the IDC console is received, the IDC console generates the IP information generation list corresponding to the number of servers on the machine room, and then the network card address uploaded by the server is obtained. And adding the network card address into a corresponding IP information generation list according to the corresponding relation between the server management IP address and the network card address, so that the network card address, the server IP address, the server management IP address, the virtual machine IP address in the server, the virtual machine network card address in the server, the serial number and the position information of the cabinet form the corresponding relation. And receiving a request of the server carrying the network card address, and sending the server management IP address to the corresponding server, so that the server can complete automatic networking. And after the server is automatically networked, receiving the request of the server again, and sending the corresponding network card address of the virtual machine in the server to the server so as to finish the installation of the virtual machine of the server. And starting the virtual machine and acquiring a second temporary network, receiving a request of the server, and sending the corresponding IP address of the virtual machine in the server to the server, so that the virtual machine can automatically complete configuration, and the management efficiency of the server is improved.
Optionally, the receiving a request sent by each server after generating configuration information of a virtual machine, respectively searching network card addresses of virtual machines in the servers corresponding to the network card addresses in the IP information generation list, and sending the network card addresses of the virtual machines in each server to the corresponding server, so that each server replaces the network card addresses in the configuration information of the virtual machine with the network card addresses of the virtual machines in the servers, includes:
after configuration information of the virtual machines is generated on the basis of the servers, API requests of network card addresses carried by the servers are received, and the network card addresses of the virtual machines in the servers corresponding to the network card addresses are respectively searched in the IP information generation list;
and sending the network card address of the virtual machine in the server to the corresponding server through the API, so that each server replaces the network card address in the configuration information of the virtual machine with the network card address of the virtual machine in the server.
By adopting the technical scheme, after each server generates configuration information of the virtual machine, the API of the IDC console receives a request which is sent by each server and carries a network card address, a corresponding IP information generation list is found according to the network card address, the network card address of the virtual machine in the server corresponding to the network card address is found in the IP information generation list, then the IDC console sends the network card address of the virtual machine in the server to the corresponding server through the same API, and the server controls to replace the network card address in the configuration information with the network card address of the virtual machine in the server, so that the server completes the installation of the virtual machine.
Optionally, the receiving, after the virtual machine of each server is started, a request sent by the second temporary network is obtained, the IP information generation list is used to search, in the server, the IP address of the virtual machine corresponding to each network card address, and send the IP address of the virtual machine in each server to the corresponding server, so that each server replaces the IP address of the second temporary network with the IP address of the virtual machine in the server, including:
after the virtual machines of the servers are started and the second temporary network is obtained, receiving API requests of network card addresses carried by the servers, and respectively searching the IP addresses of the virtual machines in the servers corresponding to the network card addresses in the IP information generation list;
and sending the IP address of the virtual machine in the server to the corresponding server through the API, so that each server replaces the IP address of the second temporary network of the virtual machine with the IP address of the virtual machine in the server.
By adopting the technical scheme, after the virtual machine is started to obtain the second temporary network, the API of the IDC console receives the request which is sent by each server and carries the network card address, the corresponding IP information generation list is found according to the network card address, then the IP address of the virtual machine in the server corresponding to the network card address is found in the IP information generation list, and the IP address of the virtual machine in the server is sent to each corresponding server through the API, so that the virtual machine of the server completes the replacement of the IP address of the second temporary network by the IP address of the virtual machine in the server, and further the virtual machine of the server completes the automatic configuration.
In summary, the present application includes at least one of the following beneficial technical effects:
1. after the automatic installation system of the server on the machine room is networked with the automatic configuration network information, the server generates the configuration information of the virtual machine, the network card address of the virtual machine in the server is obtained, the network card address in the configuration information of the virtual machine is replaced by the network card address of the virtual machine in the server, then the virtual machine is started and a second temporary network is obtained, the IDC console is requested to obtain the corresponding IP address of the virtual machine in the server from the IDC console, the IP address of the second temporary network is replaced by the IP address of the virtual machine in the server, so that the virtual machine completes automatic configuration, the automatic installation system of the server on the machine room obtains the networking capability and the automatic configuration of the virtual machine in batches, and the management efficiency of the server is improved.
2. Based on the operation instruction, the IDC console generates an IP information generation list corresponding to the number of the servers in the machine room, and then receives a request of the server to acquire a network card address uploaded by the server. And adding the network card address into an IP information generation list of the corresponding server according to the corresponding relation between the server management IP address and the network card address, so that the network card address, the server IP address, the server management IP address, the network card address of the virtual machine in the server, the IP address of the virtual machine in the server and the number form the corresponding relation.
Drawings
Fig. 1 is a schematic architecture diagram of an automatic management system for servers on rack in a computer room according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an automatic management method for servers on rack in a machine room according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an IP information generation list of an automatic management method for servers on rack in a computer room according to an embodiment of the present application;
fig. 4 is a schematic flowchart of an automatic management method for servers on rack in a computer room according to another embodiment of the present application;
fig. 5 is a schematic flowchart of another automatic management method for servers on rack in a computer room according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an automatic management device for servers on a rack in a machine room according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an acquisition and transmission module according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a virtual machine IP obtaining module according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
In the description of the embodiments of the present application, the words "exemplary," "for example," or "for instance" are used to indicate instances, or illustrations. Any embodiment or design described herein as "exemplary," "for example," or "for example" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "exemplary," "such as," or "for example" are intended to present relevant concepts in a concrete fashion.
In the description of the embodiments of the present application, the term "and/or" is only one kind of association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, B exists alone, and A and B exist at the same time. In addition, the term "plurality" means two or more unless otherwise specified. For example, the plurality of systems refers to two or more systems, and the plurality of screen terminals refers to two or more screen terminals. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicit indication of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless otherwise specifically stated.
Referring to fig. 1, an embodiment of the present application discloses an architecture diagram of an automatic management system for servers on rack in a machine room, which specifically includes: the system comprises a server on the rack in the machine room, a PXE server, a DHCP server, a mirror image server and an IDC console.
The DHCP server is a Dynamic Host Configuration Protocol (DHCP) server, which can dynamically allocate an IP address from an address pool to a requesting server, and can also provide other network Configuration parameters, such as a default gateway, a DNS server, a domain name, and a location of a Host mapping file within a network range. It should be noted that the IP address refers to an internet protocol address, and is also translated into an internet protocol address, and the IP address is a uniform address format provided by the IP protocol, and it allocates a logical address to each network and each host on the internet, so as to shield the difference of physical addresses.
The IDC console is an Internet Data Center (IDC), and is a specialized management and perfect application service platform with perfect equipment (including high-speed Internet access bandwidth, high-performance local area network, safe and reliable computer room environment, and the like). On the basis of the platform, the IDC service provider provides Internet basic platform services (server hosting, virtual host, mail caching, virtual mail and the like) and various value-added services (site renting services, domain name system services, load balancing systems, database systems, data backup services and the like) for the client. In the embodiment of the application, the IDC console is a software system which is used for carrying out corresponding control, instruction sending, management and monitoring of the environment in the machine room, all cabinets, servers in the cabinets, comprehensive power utilization and the like.
The PXE Server is a preboot execution Environment (PXE) Server, operates in a Client/Server network mode, and supports a workstation to download an image from a remote Server through a network, and thus supports booting an operating system through the network.
The Mirror Server (MS) is the same as the primary server in service content, but is placed in a different location to share the load of the primary server. In the embodiment of the application, the image server stores the image file of the operating system.
A Virtual Machine (VM) is an emulator of a computer system, and can provide the functions of a physical computer by simulating a complete computer system having complete hardware system functions and running in a completely isolated environment through software. In the embodiment of the application, the virtual machine is a virtual server re-simulated in the server.
Specifically, the DHCP server, the PXE server and the mirror server are configured in advance in the computer room, and are co-located in the intranet of the computer room with the servers on the rack of the computer room. Wherein, the mirror image server is configured with a plurality of. The PXE server downloads the mirror image of the operating system from the remote server, the operating system is automatically installed for the server on the rack in the machine room, after the operating system is installed, the DHCP server allocates the IP address of the first temporary network for the server on the rack in the machine room, the server on the rack in the machine room sends a request to the IDC console based on the first temporary network to obtain the IP address of each server, the server on the rack in the machine room replaces the IP address of the temporary network with the corresponding IP address of the server, network information configuration of the server is automatically completed, and therefore networking efficiency of the server on the rack in the machine room is improved. After a server on the machine room is configured with network information, the server generates configuration information of a virtual machine, wherein the configuration information comprises a default network card address, the server sends a request carrying the network card address of the server to an IDC console, acquires the corresponding network card address of the virtual machine in the server, replaces the network card address in the configuration information with the network card address of the virtual machine in the server, then requests a specified mirror image server in the machine room intranet by the server, copies a mirror image file of an operating system, installs the operating system of the virtual machine and starts the virtual machine. The DHCP server distributes the IP address of the second temporary network for the virtual machine of the server, sends a request to the IDC console based on the virtual machine of the second temporary network server, acquires the IP address of the corresponding virtual machine in the server, replaces the IP address of the second temporary network with the IP address of the virtual machine in the server, and automatically completes the automatic configuration of the virtual machine of the server.
The present application will be described in further detail below with reference to fig. 2-8, based on the system architecture diagram shown in fig. 1.
Referring to fig. 2, a flow chart of an automatic management method for servers on rack in a computer room provided in the embodiment of the present application is schematically shown, and the method is applied to the servers on rack in the computer room, and can also be implemented by relying on a computer program, and can also be run on an automatic management device for servers based on a von neumann system. The computer program can be integrated in an application, and can also be operated as an independent tool application, and the method specifically comprises the following steps:
s101: acquiring a network card address of a server, and sending the network card address to an IDC console so that the IDC console adds the network card address to an IP information generation list corresponding to the server, wherein the IP information generation list also comprises a server management IP address, a server IP address, a network card address of a virtual machine in the server, an IP address and a number of the virtual machine in the server and position information of a cabinet corresponding to the server;
in the embodiment of the present application, a network card address, i.e., a Media Access Control (MAC) address, or referred to as a physical address or a hardware address, is used to define a location of a network device. The network card address is set when the server leaves a factory, and is globally unique and unchangeable. After the network card address of the server is obtained, the server sends a request to the IDC console, so that the server sends the network card address to the IDC console. It should be noted that, as shown in fig. 3, the IP information generation list of the IDC console is a detailed and complete statistics of various types of IP address information of servers on shelf in the machine room, which is convenient for the management of the servers in the later period. The IP information generation list comprises a network card address of the server, a server management IP address, a server IP address, a network card address of a virtual machine in the server, an IP address and a serial number of the virtual machine in the server, the serial number is generated by the IDC console, the server management IP address, the server IP address, the network card address of the virtual machine in the server and the IP address of the virtual machine in the server, the network card address of the server is absent in the IP information generation list, the server sends the network card address to the IDC console, and the IDC console adds the network card address to the IP information generation list, so that the IP information generation list is completed, and the server of the machine room is conveniently managed subsequently. It should be noted that the cabinet is a casing for storing the server in the computer room, and the location information of the cabinet is the location of the cabinet in the computer room.
S102: acquiring a first temporary network based on the installed operating system, acquiring a server IP address corresponding to the network card address from the IDC console based on the first temporary network, and replacing the IP address of the first temporary network with the server IP address;
specifically, after the operating system is installed for the server on the rack of the machine room based on the operating system provided by the PXE server, the PXE server sends a request to the DHCP server, the DHCP server allocates an IP address of a first temporary network to the server on the rack of the machine room, so that the server can temporarily surf the internet, the server sends the request to the IDC console, the IDC console receives the request, the server management IP address corresponding to the network card address is found from the IP information generation list by the IDC console, and finally, the server replaces the IP address of the first temporary network with the server management IP, so that the server on the rack of the machine room automatically completes network information configuration. It should be noted that the server on the shelf in the machine room includes at least one server.
S103: generating configuration information of a virtual machine of a server, acquiring a network card address of the virtual machine in the server corresponding to the network card address from an IDC console, and replacing the network card address in the configuration information of the virtual machine with the network card address of the virtual machine in the server;
specifically, after a server on the rack of the machine room configures network information for automatic networking, the server generates configuration information of the virtual machine, where the configuration information refers to information for configuring a program when the program is started, and commonly includes service ports, database connection information, thread pool information, and the like. In this embodiment of the present application, the configuration information includes a default network card address of the virtual machine, where the default network card address is 00. And then the server sends a request to the IDC console to acquire the network card address of the virtual machine in the corresponding server, wherein the network card address of the server is carried in the request. After the IDC receives the request, the server receives an in-server virtual machine network card address corresponding to the network card address searched by the IDC console from the IP information generation list, and finally, the virtual machine is controlled to replace the default network card address 00.
S104: starting the virtual machine and obtaining a second temporary network, and obtaining an IP address of the virtual machine in the server corresponding to the network card address from the IDC console based on the second temporary network;
specifically, after the virtual machine of the server is installed, the server controls the virtual machine to start and obtain a second temporary network, so that the virtual machine of the server can be temporarily connected to the internet. Under the condition of temporary internet access, a virtual machine of the server sends a request to the IDC console, and the sent request carries the network card address of the server. After the IDC console receives the request of the server, the server receives the IP address of the virtual machine in the server corresponding to the network card address searched by the IDC console from the IP information generating list, so that the server can acquire the IP of the virtual machine in the server corresponding to the server.
S105: and replacing the IP address of the second temporary network with the IP address of the virtual machine in the server.
Specifically, after receiving the in-server virtual machine IP sent by the IDC console, the server controls the internal virtual machine to replace the IP address of the second temporary network with the in-server virtual machine IP, so that the virtual machine of the server automatically completes configuration.
Referring to fig. 4, a flow chart of an automatic management method for servers on rack in a computer room according to another embodiment of the present invention is applied to servers on rack in a computer room, and can also be implemented by relying on a computer program and run on an automatic management device for servers based on von neumann architecture. The computer program can be integrated in an application, and can also be operated as an independent tool application, and specifically comprises the following steps:
s201: acquiring a server management IP address configured according to a server label, acquiring a network card address of a server corresponding to a cabinet according to the server management IP address, and sending the network card address to an IDC console so that the IDC console adds the network card address to an IP information generation list corresponding to the server, wherein the IP information generation list also comprises the server management IP address, the server IP address, the network card address of a virtual machine in the server, the IP address and the number of the virtual machine in the server and the position information of the cabinet corresponding to the server;
specifically, before a server is put on shelf in a machine room, an IDC console in the machine room generates a server management IP address, a server IP address, a virtual machine IP address in the server, a virtual machine network card address in the server, a serial number and position information of a cabinet; after a server is put on the rack in the machine room, a label printed with a server management IP address, a server IP address, an IP address of a virtual machine in the server, a network card address of the virtual machine in the server, a serial number and position information of the rack is attached to a cabinet of the server by a person, the person manually configures the server management IP address according to the server management IP address on the server label, then the server receives a request of an IDC console, and the server acquires the server management IP address. And managing the IP address according to the server, and acquiring the network card address of the server through a system built in the server. The system built in the server refers to a system set in a home server by a server manufacturer, and the network card address of the server can be obtained through the system. After the network card address is obtained, the server sends a request to the IDC console, and the network card address is sent to the IDC console, so that the IDC console adds the network card address to a corresponding IP information generation list according to the corresponding relation between the server management IP address and the network card address.
S202: acquiring a first temporary network based on the installed operating system, acquiring a server IP address corresponding to the network card address from the IDC console based on the first temporary network, and replacing the IP address of the first temporary network with the server IP address;
specifically, refer to step S102, which is not described herein again.
S203: generating configuration information of a virtual machine of a server, requesting an API (application program interface) of an IDC (Internet data center) console according to a network card address, acquiring a corresponding network card address of the virtual machine in the server from the IDC console through the API, and replacing the network card address in the configuration information of the virtual machine with a network card address of the virtual machine in the server;
specifically, in the embodiment of the present Application, an Application Programming Interface (API) is used as a channel for communicating a program in a server with an IDC console, and data transmission can be performed through the API, where the API is a predefined Interface function.
After a server on the machine room is automatically networked, the server generates configuration information of the virtual machine, then sends a request carrying a network card address of the server to an API of an IDC console, after the IDC console receives the request, the server receives a network card address of the virtual machine in the server, which is searched by the IDC console from an IP information generation list and corresponds to the network card address, and finally the server controls the internal virtual machine to replace a default network card address in the configuration information with a network card address of the virtual machine in the server, so that the virtual machine installation of the server is completed.
S204: controlling the virtual machine to install the operating system based on the operating system copied from the mirror image server so as to start the virtual machine;
specifically, after the virtual machine is installed, the server requests the mirror image file stored in the mirror image server designated in the computer room intranet to be copied. The mirror image file is an operating system, and then the operating system is installed on the virtual machine by the server, so that the virtual machine of the server can be normally started.
S205: controlling the virtual machine to obtain a second temporary network based on the IP address of the second temporary network distributed by the DHCP server, requesting an API of the IDC console according to the network card address based on the second temporary network, and obtaining the corresponding IP address of the virtual machine in the server from the IDC console through the API;
s206: and replacing the IP address of the second temporary network with the IP address of the virtual machine in the server.
Specifically, after the virtual machine is started, the DHCP server searches for an IP address of a second temporary network that is temporarily accessible to the internet in a preset IP address pool of the DHCP server, and allocates the IP address to the virtual machine of the server in a unicast manner, so that the virtual machine finally obtains the temporary network. And the virtual machine in the server sends a request to an API (application program interface) of the IDC console based on the second temporary network, wherein the sent request carries the network card address of the server. After the IDC console receives the request, the server receives the corresponding virtual machine IP address in the server searched by the IDC console in the IP information generation list according to the network card address through the API, and finally the server controls the virtual machine to replace the IP address of the second temporary network with the virtual machine IP address in the server, so that the virtual machine completes automatic configuration. It should be noted that unicast refers to communication between a single sender and a recipient via a network. The method can be applied to the fields of communication, computers and the like, and can also solve practical problems by utilizing a multicast and unicast hybrid algorithm.
Referring to fig. 5, a schematic flow chart of another automatic management method for servers on rack in a machine room according to the embodiment of the present application is applied to an IDC console, and specifically includes:
s301: receiving an operation instruction of an IP information generation page of an IDC console, and generating an IP information generation list corresponding to at least one server on the machine room based on the operation instruction, wherein the IP information generation list comprises a server management IP address, a server IP address, a network card address of a virtual machine in the server, the IP address of the virtual machine in the server, a serial number and position information of a machine cabinet;
specifically, the IDC console is provided with a button capable of generating an IP information generation list, when a server is on shelf in a computer room, a person presses the button, the IDC console generates an IP information generation page, and then the person operates on the page to send an operation instruction, for example, a starting IP address and the generated number are set. Based on the operation instruction, the IDC console generates a plurality of groups of IP information generation lists including numbers, server management IP addresses, server IP addresses, network card addresses of virtual machines in the servers, IP addresses of the virtual machines in the servers and position information of the cabinet. The number of the groups of the IP information generation lists is matched with the number of the servers, and each group of the IP information generation lists corresponds to one server on the rack of the machine room. The serial number, the server management IP address, the server IP address, the network card address of the virtual machine in the server and the IP address of the virtual machine in the server in each group of IP information generation lists are in one-to-one correspondence, wherein the serial number mainly plays a role of identification, so that the IP information generation lists in each group are different, and the IP information generation lists in each group are further distinguished. For example, if 300 servers are newly installed in the machine room, the IDC console would generate 300 numbers, 300 server management IP addresses, 300 network card addresses of virtual machines in the servers, 300 IP addresses of virtual machines in the servers, and 300 IP addresses of the servers accordingly. The serial numbers are generated in sequence, wherein the serial numbers are generated from 0001-0300 at this time, and if 300 servers are put on shelf next time, the serial numbers are generated in sequence and are 0301-0600; the IP address is generated with each digit ranging from 0-255, advancing the bit and zeroing the bit as it proceeds to 256. Such as: 10.1.255.1, where the IP with increasing third digit 255 is: 10.2.0.1. IP generation is performed based on a predetermined initial IP and the number of IPs required to be generated. The number of servers newly put on shelf to the computer room is 300, the number of generated IPs is 300, and the initial IP is: 10.0.0.1, then the first 255 IPs generated are: 10.0.0.1 to 10.0.0.255, the last 45 IPs being 10.0.1.1-10.0.1.45. It should be noted that in the embodiment of the present application, the IP information generation list is generated according to a preset rule, the preset rule is a background algorithm of the IDC console, and in the embodiment of the present application, the background algorithm may adopt a 6gen.6gen algorithm.
S302: acquiring network card addresses corresponding to the management IP addresses of the servers, and adding the network card addresses to an IP information generation list corresponding to the servers;
specifically, after an IP information generation list is generated by an IDC console, a person makes the generated IP information generation list as a label and attaches the label to a server, the person configures a server management IP address according to the label, a network card address is obtained through the server management IP address, and a matching relationship is established between the network card address and the server management IP address. The IDC console receives a request of a server, acquires network card address information, and then adds the network card address to a group of IP information generation lists containing corresponding server management IP addresses according to the matching relation between the network card address and the server management IP addresses, so that the serial number, the server management IP addresses, the network card address and the server IP addresses form a one-to-one corresponding relation.
S303: receiving an address acquisition request sent by each server based on the acquired first temporary network after an operating system is installed, respectively searching a server IP address corresponding to each network card address in an IP information generation list, and sending each server IP address to the corresponding server so that each server replaces the IP address of the first temporary network with the server IP address, wherein the network card address is carried in the address acquisition request;
specifically, after an operating system is installed on each server of the computer room and a first temporary network is obtained, the IDC console receives a request sent by each server, the request sent by each server carries a network card address of the corresponding server, the IDC console searches a group of IP information generation lists containing the network card addresses of the corresponding servers from different groups of IP information generation lists according to the network card addresses, and it needs to be noted that the network card addresses are already added in the IP information generation lists. And finally, finding the server IP address corresponding to the network card address in the group of IP information generation lists and sending the server IP address to the corresponding server, so that each server can replace the IP address of the first temporary network with the server IP address, and further automatic networking is realized.
S304: after the configuration information of the virtual machines is generated on the basis of each server, an API request of network card addresses carried by each server is received, the network card addresses of the virtual machines in the servers corresponding to the network card addresses are respectively searched in an IP information generation list, and the network card addresses of the virtual machines in the servers are sent to the corresponding servers through the API, so that the network card addresses in the configuration information of the virtual machines are replaced by the network card addresses of the virtual machines in the servers by the servers;
specifically, after each server is automatically networked to generate configuration information of the virtual machine, an API of an IDC console receives a request of each server, the request carries a network card address of each server, the IDC console searches a group of IP information generation lists containing the network card addresses of the corresponding servers from different groups of IP information generation lists according to the network card addresses, finally, the network card addresses of the virtual machines in the servers corresponding to the network card addresses are found in the group of IP information generation lists, and the network card addresses are sent to the corresponding servers through the API, so that the virtual machines of each server can obtain the network card addresses of the virtual machines in the servers.
S305: after the virtual machines of all the servers are started and second temporary networks are obtained, API requests of network card addresses carried by all the servers are received, the IP addresses of the virtual machines in the servers corresponding to the network card addresses are respectively searched in the IP information generation list, and the IP addresses of the virtual machines in the servers are sent to the corresponding servers through the API, so that the IP addresses of the second temporary networks of the virtual machines are replaced by the IP addresses of the virtual machines in the servers by all the servers.
Specifically, after the virtual machines of the servers are started and the second temporary networks are obtained, the API of the IDC console receives requests of the servers, the requests carry network card addresses of the servers, the IDC console searches a group of IP information generation lists containing the network card addresses of the corresponding servers from different groups of IP information generation lists according to the network card addresses, and finally finds the IP addresses of the virtual machines in the servers corresponding to the network card addresses in the group of IP information generation lists, so that the virtual machines of the servers complete replacement of the IP addresses of the second temporary networks into the IP addresses of the virtual machines in the servers, and further complete automatic configuration of the virtual machines.
The implementation principle of the automatic management method for the servers on the rack in the machine room in the embodiment of the application is as follows: the IDC console generates a plurality of groups of IP information generation lists according to the number of the servers, the server on the machine room acquires corresponding network card addresses according to the server management IP, and the network card addresses are uploaded to the IDC console and added to the corresponding IP information generation lists. After an operating system is installed on a server and a first temporary network is obtained, the server sends a request carrying a network card address to an API of an IDC console based on the first temporary network, the IDC console searches a server IP address corresponding to the network card address in an IP information generation list, the server IP address is sent to a corresponding server through the API, and the server replaces the IP address of the temporary network with the server IP address, so that the server on the rack of a machine room automatically completes system installation and network information configuration, and finally obtains networking capacity in batch. And after the server obtains the networking capability, generating configuration information of the virtual machine, requesting an API (application program interface) of the IDC console, obtaining a network card address of the virtual machine in the server, and replacing a default network card address in the configuration information with the network card address of the virtual machine in the server. And then starting the virtual machine and obtaining a second temporary network, requesting an API (application program interface) of the IDC console by the server to obtain an IP (Internet protocol) address of the virtual machine in the server, controlling the virtual machine to replace the IP of the second temporary network with the IP address of the virtual machine in the server, and completing the automatic configuration of the virtual machine, thereby improving the management efficiency of the server.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 6 is a schematic structural diagram of an automatic management device for servers on rack in a machine room according to an embodiment of the present application. The automated management apparatus may be implemented as all or part of an apparatus by software, hardware, or a combination of both. The device 1 comprises an acquisition sending module 11, an automatic networking module 12, a virtual machine installation module 13, a virtual machine IP acquisition module 14 and a virtual machine configuration module 15.
The obtaining and sending module 11 is configured to obtain a network card address of the server, and send the network card address to the IDC console;
the automatic networking module 12 is used for acquiring a first temporary network based on the installed operating system, acquiring a server IP address corresponding to the network card address from the IDC console based on the first temporary network, and replacing the IP address of the first temporary network with the server IP address;
the virtual machine installation module 13 is configured to generate configuration information of a virtual machine of the server, acquire a network card address of the virtual machine in the server corresponding to the network card address from the IDC console, and replace the network card address in the virtual machine configuration information with the network card address of the virtual machine in the server;
the virtual machine IP obtaining module 14 is configured to start a virtual machine and obtain a second temporary network, and obtain, from the IDC console, an in-server virtual machine IP address corresponding to the network card address based on the second temporary network;
and the virtual machine configuration module 15 is configured to replace the IP address of the second temporary network with the IP address of the virtual machine in the server.
Optionally, as shown in fig. 7, the obtaining and sending module 11 includes:
a management IP obtaining unit 111 configured to obtain a server management IP address configured according to the server label;
a network card address obtaining unit 112, configured to obtain a corresponding network card address according to the server management IP address.
Optionally, as shown in fig. 8, the virtual machine IP obtaining module 14 includes:
a system copy installation unit 141 for controlling the virtual machine to install the operating system based on the operating system copied from the mirror server;
a temporary network unit 142, configured to control the virtual machine to obtain the second temporary network based on the IP address of the second temporary network allocated by the DHCP server;
and the virtual machine IP requesting unit 143 is configured to request, based on the second temporary network, an API of the IDC console according to the network card address, and obtain, through the API, a corresponding in-server virtual machine IP address from the IDC console.
It should be noted that, when the automatic management apparatus for a server on shelf in a machine room provided in the foregoing embodiment executes an automatic management method for a server on shelf in a machine room, the above-mentioned division of each function module is merely used as an example, and in practical applications, the above-mentioned function allocation may be completed by different function modules according to needs, that is, the internal structure of the device is divided into different function modules, so as to complete all or part of the above-mentioned functions. In addition, the automatic management device for servers on shelf in the machine room and the automatic management method for servers on shelf in the machine room provided by the above embodiments belong to the same concept, and details of the implementation process are shown in the method embodiments, which are not described herein again.
The embodiment of the application further discloses a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the automatic management method for the servers on the rack in the machine room of the embodiment is adopted.
The computer program may be stored in a computer readable medium, the computer program includes computer program code, the computer program code may be in a source code form, an object code form, an executable file or some intermediate form, and the like, the computer readable medium includes any entity or device capable of carrying the computer program code, a recording medium, a usb disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read Only Memory (ROM), a Random Access Memory (RAM), an electrical carrier signal, a telecommunication signal, a software distribution medium, and the like, and the computer readable medium includes but is not limited to the above components.
The automatic management method for servers on shelf in the computer room of the embodiment is stored in the computer-readable storage medium through the computer-readable storage medium, and is loaded and executed on the processor, so as to facilitate the storage and application of the method.
The embodiment of the application also discloses computer equipment, wherein a computer program is stored in a computer readable storage medium, and when the computer program is loaded and executed by a processor, the automatic management method for the servers on the rack in the computer room is adopted.
The computer device may be a desktop computer, a notebook computer, or a cloud server, and the computer device includes but is not limited to a processor and a memory, for example, the computer device may further include an input/output device, a network access device, a bus, and the like.
The processor may be a Central Processing Unit (CPU), and of course, according to an actual use situation, other general processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like may also be used, and the general processor may be a microprocessor or any conventional processor, and the present application does not limit the present invention.
The memory may be an internal storage unit of the computer device, for example, a hard disk or a memory of the computer device, or an external storage unit of the computer device, for example, a plug-in hard disk, a Smart Memory Card (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the computer device, or a combination of the internal storage unit of the computer device and the external storage device, and the memory is used for storing a computer program and other programs and data required by the computer device, and may also be used for temporarily storing data that has been output or will be output, which is not limited in this application.
The automatic management method of the server on the shelf in the computer room of the embodiment is stored in the memory of the computer equipment through the computer equipment, and is loaded and executed on the processor of the computer equipment, so that the use is convenient.
The above description is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure should not be limited thereby. It is intended that all equivalent variations and modifications made in accordance with the teachings of the present disclosure be covered thereby. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. The automatic management method of the server on the shelf in the machine room is characterized by being applied to the server on the shelf in the machine room and comprising the following steps:
acquiring a network card address of a server, and sending the network card address to an IDC (Internet data center) console so as to enable the IDC console to add the network card address to an IP information generation list corresponding to the server, wherein the IP information generation list also comprises a server management IP address, a server IP address, a network card address of a virtual machine in the server, an IP address of the virtual machine in the server, a serial number and position information of a cabinet corresponding to the server;
acquiring a first temporary network based on the installed operating system, acquiring a server IP address corresponding to the network card address from the IDC console based on the first temporary network, and replacing the IP address of the first temporary network with the server IP address;
generating configuration information of a virtual machine of the server, acquiring a network card address of the virtual machine in the server corresponding to the network card address from the IDC console, and replacing the network card address in the configuration information of the virtual machine with the network card address of the virtual machine in the server;
starting the virtual machine and obtaining a second temporary network, and obtaining an IP address of the virtual machine in the server corresponding to the network card address from the IDC console based on the second temporary network;
and replacing the IP address of the second temporary network with the IP address of the virtual machine in the server.
2. The method according to claim 1, wherein the obtaining the network card address includes:
acquiring a server management IP address configured according to a server label;
and acquiring the network card address of the server corresponding to the cabinet according to the server management IP address.
3. The method according to claim 1, wherein the obtaining of the network card address of the virtual machine in the server corresponding to the network card address from the IDC console comprises:
and requesting the API of the IDC console according to the network card address, and acquiring the corresponding network card address of the virtual machine in the server from the IDC console through the API.
4. The method of claim 1, wherein the starting the virtual machine of the server and obtaining the second temporary network comprises:
controlling the virtual machine to install an operating system based on the operating system copied from the mirror image server so as to enable the virtual machine to be started;
and controlling the virtual machine to obtain the second temporary network based on the IP address of the second temporary network allocated by the DHCP server.
5. The method according to claim 1, wherein the obtaining an IP address of the virtual machine in the server corresponding to the network card address from the IDC console based on the second temporary network comprises:
based on the second temporary network, requesting an API of the IDC console according to the network card address, and acquiring a corresponding IP address of the virtual machine in the server from the IDC console through the API.
6. An automatic management method of servers on rack in a machine room is characterized by being applied to an IDC console and comprising the following steps of:
receiving an operation instruction of an IP information generation page of an IDC console, and generating an IP information generation list corresponding to at least one server on the machine room based on the operation instruction, wherein the IP information generation list comprises a server management IP address, a server IP address, a network card address of a virtual machine in the server, the IP address of the virtual machine in the server, a serial number and position information of a machine cabinet;
acquiring network card addresses corresponding to the management IP addresses of the servers, and adding the network card addresses to an IP information generation list corresponding to the servers;
receiving an address acquisition request sent by each server based on the acquired first temporary network after an operating system is installed, respectively searching a server IP address corresponding to each network card address in the IP information generation list, and sending each server IP address to the corresponding server so that each server replaces the IP address of the first temporary network with the server IP address, wherein the network card address is carried in the address acquisition request;
receiving a request sent by each server after the configuration information of the virtual machine is generated, respectively searching the network card address of the virtual machine in the server corresponding to each network card address in the IP information generation list, and sending the network card address of the virtual machine in each server to the corresponding server, so that each server replaces the network card address in the configuration information of the virtual machine with the network card address of the virtual machine in the server;
and receiving a request sent by the virtual machine of each server based on the acquired second temporary network after the virtual machine of each server is started, respectively searching the IP address of the virtual machine in the server corresponding to each network card address in the IP information generation list, and sending the IP address of the virtual machine in each server to the corresponding server so that each server replaces the IP address of the second temporary network with the IP address of the virtual machine in the server.
7. The method according to claim 6, wherein the receiving a request sent by each server after generating configuration information of a virtual machine, searching a network card address of a virtual machine in the server corresponding to each network card address in the IP information generation list, and sending each network card address of the virtual machine in the server to the corresponding server, so that each server replaces the network card address in the configuration information of the virtual machine with the network card address of the virtual machine in the server, comprises:
after the configuration information of the virtual machine is generated on the basis of each server, receiving an API (application program interface) request of each server carrying a network card address, and respectively searching the network card address of the virtual machine in the server corresponding to each network card address in the IP information generation list;
and sending the network card address of the virtual machine in the server to the corresponding server through the API, so that each server replaces the network card address in the configuration information of the virtual machine with the network card address of the virtual machine in the server.
8. The method according to claim 6, wherein the receiving of the request sent by the virtual machine of each server based on the acquired second temporary network after being started, respectively searching the IP address of the virtual machine in the server corresponding to each network card address in the IP information generation list, and sending the IP address of the virtual machine in each server to the corresponding server, so that each server replaces the IP address of the second temporary network with the IP address of the virtual machine in the server, comprises:
after the virtual machines of the servers are started and the second temporary network is obtained, API requests of network card addresses carried by the servers are received, and the IP addresses of the virtual machines in the servers corresponding to the network card addresses are searched in the IP information generation list;
and sending the IP address of the virtual machine in the server to the corresponding server through the API, so that each server replaces the IP address of the second temporary network of the virtual machine with the IP address of the virtual machine in the server.
9. A computer-readable storage medium, in which a computer program is stored which, when loaded and executed by a processor, carries out the method of any one of claims 1-5 or 6-8.
10. An electronic device comprising a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the method of any one of claims 1-5 or 6-8 is employed when the computer program is loaded and executed by the processor.
CN202210960477.9A 2022-08-11 2022-08-11 Automatic management method, medium and equipment for servers on machine room Active CN115333933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210960477.9A CN115333933B (en) 2022-08-11 2022-08-11 Automatic management method, medium and equipment for servers on machine room

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210960477.9A CN115333933B (en) 2022-08-11 2022-08-11 Automatic management method, medium and equipment for servers on machine room

Publications (2)

Publication Number Publication Date
CN115333933A true CN115333933A (en) 2022-11-11
CN115333933B CN115333933B (en) 2024-04-19

Family

ID=83921371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210960477.9A Active CN115333933B (en) 2022-08-11 2022-08-11 Automatic management method, medium and equipment for servers on machine room

Country Status (1)

Country Link
CN (1) CN115333933B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116361150A (en) * 2023-02-22 2023-06-30 广州汽车集团股份有限公司 Method, device and system for testing vehicle in whole vehicle simulation environment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491144A (en) * 2013-09-09 2014-01-01 中国科学院计算技术研究所 Method for constructing wide area network virtual platform
CN103747115A (en) * 2013-12-30 2014-04-23 武汉邮电科学研究院 Method of discovering IP (Internet Protocol) address of virtual machine based on virtual network interface card
US20150127830A1 (en) * 2013-11-07 2015-05-07 International Business Machines Corporation Management of addresses in virtual machines
CN106911779A (en) * 2017-02-27 2017-06-30 郑州云海信息技术有限公司 A kind of cloud platform virtual machine obtains IP method and devices
CN107229492A (en) * 2017-05-17 2017-10-03 东软集团股份有限公司 Installation method, device, system, storage medium and the equipment of server system
CN108449197A (en) * 2018-01-03 2018-08-24 北京大学 A kind of cloudy environment network construction method based on software defined network
CN110198517A (en) * 2018-05-10 2019-09-03 腾讯科技(深圳)有限公司 A kind of port scanning method and system based on self study Path selection
CN110908770A (en) * 2019-11-05 2020-03-24 安超云软件有限公司 Operation and creation method of virtual machine, virtual machine and virtual machine management platform
CN111614790A (en) * 2019-02-26 2020-09-01 杭州海康威视***技术有限公司 Virtual machine address configuration system, method and device
CN113268256A (en) * 2021-06-09 2021-08-17 中国建设银行股份有限公司 Batch installation method and device, server and computer storage medium
CN113766041A (en) * 2020-08-10 2021-12-07 北京京东尚科信息技术有限公司 Method and device for acquiring Media Access Control (MAC) address of first server
CN114666212A (en) * 2022-03-25 2022-06-24 阿里云计算有限公司 Configuration data issuing method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491144A (en) * 2013-09-09 2014-01-01 中国科学院计算技术研究所 Method for constructing wide area network virtual platform
US20150127830A1 (en) * 2013-11-07 2015-05-07 International Business Machines Corporation Management of addresses in virtual machines
CN103747115A (en) * 2013-12-30 2014-04-23 武汉邮电科学研究院 Method of discovering IP (Internet Protocol) address of virtual machine based on virtual network interface card
CN106911779A (en) * 2017-02-27 2017-06-30 郑州云海信息技术有限公司 A kind of cloud platform virtual machine obtains IP method and devices
CN107229492A (en) * 2017-05-17 2017-10-03 东软集团股份有限公司 Installation method, device, system, storage medium and the equipment of server system
CN108449197A (en) * 2018-01-03 2018-08-24 北京大学 A kind of cloudy environment network construction method based on software defined network
CN110198517A (en) * 2018-05-10 2019-09-03 腾讯科技(深圳)有限公司 A kind of port scanning method and system based on self study Path selection
CN111614790A (en) * 2019-02-26 2020-09-01 杭州海康威视***技术有限公司 Virtual machine address configuration system, method and device
CN110908770A (en) * 2019-11-05 2020-03-24 安超云软件有限公司 Operation and creation method of virtual machine, virtual machine and virtual machine management platform
CN113766041A (en) * 2020-08-10 2021-12-07 北京京东尚科信息技术有限公司 Method and device for acquiring Media Access Control (MAC) address of first server
CN113268256A (en) * 2021-06-09 2021-08-17 中国建设银行股份有限公司 Batch installation method and device, server and computer storage medium
CN114666212A (en) * 2022-03-25 2022-06-24 阿里云计算有限公司 Configuration data issuing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FAN, LX等: "Design and Realization of Virtual Computer Cluster System", 《INTERNATIONAL CONFERENCE ON ADVANCED MATERIALS AND INFORMATION TECHNOLOGY PROCESSING (AMITP 2011)》, 30 November 2011 (2011-11-30) *
邓静;方绍正;: "基于云计算的校园应用服务器虚拟化技术研究", 宿州学院学报, no. 11, 15 November 2012 (2012-11-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116361150A (en) * 2023-02-22 2023-06-30 广州汽车集团股份有限公司 Method, device and system for testing vehicle in whole vehicle simulation environment
CN116361150B (en) * 2023-02-22 2024-03-01 广州汽车集团股份有限公司 Method, device and system for testing vehicle in whole vehicle simulation environment

Also Published As

Publication number Publication date
CN115333933B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
CN112019475B (en) Resource access method, device, system and storage medium under server-free architecture
CN108694117B (en) Method and device for managing test environment based on container technology
CN110677405B (en) Data processing method and device, electronic equipment and storage medium
CN109951325B (en) Network cable connection checking method and device
CN108322325B (en) Virtual machine management method and device
CN103677858A (en) Method, system and device for managing virtual machine software in cloud environment
CN111885216B (en) DNS query method, device, equipment and storage medium
CN103188091A (en) Management method of cloud service system and management system
CN112954088A (en) Equipment address allocation method and equipment of CAN network and electronic equipment
CN113361913A (en) Communication service arranging method, device, computer equipment and storage medium
CN115333933B (en) Automatic management method, medium and equipment for servers on machine room
CN104253792A (en) Substrate management controller virtual system and method
CN112804367A (en) Address allocation method and device under dual-stack environment
CN114124883B (en) Data access method and device based on cloud storage address, computer equipment and medium
CN115333932B (en) Automatic networking method of server, storage medium and electronic equipment
CN114338383A (en) Simplified configuration method and system for video equipment
CN112367415B (en) Generation method and device of attribute information, electronic equipment and computer readable medium
CN111858079B (en) Distributed lock migration method and device, electronic equipment and storage medium
CN114338279A (en) Terminal access method and device and server
CN113687910A (en) Method, device, equipment and storage medium for managing USB (universal serial bus) equipment in cluster
US20050132084A1 (en) Method and apparatus for providing server local SMBIOS table through out-of-band communication
CN112217852A (en) Platform-as-a-service system and method based on workflow engine
CN117591248B (en) Terminal system processing method based on containerized virtual machine and electronic equipment
CN110769031B (en) Data acquisition method and device
CN115086321B (en) Multi-cluster traffic forwarding method and device and electronic equipment

Legal Events

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