Bare metal hyper-fusion platform installation method and device based on ISO mirror image
By using ISO image files on bare metal servers, the problem of cumbersome deployment process is solved, efficient resource utilization and maintenance costs are achieved.
Patent Information
- Application Number
- CN202411274976.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-12-17
AI Technical Summary
The process of deploying and configuring a hyperconverged platform on a bare metal server is cumbersome and complex, and lacks an easy and efficient approach.
By downloading and loading the ISO image files of the bare metal hyperfusion platform to the virtual optical drive of the server, installing and configuring the bare metal hyperfusion platform with one click based on the ISO image files, including selecting the installation type, disk partition, network configuration, virtual VIP configuration, and card configuration and clock configuration.
Simplifies the deployment process, improves deployment efficiency, makes full use of server resources, reduces maintenance costs, and improves resource utilization.
Smart Images

Figure CN119149057A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of servers, and in particular to an installation method and device for a bare metal hyper-convergence platform based on an ISO image. Background Art
[0002] With the continuous development of cloud computing and virtualization technology, bare metal servers are widely used in various industries. Hyper-convergence platform is a virtualization solution that integrates computing, storage, network and other resources, which can provide higher performance and resource utilization.
[0003] Currently, there are still some problems in deploying and configuring hyper-converged platforms on bare metal servers, such as cumbersome installation process and complex configuration.
[0004] Therefore, a simpler and more efficient method is needed to solve the problem of deploying and configuring a hyper-converged platform on a bare metal server. Summary of the invention
[0005] The embodiments of the present invention provide a bare metal hyper-converged platform installation method and device based on ISO image, which can more easily and efficiently deploy and configure the hyper-converged platform on a bare metal server.
[0006] According to one aspect of the present invention, a bare metal hyper-converged platform installation method based on an ISO image is provided, comprising:
[0007] On the server where the bare metal hyper-converged platform is to be installed, download the ISO image file of the bare metal hyper-converged platform;
[0008] Loading the ISO image file to the virtual CD-ROM drive on the server;
[0009] The bare metal hyper-converged platform is installed on the server based on the loaded ISO image file, and the bare metal hyper-converged platform is configured based on at least one running configuration.
[0010] Optionally, the ISO image file is produced by the following steps:
[0011] Obtain software and configuration files required for the bare metal fusion platform;
[0012] The software and configuration files are integrated into the ISO image using an ISO production tool to obtain the ISO image file.
[0013] Optionally, the method further includes:
[0014] Prepare at least one bare metal server as a node of the bare metal hyper-converged platform;
[0015] A management server is provided to deploy and manage the bare metal hyper-converged platform.
[0016] Optionally, installing the bare metal hyper-converged platform on the server based on the loaded ISO image file includes:
[0017] Determine the installation type and disk partition of the bare metal hyper-converged platform;
[0018] Choose one of the following installation modes:
[0019] Create a hyper-converged cluster;
[0020] Join an existing hyper-converged cluster;
[0021] Choose to create a cluster or join an existing hyperconverged cluster each time you launch it.
[0022] Optionally, the operation configuration includes: one or more of disk configuration, network configuration, virtual VIP configuration, token configuration, account password setting and clock configuration;
[0023] Accordingly, configuring the bare metal hyper-converged platform based on at least one running configuration includes one or more of the following steps:
[0024] Select the installation disk where you want to install the hyperconverged cluster and the data disk where you want to store VM data;
[0025] Configure network interfaces for the management network;
[0026] Configure a virtual VIP for accessing the cluster or for other nodes to join the cluster;
[0027] Configure the cluster token used to add additional nodes to the cluster;
[0028] Configure and confirm the password for accessing the node;
[0029] Configure the NTP server used for time synchronization of all nodes.
[0030] Optionally, the method further includes:
[0031] After the hyper-converged cluster is powered on, collect one or more of the cluster operation logs, Kubernetes audit logs, and event logs;
[0032] Operation monitoring, operation recording, auditing and fault detection are performed based on the cluster operation log, Kubernetes audit and event log.
[0033] Optionally, the method further includes:
[0034] When the ISO image file fails to be created or an abnormality occurs during installation, perform one or more of the following steps:
[0035] Conduct integrity and compatibility testing on the software and configuration files;
[0036] Checking for errors in making the ISO image file;
[0037] Diagnose problems based on the installation log.
[0038] According to another aspect of the present invention, a bare metal hyper-convergence platform installation device based on an ISO image is provided, comprising:
[0039] A download unit, used to download the ISO image file of the bare metal hyper-converged platform on the server where the bare metal hyper-converged platform is to be installed;
[0040] A loading unit, used for loading the ISO image file into a virtual optical drive on the server;
[0041] The installation unit is used to install the bare metal hyper-converged platform on the server based on the loaded ISO image file, and configure the bare metal hyper-converged platform based on at least one running configuration.
[0042] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0043] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the bare metal hyper-converged platform installation method based on ISO image as described in any embodiment of the present invention.
[0044] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the bare metal hyper-converged platform installation method based on ISO image as described in any embodiment of the present invention when executed.
[0045] The embodiment of the present invention provides a bare metal hyper-convergence platform installation method and device based on ISO image, by downloading the ISO image file of the bare metal hyper-convergence platform on the server to be installed; loading the ISO image file to the virtual optical drive on the server; installing the bare metal hyper-convergence platform on the server based on the loaded ISO image file, and configuring the bare metal hyper-convergence platform based on at least one running configuration. The solution of the embodiment of the present invention is installed with one click through the ISO image file, avoiding the cumbersome manual configuration process and improving the deployment efficiency. The deployment of the hyper-convergence platform on the bare metal server can make full use of server resources and improve resource utilization.
[0046] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0048] Figure 1 It is a flow chart of a bare metal hyper-converged platform installation method based on ISO image provided by one embodiment of the present invention;
[0049] Figure 2 It is a structural schematic diagram of a bare metal hyper-convergence platform installation device based on ISO image provided by one embodiment of the present invention;
[0050] Figure 3 It is a structural schematic diagram of an electronic device that implements the bare metal hyper-convergence platform installation method based on ISO image according to an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0052] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0053] like Figure 1 As shown, an embodiment of the present invention provides a bare metal hyper-converged platform installation method based on ISO image, and the method may include the following steps:
[0054] S110. On the server where the bare metal hyper-converged platform is to be installed, download the ISO image file of the bare metal hyper-converged platform.
[0055] Bare metal server is a special type of server that combines the advantages of traditional physical servers and cloud computing technology. Bare metal server is a hardware device with the characteristics of traditional physical servers, and also has the virtualization service function of cloud computing technology. It is the product of the combination of hardware and software advantages. Its essence is a server that combines cloud computing service functions and physical device performance. It provides excellent computing performance and data security for core databases, key application systems, high-performance computing, big data and other businesses, allowing cloud service users to flexibly apply and use on demand.
[0056] Bare metal servers have many advantages. They have high computing performance, exclusive high-specification physical hardware resources, and no virtualization performance loss. In terms of delivery, they can achieve minute-level delivery. For example, in some cases, elastic bare metal servers must be able to deliver quickly at the minute level to cope with the instantaneous surge in business traffic. In terms of user experience, VNC, web console, openAPI, etc. that are consistent with virtual machines can greatly reduce the user's learning cost. In terms of security, physical isolation at the hardware level and complete isolation of resources between different users reduce potential security risks. In terms of operation and maintenance, it supports manual automated operation and maintenance, effectively improving operation and maintenance efficiency.
[0057] ISO image file is a disc image file format. It can copy all the data on the disc, including the file system, files and directories, into one file. ISO image file plays an important role in the computer field. It has convenient migration and backup functions, can protect and maintain the integrity of the disc content, and can be used as a virtual CD-ROM drive.
[0058] The embodiment of the present invention is provided as a bootable device image, which can be directly installed on a bare metal server using an ISO image, or can be automatically installed using an iPXE script.
[0059] In the embodiment of the present invention, the ISO image file is produced by the following steps:
[0060] Obtain software and configuration files required for the bare metal fusion platform;
[0061] The software and configuration files are integrated into the ISO image using an ISO production tool to obtain the ISO image file.
[0062] Collect the software and configuration files required for the bare metal hyper-converged platform, including hyper-converged software, operating system, drivers, etc. Then, use the ISO production tool to integrate these files and configurations into the ISO image.
[0063] S120: Load the ISO image file into the virtual CD-ROM drive on the server.
[0064] On the server where you want to install the bare metal hyper-converged platform, download the ISO image file of the hyper-converged platform and ensure the integrity and correctness of the image file.
[0065] Use the virtual image loading tool on the server to load the ISO image file into the virtual CD-ROM drive on the server.
[0066] In an embodiment of the present invention, the following steps are also included:
[0067] Prepare at least one bare metal server as a node of the bare metal hyper-converged platform;
[0068] A management server is provided to deploy and manage the bare metal hyper-converged platform.
[0069] First, you need to prepare one or more bare metal servers, which will serve as nodes of the hyper-converged platform. In addition, you also need to prepare a management server for deploying and managing the hyper-converged platform.
[0070] For development purposes, you can install hyperconverged application components on an existing Kubernetes cluster. The nodes must be able to support KVM through hardware virtualization (Intel VT-x or AMD-V) or nested virtualization.
[0071] S130: Install the bare metal hyper-converged platform on the server based on the loaded ISO image file, and configure the bare metal hyper-converged platform based on at least one running configuration.
[0072] In an embodiment of the present invention, installing the bare metal hyper-converged platform on the server based on the loaded ISO image file includes:
[0073] Determine the installation type and disk partition of the bare metal hyper-converged platform;
[0074] Choose one of the following installation modes:
[0075] Create a hyper-converged cluster;
[0076] Join an existing hyper-converged cluster;
[0077] Choose to create a cluster or join an existing hyperconverged cluster each time you launch it.
[0078] Start the installation program on the server and enter the installation interface of the hyper-converged platform. You can choose to create a new hyper-converged cluster or add nodes to an existing hyper-converged cluster.
[0079] Specifically, follow the instructions on the installation interface to select the installation type, disk partition, etc. to install. During the installation process, you can choose automatic configuration or manual configuration according to your actual needs. Use the arrow keys to select the installation mode. By default, the first node will be the management node of the cluster.
[0080] (1) Create a new HCI cluster: Select this option to create a new hyper-converged cluster.
[0081] (2)Join an existing HCI cluster: Select this option to join an existing hyper-converged cluster. You need the VIP and cluster token of the cluster you want to join.
[0082] (2)Install HCI binaries only: If you select this option, additional setup is required after the first boot.
[0083] In the embodiment of the present invention, the operation configuration includes: one or more of disk configuration, network configuration, virtual VIP configuration, token configuration, account password setting and clock configuration;
[0084] Accordingly, configuring the bare metal hyper-converged platform based on at least one running configuration includes one or more of the following steps:
[0085] Select the installation disk where you want to install the hyperconverged cluster and the data disk where you want to store VM data;
[0086] Configure network interfaces for the management network;
[0087] Configure a virtual VIP for accessing the cluster or for other nodes to join the cluster;
[0088] Configure the cluster token used to add additional nodes to the cluster;
[0089] Configure and confirm the password for accessing the node;
[0090] Configure the NTP server used for time synchronization of all nodes.
[0091] After the installation is complete, configure and optimize according to actual needs. You can set network parameters, storage policies, resource allocation, etc. to meet the needs of different businesses.
[0092] (1) Disk configuration:
[0093] Select the installation disk where you want to install the hyperconverged cluster and the data disk where you want to store VM data. By default, the hyperconverged cluster uses the GUID Partition Table (GPT) partitioning scheme for both UEFI and BIOS. If you use BIOS boot, you can select the Master Boot Record (MBR).
[0094] Installation disk: the disk used to install the hyper-converged cluster.
[0095] Data disk: The disk used to store virtual machine data. It is recommended to select a separate disk to store virtual machine data.
[0096] Persistent size: If you have only one disk, or use the same disk for both the operating system and virtual machine data, you need to configure the persistent partition size to store system packages and container images. The default minimum persistent partition size is 150GiB. You can specify a size like 200Gi or 153600Mi.
[0097] A high-availability block storage system powered by Longhorn is embedded. Longhorn is a lightweight, reliable, and easy-to-use Kubernetes distributed block storage system that will use the space on the nodes to provide high-availability storage for VMs within the cluster.
[0098] (2) Network configuration:
[0099] Configure the network interface for the management network. By default, a bonded NIC named mgmt-bo will be created, and the IP address can be configured via DHCP or assigned statically.
[0100] If you need to use an HTTP proxy to access the outside world, you can configure the proxy URL address.
[0101] (3)Configure VIP:
[0102] Configure a virtual IP (VIP) by selecting the VIP mode. This VIP is used to access the cluster or for other nodes to join the cluster. Supports the use of virtual IPs and multiple network interface cards (NICs). Leverage multus and bridge CNI plugins to implement L2 bridged VLAN networks. This helps connect virtual machines to host network interfaces and can be accessed from internal and external networks using physical switches.
[0103] (4) Token configuration:
[0104] Configure the cluster token, which will be used to add additional nodes to the cluster.
[0105] (5) Set account password:
[0106] Configure and confirm the password to access the node. The default SSH user is root. With the support of KubeVirt, the present invention supports VM creation / deletion / update operations, as well as injection of SSH keys and cloud-init. The present invention adopts static key injection, that is, the key is placed in the cloud-init script when the virtual machine is powered on for the first time.
[0107] (6) Clock configuration:
[0108] Configure NTP servers to ensure time synchronization of all nodes. Default value is 0.suse.pool.ntp.org. Use comma as separator to add more ntp servers.
[0109] In an embodiment of the present invention, the method further includes:
[0110] After the hyper-converged cluster is powered on, collect one or more of the cluster operation logs, Kubernetes audit logs, and event logs;
[0111] Operation monitoring, operation recording, auditing and fault detection are performed based on the cluster operation log, Kubernetes audit and event log.
[0112] Collect cluster operation logs, kubernetes audit and event logs immediately after the cluster is powered on, which helps monitoring, recording, auditing and troubleshooting. The size of the log data is related to factors such as cluster size and workload. The present invention does not use persistent storage to store log data in the cluster. Users need to set up a log server to receive the corresponding logs. Log server types support Graylog, Elasticsearch, Splunk, Grafana Loki, etc.
[0113] After you review and confirm the installation options, the hyperconverged cluster will be installed on the bare metal server. The installation may take several minutes to complete.
[0114] After the installation is complete, the node needs to be restarted. After the restart, when you log in for the first time, you will be prompted to set a password for the default administrator user.
[0115] During the implementation process, problems that may be encountered include failure to create the ISO image, exceptions during the installation process, etc. For these problems, the following measures can be taken: ensure that the collected software and configuration files are complete and compatible, check for errors when creating the ISO image, and record detailed logs during the installation process to facilitate troubleshooting.
[0116] Compared with traditional deployment and configuration methods, the method of installing a bare metal hyper-converged platform based on an ISO image proposed in this patent has the following advantages:
[0117] Simple and fast: One-click installation through ISO image file avoids tedious manual configuration process and improves deployment efficiency.
[0118] Flexibility: You can choose automatic configuration or manual configuration according to actual needs to meet the needs of different businesses.
[0119] Improve resource utilization: Deploying a hyper-converged platform on a bare metal server can fully utilize server resources and improve resource utilization.
[0120] Reduce maintenance costs: By setting up management tools, it is convenient to maintain and upgrade the hyper-converged platform in the future.
[0121] like Figure 2 As shown, an embodiment of the present invention provides a bare metal hyper-convergence platform installation device based on ISO image, including:
[0122] The downloading unit 210 is used to download the ISO image file of the bare metal hyper-converged platform on the server where the bare metal hyper-converged platform is to be installed;
[0123] The loading unit 220 is used to load the ISO image file into the virtual optical drive on the server;
[0124] The installation unit 230 is used to install the bare metal hyper-converged platform on the server based on the loaded ISO image file, and configure the bare metal hyper-converged platform based on at least one running configuration.
[0125] Optionally, the device further includes: a production unit. The production unit is used to produce an ISO image file through the following steps:
[0126] Obtain software and configuration files required for the bare metal fusion platform;
[0127] The software and configuration files are integrated into the ISO image using an ISO production tool to obtain the ISO image file.
[0128] Optionally, the downloading unit 210 is further configured to execute:
[0129] Prepare at least one bare metal server as a node of the bare metal hyper-converged platform;
[0130] A management server is provided to deploy and manage the bare metal hyper-converged platform.
[0131] Optionally, the loading unit 220 is specifically configured to execute:
[0132] Determine the installation type and disk partition of the bare metal hyper-converged platform;
[0133] Choose one of the following installation modes:
[0134] Create a hyper-converged cluster;
[0135] Join an existing hyper-converged cluster;
[0136] Choose to create a cluster or join an existing hyperconverged cluster each time you launch it.
[0137] Optionally, the operation configuration includes: one or more of disk configuration, network configuration, virtual VIP configuration, token configuration, account password setting and clock configuration;
[0138] Accordingly, the installation unit 230 is configured to perform one or more of the following steps:
[0139] Select the installation disk where you want to install the hyperconverged cluster and the data disk where you want to store VM data;
[0140] Configure network interfaces for the management network;
[0141] Configure a virtual VIP for accessing the cluster or for other nodes to join the cluster;
[0142] Configure the cluster token used to add additional nodes to the cluster;
[0143] Configure and confirm the password for accessing the node;
[0144] Configure the NTP server used for time synchronization of all nodes.
[0145] Optionally, the installation unit 230 is further configured to execute:
[0146] After the hyper-converged cluster is powered on, collect one or more of the cluster operation logs, Kubernetes audit logs, and event logs;
[0147] Operation monitoring, operation recording, auditing and fault detection are performed based on the cluster operation log, Kubernetes audit and event log.
[0148] Optionally, make the unit also perform:
[0149] When the ISO image file fails to be created or an abnormality occurs during installation, perform one or more of the following steps:
[0150] Conduct integrity and compatibility testing on the software and configuration files;
[0151] Checking for errors in making the ISO image file;
[0152] Diagnose problems based on the installation log.
[0153] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the bare metal hyper-convergence platform installation device based on the ISO image. In other embodiments of the present invention, the bare metal hyper-convergence platform installation device based on the ISO image may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0154] The information interaction, execution process and other contents between the units in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.
[0155] Figure 3A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0156] like Figure 3 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0157] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0158] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the bare metal hyper-converged platform installation method based on the ISO image.
[0159] In some embodiments, the bare metal hyper-converged platform installation method based on ISO image can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the bare metal hyper-converged platform installation method based on ISO image described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to execute the bare metal hyper-converged platform installation method based on ISO image by any other appropriate means (for example, by means of firmware).
[0160] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0161] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0162] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0163] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0164] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0165] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0166] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0167] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. Bare metal hyper-converged platform installation method based on ISO image, It is characterized in that include: On the server where the bare metal hyper-converged platform is to be installed, download the ISO image file of the bare metal hyper-converged platform; Loading the ISO image file to the virtual CD-ROM drive on the server; The bare metal hyper-converged platform is installed on the server based on the loaded ISO image file, and the bare metal hyper-converged platform is configured based on at least one running configuration.
2. The method according to claim 1, It is characterized in that The ISO image file is produced by the following steps: Obtain software and configuration files required by the bare metal fusion platform; The software and configuration files are integrated into the ISO image using an ISO production tool to obtain the ISO image file.
3. The method according to claim 1, It is characterized in that Further including: Prepare at least one bare metal server as a node of the bare metal hyper-converged platform; A management server is provided to deploy and manage the bare metal hyper-converged platform.
4. The method according to claim 1, It is characterized in that The step of installing the bare metal hyper-converged platform on the server based on the loaded ISO image file includes: Determine the installation type and disk partition of the bare metal hyper-converged platform; Choose one of the following installation modes: Create a hyper-converged cluster; Join an existing hyper-converged cluster; Choose to create a cluster or join an existing hyperconverged cluster each time you launch it.
5. The method according to claim 1, It is characterized in that The operation configuration includes: one or more of disk configuration, network configuration, virtual VIP configuration, token configuration, account password setting and clock configuration; Accordingly, configuring the bare metal hyper-converged platform based on at least one running configuration includes one or more of the following steps: Select the installation disk where you want to install the hyperconverged cluster and the data disk where you want to store VM data; Configure network interfaces for the management network; Configure a virtual VIP for accessing the cluster or for other nodes to join the cluster; Configure the cluster token used to add additional nodes to the cluster; Configure and confirm the password for accessing the node; Configure the NTP server used for time synchronization of all nodes.
6. The method according to claim 4, It is characterized in that Further including: After the hyper-converged cluster is powered on, collect one or more of the cluster operation logs, Kubernetes audit logs, and event logs; Operation monitoring, operation recording, auditing and fault detection are performed based on the cluster operation log, Kubernetes audit and event log.
7. The method according to claim 2, It is characterized in that Further including: When the ISO image file fails to be created or an abnormality occurs during installation, perform one or more of the following steps: Conduct integrity and compatibility testing on the software and configuration files; Checking for errors in making the ISO image file; Diagnose problems based on the installation log.
8. Bare metal hyper-converged platform installation device based on ISO image, It is characterized in that include: A download unit, used to download the ISO image file of the bare metal hyper-converged platform on the server where the bare metal hyper-converged platform is to be installed; A loading unit, used for loading the ISO image file into a virtual optical drive on the server; The installation unit is used to install the bare metal hyper-converged platform on the server based on the loaded ISO image file, and configure the bare metal hyper-converged platform based on at least one running configuration.
9. Electronic equipment, It is characterized in that include: at least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the bare metal hyper-converged platform installation method based on ISO image according to any one of claims 1-7.
10. Computer readable media, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the bare metal hyper-converged platform installation method based on an ISO image according to any one of claims 1 to 7 when executed.
