CN113193986A - Cloud resource configuration method and physical machine for realizing cloud resource configuration - Google Patents

Cloud resource configuration method and physical machine for realizing cloud resource configuration Download PDF

Info

Publication number
CN113193986A
CN113193986A CN202110377519.1A CN202110377519A CN113193986A CN 113193986 A CN113193986 A CN 113193986A CN 202110377519 A CN202110377519 A CN 202110377519A CN 113193986 A CN113193986 A CN 113193986A
Authority
CN
China
Prior art keywords
physical machine
address
configuration
management node
image file
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
CN202110377519.1A
Other languages
Chinese (zh)
Other versions
CN113193986B (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.)
Shanghai Yunzhou Technology Co.,Ltd.
Original Assignee
Shanghai Zstack Information 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 Shanghai Zstack Information Technology Co ltd filed Critical Shanghai Zstack Information Technology Co ltd
Priority to CN202110377519.1A priority Critical patent/CN113193986B/en
Publication of CN113193986A publication Critical patent/CN113193986A/en
Application granted granted Critical
Publication of CN113193986B publication Critical patent/CN113193986B/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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer And Data Communications (AREA)

Abstract

The utility model provides a cloud resource configuration method and be used for realizing the physics machine of cloud resource configuration, the installation of mirror image file can be accomplished in advance to the physics machine in this scheme thing before customer's scene is put on the shelf, and the mirror image file still provides the automatic configuration function that provides network protocol, the high available automatic configuration function of management node and the automatic initialization function of cloud resource, make the physics machine put on the shelf after can accomplish most scene configuration work through these automatic functions automatically, the staff only need carry out correct wiring and fill in the IP address that plans well and confirm information at the user scene can, save a large amount of manual installation processes, the process of setting up of cloud computing platform has been simplified greatly. In addition, after the addition of the computing nodes is completed, the virtual machine can be created in the cloud computing platform, and an application system required by a user is deployed depending on the cloud computing platform.

Description

