CN113193986B - Cloud resource allocation method and physical machine for realizing cloud resource allocation - Google Patents

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

Info

Publication number
CN113193986B
CN113193986B CN202110377519.1A CN202110377519A CN113193986B CN 113193986 B CN113193986 B CN 113193986B CN 202110377519 A CN202110377519 A CN 202110377519A CN 113193986 B CN113193986 B CN 113193986B
Authority
CN
China
Prior art keywords
physical machine
address
management node
configuration
self
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.)
Active
Application number
CN202110377519.1A
Other languages
Chinese (zh)
Other versions
CN113193986A (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 Information Technology Co ltd
Original Assignee
Shanghai Yunzhou 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 Yunzhou Information Technology Co ltd filed Critical Shanghai Yunzhou 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 a physical machine for realizing cloud resource configuration, wherein the physical machine can finish the installation of mirror image files in advance before the customer puts on the shelf in the proposal, and the mirror image files also provide an automatic configuration function for providing network protocols, an automatic configuration function for high availability of management nodes and an automatic initialization function for cloud resources, so that most of site configuration work can be automatically finished through the automatic functions after the physical machine is put on the shelf, and staff only need to carry out correct connection and fill in planned IP addresses and confirm information on the site of the customer, thereby omitting a great deal of manual installation processes and greatly simplifying the construction process of a cloud computing platform. In addition, after the addition of the computing nodes is completed, a virtual machine can be created in the cloud computing platform, and an application system required by a user is deployed by means of the cloud computing platform.

Description

Cloud resource allocation method and physical machine for realizing cloud resource allocation
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to a cloud resource allocation method and a physical machine for implementing cloud resource allocation.
Background
In recent years, with the rise of the internet, cloud computing technology is becoming more and more popular in enterprises. However, cloud computing is good, and deployment and configuration for cloud resources are complex. Conventional cloud resource allocation schemes generally require the following processing steps:
1. after each physical machine is put on shelf, an image file is installed.
2. A fixed IP is configured for each physical machine.
3. And installing an operating system and a management node service for the management node.
4. And based on the configured fixed IP, deploying the high-availability service of the management node, and deploying the management node on a plurality of physical machines.
5. Resources such as areas, clusters, mirror warehouses, etc. are created, and then logical resources such as management nodes and computing nodes are added to the clusters.
6. After the logical resource is added, the virtual machine is normally created.
Because a large number of manual installation is required by staff on the customer site in the whole process, such as the processes of installing image files, configuring IP, installing management node operating systems and services, deploying high availability, initializing cloud resources, adding logic resources and the like. If the number of physical machines reaches a certain scale, such as hundreds of thousands of machines, the workload of the whole configuration process is very huge, so that the construction of the cloud computing platform becomes very complex and inefficient.
Content of the application
An object of the present application is to provide a cloud resource allocation method and a physical machine for implementing cloud resource allocation, so as to solve the problems in the prior art.
In order to achieve the above object, the present application provides a cloud resource allocation method, which includes:
installing an image file in a physical machine before the physical machine is put on shelf, wherein the image file at least provides an automatic configuration function of a network protocol, an automatic configuration function of a management node which is high in availability and an automatic initialization function of cloud resources;
after the physical machine is put on shelf, accessing a configuration page of a fixed IP address access management node arranged in the physical machine, and filling in 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;
completing 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 an IP address of a computing node through an operation page of the management node so that the management node can automatically complete the addition of the computing node, wherein the IP address of the computing node is the IP address corresponding to the physical machine which needs to be configured as the computing node in the on-shelf physical machine.
Further, the image file also provides a self-checking function, and is used for detecting the installation completion condition of an installation package for realizing each function in the image file after the installation of the image file is completed, and obtaining a self-checking result.
Further, the method further comprises:
the self-checking function provided by the 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 further configured to provide a fixed IP address for accessing the configuration page after installation is completed.
Further, the method further comprises:
before the physical machine is put on shelf, the serial number of the physical machine is burnt in the physical machine, so that the serial number is recorded in the BIOS of the physical machine.
Further, after the physical machine is put on shelf, accessing a configuration page of a fixed IP address access management node built in the physical machine, and filling in 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, including:
after the physical machine is put on shelf, a configuration page of a browser access management node is opened through a fixed IP address built in the physical machine, the configuration page is displayed with a serial number of the physical machine, and the serial number is distributed before the physical machine is put on shelf;
and filling in 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, the planning IP address is automatically scanned by the management node, and the cloud resource is automatically initialized based on the planning IP address, which comprises the following steps:
providing an entry IP address of the 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 jumps to an added page and scans a planning IP address;
and the management node automatically initializes cloud resources based on the planning 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 access interfaces of the connected upstream switch are configured identically.
Further, the method further comprises:
after the addition of the compute nodes is completed, a virtual machine is created.
Based on another aspect of the present application, a physical machine for implementing cloud resource configuration is further provided, where the physical machine is characterized in that an image file is installed before the physical machine is put on the shelf, and the image file at least provides an automatic configuration function of a network protocol, an automatic configuration function of a management node with high availability, and an automatic initialization function of cloud resources, so that after the physical machine is put on the shelf, network protocol configuration, initialization of cloud resources, and addition of the management node and the computing node are automatically completed according to a planned IP address filled by a user.
Compared with the prior art, in the cloud resource allocation scheme provided by the application, before a physical machine is put on shelf, an image file is installed in the physical machine, and the image file at least provides an automatic allocation function of a network protocol, an automatic allocation function of a management node which is high in availability and an automatic initialization function of cloud resources; after the physical machine is put on shelf, accessing a configuration page of a management node by a fixed IP address built in the physical machine, filling in 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, and completing 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; and then automatically scanning the planning IP address through a management node, automatically initializing cloud resources based on the planning 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 mirror image file is finished in advance before the physical machine is put on the customer site, and the mirror image file also provides an automatic configuration function for providing a network protocol, an automatic configuration function for high availability of management nodes and an automatic initialization function for cloud resources, most of site configuration work can be finished automatically through the automatic functions after the physical machine is put on the customer site, workers only need to carry out correct connection on the customer site and fill in planned IP addresses and confirm information, a large number of manual installation processes are omitted, and the construction process of the cloud computing platform is greatly simplified.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings, in which:
fig. 1 is a schematic diagram of a configuration process of a cloud resource configuration method provided in an embodiment of the present application;
fig. 2 is a flowchart of implementation when implementing cloud resource configuration by adopting the scheme of the embodiment of the application.
The same or similar reference numbers in the drawings refer to the same or similar parts.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of 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 apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In a typical configuration of the present application, the terminals, the devices of the services network each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer-readable media include both permanent and non-permanent, removable and non-removable media, and information storage may be implemented by any method or technology. The information may be computer program instructions, data structures, modules of the program, or other data. Examples of storage media for a computer 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 Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information that can be accessed by a computing device.
In the cloud resource configuration method provided by the embodiment of the application, the physical machine can be pre-installed before being put on the shelf on the customer site, and the mirror file also provides an automatic configuration function for providing a network protocol, an automatic configuration function for high availability of management nodes 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 put on the shelf, and workers only need to carry out correct connection on the customer site and fill in planned IP addresses and confirm information, thereby omitting a large number of manual installation processes and greatly simplifying the construction process of a cloud computing platform.
Fig. 1 shows a configuration process of a cloud resource configuration method provided by the embodiment of the present application, which at least includes the following configuration steps:
step S101, before the physical machine is put on shelf, an image file is installed in the physical machine. In a practical scenario, the installation process of installing the image file may be completed in the production stage of the factory, that is, the image file is installed in the physical machine before the physical machine completes production and leaves the factory. The image files can be various file formats suitable for cloud computing node image installation, such as image files in an ISO format, and the like.
The image file can be a customized image file, and besides the necessary installation package such as a physical machine operating system and the like, the image file can also comprise program installation packages for providing automation services, and the program installation packages for providing automation services can provide an automatic configuration function of a network protocol, an automatic configuration function of a management node which is high in availability, an automatic initialization function of cloud resources and the like, so that a series of automatic configuration can be realized after the physical machine for installing the image file is put 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, where the self-checking function may be used to detect, after the installation of the image file is completed, 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 mirror 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-test item 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 self item.
In addition, in order to make the self-checking result more clearly revealed to the user, the self-checking function provided by the mirror image file may output the self-checking result in the form of a table, and output the detailed log information of the self-checking to the log file. For example, the table of the self-checking results may include a version number of the currently installed image file, under which each self-checking result of each self-checking item may be listed, and output in a form of pass\fail, where PASS indicates that a self-checking item passes self-checking, and FAIL indicates that a self-checking item FAILs self-checking. In addition to the self-checking result represented in the table, the detailed log information of the self-checking can be output to the corresponding log file in a unified way, wherein the detailed log information can comprise more detailed information in the self-checking process, so that a user can check the detailed process of the self-checking by calling the log file when required. For the project with failure self-checking, the project can be eliminated by manual intervention 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.
Step S102, after the physical machine is put on shelf, the configuration page of the built-in fixed IP address access management node of the physical machine is accessed, and the planning IP address of the physical machine is filled in 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 be used as a physical resource for deploying a cloud computing platform and is used for bearing logical resources such as management nodes, computing nodes and the like. Before configuration, firstly, correct connection is needed, namely, the physical machine to be deployed is accessed into the uplink switch through a network cable, the physical machine configured as a computing node and the physical machine configured as a management node are positioned in the same two-layer network, and the access interfaces of the accessed uplink switch are configured identically.
After the correct connection is made, the configuration page of the management node can be accessed by accessing the fixed IP address built in the physical machine. The fixed IP address may be set before the physical machine is put on shelf, and may be accessed directly through the browser after the physical machine is put on shelf and powered on. For example, the fixed IP address may be written in advance into an image file, and provided after the installation is completed through the image file. Therefore, in the production stage of the factory, after the mirror 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 the browser.
And filling in the 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 planned IP address refers to an IP address that is planned in advance for a newly-built physical machine in the client machine room, for example, the newly-built physical machine may allocate 50 planned IP addresses of the network segment of aaa.bbb.ccc.1 to aaa.bbb.ccc.50 to the 50 physical machines, and at this time, a certain corresponding IP address in the network segment may be filled into each physical machine in a configuration page, so that each physical machine may allocate a corresponding IP address.
In an actual scene, the distribution process of the planning IP address can be realized by filling a certain unique identifier of the physical machine and the corresponding planning IP address. For example, the unique identifier adopted in this embodiment may be SN (Serial Number) of a physical machine, and before the physical machine is put on shelf, the Serial Number of each physical machine may be burned in the physical machine, so that the Serial Number is recorded in BIOS (Basic Input Output System ) of the physical machine. Therefore, in the configuration process, the serial number of the physical machine can be automatically scanned and displayed in the configuration page, and an input area for filling in the IP address can be reserved at the corresponding position of the serial number, so that staff 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 put on shelf, a configuration page of the browser access management node is opened through a fixed IP address built in the physical machine, and at this time, a serial number of the physical machine is displayed in the configuration page, where the serial number is allocated before the physical machine is put on shelf. At this time, the planning IP address corresponding to the serial number is filled in through the configuration page, so that the physical machine automatically completes network protocol configuration according to the planning IP address.
Because the pre-installed mirror image file can provide an automatic configuration function of the network protocol, when a worker fills in the planning IP address of the physical machine through the configuration page, the physical machine can automatically complete the configuration of the network protocol according to the filled planning IP address. In a practical scenario, each physical machine with the image file installed will start a proxy process after being started, processing logic for automatic processing is encapsulated in the proxy process, the IP address filled in the configuration page is issued to the proxy process of the physical machine, and the proxy process hosts and executes the configuration and the process of the network protocol. For example, one possible automatic configuration procedure is as follows: an mDNS (Multicast Domain Name System ) service, such as avahi-daemon, is built in the mirror image file, so that an IP address of ipv6 which can be interacted in a ssh (Secure Shell) mode can be provided, then the correspondence between SN of a physical machine and the IP v6 address is obtained and recorded in the ssh mode, then the SN and the IP address of ipv4 to be configured are compared, and then the IP address of the corresponding ipv4 is configured for the corresponding SN by the ssh mode, thereby completing the automatic configuration of the network protocol.
Step S103, completing 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. When one of the physical machines on which the management node is deployed fails and cannot provide service, the management node can be switched to another physical machine, and high availability of the management node can be ensured. Since the pre-installed image file provides the high-availability automatic configuration function of the management node, the high-availability configuration of the management node can be automatically completed after the network protocol configuration is completed.
Step S104, the planning IP address is automatically scanned through the management node, and cloud resource initialization is automatically carried out based on the planning IP address. The cloud resource initialization may include the processes of creating resources such as an area, a cluster, a mirror warehouse, etc. in the cloud computing platform, adding a physical machine, creating an internal network, etc., and since the pre-installed mirror file provides an automatic cloud resource initialization function, the cloud resource initialization can be automatically performed after the high-availability configuration of the management node is completed.
After the high-availability configuration of the management node is completed based on the configured network protocol, one entry IP address of the management node is provided in the configuration page, and after logging in through the entry IP address, the management node automatically jumps to an adding page and scans the planning IP address. Based on the scanned planning IP address, the initialization of various resources in the cloud computing platform can be automatically completed, and in the process, staff only needs to confirm information of each stage in the initialization process according to the prompt sequence. Thus, for the staff on the customer site, the initialization process is automatically completed according to the prompt sequence, and the staff only needs to click to determine to enter the next process until the initialization is completed.
Step S105, adding an IP address of a computing node through an operation page of the management node, so that the management node automatically completes the addition of the computing node, wherein the IP address of the computing node is a planning IP address corresponding to a physical machine which needs to be configured as the computing node in the physical machine which is put on shelf. After the initialization is completed, for the computing nodes to be deployed in the cluster, the planning IP address of the corresponding physical machine can be filled into the operation page. For example, a worker may add a computing node by accessing an operation page of the management node on the site of the user, by filling the SN and the corresponding IP address of the physical machine in the operation page, and then confirming that automatic configuration may be completed.
In the scheme provided by the embodiment of the application, the physical machine can be pre-installed before being put on the shelf on the customer site, and the mirror file also provides an automatic configuration function for providing a network protocol, an automatic configuration function for high availability of management nodes 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 put on the shelf, and workers only need to carry out correct connection on the customer site and fill in planned IP addresses and confirm information, thereby omitting a large number of manual installation processes and greatly simplifying the construction process of the cloud computing platform. In addition, after the addition of the computing nodes is completed, a virtual machine can be created in the cloud computing platform, and an application system required by a user is deployed by means of the cloud computing platform.
Fig. 2 shows an implementation flow when implementing cloud resource configuration by adopting the scheme of the embodiment of the present application, which specifically includes the following steps:
1. and customizing an ISO image file, and including installation packages of important services (such as a management service installation package of a cloud management platform and an installation file with high availability of a management node) into the ISO image file.
a) The development stage is completed.
b) The goal is to automate the configuration process by installing customized ISO, and automatically installing physical machine operating systems, management node services, web services, etc.
And 2. Providing a self-checking function in the ISO mirror 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 mirror image file is installed.
a) The development stage is completed.
b) The target requirement is to automatically run the self-checking script after the ISO and physical machine system is installed and started.
c) The self-test item includes: 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) And outputting a corresponding ISO version number from the self-checking result, and outputting the self-checking result in a form of a table and a PASS/FAIL.
e) The self-checking detailed log information is to be uniformly output to the corresponding log file.
f) After the ISO is successfully installed, a default IP1 (i.e., fixed IP address) is provided, and the IP1 configuration is configured on the first default network card.
3. And (5) burning ISO in the production process of the factory, and judging whether the installation is successful or not according to the self-checking result.
a) The factory production phase is completed.
b) The ISO programming process is already included before the server comes out, i.e. during factory production.
c) And judging whether the installation is successful or not according to the ISO installation self-checking result.
d) In addition to installing the ISO, the factory stage also needs to complete the writing of the SN number of the server, and SN information is written into the BIOS of the system.
4. After the physical machine is put on shelf, the configuration IP function is automatically completed by accessing the built-in fixed IP access configuration page and filling the planned IP (i.e. the planned IP address) in the configuration page.
a) Customer site completion (completed automatically after the configuration page is determined by filling in the planned IP after the configuration page is accessed through the fixed IP address).
b) Before automatic configuration, the correct wiring is first required, and it is ensured that:
i. the physical machine for configuration accesses the unified exchanger through the network cable, and ensures that the physical machine is in the same two-layer network.
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 2.F to access a management node webpage (namely a configuration page), and the webpage is filled with the corresponding planned 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 accomplished based on the newly configured IP (i.e., the filled-in planned IP address).
a) The customer completes the process on site.
b) After 4.C, the high availability configuration of the management node based on the newly configured IP is automatically completed. After the configuration is successful, an entry IP address of the management node is provided on a UI (User Interface) for the configuration.
6. After logging in the page, the node IP is automatically scanned, the creation 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 creation of a network and the like is automatically completed.
a) Customer site completion (automatic completion 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 the scanning of the new IP (i.e., the planned IP address filled in the previous step). The initialization process 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 only by filling in the IP corresponding to the SN.
a) The client is finished on site (adding in the management node operation page, filling in the SN and the corresponding IP, and confirming).
b) The addition of other physical machines to non-management nodes needs to satisfy:
i. the physical machine added as the computing node is accessed to the uplink switch through the 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 inventive concept, the embodiment of the application also provides a physical machine for realizing cloud resource configuration, wherein the physical machine is provided with an image file before being 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 with high availability and an automatic initialization function of cloud resources, so that after the physical machine is put on shelf, network protocol configuration, cloud resource initialization and addition of the management node and the computing nodes are automatically completed according to a planning IP address filled by a user.
Therefore, after the physical machine is put on the shelf, most of on-site configuration work can be automatically completed through the automatic functions, and workers only need to carry out correct connection on the site of the user and fill in the planned IP address and confirm information, so that a large number 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, a virtual machine can be created in the cloud computing platform, and an application system required by a user is deployed by means of 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 characteristics 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 evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the apparatus claims can also be implemented by means of one unit or means in software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.

