Cloud computing platform deployment method and device, computer equipment, medium and product
By conducting hardware and environmental testing of cloud service resources and equipment, and performing centralized configuration and deployment checks in conjunction with preset configuration files, the problems of long deployment time and high error rate of cloud computing platforms have been solved, achieving efficient and controllable automatic integrated deployment of cloud computing platforms.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TELECOM CLOUD TECH CO LTD
- Filing Date
- 2024-11-20
- Publication Date
- 2026-04-21
AI Technical Summary
The deployment of existing cloud computing platforms is time-consuming and prone to errors, mainly due to the complexity of cloud service resources, which requires extensive initial setup and high levels of expertise from deployment personnel.
By acquiring hardware performance and environmental data from multiple cloud service resource devices, and performing centralized configuration and pre- and post-deployment checks based on preset configuration files, the cloud computing platform can be automatically and integratedly deployed.
It improves the efficiency and effectiveness of cloud computing platform deployment, avoids the problems of excessive initial configuration and high professional skill requirements in distributed deployment, and realizes controllable deployment of cloud computing platform.
Smart Images

Figure CN119583335B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of cloud computing technology, and in particular to a cloud computing platform deployment method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Technology
[0002] With the development of technology, cloud computing platform technology has been widely used in many industries to support the stable operation of different industry systems, enabling users to enjoy the benefits of cloud computing platforms such as elastic on-demand expansion and business load balancing. This has made the deployment of cloud computing platforms a top priority.
[0003] Currently, the deployment of cloud computing platforms typically employs a distributed deployment approach. For example, different cloud service resources are deployed on multiple servers before the functionality of the cloud computing platform is verified uniformly. Alternatively, cloud service resources can be categorized and deployed using scripts that define common variables. However, due to the complexity of cloud service resources, a large amount of initialization settings are required during the deployment of the cloud computing platform. This can easily lead to situations such as long deployment times or errors. Therefore, the current deployment results for cloud computing platforms are poor. Summary of the Invention
[0004] Therefore, it is necessary to provide a cloud computing platform deployment method, apparatus, computer equipment, computer-readable storage medium, and computer program product that improves the deployment effect of cloud computing platform deployment in response to the above-mentioned technical problems.
[0005] Firstly, this application provides a method for deploying a cloud computing platform, including:
[0006] Acquire multiple cloud service resource devices selected under the deployment task on the cloud computing platform;
[0007] If the hardware performance indicators of all cloud service resource devices are found to be up to standard, the cloud service resource environment of all cloud service resource devices shall be tested.
[0008] If the cloud service resource environment of all cloud service resource devices is found to be qualified, the overall cloud service resources under the cloud computing platform deployment task are configured on the multiple cloud service resource devices according to the preset cloud service resource configuration file.
[0009] After all cloud service resource devices have been configured with the overall cloud service resources, the cloud computing platform corresponding to all cloud service resource devices is deployed and verified, and the cloud computing platform that passes the deployment verification is used as the target cloud computing platform to match the deployment task of the cloud computing platform.
[0010] In one embodiment, acquiring the multiple cloud service resource devices selected under the cloud computing platform deployment task includes:
[0011] Obtain the configuration template file under the deployment task of the cloud computing platform, wherein the configuration template file carries device identity information;
[0012] Based on the device identity information, query multiple cloud service resource devices under the cloud computing platform deployment task.
[0013] In one embodiment, before detecting the cloud service resource environment of all cloud service resource devices after detecting that the hardware performance indicators of all cloud service resource devices meet the standards, the method further includes:
[0014] Extract the configuration hardware specifications corresponding to each of the multiple cloud service resource devices from the configuration template file;
[0015] For any of the cloud service resource devices, the configured hardware specifications of the cloud service resource devices are compared with the actual hardware specifications of the cloud service resource devices to obtain hardware specification comparison results.
[0016] If the hardware specification comparison result of all cloud service resource devices is the first preset comparison result, it is determined that the hardware performance indicators of all cloud service resource devices meet the standard. The first preset comparison result refers to the comparison result in which the configured hardware specifications of all cloud service resource devices are greater than the corresponding actual hardware specifications.
[0017] If the hardware specification comparison result of all cloud service resource devices is the second preset comparison result, a first candidate cloud service resource device is determined among all cloud service resource devices according to the second preset comparison result, and a first adjustment prompt message for adjusting the hardware specification of the first candidate cloud service resource device is generated. The second preset comparison result refers to the comparison result in which the configured hardware specification of at least one of the cloud service resource devices is less than or equal to the corresponding actual hardware specification.
[0018] In one embodiment, before configuring the overall cloud service resources under the cloud computing platform deployment task according to a preset cloud service resource configuration file, after detecting that the cloud service resource environment of all cloud service resource devices is qualified, the method further includes:
[0019] Obtain the environmental detection items of the cloud service resource environment for all cloud service resource devices;
[0020] For any of the cloud service resource devices, the environmental detection items and environmental operating conditions of the cloud service resource devices are matched to obtain the environmental operating matching result;
[0021] If the environment operation matching result of all cloud service resource devices is the first preset matching result, a second candidate cloud service resource device is determined among all cloud service resource devices, and a second adjustment prompt message is generated to adjust the operating environment of the second candidate cloud service resource device. The first preset matching result refers to the matching result that all the environment detection items of the cloud service resource devices are matched with the corresponding environment operation conditions.
[0022] When the environment operation matching result of all cloud service resource devices is the second preset matching result, among all environment detection items, the second preset matching result refers to the matching result of at least one of the cloud service resource devices' environment detection items not matching the corresponding environment operation conditions.
[0023] In one embodiment, configuring the overall cloud service resources under the cloud computing platform deployment task according to the preset cloud service resource configuration file on the plurality of cloud service resource devices includes:
[0024] According to the cloud service resource configuration table in the preset cloud service resource configuration file, the overall cloud service resources under the cloud computing platform deployment task are divided to obtain the local cloud service resources corresponding to each of the multiple cloud service resource devices. The cloud service resource configuration table stores the correspondence between cloud service resources, cloud service resource types and cloud service resource device types.
[0025] According to the preset cloud service resource configuration rules, the corresponding local cloud service resources are deployed and configured on the multiple cloud service resource devices, and the cloud service resource configuration results fed back by each of the multiple cloud service resource devices are received.
[0026] Verification steps: If the received cloud service resource configuration result meets the preset verification conditions, the received cloud service resource configuration result is verified to obtain the configuration verification result;
[0027] If the configuration verification result is the overall configuration verification result, then it is determined that the overall cloud service resource configuration is complete;
[0028] If the configuration verification result is a partial configuration verification result, then return to the execution verification step until all cloud service resource configuration results returned by all cloud service resource devices have been verified.
[0029] In one embodiment, the deployment verification of the cloud computing platform corresponding to all the cloud service resource devices includes:
[0030] Perform functional testing on the cloud computing platform that corresponds to all the cloud service resource devices mentioned above;
[0031] After the cloud computing platform passes the functional test, the test resources used by the cloud computing platform during the functional test are cleaned up to obtain the cleaned cloud computing platform.
[0032] The cleaned-up cloud computing platform was subjected to acceptance testing.
[0033] Secondly, this application also provides a cloud computing platform deployment method apparatus, comprising:
[0034] The acquisition module is used to acquire multiple cloud service resource devices selected under the deployment task on the cloud computing platform;
[0035] The detection module is used to detect the cloud service resource environment of all cloud service resource devices when the hardware performance indicators of all cloud service resource devices meet the standards.
[0036] The configuration module is used to configure the overall cloud service resources of the cloud service resource deployment task on the multiple cloud service resource devices according to the preset cloud service resource configuration file when the cloud service resource environment of all the cloud service resource devices is qualified.
[0037] The deployment module is used to perform deployment verification on the cloud computing platform corresponding to all cloud service resource devices after all cloud service resource devices have completed the overall cloud service resource configuration, and to use the cloud computing platform that has passed the deployment verification as the target cloud computing platform to match the deployment task of the cloud computing platform.
[0038] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0039] The system acquires multiple cloud service resource devices selected under the cloud computing platform deployment task; if the hardware performance indicators of all cloud service resource devices meet the standards, the system tests the cloud service resource environment of all cloud service resource devices; if the cloud service resource environment of all cloud service resource devices is qualified, the system configures the overall cloud service resources under the cloud computing platform deployment task on the multiple cloud service resource devices according to the preset cloud service resource configuration file; after all cloud service resource devices have completed the configuration of the overall cloud service resources, the system deploys and verifies the cloud computing platform corresponding to all cloud service resource devices, and uses the cloud computing platform that passes the deployment verification as the target cloud computing platform matched with the cloud computing platform deployment task.
[0040] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0041] The system acquires multiple cloud service resource devices selected under the cloud computing platform deployment task; if the hardware performance indicators of all cloud service resource devices meet the standards, the system tests the cloud service resource environment of all cloud service resource devices; if the cloud service resource environment of all cloud service resource devices is qualified, the system configures the overall cloud service resources under the cloud computing platform deployment task on the multiple cloud service resource devices according to the preset cloud service resource configuration file; after all cloud service resource devices have completed the configuration of the overall cloud service resources, the system deploys and verifies the cloud computing platform corresponding to all cloud service resource devices, and uses the cloud computing platform that passes the deployment verification as the target cloud computing platform matched with the cloud computing platform deployment task.
[0042] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0043] The system acquires multiple cloud service resource devices selected under the cloud computing platform deployment task; if the hardware performance indicators of all cloud service resource devices meet the standards, the system tests the cloud service resource environment of all cloud service resource devices; if the cloud service resource environment of all cloud service resource devices is qualified, the system configures the overall cloud service resources under the cloud computing platform deployment task on the multiple cloud service resource devices according to the preset cloud service resource configuration file; after all cloud service resource devices have completed the configuration of the overall cloud service resources, the system deploys and verifies the cloud computing platform corresponding to all cloud service resource devices, and uses the cloud computing platform that passes the deployment verification as the target cloud computing platform matched with the cloud computing platform deployment task.
[0044] The aforementioned cloud computing platform deployment method, apparatus, computer equipment, computer-readable storage medium, and computer program product first acquire multiple cloud service resource devices selected under the cloud computing platform deployment task. Then, after detecting that the hardware performance indicators of all cloud service resource devices meet the standards, the cloud service resource environment of all cloud service resource devices is tested, i.e., the software environment of the cloud service resource devices is tested. Then, after detecting that the cloud service resource environment of all cloud service resource devices is qualified, it is determined that the software and hardware capabilities of the multiple cloud service resource devices selected under the cloud computing platform deployment task can meet the deployment requirements of the cloud computing platform. Then, according to the preset cloud service resource configuration file, the overall cloud service resources are configured on the multiple cloud service resource devices. After completing the overall cloud service resource configuration, the software and hardware capabilities of all cloud service resource devices are then tested. The deployment and verification are performed on a common corresponding cloud computing platform. The cloud computing platform that passes the deployment verification is used as the target cloud computing platform for the deployment task. That is, the integrated deployment of the target cloud computing platform is completed based on the cloud computing platform deployment task. At the same time, when configuring the overall cloud service resources, centralized configuration is performed based on the preset cloud service resource configuration file. In addition, a check method of pre-deployment inspection and post-deployment authentication is adopted during the deployment process. This makes the cloud computing platform deployment process controllable, rather than using a distributed deployment method. Therefore, it overcomes the technical defects of cloud computing platform deployment, which requires a lot of initialization settings due to the complexity of cloud service resources, and is prone to long deployment time or cloud computing platform deployment errors. Thus, the deployment effect of cloud computing platform is improved. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 This is a flowchart illustrating a cloud computing platform deployment method in one embodiment;
[0047] Figure 2 This is a schematic diagram of the architecture of a deployment system for controlling the deployment of a cloud computing platform, as shown in one embodiment.
[0048] Figure 3 This is a flowchart illustrating a cloud computing platform deployment method in another embodiment;
[0049] Figure 4This is an overall deployment flowchart of a cloud computing platform deployment method in one embodiment;
[0050] Figure 5 This is a structural block diagram of a cloud computing platform deployment device in one embodiment;
[0051] Figure 6 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0052] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0053] First, it should be understood that a cloud computing platform refers to a comprehensive platform that uses cloud computing technology, based on hardware and software resources, to provide users with cloud service resources such as computing, storage, and networking, as well as capabilities for software and hardware operation and maintenance. With the development of technology, higher demands are placed on deployment efficiency, flexibility, and visualization during the cloud computing deployment process. Currently, cloud computing platform deployment mainly adopts a distributed deployment approach. For example, after installing the operating system on each server, based on the server's different functional roles (computing, storage, networking, and management), users log into each server, modify configuration files according to their respective roles, and execute various scripts until the server deployment is complete. Then, test scripts are executed uniformly to verify whether the cloud computing platform functions normally. Another example is that the definition of public variable scripts is first completed, then a unique corresponding script is prepared for each public variable, and then... Each cloud platform component corresponds to a specific script. The execution order of each cloud platform component is then arranged in the script, and the script is scheduled for execution. However, the above-mentioned cloud computing platform deployment method involves too much manual intervention, requiring numerous initial judgments and configurations on each server. Furthermore, deployment personnel need to perform extensive initial configurations based on project requirements and environmental differences, which places certain demands on their professional skills. Moreover, cloud computing platform deployment is often developed as a completely independent tool, resulting in a disconnect between deployment capability optimization, process troubleshooting, result verification, and the product's own capabilities. This hinders the localization, simplification, and productization of deployment issues. In other words, the deployment process is prone to issues such as long deployment times or errors. Therefore, there is an urgent need for a cloud computing platform deployment method that improves the deployment effectiveness.
[0054] In one embodiment, such as Figure 1As shown, a cloud computing platform deployment method is provided. This embodiment uses the method applied to a terminal as an example. The terminal includes, but is not limited to, personal computers, laptops, smartphones, and tablets. The terminal includes an acquisition module, a detection module, a configuration module, and a deployment module. The acquisition module is used to acquire multiple cloud service resource devices selected under the cloud computing platform deployment task. The detection module is used to detect the cloud service resource environment of all cloud service resource devices when the hardware performance indicators of all cloud service resource devices meet the standards. The configuration module is used to configure the overall cloud service resources under the cloud computing platform deployment task on multiple cloud service resource devices according to a preset cloud service resource configuration file when the cloud service resource environment of all cloud service resource devices is qualified. The deployment module is used to configure all cloud service resources after all cloud service resource devices have completed the overall cloud service resource configuration. The equipment is deployed and verified on a shared cloud computing platform. This verified cloud computing platform is then used as the target platform for the deployment task. Through information exchange between the acquisition module, detection module, configuration module, and deployment module, automatic integrated deployment of the cloud computing platform is achieved. The deployment process employs pre-deployment checks and post-deployment authentication, making the deployment process controllable. This overcomes the technical shortcomings of distributed cloud computing platform deployment, such as excessive initial configuration and high skill requirements for deployment personnel. Therefore, the deployment effect of the cloud computing platform is improved. This method can also be applied to servers and systems including terminals and servers, and implemented through interaction between the terminals and servers. In this embodiment, the method includes steps 202 to 208. Wherein:
[0055] Step 202: Obtain multiple cloud service resource devices selected under the cloud computing platform deployment task.
[0056] It should be noted that the cloud computing platform deployment method can be implemented by a deployment control system deployed on the terminal. The deployment control system serves as the unified operation center, task management center, and scheduling center for the cloud computing platform deployment. Before deploying the cloud computing platform, initialization settings must be performed. For example, in one feasible approach, the data, scripts, operating systems, and tools required for deployment of each role device under the cloud computing platform deployment task can be sent to the corresponding device. It can be understood that different role devices are used to implement different cloud service capabilities of the cloud computing platform, and one role device can correspond to one deployment subsystem, as shown in the reference. Figure 2 , Figure 2This diagram illustrates the architecture of a deployment system controlling the deployment of a cloud computing platform. The deployment control system for terminal deployment and the management deployment subsystem, computing deployment subsystem, storage deployment subsystem, and role x deployment subsystem for role-based device deployment are all communicatively connected. Role x refers to a device that provides additional capabilities to the cloud computing platform, such as security devices or physical network devices. The management deployment subsystem is deployed on a management node, which is the management server of the cloud computing platform, hosting the cloud management platform and cloud platform components. Computing nodes refer to all servers providing computing resource services, including host machines, ordinary physical machines, and GPU physical machines. Storage nodes refer to storage servers in the cloud computing platform that provide block storage, file storage, object storage, and other resources. Network nodes refer to servers in the cloud computing platform that provide network capabilities such as network connectivity, forwarding, resolution, and load balancing, including various network elements and gateways that provide network capabilities to computing and storage nodes. Note that different deployment subsystems do not only provide single-unit capabilities; for example, the management deployment subsystem involves computing capabilities, and the storage deployment subsystem involves network capabilities.
[0057] It should be noted that the cloud computing platform deployment task can be configured by the deployment personnel in the preset cloud computing platform deployment interface. It can be understood that the cloud computing platform deployment task method deploys sequentially and adaptively according to the environment through well-arranged tools / scripts. Cloud service resource devices refer to functional devices that provide cloud service resources to the target cloud computing platform matched with the cloud computing platform deployment task. Specifically, they can be management nodes, computing nodes, storage nodes, and network nodes, etc. It can be understood that when executing the cloud computing platform deployment method, users can manually select multiple cloud service resource devices required based on the cloud computing platform deployment task.
[0058] As an example, step 202 includes: obtaining device identification information under the cloud computing platform deployment task; selecting multiple cloud service resource devices from a preset cloud service resource device library based on the device identification information; wherein the device identification information may specifically be a device IP address; and the preset cloud service resource device library stores multiple functional devices that can provide cloud service resources to the target cloud computing platform.
[0059] Step 204: If the hardware performance indicators of all cloud service resource devices meet the standards, the cloud service resource environment of all cloud service resource devices shall be tested.
[0060] It should be noted that hardware performance indicators are used to characterize the hardware performance of cloud service resource devices. After selecting multiple cloud service resource devices, it is necessary to first evaluate the hardware capabilities of these devices. For example, in one feasible approach, different cloud service resource devices carry corresponding hardware performance indicators. By using preset hardware performance indicator thresholds and the relationship between the hardware performance indicators, it can be determined whether the hardware capabilities of different cloud service resource devices meet the standards. The preset hardware performance indicator thresholds for different cloud service resource devices can be the same or different.
[0061] As an example, step 204 includes: a selection step: selecting any cloud service resource device from all cloud service resource devices as the target cloud service resource device, detecting whether the hardware performance index of the target cloud service resource device is greater than the corresponding preset hardware performance index threshold. If the hardware performance index is detected to be greater than the preset hardware performance index threshold, the target cloud service resource device is determined to meet the standard. If the hardware performance index is detected to be less than or equal to the preset hardware performance index threshold, the target cloud service resource device is determined to not meet the standard. After obtaining the compliance test result of the target cloud service resource device, returning to execute the selection step, until all cloud service resource devices are selected as target cloud service resource devices, and obtaining the compliance test results of all cloud service resource devices. When the compliance test results of all cloud service resource devices indicate that the hardware performance index of all cloud service resource devices meets the standard, the cloud service resource environment of all cloud service resource devices is tested.
[0062] In one feasible approach, during the hardware capability testing of at least one cloud service resource device as the target cloud service resource device, if the compliance test result indicates that the target cloud service resource device fails to meet the standards, the deployment of the target cloud computing platform can be terminated early after all cloud service resource devices have completed the hardware capability compliance test. The deployment personnel will be prompted to check and modify the hardware configuration library requirements or supplement and adjust the hardware specifications until the test is passed again. When testing the cloud service resource environment of all cloud service resource devices, the cloud service resource environment of each cloud service resource device can be tested one by one according to a preset testing order. Testing the cloud service resource environment of a cloud service resource device is equivalent to testing the software capability of the cloud service resource device.
[0063] Step 206: After detecting that the cloud service resource environment of all cloud service resource devices is qualified, configure the overall cloud service resources under the cloud computing platform deployment task on multiple cloud service resource devices according to the preset cloud service resource configuration file.
[0064] It should be noted that the preset cloud service resource configuration file is used to configure the overall cloud service resource allocation across all cloud service resource devices. This can be understood as all cloud service resource devices jointly providing the overall cloud service resources of the target cloud computing platform that match the deployment tasks of the cloud computing platform. For example, in one feasible approach, the cloud product components required for each cloud service can be accumulated according to the preset cloud service resource configuration file, and the components can be adaptively and sequentially distributed to each functional server in the cloud product component library. In this way, it is clear which cloud product components need to be deployed on each functional server (each cloud service resource device), and the cloud product components have been automatically sent to the server by the deployment control system.
[0065] As an example, step 206 includes: a selection step: selecting any cloud service resource device from all cloud service resource devices as the target cloud service resource device, detecting whether the cloud service resource environment of the target cloud service resource device is qualified, and returning to execute the selection step until all cloud service resource devices are selected as target cloud service resource devices, obtaining the cloud service resource environment detection results of all cloud service resource devices, and when the cloud service resource environment detection results indicate that the cloud service resource environment of all cloud service resource devices is qualified, configuring the overall cloud service resources under the cloud computing platform deployment task on multiple cloud service resource devices according to the preset cloud service resource configuration file.
[0066] Step 208: After all cloud service resource devices have been configured with overall cloud service resources, the cloud computing platform corresponding to all cloud service resource devices is deployed and verified, and the cloud computing platform that has passed the deployment verification is used as the target cloud computing platform for the cloud computing platform deployment task.
[0067] It should be noted that after the cloud service resources of all cloud service resource devices are configured, the cloud computing platform corresponding to all cloud service resource devices can be obtained. Then, the cloud computing platform needs to be deployed and verified, and the cloud computing platform that passes the verification will be used as the target cloud computing platform.
[0068] As an example, step 208 includes: after all cloud service resource devices have been configured with overall cloud service resources, verifying the feasibility of the cloud computing platform that corresponds to all cloud service resource devices; and after the feasibility verification of the cloud computing platform is passed, using the cloud computing platform as the target cloud computing platform.
[0069] In one feasible approach, if the feasibility verification of the cloud computing platform corresponding to all cloud service resource devices fails, a deployment failure log of the target cloud computing platform can be output so that the deployment personnel can redeploy the target cloud computing platform based on the deployment failure log.
[0070] In the aforementioned cloud computing platform deployment method, because the software and hardware capabilities of multiple cloud service resource devices providing overall cloud service resources to the target cloud computing platform meet the deployment requirements of the cloud computing platform, and the target cloud computing platform passes the final deployment verification, the integrated deployment of the target cloud computing platform is achieved based on the cloud computing platform deployment task. Simultaneously, centralized configuration based on preset cloud service resource configuration files is used when configuring overall cloud service resources, and pre-deployment checks and post-deployment authentication are employed during the deployment process. This makes the cloud computing platform deployment process controllable, rather than using a distributed deployment method. Therefore, it overcomes the technical shortcomings of the complex cloud service resources, which require extensive initialization settings during cloud computing platform deployment, leading to long deployment times or errors. Thus, the deployment effect of the cloud computing platform is improved.
[0071] In one embodiment, such as Figure 3 As shown, multiple cloud service resource devices selected under the cloud computing platform deployment task are obtained, including:
[0072] Step 302: Obtain the configuration template file under the cloud computing platform deployment task. The configuration template file carries device identity information.
[0073] It should be noted that before deploying a cloud computing platform, a configuration template file can be set up in advance, which can simplify the part of the deployment process for personnel. For example, in one feasible approach, the configuration template file stores the device identity information of the cloud service resource devices, which can specifically include the device ID and role.
[0074] As an example, step 302 includes: obtaining the configuration template file under the cloud computing platform deployment task, and extracting device identity information from the configuration template file.
[0075] Step 304: Based on the device identity information, query multiple cloud service resource devices under the cloud computing platform deployment task.
[0076] As an example, step 304 includes: using device identity information as an index, querying multiple cloud service resource devices under the cloud computing platform deployment task in the preset cloud service resource device library.
[0077] In this embodiment, during the process of selecting multiple cloud service resource devices under the cloud computing platform deployment task, the configuration template file under the cloud computing platform deployment task can be obtained, and multiple cloud service resource devices under the cloud computing platform deployment task can be queried based on the device identity information extracted from the configuration template file. This achieves the purpose of automatically selecting multiple cloud service resource devices in response to the cloud computing platform deployment task. Therefore, while improving the deployment effect of cloud computing platform deployment, the deployment efficiency of cloud computing platform deployment is also improved.
[0078] In one embodiment, before detecting the cloud service resource environment of all cloud service resource devices after detecting that the hardware performance indicators of all cloud service resource devices meet the standards, the method further includes:
[0079] Extract the configuration hardware specifications corresponding to multiple cloud service resource devices from the configuration template file; for any cloud service resource device, compare the configuration hardware specifications of the cloud service resource device with the actual hardware specifications of the cloud service resource device to obtain a hardware specification comparison result; if the hardware specification comparison results of all cloud service resource devices are the first preset comparison result, determine that the hardware performance indicators of all cloud service resource devices meet the standards, where the first preset comparison result means that the configuration hardware specifications of all cloud service resource devices are greater than the corresponding actual hardware specifications; if the hardware specification comparison results of all cloud service resource devices are the second preset comparison result, determine the first candidate cloud service resource device among all cloud service resource devices according to the second preset comparison result, and generate a first adjustment prompt message to adjust the hardware specifications of the first candidate cloud service resource device, where the second preset comparison result means that the configuration hardware specifications of at least one cloud service resource device are less than or equal to the corresponding actual hardware specifications.
[0080] It should be noted that, in addition to storing device identity information for different cloud service resource devices, the configuration template file can also store device hardware performance information to lay the foundation for hardware performance testing of cloud service resource devices. Specifically, the device hardware performance information can be the configuration hardware specifications. The first preset comparison result refers to the comparison result where the configuration hardware specifications of all cloud service resource devices are greater than the corresponding actual hardware specifications. The second preset comparison result refers to the comparison result where the configuration hardware specifications of at least one cloud service resource device are less than or equal to the corresponding actual hardware specifications.
[0081] As an example, the configuration hardware specifications corresponding to multiple cloud service resource devices are extracted from the configuration template file. For any cloud service resource device, the configuration hardware specifications and the actual hardware specifications of the cloud service resource device are compared to obtain a hardware specification comparison result. If the hardware specification comparison results of all cloud service resource devices are the first preset comparison result, it is determined that the hardware performance indicators of all cloud service resource devices meet the standards. The first preset comparison result refers to the comparison result in which the configuration hardware specifications of all cloud service resource devices are greater than the corresponding actual hardware specifications. If the hardware specification comparison results of all cloud service resource devices are the second preset comparison result, a first candidate cloud service resource device is determined from all cloud service resource devices according to the second preset comparison result, and a first adjustment prompt message for adjusting the hardware specifications of the first candidate cloud service resource device is generated. The second preset comparison result refers to the comparison result in which the configuration hardware specifications of at least one cloud service resource device are less than or equal to the corresponding actual hardware specifications.
[0082] In one feasible approach, the configuration hardware specifications of cloud service resource devices can have multiple versions, such as a standard version and a minimum version. The configuration template file pre-selects a version as the configuration hardware specification for the cloud service resource device. Then, if the hardware specification comparison results indicate that the configuration hardware specification of the cloud service resource device does not meet the standard, the configuration hardware specification of the cloud service resource device can be adaptively adjusted. The detection process for the compliance testing of the hardware performance indicators of all cloud service resource devices can be as follows: The configuration hardware specifications in the configuration template file of the deployment control system are compared with the actual hardware specifications of various cloud service resource devices found. If the actual hardware specifications are higher than the selected version and the required specifications, the next step is allowed. Otherwise, for each specification found to be lower than the required hardware specifications, the actual hardware specifications and matching results are output to the log file. After comparing all devices and all specifications, the deployment is terminated, and the deployment personnel are prompted to check and modify the hardware configuration library requirements or supplement and adjust the hardware specifications until the check passes again.
[0083] In this embodiment, the configuration hardware specifications corresponding to multiple cloud service resource devices can be pre-stored in the configuration template file. Based on the comparison results between the configured hardware specifications and the actual hardware specifications, the hardware performance indicators of all cloud service resource devices are compared to see if they meet the standards. This achieves the goal of automatically detecting the hardware capabilities of all cloud service resource devices, thus improving the deployment effect and efficiency of cloud computing platform deployment.
[0084] In one embodiment, after detecting that the cloud service resource environment of all cloud service resource devices is qualified, before configuring the overall cloud service resources under the cloud computing platform deployment task according to the preset cloud service resource configuration file, the method further includes:
[0085] The system acquires the environment detection items of all cloud service resource devices; for any cloud service resource device, it matches the environment detection items and operating conditions to obtain an environment operation matching result; if the environment operation matching result of all cloud service resource devices is a first preset matching result, it determines a second candidate cloud service resource device from all cloud service resource devices and generates a second adjustment prompt message to adjust the operating environment of the second candidate cloud service resource device, wherein the first preset matching result refers to the matching result where the environment detection items of all cloud service resource devices match the corresponding operating conditions; if the environment operation matching result of all cloud service resource devices is a second preset matching result, it determines the matching result where, among all environment detection items, at least one cloud service resource device's environment detection item does not match the corresponding operating conditions.
[0086] It should be noted that during the software capability testing of all cloud service resource devices, the cloud service resource environment qualification test of all cloud service resource devices can also be performed based on pre-set testing logic. This cloud service resource environment testing can be based on environment testing items, such as the operating system type of all hardware, network connectivity between devices, and network bandwidth. For example, in one feasible approach, a unified initial acceptance test can be performed on the software operating environment of all hardware, including the operating system type, network connectivity between devices, and network bandwidth. If all checks are normal, proceed to the next step. Otherwise, if any runtime environment mismatch is found with the required minimum operating conditions, the matching result is output to a log file. After comparing the software runtime environments of all devices, the deployment is terminated, and the deployment personnel are prompted to check and redeploy the operating system and other common software runtime environments, adjusting the runtime environment until the test passes again.
[0087] As an example, the configuration template file extracts the environment detection items for all cloud service resource devices. For any cloud service resource device, the environment detection items and operating conditions of the cloud service resource device are matched to obtain the environment operation matching result. If the environment operation matching result of all cloud service resource devices is the first preset matching result, a second candidate cloud service resource device is determined from all cloud service resource devices, and a second adjustment prompt message for adjusting the operating environment of the second candidate cloud service resource device is generated. Here, the first preset matching result refers to the matching result where the environment detection items of all cloud service resource devices match the corresponding operating conditions. If the environment operation matching result of all cloud service resource devices is the second preset matching result, among all environment detection items, the second preset matching result refers to the matching result where at least one cloud service resource device's environment detection item does not match the corresponding operating conditions.
[0088] In this embodiment, environment detection items for the cloud service resource environment of multiple cloud service resource devices can be pre-stored in the configuration template file. Based on the environment operation matching results of the environment detection items and the environment operation conditions, the system compares whether the environment detection items of all cloud service resource devices match the corresponding environment operation conditions. This achieves the purpose of automatically detecting the matching of the software capabilities of all cloud service resource devices. Therefore, while improving the deployment effect of cloud computing platform deployment, the system further improves the deployment efficiency of cloud computing platform deployment.
[0089] In one embodiment, according to a preset cloud service resource configuration file, the overall cloud service resources under the cloud computing platform deployment task are configured on multiple cloud service resource devices, including:
[0090] Based on the cloud service resource configuration table in the preset cloud service resource configuration file, the overall cloud service resources under the cloud computing platform deployment task are divided into multiple local cloud service resources corresponding to each cloud service resource device. The cloud service resource configuration table stores the correspondence between cloud service resources, cloud service resource types, and cloud service resource device types. According to preset cloud service resource configuration rules, the corresponding local cloud service resources are deployed and configured on multiple cloud service resource devices, and the configuration results from each cloud service resource device are received. Verification steps: If the received cloud service resource configuration results meet preset verification conditions, the received cloud service resource configuration results are verified to obtain a configuration verification result. If the configuration verification result is an overall configuration verification result, the overall cloud service resource configuration is determined to be complete. If the configuration verification result is a local configuration verification result, the verification steps are returned until all cloud service resource configuration results from all cloud service resource devices have been verified.
[0091] It should be noted that, due to the differences in types of cloud service resource devices and the large variety of cloud service resource types, the overall cloud service resources under the cloud computing platform deployment task can be divided by setting a cloud service resource configuration table in the preset cloud service resource configuration file. For example, in one feasible approach, block storage-related deployment components can be distributed to servers with block storage roles. The method for accumulating the cloud product components required for each cloud service is as follows: A matrix correspondence table (cloud service resource configuration table) of cloud services, functional devices, and cloud product components is pre-established in the deployment control system. Each cloud service... The matrix mapping identifies which functional devices and cloud product components need to be deployed for each project. This allows for the adaptive and rapid selection of the required functional devices and cloud product components, enabling quick and adaptive deployment. For example, the matrix includes four columns: sequence number, cloud service name, deployed functional device, and cloud product component. Sequence 1's cloud service name is "Cloud Service A (Cloud Host)," the deployed functional device is "Management Node," and the cloud product component is "OpenStack." The cloud service name for Sequence 2 is "Cloud Service A (Cloud Host)", the deployment function device for Sequence 2 is "Compute Node", and the cloud product component for Sequence 2 is "OpenStack Nova networking". The cloud service name for Sequence 3 is "Cloud Service A (Cloud Host)", the deployment function device for Sequence 3 is "Compute Node", and the cloud product component for Sequence 3 is "QEMU". The cloud service name for Sequence 4 is "Cloud Service B (Cloud Disk)", the deployment function device for Sequence 4 is "Management Node", and the cloud product component for Sequence 4 is "OpenStack KeyStone". The cloud service name for Sequence 5 is "Cloud Service B (Cloud Disk)", the deployment function device for Sequence 5 is "Storage Node", and the cloud product component for Sequence 5 is "OpenStack Cinder".
[0092] It should be noted that during the configuration of local cloud service resources corresponding to multiple cloud service resource devices, the deployment dependencies and orchestration order of product components can be pre-defined according to the product architecture and capabilities. That is, preset cloud service resource configuration rules can be set in advance. For example, in one feasible approach, the deployment dependencies and orchestration order of product components can be pre-defined according to the product architecture and capabilities, and the tasks of deploying each type of server can be executed sequentially. For example, first deploy the distributed storage components on the block storage server, then deploy the computing components on the bare metal server and the host server, and finally deploy the corresponding cloud product components of the network server and the management server. It can be understood that after the configuration of different cloud service resource devices is completed, further configuration verification can be performed to ensure that different cloud service resource devices can be used normally when executing unit services. For example, after each component is deployed, the deployment result (failure or success, and other necessary information) is reported to the deployment control system. After all cloud product components of a type of functional role server are deployed, a single cloud service or single module product internal service / process check is performed to verify whether the single cloud service or single product module has been correctly deployed and can be used normally.
[0093] As an example, the system queries the cloud service resource configuration table in the preset cloud service resource configuration file to find the correspondence between cloud service resources, cloud service resource types, and cloud service resource device types. Based on this correspondence, the overall cloud service resources under the cloud computing platform deployment task are divided to obtain the local cloud service resources corresponding to each of the multiple cloud service resource devices. The system queries the cloud service resource configuration order in the preset cloud service resource configuration rules. Based on the cloud service resource configuration order, the corresponding local cloud service resources are deployed and configured on the multiple cloud service resource devices, and the system receives the cloud service resource configuration results from each of the multiple cloud service resource devices. Verification steps: If the received cloud service resource configuration results meet the preset verification conditions, the received cloud service resource configuration results are verified to obtain the configuration verification results. If the configuration verification result is an overall configuration verification result, the overall cloud service resource configuration is determined to be complete. If the configuration verification result is a local configuration verification result, the system returns to the execution of the verification steps until the cloud service resource configuration results returned by all cloud service resource devices have been verified.
[0094] In this embodiment, during the configuration of overall cloud service resources under the cloud computing platform deployment task, the overall cloud service resources are first divided based on the cloud service resource configuration table to obtain the local cloud service resources corresponding to different cloud service resource devices. Then, different local cloud service resources are configured through preset cloud service resource configuration rules. After the local cloud service resources of all cloud service resource devices are configured, the configuration results of all cloud service resource devices are verified to ensure that the local cloud service resources of all cloud service resource devices can be used normally on their own. Therefore, the deployment effect of cloud computing platform deployment is further improved.
[0095] In one embodiment, deployment verification is performed on the cloud computing platform that corresponds to all cloud service resource devices, including:
[0096] Perform functional testing on the cloud computing platform corresponding to all cloud service resources and equipment; after the cloud computing platform passes the functional testing, clean up the test resources used by the cloud computing platform during the functional testing process to obtain the cleaned cloud computing platform; and conduct acceptance testing on the cleaned cloud computing platform.
[0097] It should be noted that after the local cloud service resource configuration of all cloud service resource devices is completed, the cloud system test scripts in the public script library can be called to perform overall functional testing on the cloud computing platform corresponding to all cloud service resource devices. After the functional testing passes, further acceptance testing is conducted to ensure the complete deployment and verification of the target cloud computing platform. For example, in one feasible approach, after all devices are deployed, the cloud system functional test scripts in the public script library are called to perform comprehensive and in-depth systematic testing of the cloud computing platform system, including functionality, performance, reliability, and compatibility, until the test passes and the next step is allowed. If any test step fails, analysis and troubleshooting are performed using deployment logs and product issue analysis tools in the public tool library. After the test, tools from the public tool library are used to clean up test resources and dirty data, restoring the system to its initial healthy state. Then, based on the cloud service configuration file (preset cloud service resource configuration file) required for this deployment in the deployment control system, the cloud resource type and quantity are compared with the actual results queried on the cloud management platform. If they are within acceptable limits, the cloud resource acceptance is passed; otherwise, each difference is output to a log file until all comparisons are completed.
[0098] As an example, functional tests are performed on the cloud computing platform that corresponds to all cloud service resource devices. After the cloud computing platform passes the functional tests, a preset cleanup script is used to clean up the test resources used by the cloud computing platform during the functional tests, resulting in a cleaned cloud computing platform. Acceptance tests are then performed on the cleaned cloud computing platform.
[0099] In this embodiment, during the deployment and verification process of the cloud computing platform corresponding to all cloud service resource devices, functional testing and acceptance testing are performed on the cloud computing platform. This ensures that the cloud computing platform can meet the task requirements of the cloud computing platform deployment from two aspects. Therefore, while improving the deployment effect of the cloud computing platform, the deployment accuracy of the cloud computing platform is also improved.
[0100] In one feasible approach, refer to Figure 4 , Figure 4To illustrate the overall deployment flowchart of the cloud computing platform, the deployment control system plays a core role in the deployment process. Therefore, the functions of the deployment control system are defined and designed in detail. Specifically, it may include configuration templates / configuration libraries, operating system image libraries, cloud product component libraries, script libraries, and common tool libraries. The configuration templates / configuration libraries provide configuration template files that can implement hardware configuration, cloud product component configuration, and cloud service configuration. The cloud product component library includes management components, computing components, storage components, network components, and role components. The script library includes management node script libraries, compute node script libraries, storage node script libraries, and common script libraries. The common tool library includes virtualization, container, monitoring and maintenance tools, and databases. The configuration template files clearly specify the IP addresses of all hardware devices, their role labels in the cloud computing platform, whether they are mandatory or optional devices, and the hardware requirements for each device. There are two hardware levels: standard and minimum. The standard hardware specification provides the standard functions and performance of a cloud computing platform; the minimum version provides the minimum hardware capabilities required to deploy a cloud computing platform. Deployment tools above this hardware specification are hardware-adaptive to pass hardware specification checks and deploy the cloud computing platform. The hardware specification includes the specifications and quantities of CPU, memory, SATA drives, SSDs, network cards, RAID cards, etc., making deployment requirements visible and unique. A cloud service configuration file is stored in a fixed location on the operating system of the deployment control system. This file contains a list of all cloud services and cloud functions that the cloud computing platform can provide, categorized according to management, computing, storage, networking, etc. The cloud services and functional requirements for this cloud computing platform deployment task are distinguished by tags.This document serves as the sole requirement and input source for cloud computing platform deployment. It is pre-configured before deployment and acts as the basis for subsequent adaptive deployment decisions in various stages, including pre-deployment data preparation, hardware specification checks, deployment script adaptation, and deployment acceptance. Deployment components are visualized and compatible. A cloud component configuration file is stored in a fixed location within the deployment control system's operating system. This file contains information such as the type of cloud component to be deployed on all hardware devices, deployment methods, and installation sources. The operating system image library serves as a local image library, containing the operating system types required for hardware device installations, as well as the operating system images required for adding virtual machines when deploying cloud computing platform software. The cloud product component library provides the installation packages, dependency libraries, and driver packages required for deploying cloud product components on various cloud computing platform devices to execute deployment tasks. This includes management node components, computing components, storage components, network components, and role-specific components. The script library uniformly manages various scripts required for project deployment, including management node script libraries, computing node script libraries, storage node script libraries, network node script libraries, role-specific node script libraries, and common script libraries. Script libraries for functional devices, such as the management node script library, are also included. The process comprises three phases: hardware configuration check, deployment, and single-function role module verification. The deployment phase scripts include hardware status checks, operating system and other deployment software environment checks, installation package execution, service startup / restart, and hierarchical printing and tracking of deployment logs. A common script library contains scripts for environment cleanup, log export and analysis, system status checks, product module problem analysis, and cloud system function testing, which are used by various devices for script calls, deployment troubleshooting, and problem analysis during deployment. A common tool library provides management servers, cloud computing platform hosts, and other cloud hosts with virtualization and containerization software packages required to generate virtual machines and containers before deploying cloud computing platform components, as well as monitoring tools, databases, and other tools. The method adopted in this embodiment leverages the capabilities of the cloud computing platform product itself to support product deployment. Basic deployment-related capabilities are encapsulated within the cloud computing product and continuously iterated and verified as the product changes. Tools / scripts can simply call APIs or commands, better integrating deployment capabilities, process troubleshooting, and result verification with the product's own capabilities. This facilitates deployment problem localization, simplification, and productization, while also improving deployment efficiency and the reliability of tools / scripts.The tool / script calls include the following product capabilities: 1) Querying the health status of one or more internal modules of the cloud management platform, cloud services, cloud product components, etc.; 2) Verifying whether a single cloud service or single product module is correctly deployed and whether its interfaces / commands are usable; 3) Adding, deleting, or modifying the configuration or status of internal components and modules of the cloud platform; 4) Single debugging commands or combinations of commands for cloud product configuration or operation and maintenance; 5) Cleaning up cloud resources, databases, or dirty operating environments; 6) Starting, restarting, and pausing cloud services; 7) Hierarchical log printing, i.e., logs are divided into critical, general, and warning levels, and the product records save full and detailed logs, runtime logs, or saved logs. Logs can be viewed at different levels. To make the deployment process and results of the cloud computing platform visible, the method used in this embodiment follows these steps when each deployment tool / script is executed: 1) Allow concurrent execution between scripts, while avoiding / reducing asynchronous and concurrent command execution within the script; 2) The dependencies between scripts can be orchestrated, defined by the deployment startup script according to requirements; 3) Check the key preconditions, system hardware status, and system software running status that the script depends on for normal operation; 4) Print at least one key log before and after each indivisible minimum execution step, and print a full set of detailed logs after key checks and key deployment steps.
[0101] Because the deployment task is based on the cloud computing platform to complete the integrated deployment of the target cloud computing platform, and the overall cloud service resources are configured centrally based on the preset cloud service resource configuration file, and the deployment process adopts pre-deployment checks and post-deployment authentication checks, the deployment process of the cloud computing platform is controllable, rather than using a distributed deployment method. Therefore, it overcomes the technical defects of the cloud computing platform deployment process, which is prone to long deployment time or errors due to the complexity of cloud service resources. Thus, the deployment effect of the cloud computing platform is improved.
[0102] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0103] Based on the same inventive concept, this application also provides a cloud computing platform deployment apparatus for implementing the cloud computing platform deployment method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more cloud computing platform deployment apparatus embodiments provided below can be found in the limitations of the cloud computing platform deployment method described above, and will not be repeated here.
[0104] In one exemplary embodiment, such as Figure 5 As shown, a cloud computing platform deployment device is provided, including: an acquisition module 401, a detection module 402, a configuration module 403, and a deployment module 404, wherein:
[0105] The acquisition module 401 is used to acquire multiple cloud service resource devices selected under the deployment task on the cloud computing platform;
[0106] The detection module 402 is used to detect the cloud service resource environment of all cloud service resource devices when the hardware performance indicators of all cloud service resource devices meet the standards.
[0107] Configuration module 403 is used to configure the overall cloud service resources of the cloud service resource deployment task on the multiple cloud service resource devices according to the preset cloud service resource configuration file when the cloud service resource environment of all cloud service resource devices is qualified.
[0108] The deployment module 404 is used to perform deployment verification on the cloud computing platform corresponding to all cloud service resource devices after all cloud service resource devices have completed the overall cloud service resource configuration, and to use the cloud computing platform that has passed the deployment verification as the target cloud computing platform to match the deployment task of the cloud computing platform.
[0109] In one embodiment, the acquisition module 401 is further configured to:
[0110] Obtain the configuration template file under the cloud computing platform deployment task, wherein the configuration template file carries device identity information; based on the device identity information, query multiple cloud service resource devices under the cloud computing platform deployment task.
[0111] In one embodiment, the cloud computing platform deployment apparatus is further configured to:
[0112] The configuration hardware specifications corresponding to each of the multiple cloud service resource devices are extracted from the configuration template file. For any cloud service resource device, the configuration hardware specifications of the cloud service resource device are compared with the actual hardware specifications of the cloud service resource device to obtain a hardware specification comparison result. If the hardware specification comparison result of all cloud service resource devices is a first preset comparison result, it is determined that the hardware performance indicators of all cloud service resource devices meet the standards. The first preset comparison result refers to the comparison result in which the configuration hardware specifications of all cloud service resource devices are greater than the corresponding actual hardware specifications. If the hardware specification comparison result of all cloud service resource devices is a second preset comparison result, a first candidate cloud service resource device is determined among all cloud service resource devices according to the second preset comparison result, and a first adjustment prompt message for adjusting the hardware specifications of the first candidate cloud service resource device is generated. The second preset comparison result refers to the comparison result in which the configuration hardware specifications of at least one cloud service resource device are less than or equal to the corresponding actual hardware specifications.
[0113] In one embodiment, the cloud computing platform deployment apparatus is further configured to:
[0114] The system acquires the environment detection items of the cloud service resource environment for all cloud service resource devices. For any cloud service resource device, it matches the environment detection items and operating conditions to obtain an environment operation matching result. If the environment operation matching result for all cloud service resource devices is a first preset matching result, it determines a second candidate cloud service resource device among all cloud service resource devices and generates a second adjustment prompt message to adjust the operating environment of the second candidate cloud service resource device. The first preset matching result refers to the matching result where the environment detection items of all cloud service resource devices match the corresponding operating conditions. If the environment operation matching result for all cloud service resource devices is a second preset matching result, it determines the matching result where, among all environment detection items, at least one environment detection item of the cloud service resource device does not match the corresponding operating conditions.
[0115] In one embodiment, the configuration module 403 is further configured to:
[0116] The system acquires the environment detection items of the cloud service resource environment for all cloud service resource devices. For any cloud service resource device, it matches the environment detection items and operating conditions to obtain an environment operation matching result. If the environment operation matching result for all cloud service resource devices is a first preset matching result, it determines a second candidate cloud service resource device among all cloud service resource devices and generates a second adjustment prompt message to adjust the operating environment of the second candidate cloud service resource device. The first preset matching result refers to the matching result where the environment detection items of all cloud service resource devices match the corresponding operating conditions. If the environment operation matching result for all cloud service resource devices is a second preset matching result, it determines the matching result where, among all environment detection items, at least one environment detection item of the cloud service resource device does not match the corresponding operating conditions.
[0117] In one embodiment, the deployment module 404 is further configured to:
[0118] Functional testing is performed on the cloud computing platform corresponding to all the cloud service resource devices. After the cloud computing platform passes the functional testing, the test resources used by the cloud computing platform during the functional testing process are cleaned up to obtain a cleaned cloud computing platform. Acceptance testing is then performed on the cleaned cloud computing platform.
[0119] Each module in the aforementioned cloud computing platform deployment device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0120] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6As shown. The computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a cloud computing platform deployment method. Those skilled in the art will understand that... Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0121] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0122] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0123] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0124] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0125] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0126] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for deploying a cloud computing platform, characterized in that, The method includes: Acquire multiple cloud service resource devices selected under the deployment task on the cloud computing platform; If the hardware performance indicators of all cloud service resource devices are found to be up to standard, the cloud service resource environment of all cloud service resource devices shall be tested. If the cloud service resource environment of all cloud service resource devices is found to be qualified, the overall cloud service resources under the cloud computing platform deployment task are configured on the multiple cloud service resource devices according to the preset cloud service resource configuration file. After all cloud service resource devices have completed the configuration of the overall cloud service resources, the cloud computing platform corresponding to all cloud service resource devices is deployed and verified. The cloud computing platform that passes the deployment verification is used as the target cloud computing platform for the deployment task. The configuration of the overall cloud service resources under the cloud computing platform deployment task on the multiple cloud service resource devices according to the preset cloud service resource configuration file includes: The system queries the cloud service resource configuration table in the preset cloud service resource configuration file to find the correspondence between cloud service resources, cloud service resource types, and cloud service resource device types. Based on this correspondence, the overall cloud service resources under the cloud computing platform deployment task are divided to obtain local cloud service resources corresponding to multiple cloud service resource devices. The system queries the cloud service resource configuration order in the preset cloud service resource configuration rules. Based on the cloud service resource configuration order, the corresponding local cloud service resources are deployed and configured on the multiple cloud service resource devices, and the cloud service resource configuration results fed back by each of the multiple cloud service resource devices are received. Verification step: If the received cloud service resource configuration results meet the preset verification conditions, the received cloud service resource configuration results are verified to obtain configuration verification results. If the configuration verification result is an overall configuration verification result, the overall cloud service resource configuration is determined to be complete. If the configuration verification result is a local configuration verification result, the system returns to execute the verification step until the cloud service resource configuration results fed back by all cloud service resource devices have been verified.
2. The method according to claim 1, characterized in that, The acquisition of multiple cloud service resource devices selected under the cloud computing platform deployment task includes: Obtain the configuration template file under the deployment task of the cloud computing platform, wherein the configuration template file carries device identity information; Based on the device identity information, query multiple cloud service resource devices under the cloud computing platform deployment task.
3. The method according to claim 2, characterized in that, Before detecting the cloud service resource environment of all cloud service resource devices after confirming that the hardware performance indicators of all cloud service resource devices meet the standards, the method further includes: Extract the configuration hardware specifications corresponding to each of the multiple cloud service resource devices from the configuration template file; For any of the cloud service resource devices, the configured hardware specifications of the cloud service resource devices are compared with the actual hardware specifications of the cloud service resource devices to obtain hardware specification comparison results. If the hardware specification comparison result of all cloud service resource devices is the first preset comparison result, it is determined that the hardware performance indicators of all cloud service resource devices meet the standard. The first preset comparison result refers to the comparison result in which the configured hardware specifications of all cloud service resource devices are greater than the corresponding actual hardware specifications. If the hardware specification comparison result of all cloud service resource devices is the second preset comparison result, a first candidate cloud service resource device is determined among all cloud service resource devices according to the second preset comparison result, and a first adjustment prompt message for adjusting the hardware specification of the first candidate cloud service resource device is generated. The second preset comparison result refers to the comparison result in which the configured hardware specification of at least one of the cloud service resource devices is less than or equal to the corresponding actual hardware specification.
4. The method according to claim 1, characterized in that, Before configuring the overall cloud service resources under the cloud computing platform deployment task according to a preset cloud service resource configuration file, after detecting that the cloud service resource environment of all cloud service resource devices is qualified, the method further includes: Obtain the environmental detection items of the cloud service resource environment for all cloud service resource devices; For any of the cloud service resource devices, the environmental detection items and environmental operating conditions of the cloud service resource devices are matched to obtain the environmental operating matching result; If the environment operation matching result of all cloud service resource devices is the first preset matching result, a second candidate cloud service resource device is determined among all cloud service resource devices, and a second adjustment prompt message is generated to adjust the operating environment of the second candidate cloud service resource device. The first preset matching result refers to the matching result that all the environment detection items of the cloud service resource devices are matched with the corresponding environment operation conditions. When the environment operation matching result of all cloud service resource devices is the second preset matching result, among all environment detection items, the second preset matching result refers to the matching result of at least one of the cloud service resource devices' environment detection items not matching the corresponding environment operation conditions.
5. The method according to claim 1, characterized in that, The deployment and verification of the cloud computing platform corresponding to all the cloud service resource devices includes: Perform functional testing on the cloud computing platform that corresponds to all the cloud service resource devices mentioned above; After the cloud computing platform passes the functional test, the test resources used by the cloud computing platform during the functional test are cleaned up to obtain the cleaned cloud computing platform. The cleaned-up cloud computing platform was subjected to acceptance testing.
6. A cloud computing platform deployment device, characterized in that, The device includes: The acquisition module is used to acquire multiple cloud service resource devices selected under the deployment task on the cloud computing platform; The detection module is used to detect the cloud service resource environment of all cloud service resource devices when the hardware performance indicators of all cloud service resource devices meet the standards. The configuration module is used to configure the overall cloud service resources of the cloud service resource deployment task on the multiple cloud service resource devices according to the preset cloud service resource configuration file when the cloud service resource environment of all the cloud service resource devices is qualified. The deployment module is used to, after all cloud service resource devices have been configured with the overall cloud service resources, perform deployment verification on the cloud computing platform corresponding to all cloud service resource devices, and use the cloud computing platform that has passed the deployment verification as the target cloud computing platform for the deployment task of the cloud computing platform. The configuration module is further used to: The system queries the cloud service resource configuration table in the preset cloud service resource configuration file to find the correspondence between cloud service resources, cloud service resource types, and cloud service resource device types. Based on this correspondence, the overall cloud service resources under the cloud computing platform deployment task are divided to obtain local cloud service resources corresponding to multiple cloud service resource devices. The system queries the cloud service resource configuration order in the preset cloud service resource configuration rules. Based on the cloud service resource configuration order, the corresponding local cloud service resources are deployed and configured on the multiple cloud service resource devices, and the cloud service resource configuration results fed back by each of the multiple cloud service resource devices are received. Verification step: If the received cloud service resource configuration results meet the preset verification conditions, the received cloud service resource configuration results are verified to obtain configuration verification results. If the configuration verification result is an overall configuration verification result, the overall cloud service resource configuration is determined to be complete. If the configuration verification result is a local configuration verification result, the system returns to execute the verification step until the cloud service resource configuration results fed back by all cloud service resource devices have been verified.
7. The apparatus according to claim 6, characterized in that, The acquisition module is also used for: Obtain the configuration template file under the cloud computing platform deployment task, wherein the configuration template file carries device identity information; based on the device identity information, query multiple cloud service resource devices under the cloud computing platform deployment task.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Big data platform deployment method and system oriented to credential environment
CN114281367A