Cloud resource configuration method and physical machine for realizing cloud resource configuration
Technical Field
The present application relates to the field of information technologies, and in particular, to a cloud resource configuration method and a physical machine for implementing cloud resource configuration.
Background
In recent years, with the rise of the internet, cloud computing technology is becoming more and more popular in enterprises. However, although cloud computing is good, deployment and configuration of cloud resources are complex. Conventional cloud resource configuration schemes generally need to include the following processing steps:
1. after each physical machine is mounted, the mirror image file is installed.
2. A fixed IP is configured for each physical machine.
3. And installing an operating system for the management node and managing the node service.
4. Based on the configured fixed IP, high-availability service of the management node is deployed, and the management node is deployed on a plurality of physical machines.
5. Resources such as areas, clusters, mirror warehouses and the like are created, and then logical resources such as management nodes and computing nodes are added to the clusters.
6. After the logical resources are added, the virtual machine is normally created.
In the whole process, a large amount of manual installation is required to be carried out on a client site by workers, such as the processes of installing image files, configuring IP, installing a management node operating system and service, deploying high availability, initializing cloud resources, adding logic resources and the like. If the number of the physical machines reaches a certain scale, such as hundreds of thousands of machines, the workload of the whole configuration process is very large, so that the construction of the cloud computing platform becomes very complex and inefficient.
Content of application
An object of the present application is to provide a cloud resource configuration method and a physical machine for implementing cloud resource configuration, so as to solve the problems in the prior art.
In order to achieve the above object, the present application provides a cloud resource configuration method, including:
before a physical machine is mounted on a shelf, installing an image file in the physical machine, wherein the image file at least provides an automatic configuration function of a network protocol, an automatic configuration function of high availability of a management node and an automatic initialization function of cloud resources;
after the physical machine is mounted on the shelf, accessing a configuration page of a fixed IP address access management node arranged in the physical machine, and filling a planning IP address of the physical machine through the configuration page so as to enable the physical machine to automatically complete network protocol configuration according to the planning IP address;
completing the high-availability configuration of the management node based on the configured network protocol so that the management node is deployed on at least two physical machines;
automatically scanning the planning IP address through a management node, and automatically initializing cloud resources based on the planning IP address;
and adding a computing node IP address through an operation page of a management node so that the management node automatically completes the addition of the computing node, wherein the computing node IP address is an IP address corresponding to a physical machine which needs to be configured as the computing node in an overhead physical machine.
Further, the image file also provides a self-checking function, and the self-checking function is used for detecting the installation completion condition of the installation package for realizing each function in the image file after the image file is installed, and obtaining a self-checking result.
Further, the method further comprises:
the self-checking function provided by the mirror image file is also used for outputting a self-checking result in a form of a table and outputting detailed log information of the self-checking to a log file.
Further, the image file is also used for providing a fixed IP address for accessing the configuration page after the installation is completed.
Further, the method further comprises:
before the physical machine is mounted on the shelf, burning the serial number of the physical machine in the physical machine so as to record the serial number in the BIOS of the physical machine.
Further, after the physical machine is mounted on the shelf, accessing a configuration page of a fixed IP address access management node built in the physical machine, and filling a planned IP address of the physical machine through the configuration page, so that the physical machine automatically completes network protocol configuration according to the planned IP address, including:
after the physical machine is mounted on the shelf, opening a configuration page of a browser access management node through a fixed IP address built in the physical machine, wherein a serial number of the physical machine is displayed in the configuration page, and the serial number is distributed before the physical machine is mounted on the shelf;
and filling a planning IP address corresponding to the serial number through the configuration page so that the physical machine automatically completes network protocol configuration according to the planning IP address.
Further, automatically scanning the planned IP address through a management node, and automatically initializing cloud resources based on the planned IP address, including:
providing an entry IP address of a management node after completing the high-availability configuration of the management node based on the configured network protocol;
after logging in through the entry IP address, the management node automatically skips to an adding page and scans a planning IP address;
and the management node automatically initializes the cloud resources based on the planned IP address.
Further, the physical machine configured as the computing node and the physical machine configured as the management node are located in the same two-layer network, and the configuration of the access interface of the accessed uplink switch is the same.
Further, the method further comprises:
after the addition of the compute node is completed, a virtual machine is created.
On the other hand, the physical machine for realizing the cloud resource configuration is characterized in that an image file is installed before the physical machine is put on shelf, and the image file at least provides an automatic configuration function of a network protocol, an automatic configuration function of a management node which is highly available and an automatic initialization function of a cloud resource, so that after the physical machine is put on shelf, the network protocol configuration, the initialization of the cloud resource and the addition of the management node and the computing node are automatically completed according to a planning IP address filled by a user.
Compared with the prior art, in the cloud resource configuration scheme provided by the application, the mirror image file can be installed in the physical machine before the physical machine is mounted, and the mirror image file at least provides an automatic configuration function of a network protocol, an automatic configuration function with high availability of a management node and an automatic initialization function of cloud resources; after a physical machine is mounted on the shelf, accessing a configuration page of a fixed IP address access management node built in the physical machine, filling a planned IP address of the physical machine through the configuration page, so that the physical machine automatically completes network protocol configuration according to the planned IP address, and completing high-availability configuration of the management node based on the configured network protocol, so that the management node is deployed in at least two physical machines; and then automatically scanning the planned IP address through a management node, automatically initializing cloud resources based on the planned IP address, and adding the IP address of the computing node through an operation page of the management node so that the management node automatically completes the addition of the computing node.
Because the installation of the image file is completed in advance before the physical machine is put on shelf on the client site, and the image file also provides an automatic configuration function for providing a network protocol, an automatic configuration function for high availability of a management node and an automatic initialization function of cloud resources, most of site configuration work can be automatically completed through the automatic functions after the physical machine is put on shelf, and a worker only needs to correctly connect the line, fill in a planned IP address and confirm information on the user site, so that a large amount of manual installation processes are omitted, and the construction process of a cloud computing platform is greatly simplified.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a schematic diagram of a configuration process of a cloud resource configuration method according to an embodiment of the present application;
fig. 2 is a flowchart of implementation when cloud resource configuration is implemented by using the scheme of the embodiment of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In a typical configuration of the present application, the terminal, the devices serving the network each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, which include both non-transitory and non-transitory, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer program instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
According to the cloud resource configuration method provided by the embodiment of the application, the installation of the image file can be completed in advance before the physical machine is erected on a client site, the image file also provides an automatic configuration function for providing a network protocol, an automatic configuration function for high availability of a management node and an automatic initialization function for cloud resources, so that most of site configuration work can be automatically completed through the automatic functions after the physical machine is erected, and a worker only needs to correctly connect the line, fill in a planned IP address and confirm information on the user site, so that a large number of manual installation processes are omitted, and the construction process of a cloud computing platform is greatly simplified.
Fig. 1 shows a configuration process of a cloud resource configuration method provided in an embodiment of the present application, which includes at least the following configuration steps:
step S101, before the physical machine is mounted on the shelf, installing the mirror image file in the physical machine. In an actual scenario, the installation process of installing the image file may be completed in a production stage of a factory, that is, the image file may be installed in the physical machine before the physical machine is produced and shipped from the factory. The image file can be in various file formats suitable for cloud computing node image installation, such as an image file in an ISO format.
The image file can be a customized image file, and can include a program installation package for providing automation services besides necessary installation packages such as a physical machine operating system and the like, and the program installation package for providing automation services can provide an automatic configuration function of a network protocol, an automatic configuration function with high availability of a management node, an automatic initialization function of cloud resources and the like, so that a physical machine for installing the image file can realize a series of automatic configurations after being mounted on shelf, and a large amount of manual installation work is saved.
In some embodiments of the present application, the image file may further provide a self-checking function, and the self-checking function may be configured to detect, after the image file is installed, an installation completion condition of an installation package that implements each function in the image file, and obtain a self-checking result. For example, after the image file is installed and the operating system of the physical machine is started, a self-checking script can be automatically run to check the installation completion condition of the installation package of each function. In an actual scenario, the self-check items may include: the management node service self-starting normal check, the network service self-starting service check, the disk capacity service check, the network card check and the like can output corresponding self-checking results aiming at each item.
In addition, in order to enable the self-checking result to be displayed to the user more clearly, the self-checking function provided by the image file can output the self-checking result in a form of a table, and output detailed log information of the self-checking to a log file. For example, the table of the self-checking result may include a version number of the currently installed image file, each self-checking result may be listed below, and the self-checking result of each self-checking item may be output in the form of PASS \ FAIL, where PASS indicates that a certain self-checking item passes self-checking, and FAIL indicates that a certain self-checking item FAILs self-checking. In addition to the self-checking result represented in a tabular manner, the detailed log information of the self-checking can be uniformly output to the corresponding log file, wherein more detailed information in the self-checking process can be included, so that a user can check the detailed process of the self-checking by calling the log file when needed. For the project with the failure self-checking, the project can be eliminated in a manual intervention mode before the physical machine leaves the factory, so that the process is not exposed to the customer site, but is processed in advance before leaving the factory, the workload of the customer site is reduced, and the efficiency of site cloud resource configuration is improved.
And S102, after the physical machine is mounted, accessing a configuration page of a fixed IP address access management node arranged in the physical machine, and filling a planning IP address of the physical machine through the configuration page so that the physical machine automatically completes network protocol configuration according to the planning IP address.
The physical machine is mounted on a rack of a machine room on a customer site, so that the physical machine can serve as physical resources for deploying a cloud computing platform and be used for bearing logical resources such as management nodes and computing nodes. Before configuration, correct wiring is needed to be performed, that is, a physical machine to be deployed is accessed to an uplink switch through a network cable, the physical machine configured as a computing node and the physical machine configured as a management node are located in the same two-layer network, and the access interfaces of the accessed uplink switch are configured in the same configuration.
After correct connection is carried out, a fixed IP address built in the physical machine can be accessed to access a configuration page of the management node. The fixed IP address may be set before the physical machine is mounted, and when the physical machine is mounted and powered on, the fixed IP address may be directly accessed through the browser. For example, the fixed IP address may be written into an image file in advance, and provided by the image file after installation is completed. Therefore, in the production stage of a factory, after the image file is successfully installed, a fixed IP address for accessing the configuration page can be provided, the fixed IP can be configured on a default network card of the physical machine, and a user can access the configuration page of the management node through the fixed IP address by opening a browser.
And the planning IP address of the physical machine can be filled in through a configuration page, so that the physical machine automatically completes network protocol configuration according to the planning IP address. The planned IP address refers to an IP address that is planned in advance for a newly-shelved physical machine in the client machine room, for example, 50 planned IP addresses of a network segment of aaa.bbb.ccc.1-aaa.bbb.ccc.50 can be allocated for 50 physical machines by the new shelve, and at this time, a corresponding IP address in the network segment can be filled in each physical machine in the configuration page, so that each physical machine can be allocated with one corresponding IP address.
In an actual scene, the distribution process of the planning IP address can be realized by filling in a certain unique identifier of the physical machine and the corresponding planning IP address. For example, the unique identifier used in this embodiment may be a Serial Number (SN) of the physical machine, and the Serial Number of each physical machine may be burned in the physical machine before the physical machine is mounted, so that the Serial Number is recorded in a Basic Input Output System (BIOS) of the physical machine. Therefore, in the configuration process, the serial number of the physical machine can be automatically scanned out and displayed in the configuration page, and an input area capable of filling in the IP address is reserved in the corresponding position of the serial number, so that a worker can fill in the IP address corresponding to each SN in the input area.
Based on this, in other embodiments of the present application, after the physical machine is mounted on the shelf, a configuration page of the browser access management node is opened through a fixed IP address built in the physical machine, where a serial number of the physical machine is displayed in the configuration page, and the serial number is allocated before the physical machine is mounted on the shelf. And at the moment, filling a planning IP address corresponding to the serial number through the configuration page so that the physical machine automatically completes network protocol configuration according to the planning IP address.
Because the pre-installed image file can provide the automatic configuration function of the network protocol, after the staff can fill in the planning IP address of the physical machine through the configuration page, the physical machine can automatically complete the network protocol configuration according to the filled planning IP address. In an actual scenario, each physical machine installed with the image file starts an agent process after being started, the agent process encapsulates processing logic for automatic processing, an IP address filled in a configuration page is issued to the agent process of the physical machine, and the agent process hosts and executes configuration and a process of a network protocol. For example, one possible auto-configuration process is as follows: an mDNS (Multicast Domain Name System) service, such as avahi-daemon, is built in the image file, so that an IP address of ipv6 for interaction in an ssh (Secure Shell) mode can be provided, then the SN of the physical machine and the ipv6 address are corresponding and recorded in the ssh mode, and then the SN and the IP address of ipv4 to be configured are compared, and the corresponding IP address of ipv4 is configured for the corresponding physical machine in the ssh mode, thereby completing automatic configuration of the network protocol.
Step S103, high-availability configuration of the management node is completed based on the configured network protocol, so that the management node is deployed in at least two physical machines. When one of the physical machines with the management nodes is failed and cannot provide services, the other physical machine can be switched to, and high availability of the management nodes can be ensured. Since the pre-installed image file provides an automatic configuration function with high availability of the management node, after the network protocol configuration is completed, the high availability configuration of the management node can be automatically completed.
And step S104, automatically scanning the planning IP address through a management node, and automatically initializing cloud resources based on the planning IP address. The initialization of the cloud resources may include the processing processes of creating resources such as areas, clusters, mirror image warehouses and the like in the cloud computing platform, adding physical machines, creating internal networks and the like, and since the pre-installed mirror image files provide an automatic initialization function of the cloud resources, the initialization of the cloud resources can be automatically performed after the high-availability configuration of the management nodes is completed.
After the high-availability configuration of the management node is completed based on the configured network protocol, an entry IP address for providing the management node is provided in a configuration page, and after the management node logs in through the entry IP address, the management node automatically jumps to an addition page and scans a planning IP address. Based on the scanned planning IP address, initialization of various resources in the cloud computing platform can be automatically completed, and in the process, workers only need to confirm information of each stage in the initialization process according to a prompt sequence. Therefore, for workers at a client site, the initialization process can be automatically completed according to the prompt sequence, and the workers only need to click to determine to enter the next process until the initialization is completed.
And S105, adding a computing node IP address through an operation page of the management node so that the management node automatically completes the addition of the computing node, wherein the computing node IP address is a planning IP address corresponding to a physical machine which needs to be configured as the computing node in an overhead physical machine. After initialization is completed, for the computing nodes to be deployed in the cluster, the planning IP addresses of the corresponding physical machines can be filled in the operation page. For example, a worker may add a computing node on a user site by accessing an operation page of the management node, and the specific method is to fill in the SN and the corresponding IP address of the physical machine in the operation page, and then confirm that the automatic configuration can be completed.
According to the scheme provided by the embodiment of the application, the installation of the image file can be completed in advance before the physical machine is erected on a client site, the image file also provides an automatic configuration function for providing a network protocol, an automatic configuration function for high availability of a management node and an automatic initialization function for cloud resources, so that most of site configuration work can be automatically completed through the automatic functions after the physical machine is erected, and a worker only needs to correctly connect the line, fill in a planned IP address and confirm information on the user site, so that a large number of manual installation processes are omitted, and the construction process of a cloud computing platform is greatly simplified. In addition, after the addition of the computing nodes is completed, the virtual machine can be created in the cloud computing platform, and an application system required by a user is deployed depending on the cloud computing platform.
Fig. 2 shows an implementation process when cloud resource configuration is implemented by using the scheme of the embodiment of the present application, which is specifically shown as follows:
1. and customizing the ISO image file, and including an installation package of important services (such as a management service installation package of a cloud management platform and installation files with high availability of management nodes) into the ISO image file.
a) The development phase is completed.
b) The objective requirement is to achieve automation of the configuration process, by installing customized ISO, automated installation of physical machine operating systems, management node services, network services, etc.
And 2, providing a self-checking function in the ISO image file, wherein the self-checking item comprises checking whether important services such as a network, a management node and the like are normally started after the ISO image file is installed.
a) The development phase is completed.
b) The target requirement is that the self-checking script is automatically run after the ISO and physical machine system is installed and started.
c) The self-checking items include: the management node service self-starting normal check, the network service self-starting service check, the disk capacity service check, the network card check and the like.
d) The self-checking result also outputs the corresponding ISO version number, and the self-checking result is output in a table form or a PASS \ FAIL form.
e) And outputting the self-checking detailed log information to a corresponding log file in a unified manner.
f) After the ISO is successfully installed, a default IP1 (i.e., fixed IP address) is provided, and the IP1 configuration is configured to the first default network card.
3. And burning ISO in the production process of a factory, and judging whether the installation is successful according to a self-checking result.
a) The factory production phase is completed.
b) The burning process of ISO is already involved before the server comes out, i.e. in the factory production process.
c) And judging whether the installation is successful or not according to the self-checking result of the ISO installation.
d) Besides installing ISO, the burning of SN number of server is completed in factory stage, and SN information is burned into system BIOS.
4. After the physical machine is put on shelf, the configuration page is accessed by accessing the built-in fixed IP, and the configuration IP function is automatically completed by filling the planned IP (namely the planned IP address) in the configuration page.
a) The customer completes the operation on site (the planned IP is filled after the configuration page is accessed through the fixed IP address, and the operation is automatically completed after the configuration page is determined).
b) Before automatic configuration, correct wiring is first required, and it is ensured that:
i. the network cable through which the physical machine for configuration passes is accessed into a unified switch, so that the two-layer network is ensured to be in the same.
The access interface configuration of the physical machine's upstream switch is the same and the default vlan is normally available.
c) In the configuration machine, a browser is opened through the IP1 in the 2.f to access a management node webpage (namely a configuration page), and the webpage is filled with the corresponding programmed SN and the corresponding IP, so that the configuration of the IP is automatically completed.
5. The high availability of the management node is automatically done based on the newly configured IP (i.e. the filled-in planned IP address).
a) The customer completes the job site.
b) After 4.c, the management node high availability configuration based on the newly configured IP is automatically completed. After the configuration is successful, an ingress IP address of a management node is provided on a UI (User Interface) for configuration.
6. After logging in the page, the IP of the node is automatically scanned, the establishment of resources such as an area, a cluster, a mirror image warehouse and the like is automatically completed, and the initialization work such as the addition of a physical machine, the establishment of a network and the like is automatically completed.
a) The customer completes on site (automatically in the order of initialization steps).
b) After accessing through the entry IP address of the management node, the management node automatically jumps to the operation page and completes scanning of the new IP (i.e., the planned IP address filled in the previous step). The initialization processing based on the new IP is completed according to the prompt sequence, and the user only needs to determine the point in the operation page.
7. For the computing nodes needing to be deployed in the cluster, the automatic addition of the computing nodes can be completed as long as the IP is filled in corresponding SN.
a) And (4) completing the customer on site (adding the SN and the corresponding IP in the operation page of the management node, and confirming the SN and the corresponding IP).
b) The addition of other physical machines to the non-management node needs to satisfy:
i. and the physical machine added as the computing node is accessed into the upper connection exchanger through a network cable, so that the physical machine and the management node are ensured to be on the same two-layer network.
Port configuration of the upstream switch is consistent.
8. After the automatic configuration is completed, the user can normally create the virtual machine.
Based on the same invention concept, the embodiment of the application further provides a physical machine for realizing cloud resource configuration, wherein the physical machine is provided with an image file before being mounted on a shelf, and the image file at least provides an automatic configuration function of a network protocol, an automatic configuration function of high availability of a management node and an automatic initialization function of the cloud resource, so that after the physical machine is mounted on the shelf, the network protocol configuration, the initialization of the cloud resource and the addition of the management node and the computing node are automatically completed according to a planned IP address filled by a user.
Therefore, after the physical machine is put on shelf, most of field configuration work can be automatically completed through the automatic functions, and workers only need to carry out correct wiring, fill in the planned IP addresses and confirm information on the user field, so that a large amount of manual installation processes are omitted, and the construction process of the cloud computing platform is greatly simplified. In addition, after the addition of the computing nodes is completed, the virtual machine can be created in the cloud computing platform, and an application system required by a user is deployed depending on the cloud computing platform.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (10)