Claims (2)

1. A cloud resource allocation method, the method comprising:
before a physical machine is put on shelf, installing an image file in the physical machine in a factory production stage, burning a serial number of the physical machine in the physical machine so as to enable the serial number to be recorded in a BIOS of the physical machine, wherein the image file at least provides an automatic configuration function of a network protocol, an automatic configuration function of a management node which is high in availability, an automatic initialization function of cloud resources and self-checking capability, and provides a fixed IP address for accessing a configuration page after the installation is completed, the self-checking function is used for detecting the installation completion condition of an installation package for realizing each function in the image file after the installation of the image file is completed in the factory production stage of the physical machine, acquiring a self-checking result, outputting the self-checking result in a form of a table, outputting detailed log information of the self-checking into a log file, and eliminating items failed in the self-checking by a manual intervention mode before the physical machine leaves a factory;
after the physical machine is put on shelf, a configuration page of a browser access management node is opened through a fixed IP address built in the physical machine, the configuration page is displayed with a serial number of the physical machine, and the serial number is distributed before the physical machine is put on shelf;
providing an entry IP address of the 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 jumps to an added page and scans a planning IP address;
the management node automatically initializes cloud resources based on the planning IP address;
completing 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;
adding an IP address of a computing node through an operation page of a management node so that the management node can automatically complete the addition of the computing node, wherein the IP address of the computing node is an IP address corresponding to a physical machine which needs to be configured as the computing node in an on-shelf physical machine, the physical machine configured as the computing node and the physical machine configured as the management node are positioned in the same two-layer network, and the access interface configuration of an accessed uplink switch is the same;
after the addition of the compute nodes is completed, a virtual machine is created.
2. The physical machine for realizing cloud resource configuration is characterized in that the physical machine is provided with an image file at the factory production stage before being put on shelf, a serial number of the physical machine is burnt so that the serial number is recorded in a BIOS of the physical machine, the image file at least provides an automatic configuration function of a network protocol, an automatic configuration function of a management node which is high in availability, an automatic initialization function and automatic checking capability of cloud resources, and a fixed IP address for accessing a configuration page is provided after the installation is finished, so that the physical machine detects the installation completion condition of an installation package for realizing various functions in the image file after the image file is installed at the factory production stage, a self-checking result is obtained, the self-checking result is output in a form of a table, the detailed information of the self-checking is output to a log file, and for items which fail in the self-checking are eliminated in a manual intervention mode before the physical machine leaves a factory; after the physical machine is put on shelf, a configuration page of a browser access management node is opened through a fixed IP address built in the physical machine, the configuration page is displayed with a serial number of the physical machine, and the serial number is distributed before the physical machine is put on shelf; providing an entry IP address of the 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 jumps to an added page and scans a planning IP address; the management node automatically initializes cloud resources based on the planning IP address; completing 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 an IP address of a computing node through an operation page of the management node so that the management node automatically completes the addition of the computing node, wherein the IP address of the computing node is an IP address corresponding to a physical machine which needs to be configured as the computing node in the on-shelf physical machines, the physical machine which is configured as the computing node and the physical machine which is configured as the management node are positioned in the same two-layer network, the access interface configuration of an accessed upstream switch is the same, and a virtual machine is created after the addition of the computing node is completed.
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 CN113193986A (en) 2021-07-30
CN113193986B true 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)

Families Citing this family (2)

* 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
CN114531451B (en) * 2021-12-30 2023-12-05 北京大学 Computer room computer double-IP management method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110009B (en) * 2009-12-28 2014-06-11 中国移动通信集团公司 Method for deploying application in virtual platform and virtual platform manager
CN102665195B (en) * 2012-04-26 2016-12-14 努比亚技术有限公司 A kind of data terminal based on cloud service, system and its implementation
CN104219099A (en) * 2014-09-25 2014-12-17 浪潮(北京)电子信息产业有限公司 Automatic server cluster deploying method and device
CN105208093B (en) * 2015-08-20 2018-06-01 浪潮(北京)电子信息产业有限公司 The structure system of resource pool is calculated in a kind of cloud operating 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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN113193986A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN109783117B (en) Mirror image file making and starting method of diskless system
US20220078092A1 (en) Provisioning a service
CN109274722B (en) Data sharing method and device and electronic equipment
CN113193986B (en) Cloud resource allocation method and physical machine for realizing cloud resource allocation
CN112130965A (en) Method, equipment and storage medium for deploying distributed container arrangement management cluster
CN110673941B (en) Migration method of micro-services in multiple computer rooms, electronic equipment and storage medium
CN110673923A (en) XWIKI system configuration method, system and computer equipment
CN112256399B (en) Docker-based Jupitter Lab multi-user remote development method and system
CN103064717B (en) A kind of apparatus and method of parallel installation of software for cluster system
CN107666493B (en) Database configuration method and equipment thereof
CN109639803A (en) A kind of method and system by BMC Long-range Automatic Deployment server OS
CN101894066A (en) Disk array virtualization-based network storage management software testing method
CN112988281B (en) Application starting method and device
CN110928554A (en) Deployment method, device, equipment and storage medium
CN112346818A (en) Container application deployment method and device, electronic equipment and storage medium
CN107181626B (en) Method and system for monitoring network bandwidth of distributed storage cluster system
CN113885797B (en) Data storage method, device, equipment and storage medium
CN111756870A (en) IPv6 address configuration method, device, equipment and readable storage medium
CN112698979A (en) Method and device for processing zookeeper double nodes, storage medium and processor
CN115525545A (en) Docker-based automatic testing method, system, equipment and medium
CN106790521B (en) System and method for distributed networking by using node equipment based on FTP
CN109739546A (en) Property parameters acquisition methods, device, storage medium and server
CN115774742A (en) Data storage newly-increased method, device, equipment, medium and product of private cloud
CN113886009A (en) System and method for deploying big data cluster by cloud service platform
CN115623081A (en) Data downloading method, data uploading method and distributed storage system

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