1. A cloud resource configuration method is characterized by comprising the following steps:
before a physical machine is mounted on a shelf, installing an image file in the physical machine, wherein the image file at least provides an automatic configuration function of a network protocol, an automatic configuration function of high availability of a management node and an automatic initialization function of cloud resources;
after the physical machine is mounted on the shelf, accessing a configuration page of a fixed IP address access management node arranged in the physical machine, and filling a planning IP address of the physical machine through the configuration page so as to enable the physical machine to automatically complete network protocol configuration according to the planning IP address;
completing the high-availability configuration of the management node based on the configured network protocol so that the management node is deployed on at least two physical machines;
automatically scanning the planning IP address through a management node, and automatically initializing cloud resources based on the planning IP address;
and adding a computing node IP address through an operation page of a management node so that the management node automatically completes the addition of the computing node, wherein the computing node IP address is an IP address corresponding to a physical machine which needs to be configured as the computing node in an overhead physical machine.
2. The method according to claim 1, wherein the image file further provides a self-checking function, and the self-checking function is used for detecting the installation completion condition of the installation package which realizes each function in the image file after the installation of the image file is completed, and obtaining a self-checking result.
3. The method of claim 2, wherein the method further comprises:
the self-checking function provided by the mirror image file is also used for outputting a self-checking result in a form of a table and outputting detailed log information of the self-checking to a log file.
4. The method of claim 1, wherein the image file is further configured to provide a fixed IP address for accessing the configuration page after installation is complete.
5. The method of claim 1, wherein the method further comprises:
before the physical machine is mounted on the shelf, burning the serial number of the physical machine in the physical machine so as to record the serial number in the BIOS of the physical machine.
6. The method of claim 1, wherein after the physical machine is mounted on shelf, accessing a configuration page of a fixed IP address access management node built in the physical machine, and filling out a planned IP address of the physical machine through the configuration page, so that the physical machine automatically completes network protocol configuration according to the planned IP address, comprising:
after the physical machine is mounted on the shelf, opening a configuration page of a browser access management node through a fixed IP address built in the physical machine, wherein a serial number of the physical machine is displayed in the configuration page, and the serial number is distributed before the physical machine is mounted on the shelf;
and filling a planning IP address corresponding to the serial number through the configuration page so that the physical machine automatically completes network protocol configuration according to the planning IP address.
7. The method of claim 1, wherein automatically scanning, by a management node, the planned IP address and automatically initializing cloud resources based on the planned IP address comprises:
providing an entry IP address of a management node after completing the high-availability configuration of the management node based on the configured network protocol;
after logging in through the entry IP address, the management node automatically skips to an adding page and scans a planning IP address;
and the management node automatically initializes the cloud resources based on the planned IP address.
8. The method of claim 1, wherein the physical machine configured as the compute node and the physical machine configured as the management node are located in the same two-tier network and the access interface configuration of the accessed upstream switch is the same.
9. The method of claim 1, wherein the method further comprises:
after the addition of the compute node is completed, a virtual machine is created.
10. The physical machine for realizing cloud resource configuration is characterized in that an image file is installed before the physical machine is put on shelf, and the image file at least provides an automatic configuration function of a network protocol, an automatic configuration function of high availability of a management node and an automatic initialization function of a cloud resource, so that after the physical machine is put on shelf, the network protocol configuration, the initialization of the cloud resource and the addition of the management node and a computing node are automatically completed according to a planned IP address filled by a user.
CN202110377519.1A 2021-04-08 2021-04-08 Cloud resource allocation method and physical machine for realizing cloud resource allocation Active CN113193986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110377519.1A CN113193986B (en) 2021-04-08 2021-04-08 Cloud resource allocation method and physical machine for realizing cloud resource allocation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110377519.1A CN113193986B (en) 2021-04-08 2021-04-08 Cloud resource allocation method and physical machine for realizing cloud resource allocation

Publications (2)

Publication Number Publication Date
CN113193986A true CN113193986A (en) 2021-07-30
CN113193986B CN113193986B (en) 2023-05-05

Family

ID=76974962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110377519.1A Active CN113193986B (en) 2021-04-08 2021-04-08 Cloud resource allocation method and physical machine for realizing cloud resource allocation

Country Status (1)

Country Link
CN (1) CN113193986B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986267A (en) * 2021-10-27 2022-01-28 浪潮思科网络科技有限公司 Deployment method, device and medium for SDN controller installation
CN114531451A (en) * 2021-12-30 2022-05-24 北京大学 double-IP management method for computer of computer room
CN118590644A (en) * 2024-08-05 2024-09-03 天翼视联科技有限公司 Camera dimension installing method, camera dimension installing system and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110009A (en) * 2009-12-28 2011-06-29 中国移动通信集团公司 Method for deploying application in virtual platform and virtual platform manager
CN102665195A (en) * 2012-04-26 2012-09-12 深圳市中兴移动通信有限公司 Data terminal, data terminal system and data terminal implementation method based on cloud service
CN104219099A (en) * 2014-09-25 2014-12-17 浪潮(北京)电子信息产业有限公司 Automatic server cluster deploying method and device
CN105208093A (en) * 2015-08-20 2015-12-30 浪潮(北京)电子信息产业有限公司 Construction method and system of calculation resource pool in cloud operation system
CN106789381A (en) * 2017-03-31 2017-05-31 山东超越数控电子有限公司 It is a kind of for cloud computing management platform simplified deployment and the method for rapid configuration
CN107632846A (en) * 2017-09-25 2018-01-26 华为技术有限公司 Firmware upgrade method and device, Shelf management module
CN110427196A (en) * 2019-07-26 2019-11-08 新华三技术有限公司成都分公司 The installation method and device of operating system OS
CN110737467A (en) * 2018-07-18 2020-01-31 中移(苏州)软件技术有限公司 service migration method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110009A (en) * 2009-12-28 2011-06-29 中国移动通信集团公司 Method for deploying application in virtual platform and virtual platform manager
CN102665195A (en) * 2012-04-26 2012-09-12 深圳市中兴移动通信有限公司 Data terminal, data terminal system and data terminal implementation method based on cloud service
CN104219099A (en) * 2014-09-25 2014-12-17 浪潮(北京)电子信息产业有限公司 Automatic server cluster deploying method and device
CN105208093A (en) * 2015-08-20 2015-12-30 浪潮(北京)电子信息产业有限公司 Construction method and system of calculation resource pool in cloud operation system
CN106789381A (en) * 2017-03-31 2017-05-31 山东超越数控电子有限公司 It is a kind of for cloud computing management platform simplified deployment and the method for rapid configuration
CN107632846A (en) * 2017-09-25 2018-01-26 华为技术有限公司 Firmware upgrade method and device, Shelf management module
CN110737467A (en) * 2018-07-18 2020-01-31 中移(苏州)软件技术有限公司 service migration method and device
CN110427196A (en) * 2019-07-26 2019-11-08 新华三技术有限公司成都分公司 The installation method and device of operating system OS

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986267A (en) * 2021-10-27 2022-01-28 浪潮思科网络科技有限公司 Deployment method, device and medium for SDN controller installation
CN114531451A (en) * 2021-12-30 2022-05-24 北京大学 double-IP management method for computer of computer room
CN114531451B (en) * 2021-12-30 2023-12-05 北京大学 Computer room computer double-IP management method
CN118590644A (en) * 2024-08-05 2024-09-03 天翼视联科技有限公司 Camera dimension installing method, camera dimension installing system and storage medium

Also Published As

Publication number Publication date
CN113193986B (en) 2023-05-05

Similar Documents

Publication Publication Date Title
CN113193986B (en) Cloud resource allocation method and physical machine for realizing cloud resource allocation
CN110673923B (en) XWIKI system configuration method, XWIKI system and computer equipment
CN110673941B (en) Migration method of micro-services in multiple computer rooms, electronic equipment and storage medium
CN111459415A (en) Cross-cloud data migration method, device, equipment and storage medium
US20200159622A1 (en) Rule based failure addressing
CN106844213A (en) A kind of front end method of testing and device
CN109309585A (en) A kind of log collecting method, device and equipment
EP3809269A1 (en) Monitoring a distributed application server environment
WO2022095844A1 (en) Elastic block service mounting method and apparatus thereof
US9875095B2 (en) Software bundle detection
CN110855458A (en) Configuration command generation method and equipment
CN113315754A (en) Intelligent linkage method, device, equipment and medium for firewall of container visit
EP3901766A1 (en) Offline configuration method and apparatus for smart device
CN116303309A (en) File mounting method and device and electronic equipment
CN111586022A (en) Firewall opening verification method, electronic device, computer equipment and storage medium
CN112667711B (en) MySQL read-only instance management method, system and computer readable medium
CN113360386A (en) Switching chip drive test method, device, electronic equipment and storage medium
CN111756870A (en) IPv6 address configuration method, device, equipment and readable storage medium
CN111367811A (en) Method and system for improving debugging efficiency of management webpage of BMC
CN115525545A (en) Docker-based automatic testing method, system, equipment and medium
CN111880946B (en) Local service providing method, device and equipment and storage medium
CN113886009A (en) System and method for deploying big data cluster by cloud service platform
CN115514733A (en) Configuration method and configuration device for domain name resolution service (DNS)
CN114070824A (en) Registration method, registration cloud service, medium, and program product for internet of things device
CN113760446A (en) Resource scheduling method, device, equipment and medium

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
CP03 Change of name, title or address

Address after: Room 502A, dinglou, 555 Dongchuan Road, Minhang District, Shanghai, 200241

Patentee after: Shanghai Yunzhou Technology Co.,Ltd.

Country or region after: China

Address before: Room 502A, dinglou, 555 Dongchuan Road, Minhang District, Shanghai, 200241

Patentee before: SHANGHAI YUNZHOU INFORMATION TECHNOLOGY CO.,LTD.

Country or region before: China